@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-yellow: #0284C7; /* Darker Sky Blue Accent */
    --primary-blue: #1E293B; /* Deep Professional Slate */
    --primary-blue-dark: #0F172A; /* Darker Slate */
    --text-dark: #0F172A; 
    --text-gray: #475569; 
    --bg-light: #ffffff;
    --bg-gray: #F8FAFC; /* Slate 50 */
    --white: #ffffff;
    --radius-lg: 40px;
    --radius-md: 24px;
    --radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    --shadow: 0 10px 30px rgba(30, 41, 59, 0.08);
    --ai-blue-glow: 0 0 20px rgba(56, 189, 248, 0.25);
    --ai-dark: #0F172A; /* Slate 900 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 4%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 4%;
    box-shadow: var(--shadow);
}

header.scrolled .logo, 
header.scrolled nav ul li a {
    color: var(--text-dark);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary-yellow);
}

nav ul {
    display: flex;
    gap: 24px;
}

nav ul li a {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li a i, nav ul li a svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.has-dropdown {
    position: relative;
}

/* Invisible bridge attached to the nav item so it doesn't move during dropdown animation */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -30px;
    right: -30px;
    height: 40px;
    background: transparent;
    z-index: 100;
}

.dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    width: max-content;
    min-width: 500px;
    max-width: 900px;
    transform: translate(-50%, 20px);
    background: #FFFFFF;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f1f5f9;
    z-index: 1001;
}

/* Bridge to prevent hover loss */
.dropdown::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    display: block;
}

.dropdown.mega-menu {
    display: flex;
    padding: 0;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 90px);
}

.mega-menu-columns {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: flex-start;
    padding: 30px;
}

.mega-column {
    min-width: 240px;
    display: flex;
    flex-direction: column;
}

.mega-column h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5f6368;
    margin-bottom: 20px;
    border-bottom: 1px solid #e8eaed;
    padding-bottom: 10px;
    font-weight: 600;
}

.mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-column ul li a {
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    background: transparent;
}

.mega-column ul li a i, .mega-column ul li a svg {
    flex-shrink: 0;
    color: #6b7280;
    width: 20px;
    height: 20px;
    transition: color 0.2s ease;
}

.mega-column ul li a:hover,
.mega-column ul li a.active {
    color: #2563eb;
    background: #f0f4f8;
}

.mega-column ul li a:hover i, .mega-column ul li a:hover svg,
.mega-column ul li a.active i, .mega-column ul li a.active svg {
    color: #2563eb;
}

.mega-column .see-all {
    margin-top: auto;
    font-size: 0.85rem;
    color: #5f6368;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.mega-column .see-all:hover {
    color: #1a73e8;
}

.mega-menu-preview {
    width: 320px;
    background: #f8fafc;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.mega-menu-preview img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.preview-content h4 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.preview-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

.hover-trigger {
    display: flex !important;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-left: -16px;
    margin-right: -16px;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-decoration: none;
    width: calc(100% + 32px) !important;
    box-sizing: border-box;
}

.hover-trigger i {
    margin-right: 14px;
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.hover-trigger:hover, .hover-trigger.active {
    background: #f0f7ff !important;
    color: #2563eb !important;
}

.hover-trigger:hover i, .hover-trigger.active i {
    color: #38bdf8 !important;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.has-dropdown:hover > a i, .has-dropdown.open > a i,
.has-dropdown:hover > a svg, .has-dropdown.open > a svg {
    transform: rotate(180deg);
}

nav ul li a span {
    position: relative;
    padding: 5px 0;
}

nav ul li a span::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Moved down slightly for a cleaner look */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 12.5 0 25 10 T 50 10 T 75 10 T 100 10' stroke='%2338bdf8' fill='transparent' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 30px 6px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

nav ul li:hover > a span, nav ul li a.active span {
    color: var(--white);
}

nav ul li:hover > a span::after, nav ul li a.active span::after {
    width: 100%;
    opacity: 1;
}

header.scrolled nav ul li a span {
    color: var(--text-dark);
}

header.scrolled nav ul li a.active span, 
header.scrolled nav ul li a:hover span {
    color: var(--primary-blue);
}

header.scrolled nav ul li a span::after {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 12.5 0 25 10 T 50 10 T 75 10 T 100 10' stroke='%2338bdf8' fill='transparent' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.drop-text strong {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.drop-text span {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 400;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-toggle {
    display: none;
}

.mobile-only-btns {
    display: none;
}

.btn-shop, .btn-demo {
    padding: 10px 22px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-shop {
    background: var(--primary-yellow);
    color: #ffffff;
}

.btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-demo {
    background: var(--primary-blue);
    color: white;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.4);
}

.btn-secondary {
    padding: 12px 30px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/hero_v4.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0 10%;
    color: white;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    padding: 0;
}

.hero-tag {
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 25px;
    background: rgba(255,255,255,0.1);
    padding: 8px 18px;
    border-radius: 30px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: -2px;
    font-weight: 900;
}

.hero-accent {
    width: 80px;
    height: 4px;
    background: var(--primary-yellow);
    margin: 30px auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-primary {
    background: var(--primary-yellow);
    color: #ffffff;
    padding: 18px 45px;
    border-radius: var(--radius-lg);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 16px 40px;
    border-radius: var(--radius-lg);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-outline-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite 1s; /* Delay it slightly so they don't shine at the exact same time */
}

.btn-outline-white:hover {
    background: white;
    color: var(--text-dark);
    transform: translateY(-2px);
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Sections */
section {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}
/* AI-Themed Enhancements */
.ai-gradient {
    background: linear-gradient(135deg, #0A0A0B 0%, #1a1a1d 100%);
    color: white;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    box-shadow: var(--ai-blue-glow);
}

.glow-text {
    text-shadow: 0 0 10px rgba(15, 118, 110, 0.5);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .tech-tags {
        justify-content: center;
    }
}

.tech-tag {
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* Curriculum Section */
.curriculum-section {
    padding: 120px 10%;
    background: white;
}

.curr-container {
    display: flex;
    margin-top: 80px;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.curr-labels {
    flex: 0 0 250px;
    background: #fcfcfd;
    display: flex;
    flex-direction: column;
}

.curr-label-header {
    height: 300px;
    display: flex;
    align-items: center;
    padding: 40px;
}

.curr-row-label {
    padding: 25px 40px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #f0f0f0;
    flex: 1;
    display: flex;
    align-items: center;
}

.curr-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-left: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.curr-column:hover {
    background: #f8fbff;
}

.curr-header {
    height: 300px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.curr-book-mockup {
    width: 120px;
    height: 160px;
    border-radius: 5px 15px 15px 5px;
    margin-bottom: 20px;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transform: perspective(1000px) rotateY(-10deg);
}

.curr-book-mockup::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(0,0,0,0.1);
}

.curr-val {
    padding: 25px 30px;
    font-size: 1rem;
    color: var(--text-gray);
    border-bottom: 1px solid #f0f0f0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
}

.curr-footer {
    padding: 30px;
}

.tech-brands {
    padding: 100px 0;
    background: #fcfcfd;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    overflow: hidden;
}

.brand-marquee-container {
    display: flex;
    margin-top: 60px;
    width: 100%;
    position: relative;
}

.brand-grid {
    display: flex;
    gap: 80px;
    animation: brandScroll 40s linear infinite;
    padding-left: 40px;
}

.brand-grid:hover {
    animation-play-state: paused;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 15px;
    filter: grayscale(1);
    opacity: 0.4;
    transition: all 0.4s ease;
    cursor: pointer;
    white-space: nowrap;
}

.brand-item i {
    font-size: 2rem;
    color: var(--text-dark);
}

.brand-item span {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.brand-item:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.brand-item:hover i {
    color: var(--primary-blue);
}

@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Add a gradient fade on edges */
.brand-marquee-container::before,
.brand-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brand-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #fcfcfd, transparent);
}

.brand-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #fcfcfd, transparent);
}

@media (max-width: 768px) {
    .brand-marquee-container::before,
    .brand-marquee-container::after {
        display: none;
    }
}

footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 10% 40px;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 15px;
    display: block;
}

.card-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.card-footer i {
    width: 18px;
    height: 18px;
}

.feature-card:hover .card-footer {
    gap: 15px;
}

/* Custom Checkmark List */
.check-circle-theme {
    background: var(--primary-yellow);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.check-circle-theme i {
    width: 12px;
    height: 12px;
    stroke-width: 3px;
}
.grid-list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.3;
}

.feature-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    margin-bottom: 40px;
}

/* Features Marquee */
.features-marquee {
    padding: 20px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

.features-marquee::before,
.features-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.features-marquee::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, transparent);
}

.features-marquee::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}

.marquee-content {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: max-content;
    align-items: center;
}

.features-marquee:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: default;
    border: 1px solid transparent;
}

.marquee-feature:hover {
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.1);
}

.feature-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrap i {
    width: 18px;
    height: 18px;
}

.marquee-feature span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.product-hero.ai-hero {
    padding: 150px 10% 100px;
    background: radial-gradient(circle at top right, rgba(15, 118, 110, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.05), transparent 40%);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 0 20px rgba(15, 118, 110, 0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-icon i, .feature-icon svg {
    width: 28px !important;
    height: 28px !important;
    stroke-width: 2px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Small Category Grid */
.category-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.cat-card-small {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.cat-card-small:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.cat-card-small span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.cat-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-card-left i {
    width: 20px;
    height: 20px;
    color: var(--primary-yellow);
}

.cat-card-small .chevron {
    width: 18px;
    height: 18px;
    color: var(--text-gray);
    transition: transform 0.2s;
}

.cat-card-small:hover .chevron {
    color: var(--primary-yellow);
    transform: translateX(3px);
}

/* Lab Components */
.lab-components {
    background: var(--bg-gray);
    border-radius: 60px;
    margin: 0 5%;
}

.component-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.component-item:last-child {
    margin-bottom: 0;
}

.component-item:nth-child(even) {
    flex-direction: row-reverse;
}

.comp-content {
    flex: 1;
}

.comp-image {
    flex: 1;
}

.comp-image img {
    width: 100%;
    border-radius: var(--radius-md);
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    background: var(--primary-blue);
    padding: 60px 10%;
    color: white;
    border-radius: var(--radius-lg);
    margin: 0 10%;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 600;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 10% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-col h5 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--primary-yellow);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-blue);
}

.copyright {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1440px) {
    .hero h1 {
        font-size: 4rem;
    }
}

/* FAQ Accordion Enhancements */
.faq-accordion-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition);
    border-left: 4px solid transparent;
    position: relative;
    margin-bottom: 15px;
}

.faq-accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 0;
}

.faq-accordion-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: rgba(15, 118, 110, 0.1);
}

.faq-accordion-item.active {
    border-left-color: var(--primary-yellow);
    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.15);
    transform: scale(1.02);
    z-index: 10;
    background: white;
}

.faq-accordion-item.active::before {
    opacity: 1;
}

.faq-accordion-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
}

.faq-accordion-btn:hover {
    background: rgba(248, 250, 252, 0.5);
}

.faq-accordion-item.active .faq-accordion-btn {
    color: var(--primary-blue);
}

.faq-icon-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
}

.faq-toggle-icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-gray);
}

.faq-accordion-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--primary-yellow);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: transparent;
    position: relative;
    z-index: 1;
}

.faq-accordion-content p {
    padding: 0 25px 25px 25px;
    margin: 0;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 1400px) {
    header { padding: 20px 3%; }
    header.scrolled { padding: 10px 3%; }
    nav ul { gap: 15px; }
    nav ul li a { font-size: 0.8rem; }
    .logo { font-size: 1.5rem; }
    .header-actions { gap: 8px; }
    .btn-shop, .btn-demo { padding: 8px 16px; font-size: 0.75rem; }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding-top: 150px;
        text-align: center;
    }
    .hero h1 { font-size: 3.5rem; }
    .hero-content { padding-right: 0; margin-bottom: 50px; }
    .hero-btns { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    /* Header nav shrinking */
    nav ul { gap: 15px; }
    .btn-shop, .btn-demo { padding: 8px 15px; font-size: 0.75rem; }
}

@media (max-width: 768px) {
    /* Global Adjustments */
    section { padding: 60px 5%; }
    .hero { padding: 120px 5% 60px; }
    .hero h1 { font-size: 2.2rem; letter-spacing: -1px; word-break: break-word; }
    .product-hero.ai-hero { padding: 110px 5% 60px !important; }
    .section-header { margin-bottom: 40px; }
    h2 { font-size: 2rem !important; }
    
    /* Header & Mobile Nav */
    header { padding: 15px 5%; }
    .header-actions { display: none; }
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }
    
    header.scrolled .mobile-toggle { color: var(--text-dark); }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        display: flex;
        overflow-y: auto;
    }
    
    body.mobile-menu-active nav { right: 0; }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 0 20px;
    }
    
    nav ul li { width: 100%; }
    
    nav ul li a {
        color: var(--text-dark) !important;
        font-size: 1.2rem;
        padding: 15px;
        width: 100%;
        justify-content: center;
    }
    
    nav ul li a span { color: var(--text-dark) !important; }
    nav ul li:hover > a span, nav ul li.open > a span { color: var(--primary-blue) !important; }
    
    nav ul li a span::after { display: none; }
    
    .mobile-only-btns {
        display: block !important;
        width: 100%;
        padding: 0 20px;
        margin-top: 20px;
    }
    .mobile-only-btns button {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    /* Dropdowns in mobile */
    .dropdown {
        position: static;
        min-width: 100%;
        width: 100%;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .has-dropdown.open .dropdown,
    .has-dropdown.open .dropdown.mega-menu {
        display: flex !important;
        flex-direction: column;
        margin-top: 10px;
        margin-bottom: 20px;
        pointer-events: auto;
    }
    
    .dropdown.mega-menu {
        max-height: none;
        overflow: visible;
        display: none;
    }
    
    .mega-menu-columns {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .mega-column ul {
        margin-bottom: 8px; /* Match the gap between items */
    }
    
    .mega-column {
        min-width: 100%;
    }
    
    .mega-menu-preview {
        display: none;
    }
    
    .hover-trigger {
        justify-content: flex-start !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .dropdown::before { display: none; }
    
    /* Hero Buttons */
    .hero-btns { flex-direction: column; gap: 15px; width: 100%; }
    .btn-primary, .btn-outline-white { width: 100%; text-align: center; }
    
    /* Curriculum Section */
    .curr-container { flex-direction: column; border-radius: 20px; }
    .curr-labels { display: none; }
    .curr-column { border-left: none; border-bottom: 1px solid #f0f0f0; }
    .curr-header { height: auto; padding: 40px 20px; }
    .curr-val { font-size: 0.9rem; padding: 20px; }
    
    /* Component Items (Images & Text) */
    .component-item {
        flex-direction: column !important;
        gap: 0 !important;
        margin-top: 100px !important;
        align-items: center;
        text-align: center;
    }
    .comp-content {
        display: contents;
    }
    .component-item > div[style*="gap: 10px"], .component-item .hero-tag { order: 1; margin: 0 auto 15px !important; justify-content: center; }
    .component-item h3 { order: 2; margin: 0 auto 25px !important; text-align: center; }
    .component-item .comp-image { 
        order: 3; 
        width: 100%; 
        text-align: center; 
        margin-bottom: 30px; 
    }
    .component-item .comp-image img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
    .component-item p { order: 4; text-align: center; margin-bottom: 30px !important; }
    .component-item .feature-list-grid { order: 5; margin: 0 auto 30px !important; }
    .component-item .btn-primary, .component-item .btn-secondary { order: 6; margin: 0 auto; }

    /* Marquees & Grids */
    .brand-grid { gap: 40px; }
    .ai-grid { grid-template-columns: 1fr; }
    .category-grid-small { grid-template-columns: 1fr; gap: 10px; }
    .feature-list-grid { grid-template-columns: 1fr; gap: 15px; justify-items: center; }
    
    /* FAQ Accordion */
    .faq-accordion-btn { font-size: 1rem; padding: 15px 20px; }
    .faq-accordion-content p { padding: 0 20px 20px 20px; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-links ul { justify-content: center; }
    
    /* About Header Mobile */
    #about-header {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 40px 20px !important;
        border-radius: 20px !important;
    }
    #about-header h2 {
        font-size: 2.2rem !important;
    }
    #about-header-right {
        border-left: none !important;
        border-top: 4px solid var(--primary-yellow) !important;
        padding-left: 0 !important;
        padding-top: 20px !important;
    }

    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1002;
    }

    body.mobile-menu-active .mobile-toggle {
        color: var(--text-dark) !important;
    }
}

/* --- Shop Categories Section --- */
.category-grid-small {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto 80px;
}

@media (max-width: 1024px) {
    .category-grid-small {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-grid-small {
        grid-template-columns: 1fr;
    }
}

.cat-card-small {
    background: #ffffff;
    border: 1px solid rgba(30, 41, 59, 0.08);
    border-radius: 16px;
    padding: 30px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cat-card-small::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(56, 189, 248, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat-card-small:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.08);
    border-color: rgba(56, 189, 248, 0.3);
}

.cat-card-small:hover::after {
    opacity: 1;
}

.cat-card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.cat-card-left i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.04);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-card-small:hover .cat-card-left i {
    transform: scale(1.15) rotate(-5deg);
    background: rgba(56, 189, 248, 0.1);
}

.cat-card-left span {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

.cat-card-small:hover .cat-card-left span {
    color: var(--primary-blue);
}


/* Footer Styles Moved from index.html */
.site-footer {
    background: #0B0F19;
    color: #94A3B8;
    padding: 50px 10% 15px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.site-footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.15), transparent 70%);
    pointer-events: none;
}
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.site-footer .footer-col h5 {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.site-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.site-footer .footer-col ul li a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}
.site-footer .footer-col ul li a:hover {
    color: #38BDF8;
}
.site-footer .newsletter-form {
    display: flex;
    margin-top: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 5px;
    transition: border 0.3s ease;
}
.site-footer .newsletter-form:focus-within {
    border-color: #38BDF8;
}
.site-footer .newsletter-input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 20px;
    width: 100%;
    outline: none;
}
.site-footer .newsletter-btn {
    background: #38BDF8;
    color: #0B0F19;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}
.site-footer .newsletter-btn:hover {
    background: #0ea5e9;
    transform: scale(1.05);
}
.site-footer .social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.site-footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #94A3B8;
    transition: all 0.3s ease;
}
.site-footer .social-links a:hover {
    background: #38BDF8;
    color: #0B0F19;
    transform: translateY(-3px);
}
.site-footer .social-links i {
    width: 16px;
    height: 16px;
}
.site-footer .footer-bottom {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}
.site-footer .footer-bottom-links {
    display: flex;
    gap: 20px;
}
.site-footer .footer-bottom-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer .footer-bottom-links a:hover {
    color: white;
}
@media (max-width: 992px) {
    .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .site-footer .footer-grid { grid-template-columns: 1fr; }
    .site-footer .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    
    .site-footer .social-links {
        justify-content: center;
    }
    
    .cta-section {
        flex-direction: column !important;
        text-align: center;
        justify-content: center !important;
        align-items: center !important;
    }
    .cta-section > div {
        text-align: center;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Unique highlight for LARGEST text */
.highlight-unique {
    background: linear-gradient(270deg, #5EE7DF, #B490CA, #5EE7DF);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Trendy marker-style highlight */
.marker-highlight {
    position: relative;
    display: inline-block;
    color: #111;
    z-index: 1;
}

.marker-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -2%;
    width: 104%;
    height: 40%;
    background: #FFE066;
    z-index: -1;
    border-radius: 2px;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.marker-highlight:hover::after {
    height: 85%;
    transform: rotate(0deg);
}

/* Educational Programs Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-layout-flex {
        flex-direction: column !important;
        text-align: center;
        gap: 30px !important;
    }
    .hero-layout-flex .product-info,
    .hero-layout-flex .product-visual {
        flex: none !important;
        width: 100% !important;
    }
    .hero-layout-flex h1 {
        font-size: 2.5rem !important;
    }
    .hero-layout-flex p#product-tagline {
        font-size: 1.1rem !important;
        margin: 0 auto 30px auto !important;
    }
    .hero-layout-flex .hero-btns {
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        justify-content: center;
    }
    .hero-layout-flex .hero-btns button,
    .hero-layout-flex .hero-btns a {
        width: 100% !important;
        justify-content: center !important;
    }
    .hero-layout-flex .hero-tags {
        justify-content: center !important;
    }
    
    /* Fix inline flex layouts on product pages */
    .product-page main section > div[style*="display: flex"] {
        flex-direction: column !important;
        text-align: center;
        gap: 30px !important;
    }
    
    .product-page main section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Decrease text sizes for inside pages */
    .product-page main h1 {
        font-size: 2.2rem !important;
    }
    .product-page main h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    .product-page main h3 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }
    .product-page main h4 {
        font-size: 1.2rem !important;
    }
    .product-page main p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
}
