.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

    .mobile-toggle span {
        display: block;
        width: 24px;
        height: 2.5px;
        background-color: var(--text-primary);
        margin: 5px 0;
        border-radius: 2px;
        transition: 0.3s;
    }

/* =============================================
           FIX 1: HERO — tighter height, balanced layout
           ============================================= */
.hero {
    /* Reduced from min-height: 98vh to fit tighter */
    padding: 130px 0 80px 0;
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    /* Clean white-ish background, no color blobs in this zone */
    background: linear-gradient(180deg, rgba(248,250,252,0) 0%, rgba(248,250,252,0) 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal columns, balanced */
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 3.4rem; /* Slightly tighter */
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -2px;
}

    .hero-title span {
        background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-tech-svg {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 440px;
    animation: float-svg 6s ease-in-out infinite;
    filter: drop-shadow(0 12px 24px rgba(6, 182, 212, 0.12));
}

@keyframes float-svg {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Icon container: no background, just the gradient icon centered */
.service-card .card-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem auto;
    background: none;
    box-shadow: none;
}



    .service-card .card-icon svg {
        width: 100px;
        height: 100px;
        transition: var(--transition-smooth);
    }

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(3deg);
}

.service-card h3 {
    font-family: var(--font-headings);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.about-text > p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.about-checkmarks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-visual {
    position: relative;
}

.about-visual-bg {
    display: none;
}

/* Dashed circle ring */
.about-ring {
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1.5px dashed rgba(6, 182, 212, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 40s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.about-cards-stack {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Redesigned stat cards — bold left accent bar */
.about-stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* box-shadow: 0 8px 30px -8px rgba(0,0,0,0.08); */
    border: 1px solid rgba(6, 182, 212, 0.25);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    transform: translateY(-5px);
    box-shadow: 0 20px 10px -10px rgba(217, 225, 230, 1);
}

    /* Left gradient bar accent */
    .about-stat-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--gradient-primary);
        border-radius: 4px 0 0 4px;
    }

    /* Top-right glow blob per card */
    .about-stat-card::after {
        content: '';
        position: absolute;
        right: -30px;
        top: -30px;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .about-stat-card:hover {
        transform: translateX(6px);
        box-shadow: 0 12px 40px -8px rgba(6, 182, 212, 0.25);
        border-color: rgba(6, 182, 212, 0.5);
    }

.stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
    transition: var(--transition-bounce);
}

.about-stat-card:hover .stat-icon-wrap {
    transform: scale(1.08) rotate(-3deg);
}


/* Experience */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Card: image top, content middle, button bottom */
.experience-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1.5px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-bounce);
}

    .experience-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 24px;
        padding: 2px;
        background: transparent;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        transition: var(--transition-smooth);
        z-index: 2;
    }

    .experience-card:hover {
        transform: translateY(-8px);
        border-color: transparent;
        box-shadow: 0 25px 50px -15px rgba(59, 130, 246, 0.35);
    }

        .experience-card:hover::before {
            background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
        }

.exp-image-area svg {
    width: 100px;
    height: 100px;
}

/* Image area — gradient background with icon */
.exp-image-area {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px 22px 0 0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    /* Subtle inner pattern */
    .exp-image-area::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.15) 0%, transparent 60%);
        pointer-events: none;
    }

    .exp-image-area i {
        font-size: 3.5rem;
        color: rgba(255,255,255,0.92);
        position: relative;
        z-index: 1;
        filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
        transition: var(--transition-bounce);
    }

.experience-card:hover .exp-image-area i {
    transform: scale(1.12);
}

/* Divider line between image and content */
.exp-divider {
    width: 100%;
    height: 1px;
    background: rgba(6, 182, 212, 0.2);
}

/* Content area */
.exp-content {
    padding: 1.5rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.experience-card .exp-cat {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
}

.experience-card .exp-title {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.experience-card .exp-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex: 1;
}

/* Button area */
.exp-btn-area {
    padding: 0 1.75rem 1.75rem 1.75rem;
}

.experience-card .btn-exp-apply {
    background: transparent;
    color: var(--text-primary);
    padding: 0.65rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 99px;
    text-decoration: none;
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
    border: 2px solid rgba(6, 182, 212, 0.45);
    cursor: pointer;
    font-family: var(--font-headings);
    letter-spacing: 0.3px;
}

    .experience-card:hover .btn-exp-apply,
    .experience-card .btn-exp-apply:hover {
        background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
        color: white;
        border-color: transparent;
        box-shadow: 0 6px 18px rgba(6, 182, 212, 0.35);
    }

/* Tech Stack */
.tech-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-label {
    position: absolute;
    left: 1.25rem;
    top: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
    transform-origin: left center;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

    .modal.open {
        opacity: 1;
        pointer-events: auto;
    }

.modal-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition-bounce);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1.5px solid rgba(6, 182, 212, 0.3);
}

.modal.open .modal-card {
    transform: scale(1);
}

.modal-success-icon {
    width: 68px;
    height: 68px;
    background: var(--color-cyan-glow);
    color: var(--color-cyan);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.modal-card h3 {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modal-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.pg-sec {
    padding: 80px 52px;
}

.pg-sec-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.sec-center {
    text-align: center;
}

    .sec-center .pg-sec-sub {
        margin: 0 auto 52px;
    }

.pg-sec-title {
    font-family: var(--font-head);
    font-size: clamp(24px,3vw,36px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.pg-sec-sub {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 48px;
}

.proc-bg {
    background: var(--cream);
}

.proc-flow {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 0;
    position: relative;
    margin-top: 48px;
}

    .proc-flow::before {
        content: '';
        position: absolute;
        top: 36px;
        left: 8%;
        right: 8%;
        height: 2px;
        background: linear-gradient(to right,var(--accent),rgba(26,95,255,0.15));
        z-index: 0;
    }

.proc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
    z-index: 1;
}

.proc-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 0 0 6px #86e0ef,0 4px 18px rgba(26,95,255,0.3);
}

.proc-n {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .1em;
    margin-bottom: 4px;
}

.proc-step h4 {
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.proc-step p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}


/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-layout, .about-layout, .connect-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        padding: 110px 0 50px 0;
        text-align: center;
        min-height: auto;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

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

    .mobile-toggle {
        display: block;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .about-ring, .about-visual-bg {
        display: none;
    }

    .about-checkmarks {
        grid-template-columns: 1fr;
    }

    .pg-sec {
        padding: 60px 24px;
    }

    .proc-flow {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2.5rem;
    }

        .proc-flow::before {
            display: none;
        }

    .modal-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 580px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

        .hero-actions .btn {
            width: 100%;
        }

    .container {
        padding: 0 1.25rem;
    }

    .pg-sec {
        padding: 48px 16px;
    }

    .proc-flow {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}
