@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;

}

body {
  font-family: "Poppins", sans-serif;
  user-select: none;    /* prevents one from selecting items on the page */
}

.navbar {
  width: 100%;
  position: sticky; /* Sticky header */
  top: 0;
  background: #fff;
  z-index: 9999;
}

/* Top Row */
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #f8f8f8;
}

.logo img {
  /* height: 40px; */
  width: 120px;
  cursor: pointer;
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Sign In Button */
.signin-btn {
  background-color: #007bff;
  color: #fff !important;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.signin-btn:hover {
  background-color: #0069d9;
}

/* Hamburger */
.hamburger {
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* Second Row (Desktop Default) */
.menu-row {
  background: #fff;
  border-top: 1px solid #ddd;
}

.main-menu {
  display: flex;
  justify-content: center;
  list-style: none;
}

.menu-item {
  position: relative;
}

.menu-item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  /* font-family: Arial, sans-serif; */
}

.menu-item li{
  font-size: 0.9rem;
 font-family: Arial, sans-serif;
}

.menu-item .icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* Dropdown (Desktop) */
.submenu {
  display: block;
  position: absolute;
  background: #fff;
  list-style: none;
  min-width: 150px;
  border: 1px solid #ddd;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  z-index: 999;
}

.submenu li a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #333;
}

.submenu li a:hover {
  background: #f2f2f2;
}

/* Hover on Desktop */
@media (hover: hover) {
  .menu-item:hover .submenu {
    max-height: 500px; /* Enough to show submenu */
    opacity: 1;
  }
}

/* ✅ Mobile Styles */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .menu-row {
    display: none;
    width: 100%;
  }

  .show-menu {
    display: block;
  }

  .main-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: #007bff;
  }

  .menu-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background: #fafafa;
    background: #007bff;
  }

  .menu-item > a {
    padding: 0;
     color: #fff;
  }

  .menu-item .icon {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  /* Submenu Dropdown for Mobile with Slide + Fade */
  .submenu {
    position: static;
    border: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background-color: #b8d0ea;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  .show-submenu {
    max-height: 500px;
    opacity: 1;
  }

  .submenu li a {
    padding: 0.6rem 1rem;
    text-align: left;
    border-top: 1px solid #eee;
    color: #030303;
  } 
  
  .signin-btn{
    padding: 0.5rem 0.5rem;
    font-size: 15px;
  }
}
/* Hide menu icons on desktop */
@media screen and (min-width: 769px) {
  .menu-item .icon {
    display: none;
  }
}
/* Desktop hover underline effect for main menu items (closer to text) */
@media screen and (min-width: 769px) {
  .menu-item > a {
    position: relative;
  }

  .menu-item > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px; /* Thickness of underline */
    background-color: #007bff; /* Underline color */
    left: 0;
    bottom: 4px; /* Reduced distance to text */
    transition: width 0.3s ease;
  }

  .menu-item > a:hover::after {
    width: 100%;
  }
}



/* Learn more section  */
/* Hero / Landing Section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 500px; /* Adjust height as needed */
  background: url('images/homepage-pic.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.hero-content {
  max-width: 600px;
  color: #fff;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #007bff;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.hero-btn i {
  font-size: 1.2rem;
}

.hero-btn:hover {
  background-color: #0069d9;
}

/* Optional overlay for readability */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0,0,0,0.4); */
  z-index: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .hero-section {
    padding: 1.5rem;
    min-height: 400px;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 50%;
    justify-content: center;
    padding: 0.7rem 1rem;
  }
}

/* OUR MISSION SECTION  */
/* Our Mission Section */
.mission-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fff;
}

.mission-section h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
  color: #222;
  position: relative;
}

/* Cards Layout */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  justify-content: center;
}

.mission-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Image Container for Zoom */
.mission-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  transition: transform 0.5s ease;
}

/* Hover Effects */
.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.mission-card:hover img {
  transform: scale(1.08);
}

.mission-card p {
  padding: 1rem;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.mission-card a {
  display: inline-block;
  padding: 0 1rem 1.5rem;
  color: #007bff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mission-card a:hover {
  color: #0056b3;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .mission-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .mission-cards {
    grid-template-columns: 1fr;
  }

  .mission-card img {
    height: 220px;
  }

  .mission-section {
    padding: 3rem 1rem;
  }
}
/* prep section  */
.prep-section {
  padding: 40px 5%;
  background: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.prep-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.prep-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #222;
}

.view-all {
  text-decoration: none;
  color: #372b8c;
  font-weight: 500;
  border-bottom: 2px solid #372b8c;
}

.prep-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
  max-width: 700px;
}

.card-container {
  overflow-x: hidden;
  position: relative;
}

.cards {
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 200px;
  background: #f5f5f5;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card a {
  display: block;
  margin-top: 12px;
  color: #372b8c;
  font-size: 14px;
  text-decoration: none;
}

.scroll-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 25px;
}

.scroll-buttons button {
  background: #372b8c;
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.scroll-buttons button:hover {
  background: #1e1666;
}


/* Join the conversation section  */
/* Section Styling */
.community-section {
  background-color: #1d0e66; /* Deep purple background */
  color: #fff;
  padding: 80px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Layout */
.community-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  position: relative;
}

/* Image and Dotted Overlay */
.community-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
}

.dotted-overlay {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 80%;
  height: 80%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 8px 8px;
  border-radius: 20px;
  z-index: 1;
  animation: floatPattern 6s ease-in-out infinite alternate;
}

/* Floating animation for dotted pattern */
@keyframes floatPattern {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translate(10px, -10px) rotate(2deg);
    opacity: 0.9;
  }
  100% {
    transform: translate(-10px, 10px) rotate(-2deg);
    opacity: 0.8;
  }
}

.community-image-wrapper img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px 30px 0 30px;
  object-fit: cover;
  z-index: 2;
}

/* Text Content */
.community-text {
  position: relative;
  z-index: 3;
}

.community-text h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
}

.community-text p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #e8e6f0;
  max-width: 480px;
}

/* Button */
.community-btn {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.community-btn:hover {
  background-color: #fff;
  color: #1d0e66;
}

/* Responsive Design */
@media (max-width: 850px) {
  .community-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .community-image-wrapper {
    height: 300px;
  }

  .dotted-overlay {
    top: -30px;
    left: 0;
    width: 90%;
    height: 70%;
  }

  .community-text h2 {
    font-size: 28px;
  }

  .community-btn {
    margin: 0 auto;
  }
}


/* News Article Section  */
 .news-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  font-family: Arial, sans-serif;
}

.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.news-header p {
  color: #555;
  font-size: 16px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-tag {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 6px 14px;
  margin: 15px 0 10px 15px;
  font-size: 12px;
  border-radius: 20px;
}

.news-card h3 {
  margin: 0 15px 10px;
  font-size: 18px;
}

.news-card a {
  display: inline-block;
  margin: 0 15px 20px;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.news-card a i {
  margin-left: 6px;
}

.news-card a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Work With US Section */
.work-with-us {
  padding: 60px 7%;
  background: url('images/work2.jpg') center/cover no-repeat;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  color: #fff;
}

/* Optional: dark overlay for readability */
.work-with-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.work-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
}

.work-content h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #fff;
}

.work-content p {
  font-size: 16px;
  color: #e8e8e8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.work-btn {
  display: inline-block;
  background: #1e73ff;
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 6px;
  transition: 0.3s ease;
  font-size: 15px;
}

.work-btn:hover {
  background: #155bd6;
}

.work-features {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  color: #222;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.5;
}

/* ✅ Responsive Design */
@media (max-width: 992px) {
  .work-wrapper {
    grid-template-columns: 1fr;
  }
  .work-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .work-features {
    grid-template-columns: 1fr;
  }
}



/* Footer section  */
.site-footer {
  background: #1d0e66;
  color: #fff;
  padding: 50px 5% 30px;
  font-family: Arial, sans-serif;
}

/* Top Section */
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo img {
  width: 140px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #d1cce7;
  font-size: 15px;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

/* Social Section */
.footer-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.social-icons a {
  color: #fff;
  font-size: 18px;
  margin-right: 18px;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 0.7;
}

.footer-country {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 20px 0;
}

/* Bottom Links */
.footer-bottom {
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-links a {
  color: #d1cce7;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom p {
  font-size: 14px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-columns {
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}


/* TESTIMONIALS  */

/* --- SLIDER BASE STYLES --- */
.slider-section {
    padding: 40px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.slider-container {
    /* REDUCED MAX-WIDTH: This is the main change to shrink the overall slider width */
    max-width: 700px; 
    margin: 30px auto;
    position: relative;
    overflow: hidden; 
    /* Increased horizontal padding to keep buttons outside the smaller card area */
    padding: 0 60px; 
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth sliding transition */
}

/* --- INDIVIDUAL SLIDE CARD STYLING (The content and layout) --- */
.testimonial-slide {
    /* No change needed here, as it still takes 100% of the *new* smaller container width */
    flex: 0 0 100%;
    width: 100%; 
    box-sizing: border-box; 
    
    /* Reduced padding inside the card for a smaller internal space */
    padding: 20px; 
    
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* --- CARD INNER ELEMENTS --- */
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.client-photo {
    /* Slightly smaller image */
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-info .client-name {
    font-size: 1.1em; /* Slight reduction from 1.2em */
    margin: 0 0 4px 0;
}


.client-info .client-position {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

/* --- STAR RATING --- */
.star-rating {
    margin-bottom: 15px;
}

.star {
    color: gold;
    font-size: 1.2em;
}

.star-empty {
    color: lightgray;
    font-size: 1.4em;
}

/* --- NAVIGATION BUTTONS --- */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff; /* Button color */
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5em;
    border-radius: 4px;
    line-height: 1;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-btn:hover {
    background: #0056b3;
}

.slider-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ===== Partnerships with Schools Section ===== */
body .partnership-section {
  background: #f9fafc;
  padding: 70px 20px;
}

.partnership-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 25px;
  max-width: 1500px;
  margin: 0 auto;
}

/* Image Cards */
.image-card img {
  width: 100%;
  height: 350px; /* Reduced height */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-card img:hover {
  transform: scale(1.03);
}

/* Text Card */
.text-card {
  background: #fff;
  padding: 50px 10px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.icon-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.icon-heading i {
  font-size: 1.8rem;
  color: #007bff;
}

.text-card h2 {
  font-size: 1.7rem;
  color: #111;
  margin: 0;
}

.text-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 14px;
}

.partnership-btn {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  width: fit-content;
  transition: background 0.3s ease;
}

.partnership-btn:hover {
  background: #0056b3;
}

/* ===== Alternating Layout on Desktop ===== */
@media (min-width: 900px) {
  .partnership-container {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* alternate order for more dynamic layout */
  .partnership-card:nth-child(1) {
    order: 1;
  }
  .partnership-card:nth-child(2) {
    order: 2;
  }
  .partnership-card:nth-child(3) {
    order: 3;
  }
}

/* ===== Responsive Layout ===== */
@media (max-width: 768px) {
  .partnership-container {
    grid-template-columns: 1fr;
  }

  .image-card img {
    height: 250px;
  }

  .text-card h2 {
    font-size: 1.5rem;
  }
}



