/* My School - Design System */

:root {
    /* Colors */
    --primary-color: #4CC9F0;
    /* Bright Blue */
    --secondary-color: #F72585;
    /* Hot Pink */
    --accent-yellow: #FEE440;
    /* Sunny Yellow */
    --accent-green: #70E000;
    /* Lime Green */
    --text-dark: #333333;
    /* Dark Slate */
    --text-light: #FAFAFA;
    /* Light Cream/White */
    --bg-light: #FAFAFA;
    /* Main Background */
    --bg-white: #FFFFFF;
    /* Card Background */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4CC9F0 0%, #4895EF 100%);
    --gradient-secondary: linear-gradient(135deg, #F72585 0%, #B5179E 100%);
    --gradient-warm: linear-gradient(135deg, #FEE440 0%, #FF9E00 100%);

    /* Typography */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --border-radius-lg: 20px;
    --border-radius-md: 15px;
    --border-radius-sm: 10px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.3s ease;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-cream {
    background-color: #FEF9E7;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-light);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-light {
    background: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Section Headings */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: #666;
    margin-top: 0;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Welcome Section - Split Layout */
.welcome-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-img {
    position: relative;
}

.img-wrapper {
    position: relative;
    padding: 10px;
}

.rounded-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: rotate(-2deg);
    border: 10px solid white;
}

.exp-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 4px solid white;
    transform: rotate(2deg);
}

.exp-badge .years {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.exp-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
}

.welcome-content {
    text-align: left;
}

.section-badge {
    display: inline-block;
    background: rgba(254, 228, 64, 0.3);
    color: #F89B29;
    /* Darker orange for text */
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-secondary {
    color: var(--secondary-color);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.welcome-content p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.welcome-features {
    margin: 25px 0;
}

.welcome-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.welcome-features i {
    color: var(--accent-green);
}

/* Responsive Welcome */
@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .welcome-content {
        text-align: center;
        order: 1;
        /* Content first on mobile usually looks better or stick to image first */
        order: 2;
    }

    .welcome-img {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .welcome-features {
        display: inline-block;
        text-align: left;
    }
}

/* Navbar Styles */
.navbar {
    background: var(--bg-white);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-hover);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text img {
    height: 35px;
}

.school-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.tagline {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.btn-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero {
    /* Enhanced background with a modern gradient overlay over the image */
    background: linear-gradient(135deg, rgba(235, 248, 255, 0.9) 0%, rgba(255, 240, 245, 0.8) 100%), url('../images/hero-bg.png') no-repeat center center/cover;
    padding-top: 150px;
    /* Reduced top padding slightly */
    padding-bottom: 260px;
    /* Reduced bottom padding since buttons are gone */
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    /* Ensure it takes up good screen height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Hero Padding */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 100px;
        min-height: 60vh;
    }
}

/* Decorative Circles Background */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.hero::before {
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.2) 0%, rgba(76, 201, 240, 0) 70%);
}

.hero::after {
    bottom: 100px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.2) 0%, rgba(247, 37, 133, 0) 70%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center alignment for now as we might not have a perfect cutout image */
    text-align: center;
    max-width: 900px;
    /* Limit width for better readability */
    margin: 0 auto;
}

.hero-content {
    color: var(--text-dark);
}

.admission-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    border: 1px solid rgba(247, 37, 133, 0.1);
    animation: bounce 2s infinite;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(112, 224, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(112, 224, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(112, 224, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(112, 224, 0, 0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.2;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--accent-yellow);
    z-index: -1;
    opacity: 0.6;
    border-radius: 4px;
}

.tagline-hero {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 28px;
    /* Compensate for border */
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.wave-bottom {
    position: absolute;
    bottom: -1px;
    /* Fix small gap issue */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition-fast);
    border-bottom: 5px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-card:nth-child(4n+1) {
    border-bottom-color: var(--primary-color);
}

.feature-card:nth-child(4n+2) {
    border-bottom-color: var(--secondary-color);
}

.feature-card:nth-child(4n+3) {
    border-bottom-color: var(--accent-yellow);
}

.feature-card:nth-child(4n+4) {
    border-bottom-color: var(--accent-green);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.color-1 {
    background: var(--primary-color);
}

.color-2 {
    background: var(--secondary-color);
}

.color-3 {
    background: var(--accent-yellow);
    color: #333 !important;
}

.color-4 {
    background: var(--accent-green);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--text-dark);
}

/* Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.class-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
    border: 2px solid #f0f0f0;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.class-img {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.class-content {
    padding: 20px;
    text-align: center;
}

.class-content h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-text:hover {
    gap: 10px;
}

/* Teachers Preview */
/* Teachers Preview */
.teachers-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 800px;
    /* Constrained width to make cards smaller */
    margin: 0 auto;
    justify-content: center;
}

.teacher-card {
    background: white;
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    width: 100%;
    transition: var(--transition-fast);
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.teacher-img-placeholder {
    width: 100px;
    height: 100px;
    background-color: #eee;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #999;
    border: 3px solid var(--accent-yellow);
}

.teacher-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.role {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 10px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Styles */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col img {
    height: 100px;
    margin-bottom: 10px;
    margin-left: 10px;
}

.footer h3 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent-green);
    margin-top: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.nav-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.nav-social-link:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-social-link:hover i {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animation Classes */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .mobile-menu-btn {
        display: block;
    }

    .school-name {
        font-size: 1.2rem;
    }

    .classes-grid {
        justify-content: center;
    }

    .teachers-preview {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .welcome-section {
        margin-bottom: 50px;
    }
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #eee;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.1);
}

textarea.form-control {
    border-radius: 20px;
    resize: vertical;
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 300px;
    margin-top: 30px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-weight: 700;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-text p {
    color: #666;
    margin-bottom: 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

/* Instagram Reels Section */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
    margin-top: 30px;
}

.reel-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 400px;
    /* Limit width */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-fast);
}

.reel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.reel-card blockquote {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: white !important;
}

.reel-caption {
    padding: 15px;
    text-align: center;
    width: 100%;
    background: var(--bg-light);
    border-top: 1px solid #eee;
}

.reel-caption h3 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .reels-grid {
        grid-template-columns: 1fr;
    }
}/* Reels Video Styles */
.reel-card video {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
    background: #000;
}

.reel-card {
    background: #000;
    /* Dark background for video */
}

.reel-caption {
    background: white;
    /* Restore white for caption */
    position: relative;
    z-index: 2;
}
