/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;700&family=Noto+Nastaliq+Urdu:wght@400;700&family=Amiri:wght@400;700&display=swap');

:root {
    --primary-color: #008878;
    --primary-dark: #00695C;
    --secondary-color: #FFD700;
    --accent-color: #C5A021;
    --bg-light: #F4F7F6;
    --bg-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-muted: #7F8C8D;
    --text-white: #FFFFFF;
    --font-english: 'Poppins', sans-serif;
    --font-urdu: 'Noto Nastaliq Urdu', serif;
    --font-arabic: 'Amiri', serif;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-english);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-english);
    font-weight: 700;
    line-height: 1.2;
}

.urdu {
    font-family: var(--font-urdu);
    direction: rtl;
    line-height: 2.2;
}

.arabic {
    font-family: var(--font-arabic);
    direction: rtl;
    font-size: 1.4rem;
}

a {
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header & Nav */
header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 40px; /* Adjust for top bar */
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-text h1 {
    font-size: 1.6rem;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after, 
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: #000;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Cards & Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

/* Pricing Toggle/Sections */
.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-section-title {
    background: var(--primary-dark);
    color: white;
    padding: 15px 40px;
    display: inline-block;
    border-radius: 50px;
    margin-bottom: 40px;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

/* Breadcrumbs */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Article Content */
.article-content {
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 60px;
}

.article-content h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

.article-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #444;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fcfcfc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 136, 120, 0.1);
    background: white;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
footer {
    background: #111;
    color: #ecf0f1;
    padding: 100px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 35px;
    font-size: 1.4rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    color: black;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    /* Top Bar Mobile Fix */
    div[style*="position: fixed"][style*="z-index: 1001"] {
        position: static !important;
        padding: 10px 0 !important;
    }

    div[style*="z-index: 1001"] .container {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }

    div[style*="z-index: 1001"] .container > div:first-child {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
    }

    div[style*="z-index: 1001"] span {
        white-space: nowrap !important;
        font-size: 0.9rem !important;
    }

    div[style*="z-index: 1001"] .urdu {
        gap: 15px !important;
        justify-content: center !important;
        width: 100% !important;
        font-size: 1rem !important;
    }

    /* Navigation Header Fix */
    header {
        margin-top: 0 !important;
        position: static !important;
    }

    .navbar {
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px 0 !important;
        gap: 15px !important;
    }

    .nav-links {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-top: 10px;
    }

    .nav-links a {
        background: var(--primary-color);
        color: white !important;
        padding: 8px 15px;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a.active {
        background: var(--secondary-color);
        color: black !important;
    }

    .nav-links a::after {
        display: none;
    }

    header .nav-cta {
        display: none !important;
    }
    
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero h2 {
        font-size: 1.8rem !important;
    }
    
    .article-content {
        padding: 25px 15px !important;
    }

    .article-content h1 {
        font-size: 1.6rem !important;
    }

    /* Contact Page Mobile Fix */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .contact-form {
        padding: 30px 20px !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .submit-btn {
        padding: 15px !important;
        font-size: 1rem !important;
    }
}
