/* Frontend Styles for Kidzamici*/

:root {
    --primary-color: #6B21A8;
    --primary-light: #9333EA;
    --primary-dark: #4C1D95;
    --secondary-color: #FFD700;
    --accent-color: #FACC15;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #ffffff;
    --bg-light: #F5EEFF;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Override default Bootstrap bg-light to let the purple theme show */
.bg-light {
    background-color: var(--bg-light) !important;
    backdrop-filter: blur(5px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #F5EEFF !important;
    /* Vivid Premium Fallback */
    background: linear-gradient(135deg, #F5EEFF 0%, #E6D4F9 100%) !important;
    background-attachment: fixed !important;
}

/* Animations Keyframes */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-soft {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Premium Icon Utilities */
.premium-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.premium-icon:hover::before {
    opacity: 1;
    transform: translate(25%, 25%);
}

.premium-icon:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon-purple {
    background: linear-gradient(135deg, #6B21A8, #9333EA);
}

.icon-yellow {
    background: linear-gradient(135deg, #FFD700, #F59E0B);
}

.icon-blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.icon-green {
    background: linear-gradient(135deg, #10B981, #059669);
}

.icon-orange {
    background: linear-gradient(135deg, #F97316, #EA580C);
}

/* Card Enhancements */
.premium-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(107, 33, 168, 0.12);
    background: #fff;
}

/* Navigation */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 2px solid rgba(107, 33, 168, 0.05);
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar-brand img {
    height: 60px;
    width: auto;
    max-width: 260px;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.navbar.scrolled .navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 10px 18px !important;
    transition: var(--transition);
    position: relative;
    border-radius: 12px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(107, 33, 168, 0.05);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    width: 30px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #6B21A8 0%, #9333EA 50%, #FFD700 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Fredoka', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

.hero-buttons .btn-primary {
    background: #FFD700;
    border-color: #FFD700;
    color: #6B21A8;
    font-weight: 700;
}

.hero-buttons .btn-primary:hover {
    background: #FFC107;
    border-color: #FFC107;
    color: #6B21A8;
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: var(--border-radius);
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Fredoka', cursive;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Section Common Styles */
.section-padding {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Fredoka', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Program Cards */
.program-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.program-icon i {
    font-size: 32px;
    color: var(--white);
}

.academics-intro i,
.program-meta i,
.focus-areas i,
.hero-badge i {
    color: var(--primary-color) !important;
    margin-right: 5px;
}

.program-title {
    font-family: 'Fredoka', cursive;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.program-age {
    display: inline-block;
    background: #e0e7ff;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.program-focus {
    color: var(--text-light);
    font-size: 15px;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
}

.program-link:hover {
    gap: 12px;
}

/* Tech Section */
.tech-section {
    background: var(--bg-light);
}

.tech-content ul {
    list-style: none;
    padding: 0;
}

.tech-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
}

.tech-content ul li i {
    color: #10b981;
}

.tech-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.robot-illustration {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.robot-illustration i {
    font-size: 100px;
    color: white;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 24px;
    color: var(--primary-color);
}

.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.card-3 {
    top: 20%;
    right: 0;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* CTA Section */
.cta-section {
    padding: 40px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    padding: 50px;
    color: white;
}

.cta-title {
    font-family: 'Fredoka', cursive;
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-text {
    opacity: 0.9;
    margin: 0;
}

/* Center Cards */
.center-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.center-card:hover {
    transform: translateY(-5px);
}

.center-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.center-icon i {
    font-size: 24px;
    color: white;
}

.center-name {
    font-family: 'Fredoka', cursive;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Franchise CTA */
.bg-primary-light {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.franchise-content ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.franchise-content ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}

.franchise-content ul li i {
    color: #fbbf24;
}

.franchise-illustration {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.franchise-illustration i {
    font-size: 80px;
    color: white;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 150px 0 80px;
    color: var(--white);
    text-align: center;
}

.page-title {
    font-family: 'Fredoka', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Story Section */
.story-visual {
    width: 100%;
    max-width: 550px;
    height: 450px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.story-visual:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(107, 33, 168, 0.2);
}

.story-visual:hover img {
    transform: scale(1.05);
}

.story-visual i {
    font-size: 100px;
    color: white;
}

/* Vision & Mission Cards */
.vision-card,
.mission-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.vision-icon,
.mission-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.vision-icon {
    background: #e0e7ff;
    color: var(--primary-color);
}

.mission-icon {
    background: #fce7f3;
    color: var(--secondary-color);
}

.vision-icon i,
.mission-icon i {
    font-size: 36px;
}

/* Advantage Cards */
.advantage-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.advantage-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-card h5 {
    font-family: 'Fredoka', cursive;
    margin-bottom: 10px;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

/* Forms */
.form-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 30px;
}

.form-title {
    font-family: 'Fredoka', cursive;
    margin-bottom: 10px;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 28px;
    color: white;
}

/* Quick Links Card */
.quick-links-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.quick-links a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: #2a1b54;
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-widget img.footer-logo {
    height: 65px;
    width: auto;
    margin-bottom: 5px;
    transition: var(--transition);
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

.footer-subtitle {
    font-family: 'Fredoka', cursive;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 5px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

.footer-links a i {
    font-size: 10px;
    color: var(--secondary-color);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

/* Contact Info Blocks */
.footer-contact-blocks {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-subtitle {
    color: #FFD700;
    /* Bright gold */
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin: 0;
    text-transform: uppercase;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    color: #FFD700;
    font-size: 1.1rem;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.contact-item p {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.contact-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(107, 33, 168, 0.3);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom strong {
    color: var(--secondary-color);
}

/* Responsive */
/* Tech Edge Animations & Visuals */
.tech-hero-image,
.ai-image,
.kidzatab-image,
.books-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

/* Robot Mascot */
.robot-mascot {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(107, 33, 168, 0.3);
    animation: float-robot 4s ease-in-out infinite;
    z-index: 2;
}

.robot-mascot i {
    font-size: 120px;
    color: white;
    z-index: 3;
    animation: blink 3s infinite;
}

.robot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: var(--primary-color);
    z-index: 1;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes float-robot {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes blink {

    0%,
    96%,
    98% {
        opacity: 1;
    }

    97% {
        opacity: 0.5;
    }
}

/* Smart Learning Tools */
.tech-feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.tech-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(107, 33, 168, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.1), rgba(147, 51, 234, 0.1));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 32px;
    transition: all 0.4s ease;
}

.tech-feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: rotateY(180deg);
}

/* AI Visual Brain */
.ai-visual {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #059669);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
    animation: brain-breathe 4s ease-in-out infinite;
}

.ai-visual i {
    font-size: 100px;
    color: white;
    z-index: 2;
    animation: brain-glow 2s alternate infinite;
}

.neural-network {
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 2px dashed rgba(16, 185, 129, 0.5);
    animation: spin-slow 15s linear infinite;
    z-index: 1;
}

@keyframes brain-breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes brain-glow {
    0% {
        filter: drop-shadow(0 0 5px white);
    }

    100% {
        filter: drop-shadow(0 0 20px white);
        filter: drop-shadow(0 0 40px white);
    }
}

/* Kidza Tab */
.tablet-mockup {
    width: 240px;
    height: 320px;
    background: #1f2937;
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), inset 0 0 0 4px #374151;
    position: relative;
    animation: tab-float 5s ease-in-out infinite;
}

.tablet-screen {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tablet-screen i.fa-tablet-alt {
    display: none;
}

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

.app-icons i {
    font-size: 35px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 15px;
    animation: app-pop 3s infinite;
}

.app-icons i:nth-child(2) {
    animation-delay: 1s;
}

.app-icons i:nth-child(3) {
    animation-delay: 2s;
}

@keyframes tab-float {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes app-pop {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    }
}

/* Talk-Back Book */
.book-visual {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-radius: 10px 20px 20px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: -10px 15px 30px rgba(217, 119, 6, 0.4);
    animation: book-open 3s ease-in-out infinite alternate;
}

.book-visual i {
    font-size: 70px;
    color: white;
    z-index: 2;
}

.sound-waves {
    position: absolute;
    top: -30px;
    right: -30px;
    display: flex;
    gap: 5px;
    transform: rotate(45deg);
}

.sound-waves span {
    width: 4px;
    height: 20px;
    background: #F59E0B;
    border-radius: 4px;
    animation: sound-bounce 0.5s infinite alternate;
}

.sound-waves span:nth-child(2) {
    animation-delay: 0.2s;
    height: 35px;
}

.sound-waves span:nth-child(3) {
    animation-delay: 0.4s;
    height: 50px;
}

@keyframes sound-bounce {
    0% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }

    100% {
        transform: scaleY(1.2);
        opacity: 1;
    }
}

@keyframes book-open {
    0% {
        transform: perspective(400px) rotateY(-10deg);
    }

    100% {
        transform: perspective(400px) rotateY(10deg);
    }
}

/* -------------------------------------------------------------------------- */
/* PREMIUM NAVIGATION HIGHLIGHTING                                            */
/* -------------------------------------------------------------------------- */
.navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    color: #4B5563 !important;
    /* Clean dark grey for inactive menus */
    transition: all 0.3s ease;
    padding-bottom: 8px !important;
}

/* Bold and Colorful Active/Hover State */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    font-weight: 700;
}

/* Beautiful Animated Gradient Underline beneath Active Menu */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    width: 80%;
    /* Expand underline symmetrically from center */
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        margin-top: 40px;
    }

    .stat-item {
        padding: 20px;
    }

    .story-visual {
        max-width: 300px;
        height: 300px;
        margin-bottom: 30px;
    }

    .section-badge {
        margin-bottom: 25px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .cta-box {
        padding: 1.5rem;
        text-align: center;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    /* Target massive custom paddings shrinking them for mobile */
    .premium-card {
        padding: 1.5rem !important;
    }

    .premium-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 24px !important;
        border-radius: 15px !important;
        margin-bottom: 1rem !important;
    }

    .p-5 {
        padding: 1.5rem !important;
    }

    .p-4 {
        padding: 1.25rem !important;
    }

    h2.section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem !important;
    }

    h3.program-name,
    h3.form-title {
        font-size: 1.35rem !important;
    }

    .row>.col-lg-4,
    .row>.col-md-6 {
        margin-bottom: 30px !important;
    }

    .page-header {
        padding: 130px 0 40px !important;
    }

    .focus-areas,
    .investment-tier-header {
        padding: 1rem !important;
    }

    /* Force mobile hamburger menu to be highly visible over any background */
    .navbar-toggler {
        background-color: rgba(255, 255, 255, 0.95) !important;
        border: 2px solid var(--primary-color) !important;
        border-radius: 8px !important;
        padding: 6px 10px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.3s ease;
    }

    .navbar-toggler-icon {
        filter: brightness(0) saturate(100%) invert(18%) sepia(85%) saturate(3015%) hue-rotate(271deg) brightness(88%) contrast(97%);
        /* Force icon lines to be purple */
    }
}