/* ================================
   PAKISTANTENDER.COM STYLESHEET
   Based on AustralianTenders.com.au design
   Teal color scheme (#0ad0bf)
   ================================ */

:root {
    /* Primary Brand Colors - Teal (Keeping your original) */
    --primary: #0ad0bf;
    --primary-dark: #08a99a;
    --primary-light: #2dd9c8;
    --accent: #00d4aa;
    
    /* Neutrals */
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    
    /* Status Colors */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 24px rgba(0,0,0,0.12);
}

/* ================================
   BASE STYLES
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   COMPANY BANNER (LIKE CACTUS)
   ================================ */

.company-banner {
    background: #1a1a1a;
    padding: 8px 0;
    font-size: 11px;
    text-align: center;
    color: #999;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.company-banner span {
    color: var(--primary);
    font-weight: 600;
}

/* ================================
   HEADER
   ================================ */

.main-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 40px;
}

/* Logo */
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-text .highlight {
    color: var(--primary);
}

/* Phone Number in Header */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-size: 14px;
    margin-left: auto;
}

.header-phone a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
}

.header-phone a:hover {
    color: var(--primary-dark);
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    padding: 8px 0;
}

.main-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* Hamburger — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ================================
   BUTTONS
   ================================ */

.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(10, 208, 191, 0.05);
}

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.badge {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-medium);
    box-shadow: var(--shadow-sm);
}

/* ================================
   CATEGORY GRID
   ================================ */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.category-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ================================
   ARROWS (AustralianTenders style)
   ================================ */

.arrow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.arrow-connector svg {
    width: 60px;
    height: 20px;
}

.platform-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.platform-box {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    min-width: 200px;
}

.platform-box h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.platform-box p {
    color: var(--text-medium);
    font-size: 14px;
}

/* ================================
   TENDER BADGES
   ================================ */

.tender-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.tender-badge.ppra {
    background: #e3f2fd;
    color: #1976d2;
}

.tender-badge.private {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* ================================
   CONTACT SECTION
   ================================ */

.contact-banner {
    background: var(--primary);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-banner h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-banner p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.contact-options {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    background: white;
    color: var(--text-dark);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s;
    min-width: 200px;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-card .icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-card .label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-card .value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

/* ================================
   WHATSAPP WIDGET
   ================================ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-button .icon {
    font-size: 24px;
}

/* ================================
   FOOTER
   ================================ */

.main-footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-contact {
    font-size: 14px;
}

.footer-contact a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-legal {
    font-size: 13px;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 0;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 8px 0 4px;
        border-top: 1px solid #e5e7eb;
        order: 3;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 4px;
        border-bottom: 1px solid #f3f4f6;
        font-size: 16px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn-secondary,
    .header-actions .btn-primary {
        padding: 9px 14px;
        font-size: 13px;
    }

    .header-phone {
        display: none !important;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-button span {
        display: none;
    }
    
    .whatsapp-button {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .platform-flow {
        flex-direction: column;
    }
    
    .arrow-connector {
        transform: rotate(90deg);
    }
}
