/*Force everything to respect the screen boundaries */
* {
    box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Fix the program package */

/* Scale down large main header text */
/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  overflow-x: hidden; /* Prevents awkward horizontal side-scrolling on phones */
}
        

/* Header */
header {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
        
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
        
.nav-links {
    /*display: flex;
    gap: 20px;*/
   display: flex;
   align-items: center;
   gap: 20px;
}
        
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* 🍔 Hamburger Icon Styling (HIDDEN BY DEFAULT ON DESKTOP) */
.menu-toggle {
  display: none; 
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   3. DROPDOWN SUBMENU ARCHITECTURE (Hover Trigger for Desktops)
   ========================================================================== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none; 
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 4px;
  padding: 10px 0;
  z-index: 1005;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: normal;
}

.dropdown-menu a:hover {
  background-color: #f4f4f4;
  color: #008cff;
}
/* Automatically reveals dropdown on desktop hover states */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}
    
.btn {
  background-color: #008cff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  max-width: 200px;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
/* logo image positioning */
.logo-image{
   /* width: 30%;
    height: auto;*/
  max-width: 150px; /* Replaced rigid 30% width with a safer max bounds */
  height: auto;
}

/* ==========================================================================
   4. HOME PAGE MAIN CONTENT SECTIONS
   ========================================================================== */
        
/* Hero Section */
.hero {

/*  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
  color: #ffffff; /* 🔑 Sets base text inside hero area to pure white */
  
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  /* 📐 SCREEN HEIGHT SIZING: Sets a robust default desktop block height range */
  padding: 180px 20px; 
  min-height: 75vh; /* Takes up 75% of the viewport height for a grand premium look */

  /* 🖼️ BACKGROUND IMAGE OPTIMIZATION FIXES */
  background-size: cover;       /* 🔑 Magic Key: Fills container completely without stretching */
  background-position: center;  /* 🔑 centers the important focal points of your photograph */
  background-repeat: no-repeat; /* Prevents ugly repeating block tile errors if the screen is massive */
  
  color: #ffffff;

}
        
.hero h1 {

 /* font-size: 3rem;
/*  color: #ffffff !important; /* 🔑 High Contrast White */
/*  margin-bottom: 20px;
  max-width: 900px;
  line-height: 1.3;
  /* Adds a premium dark micro drop-shadow to outline letters if image parts are light */
/*  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); */
  font-size: 3rem;
  color: #ffffff !important;
  margin-bottom: 20px;
  max-width: 900px;
  line-height: 1.3;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  
}
        
.hero p {

/* font-size: 1.3rem;
  color: #f0f4f8 !important; /* 🔑 Off-White ice blue for clean secondary styling readability */
/*  margin-bottom: 35px;
  max-width: 750px;
  line-height: 1.6;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);*/
  
    font-size: 1.3rem;
  color: #f0f4f8 !important;
  margin-bottom: 35px;
  max-width: 750px;
  line-height: 1.6;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/*New part */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero .btn {
  margin: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    /*display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    background-color: #fff;*/
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    background-color: #fff;
    flex-wrap: wrap;
}

.feature {
   /* text-align: center;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;*/
    text-align: center;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
}
  /* Results Section */
.results {
   /* padding: 40px 20px;
    background-color: #f9f9f9;
    overflow: hidden; /*Hide the duplicated content initially */
    /*max-width: 100%;*/
    padding: 60px 20px;
    background-color: #f9f9f9;
    overflow: hidden;
}
    
.results h2 {
    /*text-align: center;
    color: #333;*/
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}
        
.testimonials {
    /*
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    animation: autoScrollLeft 20s linear infinite; /*adjust duration to control speed */

  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  animation: autoScrollLeft 25s linear infinite;
  width: max-content; /* Dynamic assignment prevents container collapsing */
  touch-action: pan-y;
}
        
.testimonial {
   /* padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    flex-basis: 300px;
    display: inline-block;
    flex: 0 0 250px;
    text-align: center;*/
    
    padding: 25px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 10px;
    width: 300px;
    flex-shrink: 0;
    text-align: left;

}
/* Pause the automation on hover, for better user experience  */
.testimonials:hover {
  animation-play-state: paused;
}
/* MOBILE PAUSE: Stops instantly when a finger touches or holds the section */
/*.testimonials:active {
  animation-play-state: paused;
}*/

/*new */
@keyframes autoScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

        
/* Responsive Design */
@media (max-width: 768px) {
    /*.nav-links {
        display: none;
        }
    .features {
        flex-direction: column;
        }
    .testimonials {
        flex-direction: column;
    }*/
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.6rem !important; }
}

.academic-support {
    /*display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;*/
    display: flex;
   align-items: center;
   justify-content: center;
   gap: 40px;
   padding: 60px 20px;
   background-color: #f9f9f9;
   max-width: 1200px;
   margin: 0 auto;
}

.support-image {
    /*width: 600px;
    height: 400px;
    border-radius: 8px;*/
    width: 100%;
    max-width: 550px; /* Safe fluid scale instead of fixed 600px width */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }

.text-content {
    /*width: 60%; */
    width: 50%;
}

.text-content h2 {
    /*font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;*/
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.text-content p {
    /*font-size: 16px;
    color: #666;
    margin-bottom: 20px;*/
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.book-assessment {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.book-assessment:hover {
    background-color: #2980b9;
}

  /* footer css  */
.footer {
  margin-top: 70px; /* Add space between the Body and the footer elements */
}

.site-footer  {
    background-color:  #222;
    color:#fff;
    padding: 50px 0 20px;
    font-family: sans-serif;
}
.footer-container{
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}
.footer-col{
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}
.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    /*position: relative;*/
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}
.footer-col a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
}
 /* Mobile responsive  */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}
  .social-links a {
    display: flex;
    align-items: center;
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
  }

  
/* CSS code for the about page */
/* General Reset */
/** { box-sizing: border-box;
    margin: 0; 
    padding: 0; 
    font-family: 'Inter', sans-serif; 
    
}*/
.container { 
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.about-hero {
  /*background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('hero-bg.jpg') center/cover;*/
  color: white;
  padding: 5px 0;
  text-align: center;
}

/*For rotating backround images */
.about-slideshow{
  width: 100vw;
  height: 40vw;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*apply the animation */
  animation: about-slideshow 12s infinite;
}
@keyframes about-slideshow{
0%{background-image: url(photos/about/team.jpeg);}
33%{background-image: url(photos/about/class6.jpeg);}
66%{background-image: url(photos/about/class2.jpeg);}
100%{background-image: url(photos/about/class7.jpeg);}
}
/* Split Layout (Story) */
.split-layout {
  display: flex;
  align-items:center;
  gap: 50px;
  padding: 80px 0;
  /*height: 10%;*/
}
.image-block img { 
    width: 100%; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    
}
.text-block { 
    /*flex: 80%;*/
    flex: 1;
    
}

/* Values Grid */
.about-values { 
    background: #f9f9f9; 
    padding: 80px 0; 
    text-align: center; 
    
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.value-card {
  background: white;
  padding: 40px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.value-card:hover { 
    transform: translateY(-10px); 
    
}

/* Responsive Adjustments (UNIVERSAL MEDIA QUERY (The Mobile Magic)) */
@media (max-width: 768px) {
/* 🍔 REVEALS HAMBURGER BUTTON EXCLUSIVELY ON PHONES */
  .menu-toggle {
    display: flex; 
  }
  .split-layout { flex-direction: column; text-align: center; }
/* Stack the navigation container vertically */
  .nav-container {
    /*flex-direction: column;
    gap: 15px;
    text-align: center;*/
        
    flex-direction: row !important; /* Forces normal left-to-right alignment */
    justify-content: space-between;
    width: 100%;
  }
  .logo {
    margin-left: 0; /* Reset any left alignment spacing modifications */
  }
  .menu-toggle {
    display: flex; 
    margin-left: auto; /* Gracefully anchors the three bars to the right side wall */
    margin-right: 0;
  }
  
  /* Make navigation links */

    .nav-links {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;          /* 🔑 Magic Key: Pulls the menu panel block to align perfectly to the right side edge */
    left: auto;        /* Clears out old left side alignment settings */
    width: 250px;
    background-color: #fff;
    box-shadow: -4px 4px 10px rgba(0,0,0,0.1); /* Casts a shadow downwards and to the left */
    padding: 25px 20px;
    gap: 18px;
    align-items: flex-start;
    border-radius: 0 0 0 8px; /* Smooth rounded corner on bottom-left of menu container drawer */
  }
  
  /* Activated class added via JavaScript to push navigation visible */
  .nav-links.active {
    display: flex;
  }

  .nav-links a, .dropdown-toggle {
    width: 100%;
    font-size: 15px;
  }
  
    /* 🔽 MOBILE DROPDOWN SELECTION INJECTION */
  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static; 
    width: 100%;
    box-shadow: none;
    background-color: #fcfcfc;
    padding-left: 15px;
    margin-top: 5px;
    border-left: 2px solid #008cff;
    border-radius: 0;
      
  }
  /* Reveals the login sublinks instantly when the parent container has .active */
  .dropdown.active .dropdown-menu {
      display: block;}
/* Transforms Hamburger Bars to an 'X' symbol when open */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg); 
    
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0; 
    
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg); 
    
}
  
  /* Force Hero text to resize cleanly, back photo shows spectacular */
  .hero {
    /* Slightly less padding on tiny touch devices keeps text tight and elegant */
    padding: 100px 15px;
    min-height: 60vh; /* Shinks slightly on phones so it doesn't push important details down */
  }
    /* Force academic support to turn into 1 single block column */
  .academic-support {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .text-content {
    width: 100%;
  }

  .support-image {
    max-width: 100%;
  }

  /* Flatten layout components */
  .features, .footer-container, .split-layout {
    flex-direction: column;
    align-items: center;
  }
    .footer-col {
    text-align: center;
    width: 100%;
  }

  .results {
    /*padding: 40px 15px;*/
    padding: 40px 0;
  }

  /* Turn sliding carousel elements static or safe for touch screens */
  .testimonials {
    /*animation: none;
    flex-direction: column;
    align-items: center;
    width: 100%;*/
    
    display: flex !important;
    flex-direction: row !important; /* Forces row placement on mobile */
    flex-wrap: nowrap !important;   /* Hard stop against stacking */
    animation: autoScrollLeft 55s linear infinite !important; /* Keeps loop active on mobile */
    touch-action: pan-y;
  }


  .testimonial {

    width: 260px;            /* Slightly smaller width to fit beautifully on small mobile screens */
    padding: 18px;
    flex-shrink: 0 !important;
  }
  
}

/*Meet the team */
.team-section{
    max-width: 100%;
    overflow: hidden; /*Hide the duplicated content initially */
    padding: 20px 0;
    background-color: #f4f4f4;
    text-align: center;
}
.scrolling-wrapper{
  display: flex;
  white-space: nowrap; /*prevents wrapping to a new line */
  animation: autoScrollLeft 20s linear infinite; /*adjust duration to control speed */
}
.team-member-card{
  flex: 0 0 auto;  /*prevents cards from stretching or shrinking */
  width: 250px;
  margin: 0 10px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  /*display: inline-block;  /*Align items in a row  */
}
.team-member-card img {
  width: 100%;
  height: auto;
  border-radius: 50%; //*optional for round images */
}
.team-member-card h3 {
  margin: 10px 0 5px;
}
/*keyframe automation for automatic scrolling to the left  */
@keyframes autoScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    /*scrolls the width of the original content */
    transform: translateX(-50%);
  }
}


/* Pause the automation on hover, for better user experience  */
.scrolling-wrapper:hover {
  animation-play-state: paused;
}


/* CSS code for Enroll/Register Page  */
        /* ... (previous styles) */
        
        /* Form Section */
.form-section {
     padding: 40px 20px;
     background-color: #fff;
}
        
.form-container {
     max-width: 800px;
     margin: 0 auto;
     padding: 20px;
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
     border-radius: 10px;

}
        
.form-group {
     margin-bottom: 20px;
}
        
.form-group label {
    display: block;
    margin-bottom: 5px;
 }
        
.form-group input, .form-group select {
     width: 100%;
     padding: 10px;
     border: 1px solid #ccc;
     border-radius: 5px;
 }


/* Css code for login page */


    .container-login {
        background: #fff;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        width: 380px;
        margin-left: auto;
        margin-right: auto;
        position: relative;

    }

    .container-login h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
    }

    input[type="text"], input[type="email"], input[type="password"] {
        width: 100%;
        padding: 12px;
        margin: 8px 0 16px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
    }

    button {
        width: 100%;
        padding: 12px;
        background: #4facfe;
        border: none;
        border-radius: 5px;
        color: white;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    button:hover {
        background: #00c6ff;
    }

    .toggle-link {
        text-align: center;
        margin-top: 15px;
        font-size: 14px;
    }

    .toggle-link label {
        color: #4facfe;
        font-weight: bold;
        cursor: pointer;
    }

    #signup-form {
        display: none;
    }

    #toggle:checked ~ #login-form {
        display: none;
    }
    #toggle:checked ~ #signup-form {
        display: block;
    }

    #toggle {
        display: none;
    }

    .error {
        color: red;
        font-size: 13px;
        margin-top: -10px;
        margin-bottom: 10px;
    }

/* ==========================================================================
   5. PACKAGES & PROGRAMS DISPLAY GRID
   ========================================================================== */

/* Programs page CSS */
    .flyer {
      width: 100%;
      max-width: 1500px;
      margin: 0 auto;
      background: white;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

   /* .header {
      text-align: center;
      padding: 20px;
      background: url('sky-background.jpg') no-repeat center/cover;
    }

    .logo {
      font-size: 28px;
      font-weight: bold;
      color: #003366;
      margin-bottom: 10px;
    }
    .logo-image{
            width: 30%;
            height: auto;
    }

    .header h1 {
      font-size: 32px;
      color: #ffd700;
      background: #003366;
      padding: 10px;
    }*/

    .registration {
      background: #ff6600;
      color: white;
      text-align: center;
      padding: 8px;
      font-size: 14px;
    }

.packages {
      /*display: flex;
      justify-content: space-between;
      padding: 20px;
      gap: 20px;*/
    display: grid;
    grid-template: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 30px auto 60px;
    padding: 0 20px;

}

.package {
    /*  flex: 1;
      text-align: center;
      color: white;
      border-radius: 10px;
      overflow: hidden;*/
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 25px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
    .fundamental { background: #2e5b8b; }
    .build { background: #214171; }
    .grow { background: #1e90ff; }
    .excel { background: #3a0080; }

.package-btn {
    /*  width: 100%;
      padding: 15px;
      font-size: 20px;
      font-weight: bold;
      color: white;
      border: none;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;*/
    background-color: #2c3e50;
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 15px;
}
.fundamental .package-btn {
    background: #2e5b8b; 
    
}
.build .package-btn {
    background: #214171; 
    
}
.grow .package-btn {
    background: #1e90ff; 
    
}
.excel .package-btn {
    background:  #3a0080; 
    
}

.package-btn:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.price {
      background: white;
      color: #333;
      padding: 10px;
      font-size: 18px;
      font-weight: bold;
      margin: 10px 0;
}

.package ul {
    /*  list-style: none;
      padding: 15px;
      text-align: left;
      font-size: 14px;*/
    list-style: none;
    text-align: left;
    margin: 15px 0;
    }

.package ul li {
      /*margin-bottom: 8px;*/
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    color: #ffffff;
}

.package p {
      font-style: italic;
      padding: 10px;
      font-size: 14px;
}

/*new */
.package h3 {
  font-size: 15px;
  color: #ffffff;
  margin-top: 15px;
}

.banner {
  background: #ff6600;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 20px;
  font-weight: bold;
}

.why-choose {
      background: white;
      padding: 20px;
      text-align: center;
}

.why-choose h3 {
      font-size: 22px;
      margin-bottom: 15px;
}

.reasons {
      display: flex;
      justify-content: center;
      gap: 30px;
}

.reason {
      font-size: 14px;
      color: #333;
}
    
