/* ============================================
   ARDENT SOLUTIONZ - Premium CSS Styles
   Modern, Corporate, Creative Design System
   ============================================ */

/* ===== FALLBACK FOR TAILWISS CSS ===== */
/* Ensure page is visible even if Tailwind CDN fails */
body {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Horizontal Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 15s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Basic layout classes as fallback */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hidden { display: none; }
.md\:flex { display: none; }
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:text-7xl { font-size: 4.5rem; }
    .md\:p-16 { padding: 4rem; }
}
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-white { color: white; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-3xl { border-radius: 1.5rem; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-white { background-color: white; }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/30 { background-color: rgba(255, 255, 255, 0.3); }
.text-blue-600 { color: #2563eb; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-gray-400 { color: #9ca3af; }
.text-gray-600 { color: #4b5563; }
.hover\:text-blue-400:hover { color: #60a5fa; }
.hover\:bg-white\/30:hover { background-color: rgba(255, 255, 255, 0.3); }
.transition-colors { transition-property: color, background-color, border-color; }
.transition-all { transition-property: all; }
.min-h-screen { min-height: 100vh; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.object-cover { object-fit: cover; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-7 { height: 1.75rem; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }
.w-auto { width: auto; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.focus\:not-sr-only:focus { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.focus\:absolute:focus { position: absolute; }
.focus\:top-4:focus { top: 1rem; }
.focus\:left-4:focus { left: 1rem; }
.xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1280px) {
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Premium Navy Blue Color Palette */
    --primary: #0A2540;
    --primary-dark: #071829;
    --primary-light: #153352;
    
    /* Royal Blue Accents */
    --secondary: #0A2540;
    --secondary-dark: #071829;
    --secondary-light: #0d2d4d;
    
    /* Cyan Highlights */
    --accent: #0A2540;
    --accent-light: #0d2d4d;
    --accent-dark: #071829;
    
    /* Background Colors */
    --background: #FFFFFF;
    --light-bg: #F8FAFC;
    --surface: #F0F9FF;
    --surface-alt: #E0F2FE;
    
    /* Text Colors */
    --text: #0F172A;
    --text-light: #64748B;
    --text-lighter: #94A3B8;
    --text-white: #FFFFFF;
    
    /* Border Colors */
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    
    /* Dark Theme Colors */
    --dark-bg: #0F172A;
    --dark-navy: #0A2540;
    --footer-bg: #07131F;
    
    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #0A2540 0%, #0d2d4d 50%, #0A2540 100%);
    --gradient-secondary: linear-gradient(135deg, #0A2540 0%, #0d2d4d 50%, #0A2540 100%);
    --gradient-accent: linear-gradient(135deg, #0A2540 0%, #0d2d4d 100%);
    --gradient-dark: linear-gradient(135deg, #0A2540 0%, #071829 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-bg-dark: rgba(10, 37, 64, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-border-dark: rgba(10, 37, 64, 0.3);
    
    /* Premium Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(10, 37, 64, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 37, 64, 0.08), 0 2px 4px -1px rgba(10, 37, 64, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(10, 37, 64, 0.1), 0 4px 6px -2px rgba(10, 37, 64, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(10, 37, 64, 0.12), 0 10px 10px -5px rgba(10, 37, 64, 0.08);
    --shadow-2xl: 0 25px 50px -12px rgba(10, 37, 64, 0.25);
    --shadow-glow: 0 0 20px rgba(10, 37, 64, 0.3);
    --shadow-glow-strong: 0 0 40px rgba(10, 37, 64, 0.5);
    
    /* Animation Timing */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: var(--shadow-glow);
}

/* ===== PREMIER NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all var(--transition-slow);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar > .max-w-7xl {
    width: 100%;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.navbar-desktop {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Push items to center and the last item to the right */
.navbar-desktop::before {
    content: '';
    margin-right: auto;
}

.navbar-desktop .nav-highlight {
    margin-left: auto;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    /* ===== MOBILE NAVBAR FIXES ===== */

    .navbar-desktop {
        display: none;
    }

    /* Navbar: exactly 70px, fixed, full-width */
    .navbar {
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
        display: flex;
        align-items: center;
        padding: 0;
    }

    .navbar.scrolled {
        height: 70px !important;
        min-height: 70px !important;
    }

    /* Remove inner wrapper padding so our own container controls the spacing */
    .navbar > .max-w-7xl {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    /* Navbar container: logo left, navigation center, hamburger right, vertically centred */
    .navbar-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
        height: 100%;
        padding: 0 18px;
        margin: 0;
        position: static;
        transform: none;
    }

    /* Logo: far left, fixed width, no shrink */
    .navbar-brand {
        order: 1;
        flex-shrink: 0 !important;
        margin: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
        transform: none !important;
        position: static !important;
        display: flex;
        align-items: center;
        justify-self: flex-start;
    }

    /* Logo image: balanced height inside 70px navbar */
    .navbar-brand img {
        width: auto !important;
        min-width: unset !important;
        max-width: 120px !important;
        height: 54px !important;
        max-height: 54px !important;
        object-fit: contain;
        flex-shrink: 0 !important;
        display: block;
    }

    /* Hamburger: far right, 48×48px touch area, 30px icon lines */
    .hamburger {
        order: 2;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-shrink: 0 !important;
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;
        position: static !important;
        transform: none !important;
    }

    /* Hamburger lines: exactly 30px wide */
    .hamburger-line {
        display: block !important;
        width: 30px !important;
        height: 3px;
        background-color: #0A2540;
        border-radius: 2px;
        margin: 3px 0;
        transition: all 0.3s ease;
    }

    /* Hamburger → X animation */
    .hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
        margin: 0;
    }

    .hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
        margin: 0;
    }

    .hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px) !important;
        margin: 0;
    }

    /* ===== MOBILE MENU: slide in from right at 80vw ===== */
    .mobile-menu {
        width: 80vw !important;
        max-width: 80vw !important;
        right: -80vw !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .mobile-menu.active {
        right: 0 !important;
    }

    /* ===== BACKDROP: semi-transparent dark ===== */
    .mobile-menu-overlay {
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    /* ===== HERO: starts immediately below the navbar (no extra gap) ===== */
    /* The top-header (35px, in flow) + fixed navbar (70px) = 105px total header height.
       We nudge the hero up by the top-header height so it appears flush with the navbar. */
    #hero {
        margin-top: -35px;
        padding-top: 35px;
    }

    /* ===== SECTION PADDING ===== */
    .section {
        padding: 3rem 1rem !important;
    }

    /* ===== HERO SECTION ===== */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

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

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* ===== CARDS ===== */
    .card, .glass-card, .service-card {
        padding: 1.5rem !important;
    }

    .card-icon, .service-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }

    .card-title, .service-card .card-title {
        font-size: 1.1rem !important;
    }

    .card-description, .service-card .card-description {
        font-size: 0.9rem !important;
    }

    /* ===== GRID LAYOUTS ===== */
    .grid-cols-2, .grid-cols-3, .grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    .md\:grid-cols-2, .md\:grid-cols-3, .md\:grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    /* ===== TEXT SIZES ===== */
    .text-4xl, .text-5xl, .text-6xl, .text-7xl {
        font-size: 2rem !important;
    }

    .text-3xl {
        font-size: 1.75rem !important;
    }

    .text-2xl {
        font-size: 1.5rem !important;
    }

    .text-xl {
        font-size: 1.25rem !important;
    }

    /* ===== BUTTONS ===== */
    .btn {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    /* ===== FOOTER ===== */
    .footer {
        padding: 3rem 1rem !important;
    }

    .footer .grid-cols-4 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ===== FORMS ===== */
    input, select, textarea {
        font-size: 16px !important; /* Prevent zoom on iOS */
    }

    /* ===== MODALS ===== */
    .fixed > div:nth-child(2) {
        padding: 1rem !important;
    }

    .fixed > div:nth-child(2) > div {
        max-height: 90vh !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 480px) {
    /* ===== EXTRA SMALL SCREENS ===== */
    .section {
        padding: 2rem 0.75rem !important;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .card, .glass-card, .service-card {
        padding: 1.25rem !important;
    }

    .btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.85rem !important;
    }

    .navbar-brand img {
        max-width: 100px !important;
        height: 45px !important;
    }

    .mobile-menu {
        width: 90vw !important;
        max-width: 90vw !important;
        right: -90vw !important;
    }

    .mobile-menu.active {
        right: 0 !important;
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border);
    height: 70px;
}

.navbar.transparent {
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    margin-left: 0;
}

/* Desktop logo: auto width, natural height */
.navbar-brand img {
    height: 78px;
    width: auto;
    min-width: 180px;
    object-fit: contain;
}

/* Duplicate .navbar-desktop removed to fix mobile visibility */

/* Mobile logo overrides are handled in the @media (max-width: 768px) block above */

/* ===== HAMBURGER BUTTON ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    z-index: 1002;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .hamburger {
        display: flex !important;
    }
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #0A2540;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 5px 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    margin: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    margin: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    margin: 0;
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    max-width: 80vw;
    height: 100vh;
    background: white;
    z-index: 1002;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: var(--light-bg);
    border-radius: 8px;
}

.mobile-menu-nav {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    display: block;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-menu-link:hover {
    background: var(--light-bg);
    color: var(--primary);
}

.mobile-menu-link-highlight {
    background: var(--primary);
    color: white !important;
    text-align: center;
    justify-content: center;
    margin-top: 1rem;
}

.mobile-menu-link-highlight:hover {
    background: var(--primary-dark);
    color: white !important;
}

.mobile-menu-dropdown {
    margin: 0.5rem 0;
}

.mobile-menu-dropdown-toggle {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    padding: 1rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.mobile-menu-dropdown-toggle:hover {
    color: var(--accent);
    padding-left: 1.5rem;
}

.mobile-menu-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-dropdown-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.mobile-menu-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1.5rem;
}

.mobile-menu-dropdown-content[aria-expanded="true"] {
    max-height: 500px;
}

.mobile-menu-sublink {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text);
    display: block;
    transition: all 0.3s ease;
}

.mobile-menu-sublink:hover {
    color: var(--accent);
    padding-left: 1.5rem;
}

.navbar-brand:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--text);
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--accent);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 70px);
    margin-top: 0;
    padding-top: 0;
    display: flex;
    align-items: center;
    background: var(--surface);
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 70px);
        margin-top: 0;
        padding-top: 0;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
    filter: blur(80px);
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
    filter: blur(70px);
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
    filter: blur(60px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.hero-badge:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0A2540 0%, #1E40AF 50%, #2563EB 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-gradient {
    background: var(--gradient-secondary);
    color: white;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.5), var(--shadow-glow);
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 4rem 0;
    position: relative;
}

/* Hero section must NOT have top/bottom padding — content centering via flexbox */
section#hero.section {
    padding: 0 !important;
}

section.pt-32.pb-20 {
    padding-top: 7rem !important;
    padding-bottom: 4rem !important;
}

main section.min-h-screen {
    min-height: 78vh;
}

.section-light {
    background: var(--light-bg);
}

.section-dark {
    background: var(--primary);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.section-dark .section-title {
    color: white;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-dark .section-description {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: var(--accent);
}

.card:hover::before {
    opacity: 0.05;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    transition: all var(--transition-base);
}

.card-link:hover {
    gap: 0.75rem;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

/* ===== GLASS CARDS ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-slow);
}

.glass-card:hover {
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: var(--glass-border-dark);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.service-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-transform: none;
    letter-spacing: -0.01em;
}

.service-card .card-description {
    color: var(--text-light);
    font-size: 0.975rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-slow);
    border-radius: 4px 0 0 4px;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(30, 64, 175, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--accent);
    transition: all var(--transition-base);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(360deg);
    box-shadow: var(--shadow-glow);
}

/* ===== TEAM CARDS ===== */
.team-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    border: 1px solid var(--border-light);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.team-image {
    width: 100%;
    height: 280px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.8), rgba(30, 64, 175, 0.8));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.team-card:hover .team-image::before {
    opacity: 1;
}

.team-content {
    padding: 2rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== BLOG CARDS ===== */
.blog-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    border: 1px solid var(--border-light);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-content {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
}

.blog-link:hover {
    gap: 0.75rem;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all var(--transition-slow);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 4rem;
    color: rgba(6, 182, 212, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.testimonial-name {
    font-weight: 700;
    color: var(--primary);
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== STATS COUNTER ===== */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
    text-align: right;
}

@media (max-width: 768px) {
    .timeline-item {
        padding: 0 0 0 3rem;
        text-align: left !important;
    }
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .timeline-dot {
        left: 20px;
    }
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.timeline-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--text-light);
}

/* ===== FAQ ACCORDION ===== */
.accordion-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    color: var(--accent);
}

.accordion-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--transition-base);
    background: white;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1), var(--shadow-glow);
}

.form-input::placeholder {
    color: var(--text-light);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.footer-link:hover,
.footer-link:focus,
.footer-link:active {
    color: #ffffff;
    padding-left: 0.5rem;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    transform: translateX(4px);
    outline: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(6, 182, 212, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(6, 182, 212, 0.3);
    transition: all var(--transition-base);
}

.footer-contact-item:hover .footer-contact-icon {
    background: var(--accent);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2,
.cta-content h3 {
    color: #ffffff !important;
    font-weight: 700;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* ===== CUSTOMER LOGOS ===== */
.customer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    opacity: 0.6;
}

.customer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.customer-logo:hover {
    color: var(--accent);
    opacity: 1;
}

/* ===== SVG DIVIDERS ===== */
.svg-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.svg-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .card,
    .service-card,
    .team-card {
        margin-bottom: 1.5rem;
    }
    
    .card, .service-card, .glass-card {
        padding: 1.25rem;
    }
    
    /* Navbar mobile adjustments */
    .navbar {
        height: 80px;
    }
    
    .navbar.scrolled {
        height: 70px;
    }
    
    /* Hide dropdown on mobile */
    .nav-dropdown-menu {
        display: none;
    }
    
    /* Footer responsive adjustments */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        font-size: 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links li {
        margin-bottom: 0.4rem;
    }
    
    .footer-contact-item {
        font-size: 0.875rem;
    }
    
    .footer-contact-icon {
        width: 32px;
        height: 32px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: 3.5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Navbar tablet adjustments */
    .navbar {
        height: 85px;
    }
    
    .navbar.scrolled {
        height: 75px;
    }
    
    .navbar-brand img {
        height: 60px;
        min-width: 190px;
    }
    
    /* Footer tablet adjustments */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
}

/* ===== HERO SLIDESHOW ===== */
.hero-slide {
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1 !important;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===== TOP HEADER BAR ===== */
.top-header {
    background-color: var(--primary);
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1rem;
}

.top-header-social {
    display: flex;
    gap: 1rem;
}

.top-header-social a {
    color: white;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.top-header-social a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .top-header {
        height: 35px;
        padding: 0 0.75rem;
    }
    
    .top-header-social {
        gap: 0.75rem;
    }
}

/* ===== DARK SECTIONS ===== */
.section-dark-charcoal {
    background-color: var(--dark-bg);
    color: white;
}

.section-dark-navy {
    background-color: var(--primary);
    color: white;
}

.section-black {
    background-color: black;
    color: white;
}

.section-very-dark {
    background-color: #1a1a1a;
    color: white;
}

/* ===== SERVICE CARDS WITH IMAGES ===== */
.service-card-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-slow);
    height: 100%;
    min-height: 320px;
    border: 1px solid var(--border-light);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: none;
}

.service-card-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.95), rgba(10, 37, 64, 0.7), transparent);
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

.service-card-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-card-btn {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-base);
    display: inline-block;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.service-card-btn:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===== CIRCULAR TEAM IMAGES ===== */
.team-circular {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-slow);
    position: relative;
}

.team-circular:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-strong);
    border-color: var(--accent);
}

.team-circular img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-social-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 1rem 0;
}

.team-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.team-social-icons a:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* ===== DARK CONTACT FORM ===== */
.dark-contact-card {
    background: linear-gradient(135deg, #0A2540 0%, #071829 100%);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
}

.dark-contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.dark-form-input {
    background-color: #000000;
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--transition-base);
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dark-form-input option {
    background-color: #000000;
    color: white;
}

.dark-form-select option {
    background-color: #000000;
    color: white;
}

select.dark-form-input option {
    background-color: #000000;
    color: white;
}

.dark-form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.dark-form-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1), var(--shadow-glow);
}

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

.dark-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: all var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(37, 211, 102, 0.5);
}

/* ===== PREMIER MEGA DROPDOWN ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 600px;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border: 1px solid var(--glass-border);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
    z-index: 100;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--text);
    text-decoration: none;
    transition: all var(--transition-base);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-light);
}

.nav-dropdown-item i {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.nav-dropdown-item:hover {
    background: var(--surface);
    color: var(--accent);
    transform: translateX(5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.nav-dropdown-item:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-slow);
    height: 85px;
    border-bottom: 1px solid var(--border-light);
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
    display: inline-block;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
}

.nav-link::after {
    display: none;
}

.nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    display: none;
}

.nav-link:hover {
    color: var(--accent);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background-color: white;
    z-index: 999;
    padding: 2rem 1.5rem;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    right: 0;
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 80%;
        max-width: none;
    }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-4px);
}

/* ===== HERO SLIDESHOW ===== */
.hero-slide {
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== HERO TITLE HOVER EFFECT ===== */
#hero h1 {
    -webkit-text-stroke: 0.5px black;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    cursor: default;
}

#hero h1:hover {
    transform: scale(1.05);
    -webkit-text-stroke: 1px black;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
}

/* ===== MARQUEE ANIMATION ===== */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* ===== SERVICES PAGE HERO ANIMATIONS ===== */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 8s ease infinite;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.particle-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 20%;
    animation-delay: 2s;
}

.particle-4 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 70%;
    animation-delay: 3s;
}

.particle-5 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.3;
    }
}

/* ===== 3D SERVICE CARDS ===== */
.service-card-3d {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card-3d:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
}

.service-card-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(147, 51, 234, 0.3));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.service-card-3d:hover::before {
    opacity: 1;
}

.service-card-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-3d:hover img {
    transform: scale(1.1);
}

.service-card-3d .service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 2;
    transition: all 0.5s ease;
}

.service-card-3d .service-card-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.service-card-3d:hover .service-card-title {
    transform: translateY(-10px);
}

.service-card-3d .service-card-btn {
    background: linear-gradient(135deg, #2563EB, #9333EA);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.service-card-3d:hover .service-card-btn {
    transform: translateY(0);
    opacity: 1;
}

/* ===== FAQ ACCORDION ===== */
.faq-section {
    background: #0A2540;
    padding: 5rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    color: #2563EB;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    color: #d1d5db;
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    line-height: 1.6;
}

/* ===== GLASSMORPHISM CARD ===== */
.glassmorphism-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== WAVE DIVIDER ===== */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* ===== ABOUT PAGE CARDS ===== */
.about-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0A2540, #1E40AF);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(10, 37, 64, 0.2);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0A2540, #1E40AF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-card .card-icon i {
    font-size: 1.5rem;
    color: white;
}

.about-card h3 {
    color: #0A2540;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-card p {
    color: #6B7280;
    line-height: 1.6;
}

/* ===== PREMIUM ROADMAP CARDS ===== */
.premium-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15);
    border-color: #2563EB;
}

.step-badge {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0A2540, #2563EB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.2);
}

.step-number {
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #0A2540;
    font-size: 20px;
    transition: all 0.3s ease;
}

.premium-card:hover .step-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
}

.step-title {
    color: #0A2540;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.step-description {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== COMPANY CARDS ===== */
.company-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.company-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(10, 37, 64, 0.12);
    border-color: #2563EB;
}

.icon-container {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0A2540, #2563EB);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.company-card:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.3);
}

.card-title {
    color: #6B7280;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.card-value {
    color: #0A2540;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5;
}

/* ===== PREMIUM COURSE CARDS ===== */
.course-card-modern {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.course-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15);
}

.course-thumbnail {
    position: relative;
    overflow: hidden;
}

.course-thumbnail img {
    width: 100%;
    height: 192px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card-modern:hover .course-thumbnail img {
    transform: scale(1.1);
}

.course-content {
    padding: 24px;
}

.course-title {
    color: #0A2540;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-description {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.course-batch-info {
    margin-bottom: 16px;
}

.batch-label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.batch-date {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-cta {
    width: 100%;
    background: #0A2540;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.course-cta:hover {
    background: #0d2d4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.3);
}

/* ===== MODERN BLOG CARDS ===== */
.blog-card-modern {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image-wrapper {
    position: relative;
    width: 100%;
    height: 192px;
}

.blog-content-modern {
    background: white;
}

.blog-title-modern {
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-excerpt-modern {
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-btn {
    transition: all 0.3s ease;
}

.category-btn:hover {
    transform: translateY(-2px);
}

/* ===== WHY CHOOSE US ACCORDION ===== */
.why-choose-section {
    background: #0A2540;
    padding: 5rem 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.why-choose-image img {
    width: 100%;
    height: auto;
    display: block;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-question h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.accordion-icon {
    color: #2563EB;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion-item.active .accordion-answer {
    max-height: 500px;
}

.accordion-answer p {
    color: #d1d5db;
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    line-height: 1.6;
}

/* ===== HIGHLIGHTED NAV ITEM ===== */
.nav-highlight {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    transition: all var(--transition-base);
    border: 1px solid rgba(6, 182, 212, 0.2);
    letter-spacing: 0.02em;
}

.nav-highlight:hover {
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4), var(--shadow-glow);
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .back-to-top,
    .mobile-menu,
    .mobile-menu-overlay,
    .whatsapp-float {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* ===== SERVICE PAGES - UNIFIED FIXES ===== */

/* service-title is used in content-writing page - style same as card-title */
.service-card .service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* service-description is used in content-writing page */
.service-card .service-description {
    color: var(--text-light);
    font-size: 0.975rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Section headers - ensure proper centering and bold headings */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-title {
    font-weight: 700;
    text-align: center;
}

.section-header .section-description {
    text-align: center;
    margin: 0 auto;
}

/* CTA Banner - ensure all text is white on blue background */
.cta-banner .cta-content * {
    color: #ffffff;
}

.cta-banner .cta-content .btn {
    color: #1e40af;
}

.cta-banner .cta-content .btn:hover {
    color: #1e3a8a;
}

/* Service page overview h2 headings - consistent bold styling */
.section h2.text-3xl,
.section h2.text-4xl {
    font-weight: 700;
}

/* Service page overview section - align items properly */
#overview .grid > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#overview .grid > div .btn {
    align-self: flex-start;
}

/* Service cards grid - consistent height for uniform look */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .service-icon {
    flex-shrink: 0;
}

/* Fix Tailwind conflicts: ensure card text not overridden */
.service-card h3 {
    font-weight: 700 !important;
    color: var(--primary) !important;
    font-size: 1.15rem !important;
    margin-bottom: 0.75rem !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
}

.service-card p {
    color: #6b7280 !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
}

/* =====================================================
   SERVICE PAGES — UNIFIED ALIGNMENT & STRUCTURE FIXES
   ===================================================== */

/* --- HERO SECTION: Perfect centering, consistent height --- */
section#hero.section {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 560px !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

/* Background image fills hero perfectly */
section#hero.section > .absolute.inset-0 {
    top: 0; left: 0; right: 0; bottom: 0;
    position: absolute;
}

section#hero.section > .absolute.inset-0 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hero content: always centered, never pushed off */
section#hero.section > div[class*="max-w"] {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* --- HERO TEXT: Prominent & highlighted --- */
section#hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 0 60px rgba(0,0,0,0.4) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

section#hero p {
    color: rgba(255,255,255,0.92) !important;
    font-size: clamp(1rem, 2vw, 1.2rem) !important;
    text-shadow: 0 1px 10px rgba(0,0,0,0.5) !important;
    line-height: 1.7;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Badge/tag above heading in hero */
section#hero span.inline-block,
section#hero span.rounded-full {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(6,182,212,0.18) !important;
    border: 1px solid rgba(6,182,212,0.45) !important;
    color: #67e8f9 !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-shadow: none;
}

/* --- OVERVIEW SECTION: Tighter, aligned --- */
section#overview.section {
    padding: 3.5rem 0 !important;
}

section#overview h2 {
    font-size: 1.875rem !important;
    font-weight: 700 !important;
    color: #0a2540 !important;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

section#overview p {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

/* Overview glass card icons grid */
section#overview .glass-card .grid > div {
    text-align: center;
    padding: 1.25rem 1rem;
}

section#overview .glass-card .grid > div i {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    display: block;
}

section#overview .glass-card .grid > div h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e3a5f;
    line-height: 1.3;
}

/* --- SERVICES SECTION: Compact, uniform grid --- */
section#services.section,
section#applications.section {
    padding: 3.5rem 0 !important;
}

/* 3-column card grid on all service pages */
.section .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
    gap: 1.5rem !important;
}

/* --- SERVICE CARDS: Compact & professional --- */
.service-card {
    padding: 1.75rem !important;
    border-radius: 16px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    background: #fff !important;
}

.service-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 32px rgba(10,37,64,0.13) !important;
}

/* Icon inside service card */
.service-card .service-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    font-size: 1.4rem !important;
    margin-bottom: 1.1rem !important;
}

/* --- CTA SECTION: Remove extra spacing --- */
section#cta.section {
    padding: 3rem 0 !important;
}

.cta-banner {
    padding: 3rem 2.5rem !important;
    border-radius: 20px !important;
}

/* --- CONTENT-WRITING PAGE: Fix wide cards --- */
/* about section same spacing */
section#about.section {
    padding: 3.5rem 0 !important;
}

/* process section */
section#process.section {
    padding: 3rem 0 !important;
}

/* process cards compact */
.process-card {
    padding: 1.5rem !important;
}

/* --- SECTION HEADER: Center everything --- */
.section-header {
    text-align: center !important;
    margin-bottom: 2.5rem !important;
}

.section-header .section-badge {
    margin-bottom: 0.75rem;
}

.section-header .section-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem) !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-header .section-description {
    font-size: 1rem !important;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: #6b7280;
}

/* --- RESPONSIVE: Mobile fixes for hero --- */
@media (max-width: 768px) {
    section#hero.section {
        min-height: 480px !important;
    }

    section#hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
    }

    section#hero p {
        font-size: 0.95rem !important;
    }

    .service-card {
        padding: 1.5rem !important;
    }

    .cta-banner {
        padding: 2rem 1.5rem !important;
    }
}
