/* ===================================
   TECHMA ZONE - GLOBAL STYLES
   Empowering The Data-Driven Future
   =================================== */

/* CSS Variables */
:root {
    --primary-blue: #0077B6;
    --secondary-blue: #00B4D8;
    --accent-orange: #F7A700;
    --dark-navy: #0A1628;
    --darker-navy: #050D18;
    --pure-white: #FFFFFF;
    --light-gray: #E8EEF4;
    --text-gray: #8B9CB3;
    --gradient-primary: linear-gradient(135deg, var(--accent-orange), #E69500);
    --gradient-blue: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--darker-navy);
    color: var(--pure-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Improved focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 3px;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: var(--dark-navy);
    padding: 12px 24px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 10px;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

img[data-src].loaded {
    opacity: 1;
}

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

ul {
    list-style: none;
}

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

/* Selection styling */
::selection {
    background: var(--accent-orange);
    color: var(--dark-navy);
}

::-moz-selection {
    background: var(--accent-orange);
    color: var(--dark-navy);
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, opacity 0.15s ease;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-orange);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
}

/* Hide default cursor when custom cursor is active */
@media (min-width: 993px) and (hover: hover) {
    * {
        cursor: none !important;
    }
    
    a, button, .btn-primary, .btn-secondary, .btn-outline, .nav-cta, .mobile-menu-btn {
        cursor: none !important;
    }
}

/* Hide custom cursor on touch devices and smaller screens */
@media (max-width: 992px), (hover: none) {
    .cursor,
    .cursor-dot {
        display: none !important;
    }
    
    * {
        cursor: auto !important;
    }
    
    a, button {
        cursor: pointer !important;
    }
}

/* ===================================
   NAVIGATION
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 60px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    height: 65px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--pure-white);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-orange);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-navy);
    border: 1px solid rgba(0, 180, 216, 0.3);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.nav-dropdown-content a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-dropdown-content a:hover {
    background: rgba(247, 167, 0, 0.1);
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--dark-navy);
    padding: 14px 32px;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(247, 167, 0, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background: var(--pure-white);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-navy);
    padding: 18px 40px;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(247, 167, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(247, 167, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    padding: 18px 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 180, 216, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    border-color: var(--secondary-blue);
    color: var(--secondary-blue);
    transform: translateY(-3px);
}

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

.btn-outline {
    background: transparent;
    color: var(--accent-orange);
    padding: 15px 35px;
    border: 2px solid var(--accent-orange);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: var(--accent-orange);
    color: var(--dark-navy);
}

/* ===================================
   SECTION STYLES
   =================================== */
.section {
    padding: 150px 80px;
    position: relative;
}

.section.alt {
    background: var(--dark-navy);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    padding: 10px 25px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-blue);
    margin-bottom: 25px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 6vw, 80px);
    letter-spacing: -1px;
    line-height: 1;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* Background Patterns */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 119, 182, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 167, 0, 0.08) 0%, transparent 40%);
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(0, 119, 182, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 182, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--darker-navy) 0%, var(--dark-navy) 100%);
    padding-top: 100px; /* Space for fixed navbar */
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 80px;
    max-width: 900px;
    margin-top: 20px; /* Additional spacing from nav */
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(247, 167, 0, 0.1);
    border: 1px solid rgba(247, 167, 0, 0.3);
    padding: 10px 20px;
    margin-bottom: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-orange);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-tag .pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(60px, 10vw, 140px);
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 650px;
    height: 650px;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero-brain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.2), rgba(0, 180, 216, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 180, 216, 0.3);
    box-shadow: 
        0 0 60px rgba(0, 180, 216, 0.2),
        inset 0 0 60px rgba(0, 119, 182, 0.1);
}

.hero-brain::before {
    content: '{ }';
    font-family: 'Bebas Neue', sans-serif;
    font-size: 100px;
    color: var(--secondary-blue);
    opacity: 0.5;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
}

.orbit-1 {
    width: 480px;
    height: 480px;
    margin-top: -240px;
    margin-left: -240px;
    animation: orbit 20s linear infinite;
}

.orbit-2 {
    width: 600px;
    height: 600px;
    margin-top: -300px;
    margin-left: -300px;
    animation: orbit 25s linear infinite reverse;
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-orange);
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-1 .orbit-dot {
    animation: counterOrbit 20s linear infinite;
}

.orbit-2 .orbit-dot {
    animation: counterOrbit 25s linear infinite reverse;
}

@keyframes counterOrbit {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(-360deg); }
}

/* Floating Code Snippets */
.floating-code {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--secondary-blue);
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.5);
}

.floating-code-1 {
    top: 8%;
    left: 15%;
    animation: floatCode 8s ease-in-out infinite;
}

.floating-code-2 {
    top: 20%;
    right: 5%;
    animation: floatCode 9s ease-in-out infinite 1s;
}

.floating-code-3 {
    bottom: 25%;
    left: 5%;
    animation: floatCode 7s ease-in-out infinite 2s;
}

.floating-code-4 {
    bottom: 12%;
    right: 10%;
    animation: floatCode 10s ease-in-out infinite 0.5s;
}

.floating-code-5 {
    top: 40%;
    left: 2%;
    animation: floatCode 8.5s ease-in-out infinite 1.5s;
}

.floating-code-6 {
    top: 35%;
    right: 0%;
    animation: floatCode 9.5s ease-in-out infinite 2.5s;
}

@keyframes floatCode {
    0%, 100% {
        opacity: 0;
        transform: translateY(10px);
    }
    10%, 90% {
        opacity: 0.7;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* Floating tech keywords */
.floating-keyword {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid rgba(247, 167, 0, 0.3);
    background: rgba(247, 167, 0, 0.05);
    color: var(--accent-orange);
    opacity: 0;
    pointer-events: none;
}

.floating-keyword-1 {
    top: 5%;
    right: 20%;
    animation: floatKeyword 7s ease-in-out infinite 0.5s;
}

.floating-keyword-2 {
    bottom: 8%;
    left: 20%;
    animation: floatKeyword 8s ease-in-out infinite 1.5s;
}

.floating-keyword-3 {
    top: 60%;
    right: 2%;
    animation: floatKeyword 9s ease-in-out infinite 2.5s;
}

.floating-keyword-4 {
    top: 15%;
    left: 5%;
    animation: floatKeyword 7.5s ease-in-out infinite 3s;
}

@keyframes floatKeyword {
    0%, 100% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    15%, 85% {
        opacity: 0.8;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-8px) scale(1.02);
    }
}

/* Data particles */
.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-blue);
    border-radius: 50%;
    opacity: 0.6;
}

.data-particle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: particle-ping 2s ease-out infinite;
}

@keyframes particle-ping {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.data-particle-1 { top: 18%; left: 25%; animation-delay: 0s; }
.data-particle-2 { top: 30%; right: 18%; animation-delay: 0.5s; }
.data-particle-3 { bottom: 30%; left: 18%; animation-delay: 1s; }
.data-particle-4 { bottom: 18%; right: 25%; animation-delay: 1.5s; }
.data-particle-5 { top: 50%; left: 8%; animation-delay: 2s; }
.data-particle-6 { top: 45%; right: 8%; animation-delay: 2.5s; }

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-orange);
    /* Position dot at the top center of the orbit circle */
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

/* Counter-rotate the dot to keep it upright while orbiting */
.orbit-1 .orbit-dot {
    animation: counterOrbit 20s linear infinite;
}

.orbit-2 .orbit-dot {
    animation: counterOrbit 25s linear infinite reverse;
}

@keyframes counterOrbit {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(-360deg); }
}

/* Page Header (for sub-pages) */
.page-header {
    padding: 180px 80px 100px;
    background: linear-gradient(135deg, var(--darker-navy), var(--dark-navy));
    position: relative;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(0, 119, 182, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(247, 167, 0, 0.1) 0%, transparent 40%);
}

.page-header-content {
    position: relative;
    z-index: 10;
}

.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(50px, 8vw, 100px);
    line-height: 0.95;
    margin-bottom: 20px;
}

.page-title .highlight {
    color: var(--accent-orange);
}

.page-description {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-gray);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent-orange);
}

.breadcrumb span {
    color: var(--accent-orange);
}

/* ===================================
   CARDS
   =================================== */
.card {
    background: linear-gradient(180deg, rgba(0, 40, 80, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(0, 180, 216, 0.2);
    padding: 25px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Card Header - Icon and Title inline */
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--secondary-blue);
}

.card-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
    margin: 0;
}

/* Card Content */
.card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 13px;
    margin-bottom: 15px;
}

.card-features {
    list-style: none;
    margin: 0 0 auto 0;
    padding: 0;
    color: var(--text-gray);
    font-size: 12px;
}

.card-features li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.card-features li:last-child {
    border-bottom: none;
}

/* Card Footer - Price and Button */
.card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.card-price .price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: var(--accent-orange);
}

.card-price .price-old {
    text-decoration: line-through;
    color: var(--text-gray);
    font-size: 13px;
}

.card-footer .btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    font-size: 11px;
}

/* Feature Icon Box - matches card icon style */
.feature-icon-box {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box svg {
    width: 22px;
    height: 22px;
    stroke: var(--secondary-blue);
}

/* Feature Icon - for pages */
.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--secondary-blue);
}

/* Resource Icon */
.resource-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--secondary-blue);
}

/* Project Image/Icon */
.project-img {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-img svg {
    width: 28px;
    height: 28px;
    stroke: var(--secondary-blue);
}

/* Benefit Icon - for community page */
.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--secondary-blue);
}

/* Icon Box - for various pages */
.icon-box {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box svg {
    width: 26px;
    height: 26px;
    stroke: var(--secondary-blue);
}

/* Icon Box Centered - for card icons */
.icon-box-centered {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-box-centered svg {
    width: 28px;
    height: 28px;
    stroke: var(--secondary-blue);
}

/* Icon Box Large - for vision/mission sections */
.icon-box-large {
    width: 70px;
    height: 70px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-box-large svg {
    width: 32px;
    height: 32px;
    stroke: var(--secondary-blue);
}

/* Contact Card - for contact page quick actions */
.contact-card {
    background: rgba(0, 119, 182, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    padding: 50px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.contact-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-10px);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--secondary-blue);
}

/* Social Icon Box - for contact page */
.social-icon-box {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-box:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--dark-navy);
}

.social-icon-box svg {
    width: 18px;
    height: 18px;
}

/* Company Logos - Static Grid */
.companies-grid-static {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 0 20px;
}

.companies-toggle-btn {
    display: none;
}

.company-badge {
    padding: 10px 20px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    color: var(--secondary-blue);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

.company-badge:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    transform: translateY(-3px);
}

/* Company Logos Scrolling - keeping for backwards compatibility */
.company-logos-scroll {
    overflow: hidden;
    padding: 20px 0;
}

.logos-row {
    display: flex;
    animation: scroll-left 30s linear infinite;
    gap: 30px;
    padding: 15px 0;
}

.logos-row.reverse {
    animation: scroll-right 35s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.company-logo-item {
    flex-shrink: 0;
    background: rgba(0, 180, 216, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.25);
    padding: 18px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 130px;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.company-logo-item .logo-text {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
}

.company-logo-item .logo-text strong {
    font-weight: 800;
}

.company-logo-item .logo-text small {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 2px;
}

.company-logo-item img {
    max-height: 40px;
    max-width: 100px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.company-logo-item svg {
    max-height: 30px;
}

.company-logo-item:hover {
    border-color: var(--accent-orange);
    background: rgba(247, 167, 0, 0.15);
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(247, 167, 0, 0.2);
}

.company-logo-item:hover img,
.company-logo-item:hover svg {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .company-badge {
        padding: 8px 14px;
        font-size: 11px;
    }
    
    .companies-grid-static {
        gap: 8px;
        padding: 0 10px;
        max-height: 250px;
        overflow: hidden;
        position: relative;
    }
    
    .companies-grid-static.expanded {
        max-height: none;
    }
    
    .companies-grid-static::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(to bottom, transparent, var(--dark-navy));
        pointer-events: none;
    }
    
    .companies-grid-static.expanded::after {
        display: none;
    }
    
    .companies-toggle-btn {
        display: block !important;
        margin: 20px auto 0;
        padding: 12px 30px;
        background: transparent;
        border: 1px solid var(--secondary-blue);
        color: var(--secondary-blue);
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .companies-toggle-btn:hover {
        background: var(--secondary-blue);
        color: var(--dark-navy);
    }
}

/* Company Logos Grid - for static display */
.company-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.company-logo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 180, 216, 0.2);
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 100px;
}

.company-logo-card:hover {
    border-color: var(--accent-orange);
    background: rgba(247, 167, 0, 0.05);
    transform: translateY(-5px);
}

.company-logo {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

@media (max-width: 1200px) {
    .company-logos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .company-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .company-logo-item {
        padding: 15px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .company-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Partner Card */
.partner-card {
    background: rgba(0, 119, 182, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.partner-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.partner-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--secondary-blue);
}

/* Event Date Box - ensure visibility */
.card > div:first-child {
    position: relative;
    z-index: 5;
}

.card > div:first-child > div:first-child {
    position: relative;
    z-index: 5;
}

/* Stats Card */
.stat-card {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(0, 180, 216, 0.05));
    border: 1px solid rgba(0, 180, 216, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.stat-card:hover::before {
    left: 100%;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px;
    background: linear-gradient(135deg, var(--accent-orange), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 15px;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonial-card {
    background: var(--dark-navy);
    border: 1px solid rgba(0, 180, 216, 0.2);
    padding: 40px 35px 35px;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-orange);
    transition: height 0.4s ease;
}

.testimonial-card:hover::before {
    height: 100%;
}

.testimonial-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
    font-size: 60px;
    font-family: Georgia, serif;
    color: var(--accent-orange);
    opacity: 0.5;
    line-height: 0.8;
    margin-bottom: 15px;
    display: block;
}

.testimonial-card:hover .testimonial-quote {
    opacity: 0.7;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--light-gray);
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 180, 216, 0.1);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
    min-width: 0;
}

.testimonial-info h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-info p {
    font-size: 12px;
    color: var(--text-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Testimonial Carousel */
.testimonial-carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    overflow: hidden;
    box-sizing: border-box;
}

.testimonial-carousel {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.testimonial-carousel .testimonial-card {
    min-width: calc((100% - 50px) / 3);
    max-width: calc((100% - 50px) / 3);
    flex-shrink: 0;
    box-sizing: border-box;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-blue);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.testimonial-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 180, 216, 0.5);
}

.testimonial-prev {
    left: 15px;
}

.testimonial-next {
    right: 15px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--accent-cyan);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: var(--accent-cyan);
}

/* Campus Gallery */
.campus-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.campus-main {
    height: 450px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    overflow: hidden;
    position: relative;
}

.campus-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
}

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

.campus-item {
    height: 215px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.campus-item:hover,
.campus-main:hover {
    border-color: var(--accent-orange);
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .campus-gallery {
        grid-template-columns: 1fr;
    }
    
    .campus-main {
        height: 300px;
    }
    
    .campus-item {
        height: 180px;
    }
}

@media (max-width: 600px) {
    .campus-grid {
        grid-template-columns: 1fr;
    }
    
    .campus-item {
        height: 200px;
    }
}

@media (max-width: 1024px) {
    .testimonial-carousel .testimonial-card {
        min-width: calc((100% - 25px) / 2);
        max-width: calc((100% - 25px) / 2);
    }
    
    .testimonial-carousel-container {
        padding: 0 70px;
    }
}

@media (max-width: 768px) {
    .testimonial-carousel-container {
        padding: 0 50px;
    }
    
    .testimonial-carousel {
        gap: 0;
    }
    
    .testimonial-carousel .testimonial-card {
        min-width: 100%;
        max-width: 100%;
    }
    
    .testimonial-nav {
        width: 35px;
        height: 35px;
    }
    
    .testimonial-prev {
        left: 8px;
    }
    
    .testimonial-next {
        right: 8px;
    }
    
    .testimonial-dots {
        gap: 6px;
    }
    
    .testimonial-dot {
        width: 8px;
        height: 8px;
    }
}

/* ===================================
   TEAM / INSTRUCTOR CARDS
   =================================== */
.team-card {
    background: var(--dark-navy);
    border: 1px solid rgba(0, 180, 216, 0.2);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.team-card-image {
    height: 300px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-card-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--dark-navy), transparent);
}

.team-card-image .initials {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
}

.team-card-content {
    padding: 30px;
}

.team-card-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    margin-bottom: 5px;
}

.team-card-content .role {
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-card-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

.team-card-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.team-card-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.team-card-social a:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--dark-navy);
}

/* ===================================
   GRID LAYOUTS
   =================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 150px 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-navy));
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(247, 167, 0, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.2) 0%, transparent 40%);
}

/* Animated particles for CTA */
.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 60% 40%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 80% 80%, rgba(255,255,255,0.2), transparent);
    animation: float 10s ease-in-out infinite;
}

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

.cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(50px, 8vw, 100px);
    line-height: 1;
    margin-bottom: 30px;
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--darker-navy);
    padding: 100px 80px 40px;
    border-top: 1px solid rgba(0, 180, 216, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 25px;
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--dark-navy);
}

.footer-column h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    margin-bottom: 25px;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer-column ul a:hover {
    color: var(--accent-orange);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-gray);
}

.footer-contact-item .contact-icon {
    color: var(--accent-orange);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item .contact-icon svg {
    stroke: var(--accent-orange);
}

.footer-contact-item span:not(.contact-icon) {
    color: var(--accent-orange);
    font-size: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 180, 216, 0.1);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 14px;
}

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

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

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

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

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }
.reveal:nth-child(5) { transition-delay: 0.5s; }
.reveal:nth-child(6) { transition-delay: 0.6s; }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(247, 167, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(247, 167, 0, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--dark-navy);
    stroke-width: 2;
    fill: none;
}

/* Loading skeleton for dynamic content */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(0, 119, 182, 0.1) 25%, 
        rgba(0, 180, 216, 0.2) 50%, 
        rgba(0, 119, 182, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

/* ===================================
   FORM STYLES
   =================================== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 20px;
    background: rgba(0, 119, 182, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    color: var(--pure-white);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(247, 167, 0, 0.05);
}

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

/* ===================================
   RESPONSIVE
   =================================== */

/* Hero Section Full Responsiveness */
@media (max-width: 1400px) {
    .hero-content {
        padding: 0 60px;
        max-width: 800px;
    }
    
    .hero-visual {
        width: 550px;
        height: 550px;
        right: 30px;
    }
    
    .hero-brain {
        width: 300px;
        height: 300px;
    }
    
    .hero-brain::before {
        font-size: 85px;
    }
    
    .orbit-1 {
        width: 420px;
        height: 420px;
        margin-top: -210px;
        margin-left: -210px;
    }
    
    .orbit-2 {
        width: 520px;
        height: 520px;
        margin-top: -260px;
        margin-left: -260px;
    }
    
    .floating-code {
        font-size: 11px;
    }
    
    .floating-keyword {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .hero-title {
        font-size: clamp(55px, 9vw, 120px);
    }
}

@media (max-width: 1200px) {
    .section {
        padding: 100px 40px;
    }

    .hero-content {
        padding: 0 40px;
        max-width: 700px;
    }

    .hero-visual {
        width: 450px;
        height: 450px;
        right: 20px;
    }
    
    .hero-brain {
        width: 250px;
        height: 250px;
    }
    
    .hero-brain::before {
        font-size: 70px;
    }
    
    .orbit-1 {
        width: 350px;
        height: 350px;
        margin-top: -175px;
        margin-left: -175px;
    }
    
    .orbit-2 {
        width: 430px;
        height: 430px;
        margin-top: -215px;
        margin-left: -215px;
    }
    
    .floating-code {
        font-size: 10px;
    }
    
    .floating-keyword {
        font-size: 9px;
    }
    
    .hero-title {
        font-size: clamp(50px, 8vw, 100px);
    }
    
    .hero-subtitle {
        font-size: 18px;
        max-width: 500px;
    }

    .nav {
        padding: 20px 40px;
    }
}

/* iPad Landscape and smaller tablets (1024px - 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
    .hero-visual {
        width: 400px;
        height: 400px;
        right: 20px;
    }
    
    .hero-brain {
        width: 220px;
        height: 220px;
    }
    
    .hero-brain::before {
        font-size: 60px;
    }
    
    .orbit-1 {
        width: 320px;
        height: 320px;
        margin-top: -160px;
        margin-left: -160px;
    }
    
    .orbit-2 {
        width: 390px;
        height: 390px;
        margin-top: -195px;
        margin-left: -195px;
    }
    
    .floating-code {
        font-size: 9px;
    }
    
    .floating-keyword {
        font-size: 8px;
        padding: 4px 8px;
    }
    
    .data-particle {
        width: 3px;
        height: 3px;
    }
}

/* iPad Portrait and below - hide visual completely */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Stats section improvements */
    .stats-section {
        padding: 80px 40px;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 56px;
    }

    /* Hero section - center content when visual is hidden */
    .hero {
        justify-content: center;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: clamp(45px, 10vw, 80px);
    }
    
    .hero-subtitle {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .orbit,
    .orbit-dot,
    .hero-brain,
    .floating-code,
    .floating-keyword,
    .data-particle {
        display: none !important;
    }
}

/* Tablet and Mobile Navigation - starts at 1024px for iPad support */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--darker-navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 9998;
        overflow-y: auto;
        padding: 80px 20px;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 180, 216, 0.1);
    }

    .nav-links > li > a {
        display: block;
        padding: 20px 15px;
        font-size: 14px;
    }

    /* Mobile dropdown - hidden by default */
    .nav-dropdown {
        position: static;
    }

    .nav-dropdown > a {
        cursor: pointer;
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }
    
    .nav-dropdown > a::after {
        content: none !important;
    }
    
    .nav-dropdown.open > a {
        color: var(--accent-orange);
    }

    .nav-dropdown-content {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        background: rgba(0, 119, 182, 0.1);
        border: none;
        min-width: auto;
        margin-top: 0;
        padding: 0;
        transition: all 0.3s ease;
    }

    .nav-dropdown.open .nav-dropdown-content {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 10px 0;
    }

    .nav-dropdown-content a {
        display: block;
        padding: 15px;
        font-size: 13px;
        color: var(--text-gray);
        border-bottom: 1px solid rgba(0, 180, 216, 0.1);
    }

    .nav-dropdown-content a:last-child {
        border-bottom: none;
    }

    .nav-dropdown-content a:hover {
        color: var(--accent-orange);
        background: transparent;
    }

    /* Hide hero visual elements when mobile menu is active */
    body:has(.nav-links.active) .hero-visual {
        opacity: 0;
        visibility: hidden;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 9999;
    }

    .nav-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 20px;
    }

    .page-header {
        padding: 150px 20px 80px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Hero Section - Tablet/Mobile */
    .hero {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .hero-content {
        padding: 0 25px;
        text-align: center;
    }
    
    .hero-tag {
        font-size: 10px;
        padding: 8px 16px;
        margin-bottom: 25px;
    }

    .hero-title {
        font-size: clamp(40px, 11vw, 65px);
        line-height: 0.95;
        letter-spacing: -1px;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 35px;
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 15px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        padding: 30px;
    }

    .stat-number {
        font-size: 56px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-logo {
        height: 50px;
    }

    .section-title {
        font-size: clamp(36px, 10vw, 48px);
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* CTA Section - Mobile */
    .cta-section {
        padding: 80px 20px;
    }
    
    .cta-title {
        font-size: clamp(40px, 12vw, 60px);
    }
    
    .cta-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Back to top - smaller on mobile */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Hero Section - Small Mobile */
    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
        padding-top: 90px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-tag {
        font-size: 9px;
        padding: 7px 14px;
        letter-spacing: 1.5px;
    }
    
    .hero-title {
        font-size: clamp(36px, 13vw, 55px);
        line-height: 0.95;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        max-width: 100%;
        gap: 12px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 14px 25px;
        font-size: 13px;
    }

    .footer {
        padding: 60px 20px 30px;
    }

    .partner-card {
        padding: 30px 20px;
    }

    .partner-name {
        font-size: 20px;
    }

    .card {
        padding: 30px 20px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: clamp(32px, 14vw, 45px);
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .hero-tag {
        font-size: 8px;
        padding: 6px 12px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 12px 20px;
        font-size: 12px;
    }
}

/* Responsive grid classes */
@media (max-width: 1024px) {
    .responsive-grid,
    .program-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .responsive-grid > *,
    .program-grid > * {
        width: 100% !important;
    }
    
    /* Fix floating stat boxes on tablet/mobile */
    .about-image-container {
        overflow: visible !important;
    }
    
    .floating-stat-box {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: auto !important;
        margin: 15px 0 !important;
        display: inline-block !important;
        width: auto !important;
    }
    
    .about-image-container .floating-stat-1,
    .about-image-container .floating-stat-2,
    .about-image-container .floating-stat-3 {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: auto !important;
    }
}

@media (max-width: 768px) {
    /* Fix nested stat grids */
    .responsive-grid div[style*="grid-template-columns: repeat(2"],
    .program-grid div[style*="grid-template-columns: repeat(2"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    /* Fix price display */
    div[style*="display: flex"][style*="align-items: baseline"] {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    /* Floating stat boxes stack on mobile */
    .floating-stat-box {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* Fix for very small screens - stats go single column */
    @media (max-width: 400px) {
        .responsive-grid div[style*="grid-template-columns: repeat(2"],
        .program-grid div[style*="grid-template-columns: repeat(2"] {
            grid-template-columns: 1fr !important;
        }
    }
}
