/* 
   BIGOSYS - Complete Redesign
   Purple Brand · Premium Transitions · Glowing Service Cards
*/

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

:root {
    --primary:       #5E2A91;
    --primary-dark:  #4B1F7A;
    --primary-deep:  #2E0F4F;
    --accent:        #9B6CD3;
    /* Services dropdown hover sweep (RGB triplet) */
    --services-hover-rgb: 46, 15, 79;
    --highlight:     #7A3DB8;
    --divider:       #6A35A8;
    --light-bg:      #F2F2F4;
    --soft-grey:     #D9D9DE;
    --text-muted:    #5A5A5F;
    --white:         #ffffff;
    --section-pad:   100px;
    --font-head:     'Rajdhani', sans-serif;
    --font-body:     'Nunito', sans-serif;
    --font-nav:      ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--primary-deep);
    line-height: 1.7;
    overflow-x: hidden;
    background: #fff;
}

/* Extra guard against mobile horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ===== UTILITIES ===== */
.section-padding { padding: var(--section-pad) 0; }

.section-label {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(94,42,145,0.08);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
}
.section-label.light {
    color: var(--accent);
    background: rgba(155,108,211,0.15);
}

.section-title {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.section-sub-em {
    color: rgba(20, 8, 38, 0.88);
    font-weight: 650;
}

.text-glow {
    color: var(--accent);
    text-shadow: 0 0 24px rgba(155,108,211,0.35), 0 2px 8px rgba(0,0,0,0.12);
}

.highlight-text {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Reusable highlight for single words/phrases */
.highlight {
    display: inline-block;
    background: rgba(155, 108, 211, 0.15);
    padding: 4px 8px;
    border-radius: 6px;
}

/* ===== BUTTONS ===== */
.btn-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: #fff !important;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 20px rgba(94,42,145,0.45);
    transition: all 0.3s ease;
    animation: pulseGlow 2.5s infinite;
}
.btn-cta:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    box-shadow: 0 8px 32px rgba(155,108,211,0.35);
    transform: translateY(-2px);
    color: #fff !important;
}

/* Register CTA: standout without clashing with primary CTA */
.btn-register {
    position: relative;
    isolation: isolate;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff !important;
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: 0.06em;
    border: none;
    box-shadow: 0 10px 30px rgba(94,42,145,0.35);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-register::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(60% 80% at 50% 0%, rgba(255,255,255,0.35), transparent 70%);
    opacity: 0.75;
    z-index: -1;
}
.btn-register::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 60%;
    height: 180%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 45%, transparent 100%);
    transform: rotate(18deg);
    opacity: 0.0;
    transition: opacity 0.25s ease, left 0.55s ease;
}
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(94,42,145,0.42);
    filter: saturate(1.05);
}
.btn-register:hover::after {
    opacity: 1;
    left: 80%;
}

/* Secondary CTA for navbar: clean outlined pill */
.btn-cta-outline {
    background: transparent;
    color: var(--primary-deep) !important;
    border: 1.8px solid rgba(94, 42, 145, 0.35);
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: none;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.btn-cta-outline:hover {
    background: rgba(94, 42, 145, 0.08);
    border-color: rgba(94, 42, 145, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(94, 42, 145, 0.14);
}

/* Navbar CTA cluster */
#mainNav .nav-cta-group .btn {
    white-space: nowrap;
}
#mainNav .nav-cta-group .btn-register {
    box-shadow: 0 8px 20px rgba(94,42,145,0.22);
}
#mainNav .nav-cta-group .btn-register:hover {
    box-shadow: 0 12px 28px rgba(94,42,145,0.30);
}

/* Stack CTA buttons vertically in collapsed (mobile) navbar */
@media (max-width: 991.98px) {
    #mainNav .nav-cta-group {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
    }
    #mainNav .nav-cta-group .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* About CTA: extra presence without affecting other CTAs */
.about-cta {
    padding: 12px 28px;
    border-radius: 999px;
    box-shadow: 0 8px 25px rgba(106,17,203,0.4);
}
.about-cta:hover {
    transform: translateY(-2px) scale(1.03);
}

@keyframes pulseGlow {
    0% { box-shadow: 0 4px 20px rgba(94,42,145,0.45); }
    50% { box-shadow: 0 6px 30px rgba(94,42,145,0.7); }
    100% { box-shadow: 0 4px 20px rgba(94,42,145,0.45); }
}

.btn-ghost {
    background: transparent;
    color: var(--primary-deep) !important;
    border: 2px solid var(--primary);
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all var(--transition);
}
.btn-ghost:hover {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 20px rgba(94,42,145,0.35);
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
#mainNav {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.75rem 0;
    transition: all var(--transition);
    font-family: var(--font-nav);
}
#mainNav.scrolled {
    box-shadow: 0 4px 30px rgba(94,42,145,0.15);
    padding: 0.4rem 0;
}

/* Slightly calmer CTA shadow inside navbar */
#mainNav .btn-cta {
    box-shadow: 0 4px 12px rgba(94,42,145,0.28);
    animation: none;
}
#mainNav .btn-cta:hover {
    box-shadow: 0 8px 18px rgba(94,42,145,0.38);
}

/* Brand Logo */
.brand-logo-svg {
    filter: none;
    transition: transform var(--transition);
}
.navbar-brand:hover .brand-logo-svg {
    transform: rotate(-5deg) scale(1.08);
}

/* Slightly higher-contrast navbar logo images */
#mainNav .navbar-brand img {
    filter: none !important;
}

/* ===== MOBILE NAV OVERLAY (hamburger -> X, full height) ===== */
.nav-toggle-btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
}
.nav-toggle-icon {
    position: relative;
    width: 22px;
    height: 2px;
    background: rgba(20, 8, 38, 0.9);
    border-radius: 2px;
    transition: transform 220ms ease, background-color 220ms ease;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: rgba(20, 8, 38, 0.9);
    border-radius: 2px;
    transition: transform 220ms ease, top 220ms ease, opacity 220ms ease;
}
.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after { top: 7px; }

/* Turn hamburger into X when expanded */
.nav-toggle-btn[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
}
.nav-toggle-btn[aria-expanded="true"] .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle-btn[aria-expanded="true"] .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
    /* Full-screen overlay menu */
    #mainNav .navbar-collapse {
        position: fixed;
        inset: 0;
        height: 100vh;
        width: 100%;
        padding: 18px 18px 24px;
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245, 240, 255, 0.96) 100%);
        z-index: 9998;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }
    #mainNav .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    body.nav-open {
        overflow: hidden;
        touch-action: none;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 6px 2px 14px;
        border-bottom: 1px solid rgba(94, 42, 145, 0.10);
        margin-bottom: 8px;
    }
    .mobile-nav-close {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border: 0;
        background: transparent;
        border-radius: 12px;
        color: rgba(20, 8, 38, 0.95);
    }

    #mainNav .navbar-nav {
        align-items: stretch !important;
        text-align: left;
        gap: 0;
        margin-top: 6px;
    }

    #mainNav .navbar-nav .nav-item {
        width: 100%;
    }

    #mainNav .navbar-nav .nav-link {
        width: 100%;
        margin: 0;
        padding: 18px 6px;
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: 0.01em;
        border-bottom: 1px solid rgba(94, 42, 145, 0.10);
        color: rgba(20, 8, 38, 0.95) !important;
    }

    /* Remove desktop underline hover affordance in mobile overlay */
    #mainNav .navbar-nav .nav-link::after {
        display: none !important;
    }

    .mobile-accordion-toggle {
        background: transparent;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .mobile-accordion-toggle.is-active {
        color: var(--primary) !important;
    }

    .mobile-accordion-icon {
        width: 34px;
        height: 34px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        background: rgba(94, 42, 145, 0.10);
        border: 1px solid rgba(94, 42, 145, 0.16);
        flex: 0 0 auto;
        transition: transform 200ms ease;
    }
    .mobile-accordion-toggle.is-active .mobile-accordion-icon {
        transform: rotate(180deg);
    }

    .mobile-submenu {
        padding: 10px 10px 16px;
        border-bottom: 1px solid rgba(94, 42, 145, 0.10);
        background: linear-gradient(180deg, rgba(94, 42, 145, 0.92) 0%, rgba(46, 15, 79, 0.92) 100%);
        border-radius: 16px;
        margin: 10px 6px 14px;
    }
    .mobile-submenu a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 10px;
        border-radius: 14px;
        text-decoration: none;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.96);
        background: rgba(255, 255, 255, 0.10);
        border: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow: 0 10px 22px rgba(17, 24, 39, 0.12);
        margin-top: 10px;
    }
    .mobile-submenu a i {
        color: rgba(255, 255, 255, 0.95);
    }
    .mobile-submenu a:hover {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.22);
    }
    .mobile-submenu a:active {
        transform: translateY(1px);
    }
}

.brand-logo-text {
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: 0.14em;
    font-size: 1.5rem;
    line-height: 1;
    text-transform: uppercase;
    /* thicker + stronger color */
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow:
        0 0 22px rgba(177, 76, 255, 0.22);
}

/* (intentionally no hover-specific effect on logo text) */

.brand-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brand-name {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-deep);
    letter-spacing: 0.06em;
    line-height: 1;
}
.brand-tagline {
    font-family: var(--font-head);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--primary);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-link {
    font-family: var(--font-nav);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-deep) !important;
    letter-spacing: 0.03em;
    position: relative;
    transition: color var(--transition);
}

/* Navbar spacing + readability */
#mainNav .navbar-nav .nav-link {
    margin: 0 20px;
    font-weight: 500;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 80%; }
.nav-link:hover { color: var(--primary) !important; }

/* Services Dropdown */
.services-dropdown .dropdown-toggle::after { display: none; }
.services-dropdown > a.nav-link::after { display: none; }

/* remove focus ring only for Services dropdown toggle */
.services-dropdown > a.nav-link:focus,
.services-dropdown > a.nav-link:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Rotate chevron on hover over Services (desktop) */
@media (min-width: 992px) {
  .services-dropdown .bi-chevron-down {
    display: inline-block;
    transition: transform 0.200s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center;
  }
  .services-dropdown:hover .bi-chevron-down {
    transform: rotate(180deg);
  }
}

.services-menu {
    min-width: 290px;
    border-radius: 1.25rem !important;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 450px;
    margin-top: 0.6rem !important;
    border: 1px solid rgba(94,42,145,0.15) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px) scale(0.985);
    transition:
        opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
        visibility 0s linear 220ms;
}
.services-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
        opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
        visibility 0s linear 0s;
}

/* Mobile: don't reserve space for closed dropdown inside collapsed nav */
@media (max-width: 991.98px) {
    /* Prevent horizontal scroll from wide nav link margins */
    #mainNav .navbar-nav .nav-link {
        margin: 0;
    }
    #mainNav .navbar-collapse {
        overflow-x: hidden;
    }

    .services-menu {
        display: none !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }
    .services-menu.show {
        display: block !important;
    }
}

/* Desktop: allow smooth transition (Bootstrap toggles .show) */
@media (min-width: 992px) {
    .services-menu {
        display: block !important;
    }
}
@keyframes dropDown {
    from { opacity:0; transform:translateY(-10px) scale(0.97); }
    to   { opacity:1; transform:translateY(0) scale(1); }
}

.services-menu-header {
    background: linear-gradient(90deg, var(--primary-deep), var(--primary));
    padding: 0.75rem 1.25rem;
    letter-spacing: 0.1em;
}

.services-menu .service-item {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.25rem !important;
    border-left: 3px solid transparent;
    transition: all 0.22s ease;
    color: var(--primary-deep) !important;
    font-weight: 600;
    font-family: var(--font-nav);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}
.services-menu .service-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(var(--services-hover-rgb), 0.22) 0%,
        rgba(var(--services-hover-rgb), 0.10) 45%,
        rgba(var(--services-hover-rgb), 0.00) 100%
    ) !important;
    transform: translateX(-110%);
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}
.services-menu .service-item > * {
    position: relative;
    z-index: 1;
}
.services-menu .service-item:hover {
    border-left-color: rgb(var(--services-hover-rgb));
    padding-left: 1.6rem !important;
}
.services-menu .service-item:hover::before {
    transform: translateX(0);
}
.service-icon {
    font-size: 1.1rem;
    color: var(--accent);
    width: 24px;
    text-align: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.service-item:hover .service-icon {
    color: rgb(var(--services-hover-rgb));
    transform: scale(1.2);
}
.service-name { flex: 1; }
.service-arrow {
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.2s ease;
    font-size: 0.8rem;
    color: var(--primary);
}
.service-item:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 88vh;
    background: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Hero background image layer */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("logo/bg-image.jpeg") center / cover no-repeat;
    filter: brightness(0.7) blur(3px);
    transform: scale(1.08);
    z-index: 0;
}

/* Overlay for readability (also controls perceived image opacity) */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(46, 15, 79, 0.85) 0%,
        rgba(46, 15, 79, 0.65) 40%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}
.min-vh-hero {
    min-height: 80vh;
    padding: 80px 0 40px;
}

/* Keep hero content above background layers */
.hero-section .container.position-relative {
    z-index: 3;
}

/* Premium hero accent + micro animation */
.hero-content {
    position: relative;
    z-index: 3;
    background: rgba(45, 48, 63, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius:20px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s ease forwards;
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-content {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbPulse 6s ease-in-out infinite;
    z-index: 2;
}
.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(94,42,145,0.18) 0%, transparent 70%);
    top: -150px; right: -100px;
}
.orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(155,108,211,0.12) 0%, transparent 70%);
    bottom: 50px; left: -80px;
    animation-delay: -3s;
}
@keyframes orbPulse {
    0%,100% { transform: scale(1); opacity:1; }
    50%      { transform: scale(1.12); opacity:0.75; }
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.08;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.35rem 1.1rem;
    border-radius: 2rem;
    animation: fadeSlideUp 0.7s ease both;
}
.badge-dot {
    width: 7px; height: 7px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    animation: dotBlink 1.5s ease infinite;
}
@keyframes dotBlink {
    0%,100% { opacity:1; } 50% { opacity:0.3; }
}

.hero-title,
.hero-heading {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    animation: fadeSlideUp 0.7s 0.1s ease both;
}
.hero-highlight {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(155, 108, 211, 0.6);
    position: relative;
}

@keyframes shimmer {
    0%,100% { opacity:0.6; } 50% { opacity:1; }
}

.hero-desc,
.hero-text {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin-bottom: 2rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    animation: fadeSlideUp 0.7s 0.2s ease both;
    line-height: 1.65;
}

/* (intentionally no hero keyword highlights) */

.hero-actions { animation: fadeSlideUp 0.7s 0.3s ease both; }

/* CTA hierarchy inside hero */
.hero-cta-primary {
    padding-left: 3.25rem !important;
    padding-right: 3.25rem !important;
    background: linear-gradient(90deg, #5E2A91, #9B6CD3) !important;
    color: #fff !important;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}
.hero-cta-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.45);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    color: #fff !important;
    backdrop-filter: blur(6px);
    opacity: 0.98;
}
.hero-cta-secondary:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255,255,255,0.6) !important;
}

.hero-stats {
    animation: fadeSlideUp 0.7s 0.4s ease both;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.stat-divider {
    width: 1px;
    background: var(--soft-grey);
    align-self: stretch;
}

.hero-card-float {
    position: relative;
    display: inline-block;
    animation: floatUp 0.9s 0.2s ease both;
}
.hero-img {
    width: 100%; max-width: 500px;
    border-radius: 1.5rem;
    box-shadow: 0 24px 80px rgba(94,42,145,0.25), 0 8px 24px rgba(0,0,0,0.1);
}
@keyframes floatUp {
    from { opacity:0; transform:translateY(30px); }
    to   { opacity:1; transform:translateY(0); }
}

.hero-float-badge {
    position: absolute;
    background: white;
    border: 1px solid rgba(94,42,145,0.15);
    border-radius: 2rem;
    padding: 0.5rem 1.1rem;
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-deep);
    box-shadow: 0 4px 20px rgba(94,42,145,0.2);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    animation: floatBob 3s ease-in-out infinite;
}
.float-badge-1 { top: 12%; right: -12px; animation-delay: 0s; }
.float-badge-2 { bottom: 14%; left: -12px; animation-delay: -1.5s; }
.hero-float-badge i { color: var(--primary); }
@keyframes floatBob {
    0%,100% { transform:translateY(0); }
    50%      { transform:translateY(-6px); }
}

/* Tagline strip */
.hero-tagline-strip {
    background: linear-gradient(90deg, var(--primary-deep), var(--primary));
    padding: 0.7rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    overflow: hidden;
    margin-top: auto;
}
.hero-tagline-strip span {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
}
.strip-dot { color: var(--accent) !important; font-size: 1.2rem !important; }

/* ===== SERVICES ===== */
.services-section {
    background: var(--light-bg);
    padding-top: 64px;
}

/* Services header hierarchy */
.services-section .section-label {
    letter-spacing: 0.22em;
}
.services-section .section-title {
    color: var(--primary-deep);
    font-weight: 600;
    text-shadow: none;
}
.services-section .section-sub {
    color: #6b7280; /* text-gray-500 */
    max-width: 920px;
}

/* More intentional grouping: header → cards spacing */
.services-section .section-header {
    margin-bottom: 4.5rem !important; /* 72px (8px grid) */
}

.service-card-link {
    text-decoration: none;
    display: block;
}

.svc-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2.5rem;
    border: 1.5px solid rgba(94,42,145,0.1);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    height: 100%;
    cursor: pointer;
}
.svc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(155, 108, 211, 0.18) 0%,
        rgba(155, 108, 211, 0.10) 45%,
        rgba(155, 108, 211, 0.00) 100%
    );
    transform: translateX(-110%);
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}
.svc-card:hover {
    transform: translateY(-10px);
    box-shadow: none;
}
.svc-card:hover::before {
    transform: translateX(0);
}

.svc-glow {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    transition: background 0.4s ease;
    pointer-events: none;
}

.svc-icon-wrap {
    width: 64px; height: 64px;
    border-radius: 1rem;
    background: rgba(94,42,145,0.07);
    border: 1.5px solid rgba(94,42,145,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
    transition: all var(--transition);
    position: relative;
    z-index: 1;
}
.svc-icon-wrap i {
    font-size: 1.85rem;
    line-height: 1;
}
.svc-card:hover .svc-icon-wrap {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(94,42,145,0.20);
}

.svc-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
    transition: color var(--transition);
}
.svc-card:hover .svc-title { color: var(--primary); }

.svc-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
    position: relative;
    z-index: 1;
    margin-bottom: 1.25rem;
}

/* Scroll reveal polish for Services cards */
.svc-title,
.svc-desc,
.svc-footer {
    will-change: transform, opacity;
}
.svc-card.fade-in-section .svc-title,
.svc-card.fade-in-section .svc-desc,
.svc-card.fade-in-section .svc-footer {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 520ms ease, transform 520ms ease;
}
.svc-card.fade-in-visible .svc-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 80ms;
}
.svc-card.fade-in-visible .svc-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 140ms;
}
.svc-card.fade-in-visible .svc-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 200ms;
}

.svc-footer {
    position: relative;
    z-index: 1;
}
.svc-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(94,42,145,0.08);
    color: var(--primary);
    font-size: 1rem;
    transition: all var(--transition);
}
.svc-card:hover .svc-arrow-btn {
    background: var(--primary);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(94,42,145,0.4);
}

/* ===== PROCESS ===== */
.process-section {
    /* section separator (smooth cut) */
    border-top: 1px solid rgba(255,255,255,0.05);
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.20), transparent 44px),
        radial-gradient(900px 480px at 50% 65%, rgba(167, 139, 250, 0.16) 0%, transparent 60%),
        radial-gradient(520px 520px at 18% 18%, rgba(196, 181, 253, 0.10) 0%, transparent 62%),
        linear-gradient(135deg, #1a0630 0%, #2b0a4a 45%, #140826 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Process section header hierarchy */
.process-section .section-title {
    font-size: clamp(2.4rem, 4.2vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}
.process-section .section-title .text-glow {
    background: linear-gradient(90deg, #EDE9FE 0%, #C4B5FD 45%, #A78BFA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}
.process-section .section-sub {
    color: rgba(237, 233, 254, 0.72) !important;
    max-width: 920px;
    text-wrap: balance;
}
.process-section::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(237, 233, 254, 0.12) 0%, transparent 65%);
    top: -200px; right: -200px;
    pointer-events: none;
    filter: blur(2px);
    z-index: 0;
}

/* Subtle noise + drifting glow (very soft) */
.process-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(650px 420px at 70% 30%, rgba(237, 233, 254, 0.10) 0%, transparent 65%),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(90deg, rgba(0,0,0,0.012) 0px, rgba(0,0,0,0.012) 1px, transparent 1px, transparent 4px);
    opacity: 0.22;
    mix-blend-mode: overlay;
    z-index: 0;
    animation: processBgDrift 22s ease-in-out infinite alternate;
}

@keyframes processBgDrift {
    from { transform: translate3d(-1.5%, -1%, 0); }
    to   { transform: translate3d(1.5%, 1%, 0); }
}

.process-connector {
    position: absolute;
    top: 72px;
    left: calc(12.5% + 30px);
    right: calc(12.5% + 30px);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(237, 233, 254, 0.30), rgba(237, 233, 254, 0.30), transparent);
    z-index: 0;
}

/* Stepper arrows between cards (desktop) */
@media (min-width: 768px) {
    .process-section .row > .col-md-3:not(:last-child) .process-card::after {
        content: '';
        position: absolute;
        top: 76px;
        right: -18px;
        width: 10px;
        height: 10px;
        border-top: 2px solid rgba(237, 233, 254, 0.42);
        border-right: 2px solid rgba(237, 233, 254, 0.42);
        transform: rotate(45deg);
        opacity: 0.75;
        pointer-events: none;
        z-index: 2;
        filter: drop-shadow(0 0 8px rgba(237, 233, 254, 0.14));
    }
}

.process-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
    overflow: hidden;
}
.process-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-8px);
    box-shadow:
        0 22px 70px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.10),
        0 0 0 6px rgba(167, 139, 250, 0.08);
    border-color: rgba(255,255,255,0.28);
}

.process-num {
    font-family: var(--font-head);
    font-size: 4.25rem;
    font-weight: 700;
    color: rgba(237, 233, 254, 0.16);
    line-height: 1;
    margin-bottom: 0;
    transition: color var(--transition);
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 0;
    pointer-events: none;
}
.process-card:hover .process-num { color: rgba(237, 233, 254, 0.24); }

.process-icon {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #EDE9FE;
    margin: 0 auto 1rem;
    transition: all var(--transition);
    position: relative;
    z-index: 1;
}
.process-card:hover .process-icon {
    background: rgba(237, 233, 254, 0.18);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,0.30);
    transform: translateY(-2px);
}

.process-card h4 {
    color: white;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}
.process-card p {
    font-size: 0.88rem;
    color: rgba(237, 233, 254, 0.68);
    line-height: 1.75;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Scroll reveal polish for Process cards */
.process-icon,
.process-card h4,
.process-card p {
    will-change: transform, opacity;
}
.process-card.fade-in-section .process-icon,
.process-card.fade-in-section h4,
.process-card.fade-in-section p {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 520ms ease, transform 520ms ease;
}
.process-card.fade-in-visible .process-icon {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 60ms;
}
.process-card.fade-in-visible h4 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 120ms;
}
.process-card.fade-in-visible p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 180ms;
}

/* ===== ABOUT ===== */
.about-section {
    background: linear-gradient(to bottom, #ffffff, #faf7ff);
}

.about-section.section-padding {
    padding: 80px 0;
}

.about-content .section-label {
    display: flexbox;
    margin: -.5rem auto 0;
}

.about-img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}
.about-img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 24px 80px rgba(94,42,145,0.2);
    transition: transform var(--transition);
}
.about-img-wrap:hover .about-img { transform: scale(1.02); }

.about-badge-float {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(106,17,203,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: 2rem;
    box-shadow: 0 8px 28px rgba(94,42,145,0.4);
    display: flex;
    align-items: center;
    animation: floatBob 3s ease-in-out infinite;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-content {
    padding-left: 40px;
    position: relative;
}

.about-content::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(106,17,203,0.15), transparent);
    top: -50px;
    right: -50px;
    pointer-events: none;
    z-index: 0;
}

.about-content > * {
    position: relative;
    z-index: 1;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-deep);
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(94,42,145,0.06);
    transition: all var(--transition);
}

/* About checklist polish */
.about-list .list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.about-list .check-icon {
    background: rgba(106,17,203,0.1);
    padding: 6px;
    border-radius: 50%;
}
.about-list li:hover {
    color: var(--primary);
    padding-left: 6px;
}
.about-check {
    width: 28px; height: 28px;
    background: rgba(94,42,145,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all var(--transition);
}
.about-list li:hover .about-check {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 12px rgba(94,42,145,0.4);
}

/* ===== WORK ===== */
.work-section { background: var(--light-bg); padding-top: 80px; }

/* Work subtitle: use more horizontal space */
.work-section .section-sub {
    max-width: 920px;
}

/* Portfolio grid: subtle stagger on desktop */
@media (min-width: 768px) {
    .work-section .row > .col-md-6:nth-child(2),
    .work-section .row > .col-md-6:nth-child(4) {
        transform: translateY(18px);
    }
}

.work-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1.5px solid rgba(94,42,145,0.08);
    transition: all var(--transition);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(94,42,145,0.15);
    border-color: rgba(94,42,145,0.25);
}

.work-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168,85,247,0.18), rgba(106,17,203,0.10));
    border: 1px solid rgba(106,17,203,0.16);
    color: rgba(74, 29, 138, 0.98);
    box-shadow: 0 10px 28px rgba(106,17,203,0.12);
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}
.work-icon i {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 10px rgba(106,17,203,0.18));
}
.work-card:hover .work-icon {
    text-shadow: 0 0 20px rgba(94,42,145,0.5);
    transform: translateY(-2px) scale(1.06);
}

.work-card h5 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 0.9rem;
}
.work-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* Portfolio card structure */
.work-section .work-card p {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.work-tags {
    margin-top: auto;
}

.work-metric {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(94,42,145,0.95);
}
.work-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.work-tags span {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.75rem;
    background: rgba(94,42,145,0.08);
    color: var(--primary);
    border-radius: 2rem;
    border: 1px solid rgba(94,42,145,0.15);
    transition: all var(--transition);
}
.work-card:hover .work-tags span {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== CAREERS ===== */
.careers-section {
    /* light (white + purple) to differentiate from Stack */
    border-top: 1px solid rgba(0,0,0,0.06);
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.06), transparent 56px),
        radial-gradient(900px 520px at 50% 35%, rgba(167, 139, 250, 0.24) 0%, transparent 62%),
        radial-gradient(520px 520px at 14% 72%, rgba(94, 42, 145, 0.12) 0%, transparent 62%),
        linear-gradient(180deg, #ffffff 0%, #f7f6f8 45%, #f5f3f7 100%);
    position: relative;
    overflow: hidden;
}

/* ===== OUR STACK ===== */
.stack-section {
    /* section separator (smooth cut) */
    border-top: 1px solid rgba(255,255,255,0.05);
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.20), transparent 44px),
        radial-gradient(900px 480px at 50% 35%, rgba(167, 139, 250, 0.14) 0%, transparent 60%),
        radial-gradient(520px 520px at 18% 78%, rgba(196, 181, 253, 0.10) 0%, transparent 62%),
        linear-gradient(135deg, #1a0630 0%, #2b0a4a 45%, #140826 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.stack-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(237, 233, 254, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237, 233, 254, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}
.stack-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(650px 420px at 70% 20%, rgba(237, 233, 254, 0.09) 0%, transparent 65%),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(90deg, rgba(0,0,0,0.012) 0px, rgba(0,0,0,0.012) 1px, transparent 1px, transparent 4px);
    opacity: 0.18;
    mix-blend-mode: overlay;
    z-index: 0;
    animation: processBgDrift 22s ease-in-out infinite alternate;
}

.stack-grid { position: relative; z-index: 1; }
.stack-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 1.1rem;
    padding: 1.1rem 0.9rem;
    text-align: center;
    min-height: 112px;
    display: grid;
    place-items: center;
    gap: 0.55rem;
    backdrop-filter: blur(10px);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), filter var(--transition);
    will-change: transform;
}
.stack-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: rgba(237, 233, 254, 0.95);
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.24);
    box-shadow: 0 0 0 6px rgba(167, 139, 250, 0.06);
}
.stack-icon i { font-size: 1.15rem; }
.stack-name {
    font-family: var(--font-nav);
    font-weight: 650;
    letter-spacing: 0.02em;
    color: rgba(237, 233, 254, 0.92);
    font-size: 0.92rem;
}
.stack-card:hover {
    background: rgba(255,255,255,0.075);
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.30);
    box-shadow:
        0 22px 70px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.10),
        0 0 0 6px rgba(167, 139, 250, 0.08);
    filter: brightness(1.03);
}
.stack-card:hover .stack-icon {
    transform: translateY(-1px) scale(1.02);
    transition: transform 220ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .stack-section::after { animation: none; }
    .stack-card, .stack-card:hover { transform: none !important; }
}

.careers-section.section-padding {
    padding-top: 80px;
}
.careers-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(46, 16, 79, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 16, 79, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}

.careers-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(650px 420px at 70% 30%, rgba(167, 139, 250, 0.16) 0%, transparent 65%),
        repeating-linear-gradient(0deg, rgba(0,0,0,0.012) 0px, rgba(0,0,0,0.012) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(90deg, rgba(0,0,0,0.010) 0px, rgba(0,0,0,0.010) 1px, transparent 1px, transparent 4px);
    opacity: 0.22;
    mix-blend-mode: normal;
    z-index: 0;
    animation: processBgDrift 22s ease-in-out infinite alternate;
}

.career-card {
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(94,42,145,0.18);
    border-radius: 1.25rem;
    padding: 1.75rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}
.career-card:hover {
    background: rgba(255,255,255,0.88);
    transform: translateY(-6px);
    box-shadow:
        0 12px 34px rgba(16, 10, 35, 0.14),
        0 0 0 1px rgba(94,42,145,0.12),
        0 0 0 6px rgba(167, 139, 250, 0.10);
    border-color: rgba(94,42,145,0.26);
}

/* Stack heading highlight matches Approach */
.stack-section .section-title .text-glow {
    background: linear-gradient(90deg, #EDE9FE 0%, #C4B5FD 45%, #A78BFA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}
.career-card h5 {
    font-family: var(--font-head);
    color: rgba(20, 8, 38, 0.95);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

/* Careers marquee (continuous scroll) */
.careers-marquee {
    /* keep horizontal clip for marquee, allow hover lift/shadows vertically */
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    padding: 14px 0 18px;
}
.careers-marquee-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: careersMarquee 30s linear infinite;
    padding: 6px 0;
}
.careers-marquee:hover .careers-marquee-track {
    animation-play-state: paused;
}
.career-item {
    flex: 0 0 auto;
    width: 280px;
}

@keyframes careersMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .careers-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .career-item {
        width: 100%;
        max-width: 360px;
    }
    /* Hide duplicated items used for seamless marquee loop */
    .career-item[aria-hidden="true"] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .careers-marquee-track {
        animation: none;
        transform: none !important;
    }
}

.career-cta {
    background: linear-gradient(90deg, rgba(94,42,145,0.95) 0%, rgba(122,61,184,0.92) 45%, rgba(155,108,211,0.90) 100%);
    border: 1px solid rgba(94,42,145,0.18) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(94,42,145,0.22);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.career-cta:hover {
    background: linear-gradient(90deg, rgba(94,42,145,1) 0%, rgba(92,18,182,0.98) 45%, rgba(155,108,211,0.96) 100%);
    border-color: rgba(94,42,145,0.26) !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 44px rgba(94,42,145,0.25);
}

.career-meta {
    margin-bottom: 1rem;
    color: rgba(20, 8, 38, 0.62);
    font-size: 0.92rem;
}

.careers-section .section-title {
    color: rgba(20, 8, 38, 0.95);
}
.careers-section .section-sub {
    color: rgba(20, 8, 38, 0.62);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.careers-section .section-label.light {
    background: rgba(94,42,145,0.10);
    border: 1px solid rgba(94,42,145,0.14);
    color: rgba(94,42,145,0.92);
}
.careers-section .section-title .text-glow {
    /* stronger + more colorful “Team” */
    background: linear-gradient(90deg, #4D0D9C 0%, #7A3DB8 40%, #B14CFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 10px 22px rgba(77, 13, 156, 0.18),
        0 0 18px rgba(177, 76, 255, 0.22);
}

/* ===== CONTACT ===== */
.contact-section { background: var(--light-bg);padding-top: 80px; }
.contact-section .section-title { color: var(--primary-deep); }
.contact-section .section-sub { color: var(--text-muted); }

@media (max-width: 576px) {
    .contact-section {
        padding-top: 40px;
    }
    .contact-section .section-label {
        margin-bottom: 0.4rem;
    }
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 50px rgba(94,42,145,0.12);
    border: 1px solid rgba(94,42,145,0.08);
}

/* Reach Out panel (replaces contact form) */
.reachout-panel {
    width: 100%;
    max-width: 760px;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(94, 42, 145, 0.10);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.04);
}
.reachout-title {
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: clamp(2rem, 3vw, 2.6rem);
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(155, 108, 211, 0.22);
    color: rgba(20, 8, 38, 0.95);
    margin-bottom: 1.25rem;
}
.reachout-desc {
    font-size: 1.02rem;
    color: rgba(20, 8, 38, 0.72);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 560px;
}
.reachout-cards {
    display: grid;
    gap: 18px;
}
.reachout-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border: 1px solid rgba(94, 42, 145, 0.08);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    transition: 0.3s;
}
.reachout-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.reachout-meta { flex: 1; min-width: 0; }
.reachout-action {
    margin-left: auto;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    padding: 10px 12px;
    border-radius: 999px;
    color: rgba(46, 15, 79, 0.95);
    background: rgba(155, 108, 211, 0.12);
    border: 1px solid rgba(155, 108, 211, 0.22);
    transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
    white-space: nowrap;
}
.reachout-action:hover {
    transform: translateY(-1px);
    background: rgba(155, 108, 211, 0.18);
    border-color: rgba(155, 108, 211, 0.32);
    color: rgba(20, 8, 38, 0.95);
}
.reachout-ico {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 20%, rgba(155, 108, 211, 0.28), rgba(155, 108, 211, 0.10));
    color: rgba(46, 15, 79, 0.95);
    border: 1px solid rgba(155, 108, 211, 0.18);
    flex-shrink: 0;
}
.reachout-ico i { font-size: 1.35rem; }
.icon-box {
    background: linear-gradient(135deg, #5E2A91, #9B6CD3) !important;
    color: #ffffff !important;
    border-color: rgba(94, 42, 145, 0.22) !important;
    box-shadow: 0 10px 26px rgba(94, 42, 145, 0.18);
}
.icon-box i { color: inherit; }
.reachout-label {
    font-family: var(--font-head);
    font-weight: 800;
    color: rgba(20, 8, 38, 0.92);
    font-size: 1.05rem;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}
.reachout-value {
    color: rgba(20, 8, 38, 0.55);
    text-decoration: none;
    font-weight: 650;
}

/* Prevent horizontal overflow in mobile contact cards */
@media (max-width: 576px) {
    .reachout-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .reachout-meta {
        min-width: 0;
    }

    .reachout-value,
    .contact-value {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .reachout-action {
        margin-left: 0;
        width: 100%;
        text-align: center;
        white-space: normal;
    }
}
.reachout-value:hover {
    color: rgba(46, 15, 79, 0.95);
    text-decoration: underline;
}

/* Typography hierarchy for contact cards */
.contact-title {
    font-weight: 600;
    font-size: 18px;
}
.contact-value {
    font-size: 16px;
    color: #5A5A5F;
}

.contact-input {
    border: 1.5px solid rgba(94,42,145,0.15) !important;
    padding: 0.75rem 1.25rem !important;
    font-family: var(--font-body);
    transition: all var(--transition) !important;
}
.contact-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(94,42,145,0.12) !important;
    outline: none !important;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-deep);
    color: white;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.footer-top {
    padding: 4rem 0 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* footer columns: subtle vertical dividers (desktop/tablet) */
.site-footer .footer-cols > [class^="col"] {
    position: relative;
}
@media (min-width: 768px) {
    .site-footer .footer-cols > [class^="col"]:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 10px;
        bottom: 10px;
        right: -0.75rem;
        width: 1px;
        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(255,255,255,0.10) 18%,
            rgba(255,255,255,0.06) 82%,
            transparent 100%
        );
        pointer-events: none;
    }
}
.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 1rem 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

.footer-brand {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: white;
}

.footer-brand-text {
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: 0.14em;
    font-size: 1.2rem;
    line-height: 1;
    text-transform: uppercase;
    /* thicker + stronger color */
    background: linear-gradient(90deg, #ece3f8 0%, #eeecf0 45%, #f2eff5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.footer-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    max-width: 280px;
    margin-bottom: 0.75rem;
}
.footer-contact-info {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.3rem;
}
.footer-contact-info i { color: var(--accent); }

/* Footer contact alignment: icons + text start on same vertical lines */
.footer-contact-block {
    /* inline-flex so the whole block can be right-aligned by text-md-end */
    display: inline-flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: flex-start;
}
.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}
.footer-contact-row .footer-ci {
    flex: 0 0 1.4rem; /* fixed icon column width */
    width: 1.4rem;
    text-align: left;
    line-height: 1.2;
    margin-top: 0.12rem;
}
.footer-contact-row .footer-ct {
    text-align: left; /* text starts on same x for every row */
}

.footer-contact-row .footer-ci i {
    display: inline-block;
    width: 1.4rem;
    text-align: center;
    margin: 0; /* override bootstrap icon spacing */
    color: var(--accent);
}

.footer-tagline {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
}

.footer-address {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}
.footer-address i { color: var(--accent); }

.footer-heading {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(237, 233, 254, 0.95);
    margin-bottom: 0.9rem;
}

.footer-links {
    display: grid;
    gap: 0.6rem;
}

.footer-link {
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 220ms ease, text-decoration-color 220ms ease;
}
.footer-link:hover {
    color: rgba(237, 233, 254, 0.95);
    text-decoration: underline;
    text-decoration-color: rgba(167, 139, 250, 0.65);
    text-underline-offset: 4px;
}

.social-links { display: flex; gap: 0.6rem; justify-content: center; }
.social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7) !important;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, filter 220ms ease;
}
.social-link:hover {
    background: rgba(167, 139, 250, 0.18);
    border-color: rgba(167, 139, 250, 0.45);
    color: rgba(237, 233, 254, 0.98) !important;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 10px 26px rgba(0,0,0,0.28);
    filter: brightness(1.08);
}

/* ----- Mobile footer (stacked sections, brand colors — no card) ----- */
@media (max-width: 767.98px) {
    .site-footer {
        background: var(--primary-deep);
        color: #fff;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .site-footer .footer-top {
        padding: 2.25rem 0 1.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .site-footer .footer-top .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-footer .footer-bottom {
        background: rgba(0, 0, 0, 0.25);
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.82rem;
    }

    /* No inner card — same bg as footer */
    .footer-mobile {
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .footer-m-section {
        padding-bottom: 1.35rem;
        margin-bottom: 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-m-section:last-child {
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .footer-m-title {
        font-family: var(--font-head);
        font-size: 1.15rem;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.96);
        margin: 0 0 0.35rem 0;
        text-align: left;
        letter-spacing: 0.02em;
    }

    .footer-m-underline {
        display: block;
        width: 36px;
        height: 3px;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--accent), var(--highlight));
        margin-bottom: 1rem;
    }

    .footer-m-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        margin-bottom: 1rem;
    }

    .footer-mobile .footer-m-logo {
        width: 72px;
        height: 58px;
        filter: none !important;
    }

    /* Keep desktop gradient brand text on dark footer */
    .footer-mobile .footer-m-social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.65rem;
        margin-bottom: 0.85rem;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-m-tagline {
        text-align: center;
        margin-bottom: 1rem;
        letter-spacing: 0.15em;
    }

    .footer-m-desc {
        font-size: 0.92rem;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.62);
        margin: 0;
        text-align: left;
        padding: 0 2px;
    }

    /* Main branch: same icon rows as desktop footer */
    .footer-mobile .footer-m-contact {
        margin-left: 1.2rem;
        margin-top: 0.25rem;
        align-items: flex-start;
    }

    .footer-mobile .footer-m-contact .footer-ct a:hover {
        color: var(--accent) !important;
    }

    /* Desktop footer row hidden on mobile — keep rules for md+ only */
    .site-footer .footer-cols {
        text-align: center !important;
    }

    .site-footer .footer-cols > [class^="col"] {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-footer .footer-top .text-center,
    .site-footer .footer-top .text-md-end {
        text-align: center !important;
    }

    .site-footer .footer-top .justify-content-end {
        justify-content: center !important;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    :root { --section-pad: 70px; }
    .section-title { font-size: 2.4rem; }
    .process-connector { display: none !important; }
}
@media (max-width: 768px) {
    :root { --section-pad: 55px; }
    .section-title { font-size: 2rem; }
    .hero-section { text-align: center; }
    .hero-desc { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-float-badge { display: none; }
    .about-badge-float { right: 8px; }
    .contact-form { padding: 1.5rem; }
    .hero-tagline-strip { gap: 0.75rem; flex-wrap: wrap; }
}
/* Navbar logo sizing (high specificity to beat framework defaults) */
#mainNav .navbar-brand .brand-logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: none !important;
  transition: filter 0.3s ease, transform 0.3s ease;
  flex: 0 0 auto;
}

.brand-logo-name {
  height: 15px;
  width: auto;
  object-fit: contain;
  filter: none !important;
  transition: filter 0.3s ease, transform 0.3s ease;
  flex: 0 0 auto;
}

.navbar-brand:hover .brand-logo-icon,
.navbar-brand:hover .brand-logo-name {
  filter: none !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  #mainNav .navbar-brand .brand-logo-icon {
    width: 38px;
    height: 38px;
  }
  .brand-logo-name {
    height: 20px;
  }
}
/* footer logo */   
/* ===== FOOTER LOGO ===== */
.footer-logo {
    width: 82px;
    height: 66px;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(155, 108, 211, 0.35));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-logo:hover {
    filter: drop-shadow(0 0 12px rgba(155, 108, 211, 0.95));
    transform: scale(1.08);
}