html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0a1628;
    --teal: #0d7c6e;
    --teal-light: #12a090;
    --cream: #f8f4ef;
    --white: #ffffff;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --border: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-cta {
    background: var(--teal);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--teal-light) !important;
    color: white !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    border: none;
    background: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 5%;
    flex-direction: column;
    gap: 1rem;
    z-index: 99;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
    border: none;
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, #0f2d4a 60%, #0a1628 100%);
    padding: 100px 5% 60px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 124, 110, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 124, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    font-family: "Noto Nastaliq Urdu", serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 124, 110, 0.2);
    border: 1px solid rgba(13, 124, 110, 0.4);
    color: #5dd9c8;
    padding: 20px 20px;
    border-radius: 20px;
    font-size: 2.6rem;
    font-weight: 500;
    margin-bottom: 1.7rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-title span {
    color: #5dd9c8;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 460px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--teal);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(13, 124, 110, 0.4);
}

.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 4px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.hero-card-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.service-pill:hover {
    background: rgba(13, 124, 110, 0.2);
}

.service-pill-icon {
    width: 36px;
    height: 36px;
    background: rgba(13, 124, 110, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-pill-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.service-pill-sub {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

/* ── TRUST BAR ── */
.trust-bar {
    background: var(--cream);
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--border);
}

.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-item span:first-child {
    font-size: 1.1rem;
}

/* ── SECTION SHARED ── */
section {
    padding: 80px 5%;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
}

.section-desc {
    color: var(--gray);
    max-width: 500px;
    line-height: 1.7;
}

/* ── SERVICES ── */
#services {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.25s;
    cursor: default;
}

.service-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13, 124, 110, 0.12);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(13, 124, 110, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--navy);
}

.service-card p {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ── ABOUT ── */
#about .about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img {
    background: white;
    border-radius: 20px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.about-img>img {
    width: 485px;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: var(--light-gray);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(13, 124, 110, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.feature-text span {
    color: var(--gray);
    font-size: 0.82rem;
}

/* ── TESTIMONIALS ── */
#testimonials {
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 1.8rem;
    border: 1px solid var(--border);
}

.stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
}

.author-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.author-detail {
    color: var(--gray);
    font-size: 0.75rem;
}

/* ── CONTACT ── */
#contact .contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding-top: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(13, 124, 110, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-item span {
    color: var(--gray);
    font-size: 0.85rem;
}

.contact-form {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--navy);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 124, 110, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
    margin-top: 0.5rem;
    text-decoration: none;
}

.btn-submit:hover {
    background: var(--teal-light);
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 5% 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 0.75rem;
    max-width: 240px;
}

.footer-col h4 {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #5dd9c8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ── FLOATING WHATSAPP ── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    background: #25d366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-card {
        display: none;
    }

    #about .about-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-img {
        height: 250px;
    }

    .about-img>img {
        width: 250px;
    }

    #contact .contact-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero-badge {
        font-size: 1.6rem;
        padding: 15px 5px;
    }

    nav {
        padding: 0 4%;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 60px 4%;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        text-align: center;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-inner {
        gap: 1.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge,
.hero-title,
.hero-desc,
.hero-btns,
.hero-stats {
    animation: fadeUp 0.7s ease both;
}

.hero-title {
    animation-delay: 0.1s;
}

.hero-desc {
    animation-delay: 0.2s;
}

.hero-btns {
    animation-delay: 0.3s;
}

.hero-stats {
    animation-delay: 0.4s;
}




/* ===== Developer Modal ===== */
.dev-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.dev-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dev-modal h2 {
    margin: 0 0 10px;
}

.dev-modal p {
    margin: 6px 0;
    font-size: 14px;
}

.dev-btn {
    margin-top: 10px;
    padding: 10px 14px;
    border: none;
    background: #0fb3b3;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
}

/* Developer section */
.developer-info {
    padding: 40px 20px;
    background: #0f172a;
    color: white;
    text-align: center;
}

.developer-info a {
    color: #38bdf8;
}

.swiper-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
}

.swiper-slide {
    position: relative;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
}

.caption h3 {
    margin: 0;
    font-size: 18px;
}

.caption p {
    margin: 2px 0 0;
    font-size: 14px;
}