/* Lillies Theme Color Variables */
:root {
    --primary-navy: #1e3a5f;
    --accent-red: #e53e3e;
    --accent-green: #2d8f47;
    --light-navy: #2c4f73;
    --dark-navy: #162d47;
    --light-red: #f56565;
    --light-green: #48bb78;
    --cream-white: #fefefe;
    --light-gray: #f7fafc;
    --medium-gray: #718096;
    --dark-gray: #2d3748;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

/* Animation classes for scroll reveals */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.animate-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.animate-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(30, 58, 95, 0.3);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.logo {
    height: 60px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.school-name {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
    line-height: 1.2;
    max-width: 300px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.nav-menu a:hover {
    color: var(--accent-red);
    transform: translateY(-2px);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px;
    z-index: 1001;
    position: relative;
    background: none;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hamburger:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--accent-red);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--accent-red);
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile Header Responsiveness */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .school-name {
        font-size: clamp(0.8rem, 2vw, 1rem);
        max-width: 250px;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1.5rem;
        transition: all 0.4s ease-in-out;
        z-index: 1000;
        visibility: hidden;
        opacity: 0;
        padding: 5rem 2rem 2rem;
    }
    
    .nav-menu.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
    
    .nav-menu li {
        transform: translateX(50px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.6s; }

    
    .nav-menu a {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--dark-navy);
        padding: 0.8rem 1.2rem;
        border-radius: 6px;
        transition: all 0.3s ease;
        position: relative;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 4px;
        height: 100%;
        background: var(--accent-red);
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform 0.3s ease;
    }
    
    .nav-menu a:hover::before {
        transform: scaleY(1);
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background: rgba(30, 58, 95, 0.1);
        color: var(--dark-navy);
        transform: translateX(5px);
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .school-name {
        font-size: clamp(0.7rem, 3vw, 0.9rem);
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 8px;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .logo {
        width: 30px;
        height: 30px;
    }
    
    .school-name {
        font-size: clamp(0.6rem, 3.5vw, 0.8rem);
        max-width: 150px;
        line-height: 1.1;
    }
    
    .hamburger {
        padding: 8px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
}

.hero {
    position: relative;
    background: url("Images/lillies1.jpg") no-repeat center center/cover;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* dark overlay */
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    height: 150px;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    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;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-red) 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(30, 58, 95, 0.4);
    animation: pulse 2s infinite;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-navy);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatUp 6s infinite linear;
}

.float-element:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    left: 50%;
    animation-delay: 2s;
}

.float-element:nth-child(3) {
    left: 80%;
    animation-delay: 4s;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8f9fa;
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    animation: fadeInLeft 0.6s ease-out;
}

.about-text h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.features-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 2rem;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    transition: all 0.3s ease;
}

.features-list li:hover {
    color: var(--primary-navy);
    transform: translateX(5px);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeInRight 0.6s ease-out;
}

.stat {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.stat:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.stat h4 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--accent-red);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    color: var(--medium-gray);
    font-weight: 500;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    margin: 0;
}

/* About Section Responsiveness */
@media (max-width: 1024px) {
    .about-content {
        gap: 3rem;
    }
    
    .stat {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-stats {
        order: 2;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat {
        flex: 1;
        min-width: 120px;
        max-width: 150px;
        padding: 1.5rem 1rem;
    }
    
    .features-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 40px 0;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        width: 100%;
        max-width: 200px;
        padding: 1.5rem;
    }
    
    .features-list li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
    }
    
    .about-text h3 {
        margin-bottom: 0.8rem;
    }
    
    .about-text p {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 320px) {
    .features-list li {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .stat h4 {
        font-size: 1.8rem;
    }
    
    .stat p {
        font-size: 0.8rem;
    }
}

/* Mission Section */
.mission {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-red) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.mission .container {
    position: relative;
    z-index: 2;
}

.mission .section-header h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.mission-text, .vision-text {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-text h3, .vision-text h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.mission-text p, .vision-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin: 0;
}

/* Responsive Design for Mission & Vision */
@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-text, .vision-text {
        padding: 1.5rem;
    }
    
    .mission .section-header h2 {
        font-size: 2.5rem;
    }
}

/* Core Values Section */
.values {
    background: #f8f9fa;
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* For larger screens, show all 4 in a row */
@media (min-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        gap: 2.5rem;
    }
}

/* For medium screens, keep 2x2 grid */
@media (min-width: 769px) and (max-width: 1199px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-red) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    border-radius: 50%;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-navy);
    box-shadow: 0 25px 50px rgba(30, 58, 95, 0.25);
    animation: bounce 0.6s ease-out;
}

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

.value-card:hover::after {
    width: 300px;
    height: 300px;
}

.value-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-red) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.3);
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card .value-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid var(--light-gray);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.value-card .value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.value-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Responsive Design for Core Values */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 2rem;
    }
    
    .value-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Center Information Section */
.center-info {
    background: white;
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.info-section {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.info-section h3 {
    color: var(--primary-navy);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-red);
}

.info-details {
    color: var(--dark-gray);
    line-height: 1.6;
}

.info-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.info-item strong {
    color: var(--primary-navy);
    font-weight: 600;
}

.compliance-list,
.curriculum-list,
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compliance-list li,
.curriculum-list li,
.services-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.compliance-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1rem;
}

.curriculum-list li::before {
    content: '📚';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.services-list li::before {
    content: '🌟';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

/* Responsive Design for Center Information */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-section {
        padding: 2rem;
    }
    
    .info-section h3 {
        font-size: 1.2rem;
    }
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: #3498db;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.age-range {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1rem;
}

.program-card p:last-child {
    color: #555;
    line-height: 1.6;
}

/* Admissions Section */
.admissions {
    background: #f8f9fa;
}

.admissions-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.admissions-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.admissions-text h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
}

.enrollment-steps {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.enrollment-steps li {
    margin-bottom: 0.5rem;
    color: #555;
}

.admissions-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.info-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p {
    color: #555;
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
}

.contact-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    padding: 3rem 3rem 5rem 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy) 0%, var(--accent-red) 100%);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 18px 20px;
    border: 2px solid rgba(30, 58, 95, 0.1);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.15);
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: var(--primary-navy);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.1);
}

.contact-form textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 120px;
}

/* Enhanced placeholder styling */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--medium-gray);
    opacity: 0.7;
    transition: all 0.3s ease;
    font-weight: 400;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    opacity: 0.5;
    transform: translateY(-2px);
}

/* Enhanced submit button styling */
.contact-form .btn {
    margin-top: 1rem;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.2);
    z-index: 10;
}

.contact-form .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(30, 58, 95, 0.3);
}

.contact-form .btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Form group responsive enhancement */
@media (max-width: 768px) {
    .form-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 16px 18px;
    }
}

/* Gallery Section */
.gallery {
    background: var(--light-gray);
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.2);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 58, 95, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

/* Gallery responsive design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        margin: 0 1rem;
    }
    
    .gallery-img {
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-overlay {
        position: relative;
        transform: translateY(0);
        background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-red) 100%);
        padding: 1rem;
    }
    
    .gallery-img {
        height: 180px;
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #bdc3c7;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-contact p {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-logo-img {
        height: 120px;
    }
    
    .logo {
        height: 50px;
    }
    
    .school-name {
        font-size: 1.4rem;
    }
    
    .about-content,
    .admissions-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stat {
        flex: 1;
        margin: 0 0.5rem;
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-logo-img {
        height: 100px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        height: 40px;
    }
    
    .school-name {
        font-size: 1.2rem;
    }
}

/* Features List Styling */
.features-list1 {
    margin: 15px 0 15px 20px;
    padding-left: 20px;
    list-style: none;
    position: relative;
}

.features-list1 li {
    margin: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.features-list1 li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    background: transparent;
}

.features-list1 li:hover {
    color: var(--primary-navy);
    transition: color 0.3s ease;
}
