/* ========================================
   Educational E-Commerce - Creative & Beautiful Design
   Homepage Styles - Modern & Innovative
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables - Flat Colors */
:root {
    /* Primary Colors - Flat */
    --primary-blue: #3b82f6;
    --primary-blue-dark: #2563eb;
    --primary-blue-light: #60a5fa;
    --hero-blue: #2563eb;
    --hero-blue-dark: #1e40af;
    --hero-blue-light: #60a5fa;
    
    /* Accent Colors - Flat */
    --primary-red: #ef4444;
    --primary-red-hover: #dc2626;
    --button-orange: #f97316;
    --button-orange-hover: #ea580c;
    
    /* Program Card Colors - Flat */
    --robotics-bg: #dbeafe;
    --robotics-accent: #3b82f6;
    --science-bg: #dcfce7;
    --science-accent: #22c55e;
    --agritech-bg: #fef9c3;
    --agritech-accent: #eab308;
    --language-bg: #e0e7ff;
    --language-accent: #6366f1;
    --creative-bg: #fef3c7;
    --creative-accent: #f59e0b;
    --decoration-bg: #ffedd5;
    --decoration-accent: #f97316;
    
    /* Neutrals - No Black */
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing - Reduced */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
    --spacing-3xl: 2.5rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows - Lighter */
    --shadow-sm: 0 1px 2px 0 rgba(59, 130, 246, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(59, 130, 246, 0.1);
    --shadow-card: 0 2px 8px rgba(59, 130, 246, 0.08);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ========================================
   Hero Section - Creative & Beautiful
   ======================================== */
.hero {
    position: relative;
    min-height: 520px;
    height: calc(100vh - 72px);
    max-height: 750px;
    padding: 72px 0 0;
    overflow: hidden;
    background: var(--hero-blue);
    display: flex;
    align-items: center;
}

/* Creative Wave Effect at Bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: var(--white);
    clip-path: ellipse(75% 100% at 50% 100%);
    z-index: 1;
}

/* Creative Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-10px, -10px);
    }
}

/* Decorative Elements */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    background-image: url('../images/hero-kids.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.95;
}

/* Animated Stars */
.star {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    z-index: 2;
    animation: twinkle 3s ease-in-out infinite;
}

.star-1 { 
    top: 12%; 
    left: 4%; 
    width: 10px; 
    height: 10px; 
    animation-delay: 0s;
}
.star-2 { 
    top: 20%; 
    left: 8%; 
    width: 6px; 
    height: 6px; 
    animation-delay: 0.5s;
}
.star-3 { 
    top: 35%; 
    left: 3%; 
    width: 8px; 
    height: 8px; 
    animation-delay: 1s;
}
.star-4 { 
    top: 50%; 
    left: 6%; 
    width: 5px; 
    height: 5px; 
    animation-delay: 1.5s;
}
.star-5 { 
    top: 15%; 
    left: 15%; 
    width: 4px; 
    height: 4px; 
    animation-delay: 2s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Floating Decorations */
.decoration-pencil {
    position: absolute;
    top: 8%;
    left: 2%;
    width: 80px;
    height: auto;
    transform: rotate(-30deg);
    animation: float-slow 8s ease-in-out infinite;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.decoration-planet {
    position: absolute;
    top: 8%;
    right: 5%;
    width: 100px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.decoration-drone {
    position: absolute;
    top: 15%;
    right: 25%;
    width: 60px;
    height: auto;
    animation: float-drone 4s ease-in-out infinite;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(5deg); 
    }
}

@keyframes float-slow {
    0%, 100% { 
        transform: translateY(0) rotate(-30deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(-25deg); 
    }
}

@keyframes float-drone {
    0%, 100% { 
        transform: translateY(0) translateX(0); 
    }
    25% { 
        transform: translateY(-8px) translateX(5px); 
    }
    50% { 
        transform: translateY(-5px) translateX(10px); 
    }
    75% { 
        transform: translateY(-10px) translateX(5px); 
    }
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-xl);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.hero-content {
    color: var(--white);
    max-width: 600px;
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: expandLine 1s ease 0.5s both;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.hero-title span {
    font-weight: 400;
    display: block;
    margin-top: 0.3rem;
    opacity: 0.95;
}

.hero-divider {
    width: 70px;
    height: 4px;
    background: var(--primary-red);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.92;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    line-height: 1.65;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.hero-image {
    display: none;
}

/* ========================================
   Buttons - Creative Design
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-primary:hover {
    background: var(--primary-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    background: var(--white);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline.hero-btn {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-outline.hero-btn:hover {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

/* Section Header Animated - Clean & Creative Design */
.section-header.animated {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    background: none !important;
    padding: 0;
    overflow: visible;
}

.section-header.animated .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}

.section-header.animated .section-title::before {
    display: none;
}

.section-header.animated .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% {
        width: 80px;
    }
    50% {
        width: 120px;
    }
}

.section-header.animated:hover .section-title {
    transform: translateY(-2px);
    color: var(--primary-blue-dark);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: var(--radius-sm);
    animation: expandLine 0.8s ease both;
}

/* ========================================
   Programs Section - Creative Cards
   ======================================== */
.programs-section-wrapper {
    background: var(--white);
    position: relative;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.03);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.program-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-blue-light);
}

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

.program-card:hover::after {
    opacity: 1;
}

/* Program Image Wrapper */
.program-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
    height: 160px;
}

.program-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.05);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.program-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover .program-image-wrapper img {
    transform: scale(1.1) rotate(1deg);
}

/* Program Content */
.program-content {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--white);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.program-content .program-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.program-content .program-description {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    flex: 1;
    transition: color 0.3s ease;
}

.program-card:hover .program-content .program-description {
    color: var(--gray-700);
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--button-orange);
    transition: all 0.3s ease;
    padding: 4px 0;
    width: fit-content;
    position: relative;
}

.program-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--button-orange);
    transition: width 0.3s ease;
}

.program-link:hover {
    gap: 8px;
    color: var(--button-orange-hover);
}

.program-link:hover::after {
    width: 100%;
}

.program-link svg {
    transition: transform 0.3s ease;
    width: 14px;
    height: 14px;
}

.program-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   Programs Banner Row
   ======================================== */
.programs-banner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.banner-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    height: 80px;
    border: 1px solid var(--gray-200);
}

.banner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.08);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.banner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue-light);
}

.banner-card:hover::after {
    opacity: 1;
}

.banner-card.creative,
.banner-card.decoration {
    flex-direction: row;
    padding: 0;
}

.banner-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.banner-card:hover .banner-image-wrapper img {
    transform: scale(1.1);
}

.banner-card .banner-title {
    display: none;
}

.banner-card.featured {
    justify-content: center;
    padding: 0;
}

.banner-card.featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
    transition: transform 0.5s ease;
}

.banner-card.featured:hover img {
    transform: scale(1.05);
}

/* ========================================
   Products Section - Ultra Creative & Stunning Design
   ======================================== */
.products-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Animated Background Particles */
.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.03);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

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

/* Floating Geometric Shapes */
.products-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    top: 10%;
    right: 5%;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: floatShape 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
}

.products-section .container {
    position: relative;
    z-index: 1;
}

/* Creative Section Header */
.products-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

.products-section .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    animation: titleGlow 3s ease-in-out infinite;
    letter-spacing: -1px;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.4));
    }
}

.products-section .section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 50%;
    animation: titlePulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.products-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--primary-red);
    border-radius: var(--radius-full);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% {
        width: 100px;
    }
    50% {
        width: 150px;
    }
}

/* Staggered Grid Layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1600px;
    margin: 0 auto;
    perspective: 2000px;
}

/* Ultra Creative Product Cards */
.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    overflow: visible;
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid rgba(59, 130, 246, 0.1);
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    animation: cardEntrance 0.8s ease-out backwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(-15deg) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
}

/* Glowing Border Effect */
.product-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--primary-blue);
    border-radius: 32px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    filter: blur(10px);
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
}

/* Top Accent Line */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.5);
}

/* 3D Hover Effect */
.product-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(-2deg) scale(1.03);
    box-shadow: 
        0 30px 80px rgba(59, 130, 246, 0.25),
        0 10px 30px rgba(239, 68, 68, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.3);
}

.product-card:hover::before {
    opacity: 0.6;
    filter: blur(15px);
}

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

/* Creative Image Container */
.product-image {
    position: relative;
    height: 280px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    overflow: hidden;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

/* Animated Background Pattern */
.product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    transition: width 0.8s ease, height 0.8s ease;
    z-index: 1;
    animation: imagePulse 4s ease-in-out infinite;
}

@keyframes imagePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.product-card:hover .product-image::before {
    width: 400px;
    height: 400px;
}

/* Overlay Effect */
.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.04);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

/* Product Image with 3D Effect */
.product-image img {
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    transform-style: preserve-3d;
}

.product-card:hover .product-image img {
    transform: scale(1.2) rotateY(10deg) rotateX(-5deg) translateZ(20px) translateY(-15px);
    filter: drop-shadow(0 15px 40px rgba(59, 130, 246, 0.4));
}

/* Ultra Creative Badge */
.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 
        0 8px 25px rgba(239, 68, 68, 0.5),
        0 0 20px rgba(239, 68, 68, 0.3);
    z-index: 4;
    animation: badgeFloat 3s ease-in-out infinite, badgePulse 2s ease-in-out infinite;
    transform-origin: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-2deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(2deg);
    }
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(239, 68, 68, 0.5),
            0 0 20px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 
            0 8px 35px rgba(239, 68, 68, 0.7),
            0 0 30px rgba(239, 68, 68, 0.5);
    }
}

.product-badge svg {
    width: 16px;
    height: 16px;
    animation: badgeRotate 3s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes badgeRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Creative Content Area */
.product-content {
    padding: var(--spacing-xl);
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

/* Animated Title */
.product-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-height: 52px;
    display: flex;
    align-items: center;
    position: relative;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.5s ease;
}

.product-card:hover .product-title {
    transform: translateX(8px) scale(1.02);
}

.product-card:hover .product-title::after {
    width: 100%;
}

/* Creative Meta Section */
.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) 0;
    border-top: 2px solid rgba(59, 130, 246, 0.1);
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.product-meta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.5s ease;
}

.product-card:hover .product-meta::before {
    width: 80%;
}

/* Creative Price */
.product-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-red);
    position: relative;
    padding-left: var(--spacing-md);
    animation: priceShimmer 3s ease-in-out infinite;
}

@keyframes priceShimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.product-price::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-red);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Creative Age Badge */
.product-age {
    font-size: 0.85rem;
    color: var(--gray-700);
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.product-age::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.15);
    transition: left 0.5s ease;
}

.product-card:hover .product-age {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

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

/* Ultra Creative Button */
.product-btn {
    width: 100%;
    background: var(--primary-red);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 6px 20px rgba(239, 68, 68, 0.4),
        0 0 30px rgba(239, 68, 68, 0.2);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.8s ease, height 0.8s ease;
}

.product-btn::after {
    content: '→';
    position: absolute;
    right: 24px;
    opacity: 0;
    transform: translateX(-20px) scale(0.8);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.4rem;
    font-weight: 900;
}

.product-btn:hover {
    background: var(--primary-red-hover);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(239, 68, 68, 0.6),
        0 0 50px rgba(239, 68, 68, 0.4);
}

.product-btn:hover::before {
    width: 400px;
    height: 400px;
}

.product-btn:hover::after {
    opacity: 1;
    transform: translateX(0) scale(1.2);
}

.product-btn:hover {
    padding-right: 50px;
    letter-spacing: 1px;
}

/* Products Section Footer - View All Button */
.products-section-footer {
    text-align: center;
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    position: relative;
}

.products-section-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

.btn-view-all-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 18px 40px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn-view-all-products::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.8s ease, height 0.8s ease;
}

.btn-view-all-products svg {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.btn-view-all-products:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(59, 130, 246, 0.5),
        0 0 60px rgba(59, 130, 246, 0.3);
    border-color: var(--primary-blue-light);
    padding-right: 50px;
    padding-left: 50px;
}

.btn-view-all-products:hover::before {
    width: 500px;
    height: 500px;
}

.btn-view-all-products:hover svg {
    transform: translateX(8px) scale(1.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
    
    .products-section .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .products-section .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .product-image {
        height: 220px;
        padding: var(--spacing-lg);
    }
    
    .product-image img {
        max-height: 150px;
    }
    
    .product-content {
        padding: var(--spacing-md);
    }
    
    .product-title {
        font-size: 1.1rem;
        min-height: 48px;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .products-section-footer {
        margin-top: var(--spacing-2xl);
        padding-top: var(--spacing-xl);
    }
    
    .btn-view-all-products {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .btn-view-all-products:hover {
        padding-right: 40px;
        padding-left: 40px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .products-section .section-title {
        font-size: 1.75rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-image img {
        max-height: 130px;
    }
    
    .product-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .products-section-footer {
        margin-top: var(--spacing-xl);
        padding-top: var(--spacing-lg);
    }
    
    .btn-view-all-products {
        padding: 14px 28px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
    
    .btn-view-all-products:hover {
        padding-right: 35px;
        padding-left: 35px;
    }
}

/* ========================================
   Features Section - Why Choose Us - Creative Design
   ======================================== */
.features-section {
    padding: var(--spacing-3xl) 0;
    border-top: none;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.02);
    opacity: 1;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
    perspective: 2000px;
}

/* Ultra Creative Features Grid - Amazing Design */
.features-grid.animated {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.feature-item {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--white);
    border-radius: 20px;
    border: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    animation: featureCardEntrance 0.7s ease-out backwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 380px;
}

.feature-item:nth-child(1) { 
    animation-delay: 0.1s;
    background: rgba(59, 130, 246, 0.04);
}
.feature-item:nth-child(2) { 
    animation-delay: 0.2s;
    background: rgba(16, 185, 129, 0.04);
}
.feature-item:nth-child(3) { 
    animation-delay: 0.3s;
    background: rgba(239, 68, 68, 0.04);
}
.feature-item:nth-child(4) { 
    animation-delay: 0.4s;
    background: rgba(139, 92, 246, 0.04);
}

@keyframes featureCardEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Decorative Corner Element */
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 0 20px 0 60px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.feature-item:nth-child(1)::before { background: var(--primary-blue); }
.feature-item:nth-child(2)::before { background: #10b981; }
.feature-item:nth-child(3)::before { background: var(--primary-red); }
.feature-item:nth-child(4)::before { background: #8b5cf6; }

/* Bottom Accent Bar */
.feature-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.feature-item:nth-child(1)::after { background: var(--primary-blue); }
.feature-item:nth-child(2)::after { background: #10b981; }
.feature-item:nth-child(3)::after { background: var(--primary-red); }
.feature-item:nth-child(4)::after { background: #8b5cf6; }

/* Hover Effect */
.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-item:hover::before {
    opacity: 0.15;
}

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

/* Feature Icon - Large Design */
.feature-icon {
    width: 100%;
    max-width: 280px;
    height: 220px;
    margin: 0 auto var(--spacing-lg);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-shrink: 0;
    padding: var(--spacing-sm);
    overflow: hidden;
}

/* Feature Icon Image - Larger with Cover */
.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.feature-item:hover .feature-icon {
    transform: scale(1.08);
}

.feature-item:hover .feature-icon img {
    transform: scale(1.05);
}

/* Feature Title - Clean & Bold */
.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    line-height: 1.4;
    margin-top: auto;
    padding-top: var(--spacing-md);
    text-align: center;
}

.feature-item:nth-child(1):hover .feature-title { color: var(--primary-blue); }
.feature-item:nth-child(2):hover .feature-title { color: #10b981; }
.feature-item:nth-child(3):hover .feature-title { color: var(--primary-red); }
.feature-item:nth-child(4):hover .feature-title { color: #8b5cf6; }

.feature-item:hover .feature-title {
    transform: translateY(-2px);
}

/* ========================================
   CTA Section - Solutions for Schools - Creative Design
   ======================================== */
.cta-section {
    background: var(--primary-blue);
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 25px 25px;
    opacity: 0.6;
    animation: patternMove 20s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.cta-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: expandLine 1s ease 0.3s both;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 400;
}

.btn-cta {
    background: var(--primary-red);
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    white-space: nowrap;
    min-width: 200px;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-cta:hover {
    background: var(--primary-red-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.5);
}

.btn-cta:hover::before {
    width: 350px;
    height: 350px;
}

.btn-cta:hover::after {
    left: 100%;
}

/* ========================================
   Partners Section - Trusted By - Creative Design
   ======================================== */
.partners-section {
    background: var(--bg-light);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: visible;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    animation: patternMove 20s ease-in-out infinite;
}

.partners-grid {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 1;
    overflow-x: auto;
    overflow-y: visible;
    padding: 30px 20px 50px;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.partners-grid::-webkit-scrollbar {
    height: 8px;
}

.partners-grid::-webkit-scrollbar-track {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 4px;
}

.partners-grid::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.4);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.partners-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.6);
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 20px;
    background: transparent;
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
    box-shadow: none;
    min-width: 180px;
    min-height: 140px;
    height: auto;
    overflow: visible;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.partner-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.03);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: var(--radius-xl);
}

.partner-item:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.partner-item:hover::before {
    transform: scaleX(1);
}

.partner-item:hover::after {
    opacity: 1;
}

.partner-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100px;
    z-index: 1;
    overflow: visible;
}

.partner-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.partner-item:hover .partner-icon::before {
    width: 120px;
    height: 120px;
}

.partner-icon::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
    opacity: 0;
}

.partner-item:hover .partner-icon::after {
    opacity: 1;
    width: 80%;
    height: 25px;
}

.partner-icon img {
    width: auto;
    height: auto;
    max-height: 100px;
    max-width: 160px;
    min-width: 120px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85;
    display: block;
}

.partner-item:hover .partner-icon img {
    filter: drop-shadow(0 6px 16px rgba(59, 130, 246, 0.25));
    opacity: 1;
    transform: scale(1.1);
}

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

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: scale(0.95);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

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

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

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content {
    animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-image {
    animation: fadeIn 1.2s ease 0.4s both;
}

/* Stagger animation for grid items */
.programs-grid [data-animate],
.products-grid [data-animate],
.features-grid [data-animate] {
    animation-delay: calc(var(--index, 0) * 0.1s);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1100px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .programs-banner {
        grid-template-columns: 1fr 2fr 1fr;
        gap: var(--spacing-sm);
    }
    
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .feature-item {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        margin-bottom: var(--spacing-md);
    }
    
    .feature-item {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .partners-grid {
        gap: 20px;
        padding: 25px 15px 40px;
    }
    
    .partner-item {
        min-width: 160px;
        min-height: 120px;
        height: auto;
        padding: 15px;
        overflow: visible;
    }
    
    .partner-icon {
        min-height: 90px;
    }
    
    .partner-icon img {
        max-height: 90px;
        max-width: 140px;
        min-width: 100px;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
}

@media (min-width: 1101px) {
    .programs-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: var(--spacing-md);
    }
    
    .programs-banner {
        grid-template-columns: 1fr 2fr 1fr !important;
        gap: var(--spacing-md);
    }
    
    .program-image-wrapper {
        height: 140px;
    }
    
    .banner-card {
        min-height: 85px;
    }
    
    .hero {
        height: calc(100vh - 72px);
        min-height: 650px;
        max-height: 850px;
    }
    
    .hero-decorations {
        background-size: cover;
        background-position: center center;
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
        order: -1;
    }
    
    .decoration-pencil,
    .decoration-drone {
        display: none;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    .cta-text {
        text-align: center;
        min-width: auto;
    }
    
    .cta-divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 0.95rem;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-container {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .section-header {
        margin-bottom: var(--spacing-lg);
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .programs-banner {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .banner-card {
        min-height: 70px;
    }
    
    .banner-card.featured {
        min-height: 100px;
    }
    
    .products-grid,
    .features-grid,
    .features-grid.animated {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .feature-item {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .feature-icon {
        max-width: 180px;
        height: 130px;
        margin-bottom: var(--spacing-md);
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .feature-item:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .feature-title {
        font-size: 0.95rem;
    }
    
    .partners-grid {
        gap: 15px;
        padding: 20px 10px 35px;
    }
    
    .partner-item {
        min-width: 140px;
        min-height: 110px;
        height: auto;
        padding: 12px;
        overflow: visible;
    }
    
    .partner-icon {
        min-height: 80px;
    }
    
    .partner-icon img {
        max-height: 80px;
        max-width: 130px;
        min-width: 90px;
    }
}

@media (max-width: 480px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-image-wrapper {
        height: 180px;
    }
    
    .partners-grid {
        gap: 12px;
        padding: 15px 8px 30px;
    }
    
    .partner-item {
        min-width: 120px;
        min-height: 100px;
        height: auto;
        padding: 10px;
        overflow: visible;
    }
    
    .partner-icon {
        min-height: 70px;
    }
    
    .partner-icon img {
        max-height: 70px;
        max-width: 120px;
        min-width: 80px;
    }
    
    .feature-icon {
        max-width: 160px;
        height: 120px;
    }
}

/* Features Grid Responsive */
@media (max-width: 1200px) {
    .features-grid,
    .features-grid.animated {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .feature-item {
        min-height: 360px;
    }
    
    .feature-icon {
        max-width: 240px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .features-grid.animated {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .feature-item {
        min-height: 320px;
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .feature-icon {
        max-width: 200px;
        height: 160px;
        margin-bottom: var(--spacing-md);
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-item::before {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .features-grid.animated {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .feature-item {
        min-height: 300px;
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .feature-icon {
        max-width: 240px;
        height: 180px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
}
