@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
    --title-color-a: #6d28d9;
    --title-color-b: #c026d3;
    --orange:        #f97316;
    --green:         #16a34a;
    --nav-bg:        rgba(200, 170, 230, 0.55);
    --nav-border:    rgba(160, 80, 200, 0.35);
    --nav-text:      #3b0764;
    --nav-hover:     #6d28d9;
    --separator:     rgba(180, 120, 220, 0.5);
}

/* ── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
    overflow-y: auto;   /* Enable vertical scrollbar */
    font-family: 'Inter', Arial, sans-serif;
    color: var(--cyan-light);
    background-color: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* GPU-accelerated fixed background to prevent repaint and scale stutter during scrolling */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image: url('assets/bg_wave.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

/* ── Site Header — Full-Width Title ──────────────────────────────────────── */
.site-header {
    width: 100%;
    padding: 36px 30px 24px; /* Spacious top padding to prevent logo cut-off */
    border-bottom: 3px solid rgba(180, 120, 220, 0.45);
    background: rgba(255, 255, 255, 0.92);
    animation: fadeSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    flex-shrink: 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 130px; /* Space for the logo on the left */
}

.site-title {
    font-size: clamp(20px, 3.5vw, 48px);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: center;
    background: linear-gradient(180deg, #b862f9 20%, #6d28d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-box-reflect: below -14px linear-gradient(transparent 30%, rgba(255, 255, 255, 0.28));
    filter: drop-shadow(0 2px 4px rgba(109, 40, 217, 0.2));
}

.header-logo {
    position: absolute;
    left: 0; /* Position left */
    top: 50%;
    transform: translateY(-50%);
    width: clamp(75px, 9vw, 115px); /* Larger logo */
    height: clamp(75px, 9vw, 115px); /* Larger logo */
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 2px 8px rgba(109, 40, 217, 0.35));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.header-logo:hover {
    transform: translateY(-50%) scale(1.08);
    filter: drop-shadow(0 4px 14px rgba(109, 40, 217, 0.55));
}

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: rgba(230, 205, 248, 0.92);
    border-bottom: 2px solid rgba(160, 80, 200, 0.35);
    flex-shrink: 0;
    animation: fadeSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: background 0.3s ease;
}

.navbar:hover {
    background: rgba(230, 205, 248, 0.96);
}

.nav-links {
    display: flex;
    gap: 0;
}

.nav-item {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3b0764;
    text-decoration: none;
    padding: 13px 40px;
    position: relative;
    transition: color 0.3s ease, background 0.3s ease;
    display: inline-block;
    border-right: 1px solid rgba(160, 80, 200, 0.25);
}

.nav-item:last-child {
    border-right: none;
}



/* Glowing bottom-border underline on hover */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #f97316);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-item:hover {
    color: #6d28d9;
    background: rgba(180, 100, 240, 0.12);
}

.nav-item:hover::after {
    transform: scaleX(1);
}

.nav-item.active {
    color: #9333ea;
}

.nav-item.active::after {
    transform: scaleX(1);
}

/* ── Main Area ───────────────────────────────────────────────────────────── */
.main-area {
    width: 100%;
    margin: 0;
    padding: 15px 24px 25px; /* Creates a floating card spacing */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    animation: fadeSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
    overflow: hidden;
}

/* ── Right Column: Banner ────────────────────────────────────────────────── */
.banner-col {
    width: 100%;
    max-width: 1200px; /* Aligns with the about section width */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    
    /* Glassmorphic plate styling */
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 
        0 10px 30px rgba(109, 40, 217, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    padding: 10px 0;
}

.banner-img {
    width: 100%;
    max-width: 100%;
    height: auto; /* Scales proportionally */
    display: block;
    margin: 0; /* No margins */
    padding: 0;
    image-rendering: -webkit-optimize-contrast; /* Sharp rendering */
    image-rendering: crisp-edges;
    filter: contrast(1.06) brightness(1.01); /* Enhance contrast & legibility */
    mix-blend-mode: multiply; /* Makes white background transparent */
}

/* ── Keyframes ───────────────────────────────────────────────────────────── */
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
    }

    .header-logo {
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        margin: 10px auto;
        width: 80px;
        height: 80px;
    }

    .header-logo:hover {
        transform: scale(1.08);
    }

    .nav-item {
        padding: 10px 16px;
        font-size: 11px;
    }
}

/* ── Section Connector Transition ────────────────────────────────────────── */
.section-connector-wrapper {
    position: relative;
    width: 100%;
    height: 35px; /* Sits in the gap between the banner card and about card */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    margin: -10px 0; /* Brings the cards slightly closer together */
}

.tech-connector-line {
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, rgba(147, 51, 234, 0.4) 0%, #f97316 50%, rgba(0, 180, 216, 0.4) 100%);
    position: relative;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.2);
}

/* Pulsing light trace flowing down the connector line */
.tech-connector-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 10px;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 0 8px #ffffff, 0 0 16px #00b4d8;
    animation: flowPulse 2s infinite linear;
    will-change: transform, opacity;
}

.tech-connector-node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f97316;
    border: 2px solid #ffffff;
    box-shadow: 0 0 8px #f97316, 0 0 16px #f97316;
    animation: nodePulse 2s infinite ease-in-out;
}

@keyframes flowPulse {
    0% {
        transform: translate(-50%, -10px);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 35px);
        opacity: 0;
    }
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

.about-section,
.services-section,
.team-section,
.contact-section {
    position: relative;
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    
    /* Scroll Reveal Initial State — opacity only, no layout-affecting transform on scroll */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section.visible,
.services-section.visible,
.team-section.visible,
.contact-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-section {
    padding: 10px 24px 40px; /* Symmetrical spacing matching banner area */
}

/* Removed expensive radial-gradient pseudo-elements — caused repaint on every scroll frame */

.about-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
    
    /* Matching glassy plate styling to match banner */
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 
        0 10px 30px rgba(109, 40, 217, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    padding: 50px 60px; /* Padding inside the plate */
}

/* Futuristic geometric accent divider */
.tech-accent-line {
    position: absolute;
    top: -2px; /* Positioned on top of the container border */
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #9333ea, #f97316, transparent);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.4);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px 80px;
    align-items: stretch; /* Stretch columns to equal height */
}

/* Left Column alignment */
.about-text-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-map-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(147, 51, 234, 0.1);
    border-radius: 16px;
    padding: 16px;
    margin-top: auto; /* Pushes the map card to the bottom of the left column */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-map-card:hover {
    border-color: rgba(147, 51, 234, 0.2);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.05);
}

.map-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.map-icon {
    width: 18px;
    height: 18px;
    color: #f97316; /* Saffron/orange pin */
    filter: drop-shadow(0 1px 2px rgba(249, 115, 22, 0.3));
}

.map-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #3b0764;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.map-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(147, 51, 234, 0.15);
    line-height: 0; /* Prevents tiny iframe baseline gap */
}

.map-frame iframe {
    pointer-events: none;
}

.map-footer {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 10px;
}

/* ── Map Carousel Slider ─────────────────────────────────────────────────── */
.map-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.map-slides-container {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbars */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.map-slides-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.map-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(147, 51, 234, 0.2);
    color: #3b0764;
    font-size: 16px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    user-select: none;
}

.carousel-btn:hover {
    background: #9333ea;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(147, 51, 234, 0.3);
}

.prev-btn {
    left: 8px;
}

.next-btn {
    right: 8px;
}

.map-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.carousel-dot.active {
    background: #9333ea;
    width: 20px;
    border-radius: 4px;
}


/* Right Column alignment */
.about-capabilities-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Capabilities list spacing */
.capabilities-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Spaced out evenly to align bottom card with map */
    flex-grow: 1;
    margin-top: 24px;
    gap: 20px; /* Sane default gap if column collapses */
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f97316; /* Saffron/Orange accent */
    margin-bottom: 14px;
    position: relative;
    padding-left: 16px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f97316;
    box-shadow: 0 0 6px #f97316;
}

.section-heading {
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 800;
    color: #3b0764; /* Deep purple matching reference */
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.15;
}

.about-paragraph {
    font-size: 16px;
    line-height: 1.75;
    color: #4b5563; /* Premium dark gray body text */
    margin-bottom: 22px;
}

.about-paragraph strong {
    color: #3b0764;
    font-weight: 600;
}

/* Capabilities list and cards */
.capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.capability-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(147, 51, 234, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    /* Only animate transform — no box-shadow animation (forces repaint) */
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    border-color: rgba(147, 51, 234, 0.25);
}

.capability-card .card-icon {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.capability-card:hover .card-icon {
    transform: translateY(-2px);
}

.card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.08), rgba(0, 180, 216, 0.08));
    border: 1px solid rgba(147, 51, 234, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d28d9;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover .card-icon {
    background: linear-gradient(135deg, #9333ea, #00b4d8);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
}

.tech-icon {
    width: 24px;
    height: 24px;
}



.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #3b0764;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 14.5px;
    line-height: 1.6;
    color: #6b7280;
}

.about-paragraph.highlight-text {
    font-size: 17.5px;
    font-weight: 500;
    color: #4c1d95; /* Deep purple */
    border-left: 3px solid #f97316; /* Saffron border line */
    padding-left: 16px;
    line-height: 1.7;
    margin-top: 24px;
    margin-bottom: 24px;
}

/* Responsive adjustment for About Us section */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-section {
        padding: 60px 20px;
    }
    
    .tech-accent-line {
        top: -40px;
    }
}

/* ── Services Section ────────────────────────────────────────────────────── */
.services-section {
    padding: 10px 24px 40px; /* Symmetrical spacing matching banner area */
}

/* Removed expensive radial-gradient pseudo-elements on services section */

.services-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
    
    /* Matching glassy plate styling to match banner & about */
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 
        0 10px 30px rgba(109, 40, 217, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    padding: 50px 60px; /* Padding inside the plate */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 32px;
}

/* 3-D Card parent wrapper (kept for structure, perspective disabled for 2D performance) */
.service-card-parent {
    width: 100%;
}

/* Service Card (2D Hardware-Accelerated Block) */
.service-card {
    border-radius: 22px;
    border: 2px solid rgba(147, 51, 234, 0.25);
    background: 
        linear-gradient(135deg, transparent 18.75%, rgba(147, 51, 234, 0.2) 0 31.25%, transparent 0),
        repeating-linear-gradient(45deg, rgba(147, 51, 234, 0.15) -6.25% 6.25%, rgba(59, 7, 100, 0.95) 0 18.75%);
    background-size: 60px 60px;
    background-color: #3b0764;
    width: 100%;
    box-shadow: 
        rgba(109, 40, 217, 0.15) 0px 15px 30px -10px,
        0 0 0 1px rgba(109, 40, 217, 0.1);
    /* Only animate transform — avoids expensive box-shadow GPU repaint */
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.012);
    border-color: rgba(147, 51, 234, 0.45);
}

/* Content box (inner card face) */
.service-card-content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(243, 232, 255, 0.95));
    border-radius: 20px;
    transition: background-color 0.3s ease;
    padding: 32px 24px 24px;
    min-height: 470px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

/* Service Card Logo Link & Image */
.service-logo-link {
    display: inline-block;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.06), rgba(0, 180, 216, 0.06));
    border: 1px solid rgba(147, 51, 234, 0.12);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.service-logo-link:hover {
    border-color: rgba(147, 51, 234, 0.35);
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.12), rgba(0, 180, 216, 0.12));
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.18);
}

.service-card:hover .service-logo-link {
    transform: scale(1.08) rotate(3deg);
}

.service-card-logo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(109, 40, 217, 0.15));
}

.service-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #3b0764;
    margin: 12px 0 6px;
    min-height: 44px; /* Standardize height for wrapping titles */
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.service-card-divider {
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #f97316);
    border-radius: 2px;
    margin-bottom: 12px;
}

.service-card-description {
    font-size: 13.5px;
    line-height: 1.55;
    color: #555c66;
    margin-bottom: 16px;
    flex-grow: 1; /* Pushes list metadata to the bottom */
}

/* Service Card Detail Bullet Points */
.service-card-details {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    border-top: 1px dashed rgba(147, 51, 234, 0.12);
    padding-top: 14px;
}

.service-card-details li {
    font-size: 12.5px;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card-details li:last-child {
    margin-bottom: 0;
}

.service-card-details li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f97316;
    box-shadow: 0 0 5px #f97316;
    flex-shrink: 0;
}

/* Responsive adjustments for Services section */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-container {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card-content {
        padding: 28px 18px;
    }
}

/* ── i-Team Section ──────────────────────────────────────────────────────── */
.team-section {
    padding: 10px 24px 40px; /* Symmetrical spacing matching other sections */
}

/* Removed expensive radial-gradient pseudo-elements on team section */

.team-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
    
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 
        0 10px 30px rgba(109, 40, 217, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    padding: 50px 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.team-card {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(147, 51, 234, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    /* No will-change, no box-shadow animation — avoids layer explosion on mobile */
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
    align-items: flex-start;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(147, 51, 234, 0.25);
}

.team-photo-wrapper {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(147, 51, 234, 0.12);
    background: #fdfbff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    color: #3b0764;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 6px;
    color: #9333ea;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0.85;
}

.team-linkedin svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.team-linkedin:hover {
    color: #0077b5;
    transform: scale(1.1);
    opacity: 1;
}

.team-role {
    font-size: 13.5px;
    font-weight: 600;
    color: #f97316;
    margin-bottom: 12px;
}

.team-specialties {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-specialties li {
    font-size: 12.5px;
    color: #4b5563;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.team-specialties li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6d28d9;
    box-shadow: 0 0 4px #6d28d9;
    margin-top: 6px;
    flex-shrink: 0;
}

/* Align and center 5th card on desktop */
@media (min-width: 993px) {
    .team-card:last-child:nth-child(odd) {
        grid-column: 1 / span 2;
        max-width: calc(50% - 16px);
        margin: 0 auto;
        width: 100%;
    }
}

/* Responsive adjustments for i-Team section */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .team-container {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .team-info {
        align-items: center;
        text-align: center;
    }
    
    .team-specialties li {
        justify-content: center;
    }
}

/* ── Announcement Bar ────────────────────────────────────────────────────── */
.announcement-bar {
    width: 100%;
    background: linear-gradient(90deg, #6d28d9, #f97316);
    color: #ffffff;
    padding: 8px 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 100;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(109, 40, 217, 0.15);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.announcement-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.announcement-link:hover {
    opacity: 0.9;
    text-decoration: none;
    transform: translateX(2px);
}

/* ── Service Card Button CTA ─────────────────────────────────────────────── */
.service-card-btn {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(135deg, #9333ea, #f97316);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2);
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease;
}

.service-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(147, 51, 234, 0.35);
}

.service-card-btn.coming-soon {
    background: linear-gradient(135deg, #9333ea, #f97316);
    color: #ffffff;
    opacity: 0.65;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

.service-card-btn.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

/* ── Contact Section ─────────────────────────────────────────────────────── */
.contact-section {
    padding: 10px 24px 60px;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 
        0 10px 30px rgba(109, 40, 217, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Contact Social Buttons */
.contact-buttons-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 24px 0 40px;
    width: 100%;
}

/* Expanding Pill Buttons (From Uiverse.io by Gaurang7717) */
.Btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), border-radius 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
  background-color: #00d757; /* WhatsApp Green default */
}

.Btn.mail {
  background-color: #6d28d9; /* Purple for Email to match branding */
}

.Btn .sign {
  width: 100%;
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), padding-left 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.Btn .sign svg {
  width: 25px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.Btn:hover .sign svg {
  transform: rotate(15deg) scale(1.05);
}

.Btn .sign svg path {
  fill: white;
}

.Btn .text {
  position: absolute;
  right: 0%;
  width: 0%;
  opacity: 0;
  color: white;
  font-size: 1.1em;
  font-weight: 600;
  transition: opacity 0.3s ease 0.08s, width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), padding-right 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.Btn:hover {
  width: 150px;
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.18);
}

.Btn:hover .sign {
  width: 30%;
  padding-left: 10px;
}

.Btn:hover .text {
  opacity: 1;
  width: 70%;
  padding-right: 10px;
}

.Btn:active {
  transform: translate(2px, 2px) scale(0.96);
}

/* Contact Form Styling */
.contact-form {
    width: 100%;
    max-width: 800px; /* Keep form elements neatly sized and centered inside the 1200px container */
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #3b0764;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    font-family: inherit;
    font-size: 14.5px;
    padding: 12px 16px;
    border: 1.5px solid rgba(147, 51, 234, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #3b0764;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6d28d9;
    box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.1);
}

/* Honeypot field - visually hidden, kept off-screen for accessibility safety */
.contact-field-alt {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

/* Submit Button */
.form-submit-btn {
    align-self: center;
    padding: 12px 36px;
    background: linear-gradient(135deg, #9333ea, #f97316);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.2);
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease;
    margin-top: 10px;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.35);
}

.form-submit-btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-container {
        padding: 40px 30px;
    }
    
    /* Even snappier on mobile — less movement, fast fade */
    .about-section,
    .services-section,
    .team-section,
    .contact-section {
        transform: translateY(16px);
        transition: opacity 0.4s ease-out, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

/* Extra mobile optimizations for small devices (e.g. smartphones) */
@media (max-width: 480px) {
    .nav-links {
        width: 100%;
        justify-content: space-around;
        gap: 0;
    }
    .nav-item {
        padding: 10px 8px;
        font-size: 11px;
        letter-spacing: 0.04em;
        border-right: none;
    }
    
    .about-section,
    .services-section,
    .team-section,
    .contact-section {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .about-container,
    .services-container,
    .team-container,
    .contact-container {
        padding: 30px 16px;
    }
}

/* ==========================================
   Akshath Hover Socials Styling
   (Inspired by Uiverse hover tech)
   ========================================== */
.akshath-author {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-weight: 700;
    color: #6d28d9;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.akshath-author:hover {
    color: #9333ea;
}

.akshath-socials {
    position: absolute;
    bottom: 125%; /* Positions tooltip above the text */
    left: 50%;
    transform: translate(-50%, 8px) scale(0.85);
    display: flex;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
    z-index: 100;
}

/* Glassmorphism tooltip body */
.akshath-socials-inner {
    position: relative;
    display: flex;
    gap: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Bridging zone so the tooltip stays open while moving the cursor up */
.akshath-socials-inner::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* Soft colorful background glow */
.akshath-socials::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 30px;
    background: linear-gradient(135deg, #9333ea, #00b4d8);
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Tooltip arrow */
.akshath-socials::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.55) transparent transparent transparent;
    pointer-events: none;
}

/* Hover behaviors */
.akshath-author:hover .akshath-socials {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}

.akshath-author:hover .akshath-socials::before {
    opacity: 0.35;
}

/* Individual Social Card */
.akshath-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.akshath-card svg {
    width: 14px;
    height: 14px;
    transition: fill 0.3s ease, transform 0.3s ease;
}

/* GitHub Card Specifics */
.akshath-card.github svg {
    fill: #181717;
}

.akshath-card.github:hover {
    background-color: #181717;
    border-color: #181717;
    box-shadow: 0 4px 10px rgba(24, 23, 23, 0.3);
}

.akshath-card.github:hover svg {
    fill: #ffffff;
    transform: scale(1.1);
}

/* LinkedIn Card Specifics */
.akshath-card.linkedin svg {
    fill: #0077b5;
}

.akshath-card.linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.3);
}

.akshath-card.linkedin:hover svg {
    fill: #ffffff;
    transform: scale(1.1);
}

/* Mobile responsive layout for Akshath socials */
@media (max-width: 768px) {
    .akshath-author {
        cursor: default;
    }
    
    .akshath-socials {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        display: inline-flex;
        vertical-align: middle;
        margin-left: 8px;
        margin-bottom: 0;
        z-index: 1;
    }
    
    /* Prevent hover state from triggering desktop transforms/opacities on mobile */
    .akshath-author:hover .akshath-socials {
        transform: none;
        opacity: 1;
    }
    
    .akshath-socials-inner {
        padding: 0;
        gap: 6px;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .akshath-socials-inner::before {
        display: none;
    }
    
    .akshath-socials::before,
    .akshath-socials::after {
        display: none;
    }
    
    .akshath-card {
        width: 22px;
        height: 22px;
        background: rgba(109, 40, 217, 0.08);
        border: 1px solid rgba(109, 40, 217, 0.15);
    }
    
    .akshath-card svg {
        width: 11px;
        height: 11px;
    }
}

/* ══════════════════════════════════════════════════════
   CONSENT BANNER
   ══════════════════════════════════════════════════════ */
.itz-banner-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: linear-gradient(135deg, rgba(59, 7, 100, 0.97) 0%, rgba(109, 40, 217, 0.98) 100%);
    border-top: 2px solid #c026d3;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 28px;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(192, 38, 211, 0.2);
    animation: cookieBannerIn 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes cookieBannerIn {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
@keyframes cookieBannerOut {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}
.itz-consent-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}
.itz-consent-icon {
    font-size: 28px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(192, 38, 211, 0.5));
}
.itz-consent-content { flex: 1; min-width: 0; }
.itz-consent-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #f3e8ff;
    margin: 0 0 3px;
    letter-spacing: 0.01em;
}
.itz-consent-desc {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: rgba(243, 232, 255, 0.72);
    margin: 0;
    line-height: 1.55;
}
.itz-consent-toggle {
    color: #d8b4fe;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(216, 180, 254, 0.4);
    transition: color 0.2s;
    white-space: nowrap;
    user-select: none;
}
.itz-consent-toggle:hover { color: #f3e8ff; }
.itz-consent-details {
    margin-top: 10px;
    padding: 13px 15px;
    background: rgba(192, 38, 211, 0.07);
    border: 1px solid rgba(192, 38, 211, 0.22);
    border-radius: 11px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(243, 232, 255, 0.78);
    line-height: 1.65;
    animation: cookieLearnIn 0.22s ease forwards;
}
@keyframes cookieLearnIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}
.itz-consent-details strong { color: #d8b4fe; font-weight: 700; }
.itz-consent-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(192, 38, 211, 0.13);
    border: 1px solid rgba(192, 38, 211, 0.3);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-family: monospace;
    color: #f3e8ff;
    letter-spacing: 0.03em;
}
.privacy-highlight {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 9px;
    padding: 8px 12px;
    background: rgba(74, 222, 128, 0.08);
    border-left: 3px solid #4ade80;
    border-radius: 0 8px 8px 0;
    color: #4ade80;
    font-weight: 700;
    font-size: 11.5px;
    line-height: 1.5;
}
.itz-consent-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.itz-btn-decline {
    padding: 11px 26px;
    background: transparent;
    color: #f3e8ff;
    border: 2px solid rgba(243, 232, 255, 0.4);
    border-radius: 11px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transform: translateY(-4px);
    transition: transform 0.1s ease, border-color 0.15s ease, background-color 0.15s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.itz-btn-decline:hover {
    border-color: #f3e8ff;
    background: rgba(243, 232, 255, 0.08);
    transform: translateY(-5px);
}
.itz-btn-decline:active {
    transform: translateY(0);
}
.itz-btn-accept {
    padding: 11px 26px;
    background: #f3e8ff;
    color: #3b0764;
    border: 2px solid #2e0550;
    border-radius: 11px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 0 #2e0550;
    transform: translateY(-4px);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.itz-btn-accept:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 5px 0 #2e0550;
}
.itz-btn-accept:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ── Cookie banner — mobile ── */
@media (max-width: 640px) {
    .itz-banner-consent { padding: 14px 16px 18px; }
    .itz-consent-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .itz-consent-icon { font-size: 22px; }
    .itz-consent-actions { width: 100%; display: flex; gap: 10px; }
    .itz-btn-accept { flex: 1; text-align: center; padding: 13px 20px; font-size: 14px; width: auto; }
    .itz-btn-decline { flex: 1; text-align: center; padding: 13px 20px; font-size: 14px; width: auto; }
    .itz-consent-title  { font-size: 13.5px; }
    .itz-consent-desc   { font-size: 12px; }
}


