* {
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
}

.subtitle {
    font-size: 40px; 
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff; 
    text-transform: uppercase;
}

.gradient-text {
    color: #fff; 
    display: block; 
    text-shadow: none; 
}


.description {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 100%;
    color: #fff; 
}

body {
    font-family: 'Poppins', sans-serif; 
    min-height: 100vh;
    color: #000; 
    background: #f0f0f0; 
}

a {
    text-decoration: none;
    color: inherit;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #fff; 
    position: sticky;
    top: 0;
    z-index: 1000; 
    background-color: #0DB512; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    
}


.logo {
    display: flex;
    align-items: center;
}


.logo-img {
    height: 70px; 
    width: auto; 
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    font-weight: 700;
}

nav ul a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
}

/* --- HOVER OBER HERE --- */
nav ul a:hover {
    color: #C0FF3E; 
    
    text-underline-offset: 4px; 
    text-decoration-thickness: 2px; 
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    border: 2px solid #FF9F00; 
    background-color:#FF9F00;
    color: #C0FF3E; 
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: #C0FF3E;
    color: #000;
}

.user-icon {
    font-size: 24px;
    cursor: pointer;
    color: #fff; 
}

/* --- Hamburger Menu Button (hidden on desktop) --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* --- Responsive Navbar / Mobile Menu --- */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(75%, 320px);
        background-color: #0DB512;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 30px;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.25);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 1050;
    }



    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    nav ul a {
         color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
    }
    nav ul a:hover {
    color: #C0FF3E;
    }

  

    body.nav-open {
        overflow: hidden;
    }
}


.hero-section {
    display: flex;
    justify-content: space-between;
    padding: 50px 40px 0 40px;
    height: calc(100vh - 80px); 
    position: relative; 
    overflow: hidden; 
    color: #fff; 
    background-color: #000; 
}


#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
}


.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 2; 
}

.hero-content {
    max-width: 50%; 
    z-index: 10; 
    color: #fff; 
}

@media (max-width: 900px) {
    .navbar {
        padding: 10px 15px;
    }

    .logo-img {
        height: 50px;
    }

    .hero-section {
        padding: 30px 20px 0 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    h1 {
        font-size: 30px;
    }

    .subtitle {
        font-size: 34px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
}

.subtitle {
    font-size: 50px;
    font-weight: 300;
    margin-bottom: 5px;
    color: #C0FF3E; 
}

h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}


.gradient-text {
    color: #ADFF2F; 
    display: block; 
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9); 
}


.description {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    color: #ddd; 
}

.hero-actions {
    display: flex;
    gap: 20px;
}



.btn {
    padding: 12px 30px;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    text-shadow: none; 
}

.btn-main {
    background-color: #78C841; 
    color: #000;
    box-shadow: 0 4px 10px rgba(173, 255, 47, 0.4);
}

.btn-main:hover {
    background-color: #C0FF3E;
}


.btn-secondary {
    background-color: #FF9F00; 
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.4);
}

.btn-secondary:hover {
    background-color: #FF6347;
}


.hero-graphics {
    flex-basis: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 1;
    height: 100%;
}


.light-blue {
    background-color: #e0f0ff; 
}

.light-green {
    background-color: #e6ffe0; 
}

.light-orange {
    background-color: #fffae0;
}


.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.icon-circle > i {
    font-size: 3.5rem; 
}


.icon-color-blue {
    color: #4c8bf5;
}

.icon-color-green {
    color: #4caf50; 
}

.icon-color-orange {
    color: #ff9800; 
}


.sage-section {
    padding: 60px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    color: #000;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: #000;
}

.content-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.sage-card {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.card-text {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
    color: #333;
}


@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .sage-card {
        margin-bottom: 40px;
    }
}






/* --- School Calendar Section --- */
.calendar-section {
    padding: 80px 10%;
    background-color: #ffffff;
    text-align: center;
}

.calendar-subtitle {
    font-size: 1.2rem;
    color: #78C841; 
    margin-bottom: 40px;
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.month-card {
    background: #fff;
    border: 2px solid #f1f1f1;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: left;
}

.month-card:hover {
    transform: translateY(-5px);
    border-color: #78C841;
}

.month-header {
    background: #78C841; 
    color: white;
    padding: 10px;
    margin: -20px -20px 15px -20px;
    border-radius: 13px 13px 0 0;
    font-weight: 700;
    text-align: center;
}

.month-card ul {
    list-style: none;
    padding: 0;
}

.month-card ul li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    line-height: 1.4;
    color: #333;
}

.month-card ul li::before {
    content: "•";
    color: #FF9A2E; 
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Orange Highlight for the designated month */
.month-card.highlighted {
    border: 2px solid #FF9A2E;
    background-color: #fffaf0;
    transform: scale(1.02); /* Makes it pop slightly more */
}

.month-card.highlighted .month-header {
    background: #FF9A2E;
}

.calendar-download {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .calendar-section {
        padding: 40px 5%;
    }
}

/* Mission Section Styles */

/* --- Enhanced School Mission Section --- */
.school-mission-section {
    padding: 100px 5%;
    background-color: #ffffff;
    overflow: hidden;
}

.school-News-section {
    padding: 10px 10px;
    background-color: #ffffff;
    overflow: hidden;
}
.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}
.News-container {
    max-width: 1200px;
    margin: 0 auto;    
    gap: 60px;
    align-items: center;
}

.mission-badge {
    color: #FF9A2E;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.mission-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.2;
}

.mission-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    border-left: 4px solid #78C841;
    padding-left: 20px;
}

.mission-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.News-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}
.mission-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.mission-item:hover {
    transform: translateX(10px);
    background: #f0f9eb; /* Light Sage Green tint */
}
.news-item:hover {
    transform: translateX(10px);
    background: #f0f9eb; /* Light Sage Green tint */
}
.mission-number {
    font-weight: 900;
    color: #78C841;
    font-size: 1.2rem;
    opacity: 0.6;
}

.mission-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.news-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    align-items: center;
}
/* Visual Side */
.mission-visual {
    position: relative;
}

.image-stack img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #FF9A2E;
    color: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 20px rgba(255, 154, 46, 0.3);
}

.experience-badge .years {
    font-size: 24px;
    font-weight: 800;
}

.experience-badge .text {
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .mission-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .mission-intro {
        border-left: none;
        padding-left: 0;
    }
    .mission-item {
        text-align: left;
    }
    .mission-visual {
        order: -1;
        margin-bottom: 50px;
    }
}
/* --- School Mission img --- */

.imgkids5 {
    
}


.featured-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 30px; 
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1); 
    
}

.featured-image-container img {
    width: 100%;
    height: auto;
    display: block; 
}

.mission-container {
    gap: 80px; 
}

@media (max-width: 992px) {
   
    .featured-image-container {
        max-width: 500px;
        margin: 0 auto; 
    }
}



/* --- Academy Section Styles --- */
.academy-section {
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    background-color: #78C841;
}

.academy-section .section-title {
    color: #fff;
}

.levels-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.level-card {
    flex: 1;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #000;
    transition: transform 0.3s ease;
}

.level-card:hover {
    transform: translateY(-10px);
}

.level-card h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px 0;
}

.level-card i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.preschool {
    background-color: #fff3cd; 
}

.primary {
    background-color: #d1ecf1; 
}

.junior-high {
    background-color: #d4edda; 
}




@media (max-width: 768px) {
    .levels-container {
        flex-direction: column;
    }
}

/* --- Testimonials Section Styles (Horizontal Column Layout) --- */

.testimonials-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f7f7f7;
}

.testimonials-section .section-title {
    color: #000;
    margin-bottom: 40px;
}


.testimonials-container {
    display: flex;
    justify-content: center; 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto;
    flex-wrap: wrap; 
}


.testimonial-card {
    flex: 1 1 300px; 
    max-width: 380px;     border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-img {
    width: 100%;
    height: auto;
    display: block;
}

.clickable-testimonial {
    cursor: pointer;
}

/* --- Responsive adjustment for smaller screens --- */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 1 1 45%; /* Makes two cards fit per row (around 50% width each) */
    }
}

@media (max-width: 600px) {
    .testimonials-container {
        flex-direction: column; /* Stacks cards vertically on small phones */
        align-items: center;
    }
    .testimonial-card {
        max-width: 100%; /* Full width for a single column on mobile */
    }
}

/* --- Lightbox / Modal Styles (Keep these) --- */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); 
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 700px;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
}



:root{
      --white:#FFFFFF;    
      --green:#78C841;
      --orange:#FF9A2E;
      --text:#1a1a1a;
      --shadow:0 6px 20px rgba(0,0,0,0.08);
      font-family:'Poppins', sans-serif;
    }
 
    body{
      margin:0;
      background:var(--white);
      color:var(--text);
      font-family:'Poppins', sans-serif;
    }
 
    .page{
      max-width:980px;
      margin:28px auto;
      padding:22px;
    }
 
    h1{
      margin:0;
      font-size:44px;
      color:var(--orange);
      font-weight:700;

    }
    h2{
      margin:0;
      color:var(--text);
      opacity:0.8;
    
    }
 
    .accent-line{
      height:8px;
      background:var(--green);
      border-radius:4px;
      margin-top:8px;
      width:140px;
      align-items: center;
    }
 
    .content{
      display:flex;
      gap:20px;
      margin-top:18px;
      flex-wrap:wrap;
    }
 
    .card{
      background:var(--white);
      border:2px solid #f1f1f1;
      border-radius:12px;
      padding:20px;
      box-shadow:var(--shadow);
      flex:1;
      min-width:260px;
    }
 
    .visit{
      border-left:10px solid var(--orange);
    }
 
    .ask{
      border-left:10px solid var(--green);
    }
 
    h3{
      margin:4px 0 12px;
      font-size:22px;
      color:var(--text);
    }
 
    .row{
      display:flex;
      justify-content:space-between;
      gap:12px;
      font-size:14px;
      color:var(--text);
    }
 
    .map{
      margin-top:12px;
      border-radius:10px;
      overflow:hidden;
    }
 
    .map iframe{
      width:100%;
      height:300px;
      border:0;
    }
 
    input,textarea{
      width:100%;
      padding:10px;
      margin-bottom:12px;
      border:1px solid #ddd;
      border-radius:8px;
      background:#fafafa;
      font-family:'Poppins';
    }
 
    textarea{
      min-height:200px;
      resize:vertical;
    }
 
    .submit{
      padding:12px 26px;
      border-radius:40px;
      background:var(--green);
      color:white;
      border:0;
      cursor:pointer;
      font-size:15px;
      font-weight:600;
      letter-spacing:0.5px;
      transition:0.2s;
    }
 
    .submit:hover{
      background:#69b334;
    }
 
    /* SOCIAL BAR */
    .sage-social-bar{
      background:var(--orange);
      color:var(--white);
      padding:15px 40px;
      display:flex;
      justify-content:space-between;
      align-items:center;
      flex-wrap:wrap;
      font-size:15px;
    }
 
    .sage-social-bar .icons a{
      color:var(--white);
      margin-left:20px;
      font-size:20px;
      transition:0.2s;
    }
 
    .sage-social-bar .icons a:hover{
      color:var(--green);
      transform:scale(1.1);
    }
.about-section {
  text-align: left;        
}
 
.about-section h2,
.about-section p {
  text-align: left;      
  margin-left: 0;          
}
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
 
body {
    background-color: #f4f6f8;
}
 
.container {
    max-width: 1200px;
    margin: auto;
 
}
 
h1 {
    color: #f28c28;
    font-size: 48px;
    margin-bottom: 20px;
}
 
 
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
 
.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
 
.card h3 {
    margin-bottom: 20px;
    font-size: 22px;
}
 
.visit {
    border-left: 8px solid #f28c28;
}
 
.form-section {
    border-left: 8px solid #6cc24a;
}
 
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #444;
    font-size: 15px;
}
 
.info-item i {
    color: #f28c28;
    margin-right: 10px;
    width: 20px;
}
 
iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    margin-top: 15px;
    border: none;
}
 
/* ================= FORM ================= */
 
.input-group {
    position: relative;
    margin-bottom: 15px;
}
 
.input-group i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: 0DB512;
    font-size: 14px;
}
 
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 12px 12px 38px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}
 
.input-group textarea {
    resize: none;
    height: 120px;
}
 
button {
    background-color: #6cc24a;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}
 
button:hover {
    background-color: #5aa63e;
}
 
/* ================= FOOTER ================= */
 
footer {
    background-color: #0DB512;
    color: white;
    padding: 50px 20px;
    margin-top: 60px;
}
 
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}
 
.footer-left {
    display: flex;
    gap: 25px;
    flex: 1;
    min-width: 280px;
}
 
.footer-left img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}
 
.footer-right {
    flex: 1;
    min-width: 250px;
    text-align: right;
}
 
.social-icons {
    margin-bottom: 20px;
}
 
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 75px;
    background-color: #0DB512;
    color: white;
    font-size: 26px;
    margin-left: 10px;
    text-decoration: none;
    transition: 0.3s ease;
}
 
.social-icons a:hover {
    background-color: #5c9246;
    transform: translateY(-3px);
}
 
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}
 
.footer-links {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
}
 
.footer-links a {
    color: white;
    text-decoration: underline;
}
 
@media (max-width: 768px) {
 
    h1 {
        font-size: 36px;
    }
 
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
 
    .footer-right {
        text-align: center;
    }
 
    .footer-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
 
    .social-icons a {
        margin: 0 5px;
    }
}
 


/* --- Global Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- New Image Styles --- */
.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.image-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #78C841;
    transition: all 0.3s ease;
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Animation Keyframes --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Animation Classes --- */
.animate-fade {
    animation: fadeIn 1.5s ease forwards;
}

.animate-slide-up {
    opacity: 0; /* Starts hidden */
    animation: fadeInUp 0.8s ease forwards;
}

/* --- Hover Effects --- */
.level-card, .sage-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.level-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.level-card:hover .card-image {
    transform: scale(1.05);
}

.sage-card:hover .image-circle {
    transform: scale(1.1) rotate(5deg);
    border-color: #FF9A2E;
}

/* Button Pulse Animation */
.btn-main {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- Entrance Animations --- */
.animate-fade {
    animation: fadeIn 1.2s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero Text Animation --- */
.hero-content h1 {
    animation: slideInLeft 1s ease-out;
}

.hero-content .subtitle {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Hover Effects for Cards --- */
.level-card, .month-card, .sage-card, .mission-item, .testimonial-card {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
}

.level-card:hover, .month-card:hover, .sage-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

/* --- Image & Icon Pulse --- */
.image-circle:hover {
    border-color: #FF9A2E !important;
    transform: scale(1.05);
}

.image-circle img {
    transition: transform 0.5s ease;
}

.image-circle:hover img {
    transform: scale(1.1);
}

/* --- Contact Button Pulse --- */
.btn-main, .btn-secondary, button[type="submit"] {
    position: relative;
    overflow: hidden;
}

.btn-main:active, .btn-secondary:active {
    transform: scale(0.95);
}

/* --- Footer Social Icon Sway --- */
.social-icons a i {
    transition: transform 0.3s ease;
}

.social-icons a:hover i {
    animation: sway 0.5s ease-in-out infinite alternate;
}

@keyframes sway {
    from { transform: rotate(-10deg); }
    to { transform: rotate(10deg); }
}

/* --- Floating Animation for Hero Content --- */
.hero-actions {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}


/* --- High-Width Spread with Centered Card Content --- */
.academy-section {
    padding: 100px 5%; /* Matches the hero section's side margins */
    text-align: center; /* Centers the section title */
    background-color: #78C841;
}

.academy-section .section-title {
    color: #fff;
    margin-bottom: 60px;
    font-size: 2.8rem;
    text-align: center; /* Keeps the main heading centered */
}

.levels-container {
    display: flex;
    justify-content: space-between; /* Spreads cards to the far edges of the screen */
    gap: 40px; /* Large space between cards */
    max-width: 1400px; /* Allows a very wide spread on large monitors */
    margin: 0 auto; /* Centers the entire spread container */
    width: 100%;
}

.level-card {
    flex: 1; 
    min-width: 280px; 
    max-width: 420px; /* Allows cards to be wider and more impactful */
    padding: 40px 30px;
    border-radius: 20px; 
    
    /* Centering the content inside the card */
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;      
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.level-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 25px;
}

.level-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.level-card p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- Responsive: Stack cards on smaller screens --- */
@media (max-width: 1100px) {
    .levels-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .level-card {
        max-width: 100%; /* Take full width on mobile */
    }
}

/* --- Ultra-Large & Animated kids5.png --- */
.imgkids5 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    overflow: visible; 
}

.imgkids5 img {
    /* The Size Boost */
    width: 110%; 
    max-width: 1100px; 
    height: auto;
    
    
    border-radius: 50px; 
    border: 15px solid #ffffff; 
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25); 
    object-fit: cover;
    
    /* Animation & Smoothness */
    animation: megaGentleFloat 7s ease-in-out infinite alternate;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
}

/* Hover effect: Subtle zoom and lift */
.imgkids5 img:hover {
    transform: scale(1.05) translateY(-20px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
}

/* Wide Floating Motion */
@keyframes megaGentleFloat {
    0% {
        transform: translateY(0px) rotate(-1.5deg) scale(1);
    }
    50% {
        transform: translateY(-35px) rotate(1.5deg) scale(1.02); /* Larger upward drift */
    }
    100% {
        transform: translateY(0px) rotate(-1.5deg) scale(1);
    }
}

/* Tablet & Mobile Scaling */
@media (max-width: 1200px) {
    .imgkids5 img {
        width: 100%;
        max-width: 900px;
        border: 10px solid #fff;
    }
}

@media (max-width: 768px) {
    .imgkids5 {
        margin-top: 40px;
    }
    .imgkids5 img {
        border-radius: 30px;
        border: 8px solid #fff;
    }
}




/* --- Ultra-Large & Animated News.png --- */
.News {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    overflow: visible; 
}

.News img {
    /* The Size Boost */
    width: 50%; 
    max-width: 100%; 
    height: auto;
    
    
    border-radius: 50px; 
    border: 15px solid #ffffff; 
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25); 
    object-fit: cover;
    
    /* Animation & Smoothness */
    animation: megaGentleFloat 7s ease-in-out infinite alternate;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
}

/* Hover effect: Subtle zoom and lift */
.News img:hover {
    transform: scale(1.05) translateY(-20px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
}

/* Wide Floating Motion */
@keyframes megaGentleFloat {
    0% {
        transform: translateY(0px) rotate(-1.5deg) scale(1);
    }
    50% {
        transform: translateY(-35px) rotate(1.5deg) scale(1.02); /* Larger upward drift */
    }
    100% {
        transform: translateY(0px) rotate(-1.5deg) scale(1);
    }
}

/* Tablet & Mobile Scaling */
@media (max-width: 1200px) {
    .News img {
        width: 100%;
        max-width: 900px;
        border: 5px solid #fff;
    }
}

@media (max-width: 768px) {
    .News {
        margin-top: 40px;
    }
    .News img {
        display: none;
    }
}
