@font-face {
  font-family: "UN-Arundathee";
  src: url("../font/UN-Arundathee.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "UN-Ganganee";
  src: url("../font/UN-Ganganee.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* --- GLOBAL STYLES --- */
body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa;
}

:root {
  --primary-orange: #ff5733;
  --primary-blue: #0b1c3c;
  --footer-bg: #051024;
  /* Darker blue for footer based on image */
  --footer-gold: #ffc107;
}

.btn-sinhala {
  font-family: "UN-Ganganee", sans-serif;
}

.btn-custom-orange {
  background-color: var(--primary-orange);
  color: white;
  border-radius: 5px;
  padding: 8px 25px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
}

.btn-custom-orange:hover {
  background-color: #e64a19;
  color: white;
  transform: translateY(-2px);
}

/* --- HEADER / NAVBAR --- */
.navbar {
  background: linear-gradient(180deg, #0d101a 15%, rgba(13, 16, 26, 0.3) 73%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;

  padding: 20px 0;
  backdrop-filter: none;
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: white !important;
  margin-right: 20px;
  font-weight: 400;
}

.nav-link.active, .nav-link:hover {
  color: var(--primary-orange) !important;
}

.nav-user-name {
  color: #f0f4f8;
}
.nav-avatar {
  width:  50px;
}
/* --- HERO SECTION --- */
.hero-section {
    height: 90vh;
  background:
    /* LAYER 1: The Figma Gradient (Top Header Shadow) */
    /* 15% mark is solid color, 73% mark is 30% opacity, fading to clear at bottom */
    linear-gradient(
      180deg,
      #0d101a96 15%,
      rgba(13, 16, 26, 0.3) 73%,
      rgba(13, 16, 26, 0) 100%
    ),
    /* LAYER 2: The General Dark Overlay (Optional, keeps text readable) */
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    /* LAYER 3: The Image */ url('../img/hero_background.jpg') no-repeat
      center center;

  background-size: cover;
  color: #ffffff;
  text-align: center;

  /* Increased top padding so the text doesn't hide behind the navbar */
  padding: 200px 0 250px;

  position: relative;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.fontType {
    font-family: "Noto Serif", serif !important;
}

.policies a {
    color: white;
    font-size: 0.9em;
    margin-right: 20px;
    transition: transform 0.3s;
    text-decoration: none;
}

.hero-section2{
    height: 40vh;
}

/* Maintain your existing white curve */
.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 100px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: "UN-Arundathee", "Poppins", sans-serif;
  letter-spacing: 2px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #ffffff;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* --- SEARCH FILTER BAR (Floating) --- */
.search-container {
  margin-top: -60px;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.search-title {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.form-select,
.btn-search {
  height: 50px;
  border-radius: 8px;
}

.btn-search {
  background-color: var(--primary-blue);
  color: white;
  width: 100%;
}

/* --- CARDS SECTION --- */
.education-cards {
  padding: 80px 0;
}

.course-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
  height: 100%;
  transition: transform 0.3s;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body h5 {
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 15px;
}

.card-body p {
  font-size: 0.85rem;
  color: #666;
  padding: 0 15px;
}

/* Contact Icons */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon-box {
  background-color: var(--footer-gold);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-icon-box i {
  color: #000;
  font-size: 1rem;
}

.contact-info a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: block;
}

/* Social Icons & Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 40px;
}

.social-icons a {
  color: white;
  font-size: 1.3rem;
  margin-right: 20px;
  transition: transform 0.3s;
}

.social-icons a:hover {
  color: var(--primary-orange);
  transform: translateY(-3px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .footer-bottom {
    text-align: center;
  }

  .social-icons {
    margin-bottom: 15px;
    justify-content: center;
    display: flex;
  }

  .footer-logo {
    margin-top: 0;
  }
}

/* --- Section Styling --- */
.testimonial-section {
  padding: 80px 0;
}

/* --- Heading Styling --- */
.section-title {
  font-family: "Noto Sans Sinhala", sans-serif; /* Sinhala Font */
  font-weight: 700;
  color: #0b1c3c;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight-text {
  color: #ff5733; /* The specific orange from the image */
}

.section-subtitle {
  color: #888;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

/* --- Card Styling --- */
.testimonial-card {
  background: white;
  border: none;
  border-radius: 20px; /* High border radius for soft look */
  padding: 30px;
  height: 100%;
  transition: transform 0.3s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Soft, spread-out shadow */
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

/* Star Ratings */
.star-rating {
  color: #ffaa1c; /* Golden yellow for stars */
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Review Text */
.review-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 400;
}

/* User Profile Area */
.user-profile {
  display: flex;
  align-items: center;
}

.user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.user-info h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.user-info span {
  font-size: 0.85rem;
  color: #999;
}

/* Unique Namespace for this section to prevent conflicts */
.inq-section-wrapper {
  padding: 50px 0;
  background-color: #fff; /* or transparent */
  font-family: "Poppins", sans-serif;
}

/* Yellow Container Card */
.inq-card {
  background-color: #ffc107; /* The bright yellow/orange color */
  border-radius: 25px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

/* --- Left Side Typography --- */
.inq-heading {
  font-family: "UN-Arundathee", "Poppins", sans-serif;
  font-weight: 700;
  color: #000;
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.inq-subtext {
  font-family: "UN-Ganganee", "Poppins", sans-serif;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 90%;
}

/* --- Form Styling --- */
.inq-form-group {
  margin-bottom: 15px;
}

/* Custom Input Styling to match image (White, no border, rounded) */
.inq-input-container {
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 5px 15px;
  height: 55px;
}

.inq-flag-icon {
  width: 24px;
  height: auto;
  margin-right: 8px;
}

.inq-country-code {
  font-weight: 600;
  color: #666;
  margin-right: 10px;
  padding-right: 10px;
  border-right: 1px solid #eee;
}

.inq-form-control {
  border: none;
  outline: none;
  width: 100%;
  color: #333;
  background: transparent;
}

.inq-form-control::placeholder {
  color: #aaa;
  font-size: 0.9rem;
}

/* Textarea specific */
.inq-textarea-container {
  background: white;
  border-radius: 12px;
  padding: 15px;
  height: 274px;
}

.inq-textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  resize: none;
}

/* Submit Button */
.inq-btn-submit {
  background-color: #0b1c3c; /* Dark Blue */
  color: white;
  border: none;
  border-radius: 10px;
  width: 100%; /* Full width specifically for the layout */
  padding: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s;
}

.inq-btn-submit:hover {
  background-color: #152c55;
  color: #ffc107;
}

/* --- Right Side Image Grid --- */
.inq-image-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* Large image takes more space */
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  height: 100%;
  min-height: 300px; /* Ensure height on mobile */
}

.inq-grid-item-main {
  grid-row: 1 / span 2; /* Spans full height */
  background-color: #00d2be; /* Teal background from image */
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inq-grid-item-small {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inq-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Specific adjustments for the illustrations to look like the design */
.inq-grid-item-main img {
  object-fit: contain;
  width: 90%;
}

/* Decoration triangle (Top left orange arrow effect) */
.inq-decoration-arrow {
  position: absolute;
  top: 20px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 20px solid #e6a800; /* Darker shade of yellow */
  transform: rotate(45deg); /* Rough approximation of the shape */
  opacity: 0.5;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .inq-card {
    padding: 30px 20px;
  }
  .inq-image-grid {
    margin-top: 40px;
    min-height: 250px;
  }
  .inq-heading {
    font-size: 1.8rem;
  }
}

/* --- Section Styles --- */
.teachers-section {
  padding: 60px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-family: "UN-Arundathee", "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0b1c3c;
  margin-bottom: 50px;
}

.highlight-text {
  color: #ff5733; /* Orange color for 'Teachers' word */
}

/* --- Swiper Card Styles --- */
.swiper-slide {
  padding-bottom: 30px; /* Space for shadow */
  padding-top: 10px; /* Space for hover effect */
}

.teacher-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
  height: 400px; /* Fixed height for consistency */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
}

.teacher-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* The floating white info box at the bottom */
.teacher-info {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.teacher-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0b1c3c;
  margin-bottom: 5px;
}

.teacher-role {
  font-size: 0.85rem;
  color: #ff5733;
  font-weight: 500;
  margin: 0;
}

/* --- Custom Navigation Buttons --- */
.swiper-button-next,
.swiper-button-prev {
  background-color: #ffaa1c; /* Yellow/Orange background */
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white !important;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(255, 170, 28, 0.4);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important; /* Smaller arrow icon size */
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #ff9000;
}

/* Fix button positioning to be outside container on desktop if needed */
@media (min-width: 992px) {
  .swiper-button-prev {
    left: -60px;
  }
  .swiper-button-next {
    right: -60px;
  }
}

.news-section {
  padding: 80px 0;
}

/* --- Section Header --- */
.section-title {
  font-weight: 700;
  color: #222;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.text-orange {
  color: #ff5733;
}

.section-subtitle {
  color: #777;
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.dashed-separator {
  border-top: 2px dashed #ff5733;
  width: 80px;
  margin: 20px auto 50px auto;
  opacity: 0.6;
}

/* --- Left Column: Featured Article --- */
.featured-img-frame {
  border: 1px solid #ff5733; /* The orange border line */
  border-radius: 15px;
  padding: 10px; /* Space between image and border */
  margin-bottom: 25px;
  background: white;
}

.featured-img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.featured-title {
  font-weight: 700;
  color: #0b1c3c;
  font-size: 1.2rem;
  line-height: 1.4;
  max-width: 85%;
}

.article-date {
  font-size: 0.8rem;
  color: #999;
  white-space: nowrap;
  margin-top: 5px;
}

.article-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-upload {
  background-color: #0b1c3c;
  color: white;
  padding: 10px 30px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  transition: all 0.3s;
}

.btn-upload:hover {
  background-color: #152c55;
  color: white;
}

/* --- Right Column: News List --- */
.news-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.news-thumb {
  width: 130px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0; /* Prevents image from shrinking */
}

.news-content h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-content p {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limits text to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .news-thumb {
    width: 100px;
    height: 90px;
  }
  .featured-header {
    flex-direction: column;
  }
  .article-date {
    margin-top: 5px;
    margin-bottom: 10px;
  }
}

/* --- Library Banner Container --- */
.library-section {
  padding: 40px 0;
  background-color: #fff;
}

.library-banner {
  /* Deep Blue/Purple Gradient Background */
  background: rgb(32, 32, 70);
  background: radial-gradient(
    circle at 10% 20%,
    rgba(45, 45, 90, 1) 0%,
    rgba(20, 20, 50, 1) 90%
  );
  border-top-right-radius: 40px;
  border-top-left-radius: 40px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(11, 28, 60, 0.15);
}

/* Decorative Circles (CSS only to mimic abstract background) */
.library-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.library-banner::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: 20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* --- Text Content --- */
.lib-title {
  color: white;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 25px;
}

.lib-desc {
  color: rgba(255, 255, 255, 0.85);
  font-family: "UN-Ganganee", "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 90%;
}

.btn-lib-cta {
  background-color: #ff5733;
  color: white;
  padding: 12px 35px;
  border-radius: 8px;
  font-family: "UN-Ganganee", sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 87, 51, 0.3);
}

.btn-lib-cta:hover {
  background-color: #e64a19;
  color: white;
  transform: translateY(-2px);
}

/* --- Image Content --- */
.lib-image-container {
  background: white;
  border-radius: 30px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 300px;
  position: relative;
  z-index: 2; /* Ensures image is above background decorations */
}

.lib-img {
  max-width: 100%;
  height: auto;
}

/* Mobile Responsive Tweaks */
@media (max-width: 991px) {
  .library-banner {
    padding: 40px 30px;
    text-align: center;
  }
  .lib-title {
    font-size: 2rem;
  }
  .lib-desc {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .lib-image-container {
    margin-top: 40px;
    min-height: auto;
  }
}

.why-us-section {
  padding: 80px 0;
  background-color: #fff;
}

/* --- Left Side: Video Image Wrapper --- */
.video-card-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* Dark Overlay */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent dark layer */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
  z-index: 3;
}

.video-card-wrapper:hover .video-overlay {
  background-color: rgba(0, 0, 0, 0.1); /* Lighten on hover */
}

.video-card-wrapper:hover .video-thumb {
  transform: scale(1.02);
}

/* Play Button */
.play-btn-circle {
  width: 70px;
  height: 70px;
  background-color: #ff5733; /* Orange */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 0 0 8px rgba(255, 87, 51, 0.3); /* Pulse effect ring */
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.video-card-wrapper:hover .play-btn-circle {
  transform: scale(1.1);
}

.watch-text {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Right Side: Content --- */
.heading-english {
  font-family: "Noto Serif", serif; /* Serif font for English part */
  font-weight: 700;
  color: #222;
}

.heading-sinhala {
  font-family: "UN-Arundathee", sans-serif;
  font-weight: 700;
  color: #222;
}

.section-desc {
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-top: 20px;
  margin-bottom: 30px;
}

/* Numbered Features */
.feature-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.num-icon {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.num-blue {
  background-color: #0d6efd;
} /* Bootstrap Primary Blue */
.num-orange {
  background-color: #ff5733;
} /* Custom Orange */

.feature-content h6 {
  font-weight: 700;
  color: #222;
  margin-bottom: 5px;
  font-size: 1rem;
}

.feature-content p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.4;
  margin: 0;
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
  .video-card-wrapper {
    margin-bottom: 40px;
  }
  .section-heading h2 {
    font-size: 1.8rem;
  }
}

.path-section {
  background-image: url(../images/path_sec.png);
  background-color: #ffffff;
  position: relative;
  z-index: 2; /* Ensures it sits ON TOP of the previous section */

  /* 1. Add the curve directly here */
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;

  /* 2. Pull the whole section UP to overlap the Hero image */
  margin-top: -50px;

  /* 3. Adjust padding so text doesn't hit the top edge */
  padding: 100px 100px;
}

.path-section::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  z-index: 1;
}

/* --- Header Text --- */
.path-title {
  font-family: "UN-Arundathee", sans-serif;
  font-weight: 700;
  color: #222;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.path-highlight {
  color: #ff5733;
}

.path-subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 750px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.path-subtitle-sinhala {
    font-family: "UN-Ganganee", sans-serif;
}

/* --- Floating Search Bar --- */
.search-bar-wrapper {
  background: white;
  padding: 25px 35px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.search-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  display: block;
}

.search-label small {
  color: #888;
  font-weight: 400;
}

.form-select {
  border: 1px solid #eee;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
}

.form-select:focus {
  box-shadow: none;
  border-color: #ff5733;
}

.btn-search-main {
  background-color: #0b1c3c;
  color: white;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  transition: all 0.3s;
  min-height: 45px; /* Ensure height matches inputs */
}

.btn-search-main:hover {
  background-color: #152c55;
}

/* --- Cards Grid --- */
.path-card {
  background: white;
  border-radius: 25px; /* Round corners for the whole card */
  overflow: hidden; /* Ensures image respects the border radius */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  border: none;
  display: flex;
  flex-direction: column; /* Stacks image and text vertically */
}

.path-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Image Section - Top Half */
.card-img-container {
  height: 240px; /* Taller height for 2x2 grid */
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #f0f4f8; /* Fallback color */
  /* No margin or border-radius needed here because parent has overflow:hidden */
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the area */
  transition: transform 0.5s ease;
}

.path-card:hover .card-img-top {
  transform: scale(1.05); /* Subtle zoom effect on hover */
}

/* Text Content Section - Bottom Half */
.path-card-body {
  padding: 30px; /* White space around text */
  flex-grow: 1; /* Pushes button to bottom if text is short */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
}

.card-title-main {
  font-weight: 700;
  color: #0b1c3c;
  font-size: 1.4rem; /* Larger font for 2x2 grid */
}

.badge-grade {
  background-color: #eef2ff;
  color: #0b1c3c;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.card-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 25px;
}

.btn-card-action {
  background-color: #ff5733;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-family: "UN-Ganganee", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  width: 100%; /* Full width button looks better in this layout */
  transition: background 0.3s;
}

.btn-card-action:hover {
  background-color: #e64a19;
  color: white;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .path-title {
    font-size: 1.8rem;
  }
  .search-bar-wrapper {
    padding: 20px;
  }
  .btn-search-main {
    margin-top: 15px;
  }
}

/* --- FOOTER STYLES --- */
footer {
  background-color: var(--footer-bg);
  color: #e0e0e0;
  padding-top: 60px;
  padding-bottom: 20px;
  font-size: 0.9rem;
}

.footer-logo {
  width: 100px;
  margin-bottom: 20px;
  /* border: 1px solid #ffc107; */
  padding: 5px;
  border-radius: 10px;
}

.footer-heading {
  color: white;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
}

/* Custom Bullet Points */
.footer-links li::before {
  content: "•";
  color: white;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

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

.footer-links a:hover {
  color: var(--primary-orange);
}

/* --- Main Container Card --- */
.signup-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  display: flex;
}

/* --- Left Side: Image --- */
.signup-image-side {
  flex: 1;
  background-color: #e0f7fa;
  /* Fallback color */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.signup-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Right Side: Form --- */
.signup-form-side {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Social Buttons */
.btn-social {
  background: white;
  border: 1px solid #ddd;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-social:hover {
  background-color: #f9f9f9;
  border-color: #ccc;
}

.social-icon {
  font-size: 1.2rem;
}

/* Divider */
.divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin: 20px 0;
}

.divider-text::before,
.divider-text::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #eee;
}

.divider-text::before {
  margin-right: 15px;
}

.divider-text::after {
  margin-left: 15px;
}

/* Form Fields */
.form-label-custom {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 5px;
  display: block;
}

.form-control-custom {
  background-color: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.95rem;
  color: #333;
}

.form-control-custom:focus {
  border-color: #0b1c3c;
  box-shadow: none;
  background-color: white;
}

/* Phone Input Group */
.phone-group {
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fdfdfd;
}

.phone-flag {
  background: #fdfdfd;
  border: none;
  padding: 0 10px 0 15px;
  display: flex;
  align-items: center;
  border-right: 1px solid #eee;
}

.phone-input {
  border: none;
  flex-grow: 1;
  padding: 12px 15px;
  outline: none;
  background: transparent;
}

/* Create Account Button */
.btn-create-account {
  background-color: #0b1c3c;
  /* Dark Blue */
  color: white;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  border: none;
  width: 100%;
  margin-top: 20px;
  transition: background 0.3s;
}

.btn-create-account:hover {
  background-color: #152c55;
  color: white;
}

.login-link {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #666;
}

.login-link a {
  color: #333;
  font-weight: 600;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .signup-image-side {
    display: none;
    /* Hide image on smaller screens */
  }

  .signup-form-side {
    padding: 30px;
  }
}

/* --- About Section Styles --- */
.about-section {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background behind the card */
}

/* White Card Container */
.about-card {
  background: white;
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin: 0 auto;
}

/* Title */
.about-title {
  text-align: center;
  font-family: "Poppins", sans-serif; /* Or serif if preferred */
  font-weight: 700;
  font-size: 2.2rem;
  color: #0b1c3c; /* Dark Blue */
  margin-bottom: 50px;
}

.text-orange {
  color: #ff5733; /* Orange highlight */
}

/* Video/Image Wrapper */
.video-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

/* The Orange Background Shape */
.video-bg-shape {
  position: absolute;
  top: 20px;
  left: -20px;
  width: calc(100% + 40px); /* Slightly wider than image */
  height: 100%;
  background-color: #ff5733;
  border-radius: 20px;
  z-index: 1;
}

/* The Image */
.video-thumb {
  width: 100%;
  border-radius: 15px;
  position: relative;
  z-index: 2;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Play Button Overlay */
.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  transition: all 0.3s;
}

.play-btn-overlay:hover {
  background-color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-btn-overlay i {
  color: #555;
  font-size: 1.2rem;
  margin-left: 4px; /* Optical center adjustment */
}

/* Text Content */
.about-content p {
  color: #777;
  line-height: 1.8;
  font-size: 0.9rem;
  text-align: justify; /* Matches the image text alignment */
  margin-bottom: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-card {
    padding: 30px 20px;
    border-radius: 20px;
  }
  .about-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .video-bg-shape {
    left: -10px;
    width: calc(100% + 20px);
    top: 10px;
  }
  .about-content p {
    text-align: left; /* Justify can look bad on small screens */
  }
}
/* --- SHARED STYLES --- */
.section-padding {
  padding: 80px 0;
}

.text-orange {
  color: #ff5733 !important;
}

.text-dark-blue {
  color: #0b1c3c;
}

/* Orange Decorative Shape */
.bg-shape-orange {
  position: absolute;
  background-color: #ffc107; /* Yellow-Orange */
  z-index: 0;
  border-radius: 20px;
}

/* --- SECTION 1: PHYSICAL CLASSROOM --- */
.feature-title {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
  text-align: justify;
}

.read-more-link {
  color: #0b1c3c;
  font-weight: 700;
  text-decoration: underline;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.read-more-link:hover {
  color: #ff5733;
}

.classroom-img-wrapper {
  position: relative;
  padding: 15px 0 0 15px; /* Space for the shape to poke out */
}

.classroom-img {
  width: 100%;
  border-radius: 15px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shape-classroom {
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  width: 40%;
  height: 40%;
}

/* --- SECTION 2: ABOUT VIDEO --- */
.about-video-section {
  background-color: #fff;
}

.about-heading {
  text-align: center;
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #0b1c3c;
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.video-thumbnail {
  width: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
  background-color: #ff5733;
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
  font-size: 1.5rem;
  margin-left: 5px; /* Center alignment adjustment */
}

.shape-video {
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: #ff9800; /* Darker orange for this section */
  border-radius: 20px;
  opacity: 0.8;
}

.about-text-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
  color: #777;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .feature-title {
    font-size: 1.8rem;
  }
  .classroom-img-wrapper {
    margin-top: 30px;
  }
  .shape-video {
    left: -10px;
    width: 100%;
  }
}

.video-highlight-section {
  padding: 60px 20px;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.video-wrapper-custom {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: 20px; /* Space for the shapes to protrude */
}

/* --- Decorative Shapes --- */
.shape-deco {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 20px;
  z-index: 0; /* Behind the image */
}

/* Top Left Yellow Shape */
.shape-top-left {
  top: -20px;
  left: -20px;
  background-color: #ffb400; /* Yellow-Orange */
  height: 60%; /* Adapts to height */
  width: 20%;
}

/* Bottom Right Orange Shape */
.shape-bottom-right {
  bottom: -20px;
  right: -20px;
  background-color: #ff5733; /* Red-Orange */
  height: 40%;
  width: 30%;
}

/* --- Video Image Container --- */
.video-content {
  position: relative;
  z-index: 1; /* On top of shapes */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  background-color: #000; /* Fallback */
}

.video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9; /* Slight tint */
  transition: opacity 0.3s;
}

.video-content:hover .video-thumbnail {
  opacity: 0.7;
}

/* --- Play Button --- */
.play-btn-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  z-index: 2;
}

.play-btn-center i {
  color: #555;
  font-size: 1.5rem;
  margin-left: 4px; /* Visual centering adjustment */
}

/* Hover Effect for Button */
.video-wrapper-custom:hover .play-btn-center {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .video-highlight-section {
    padding: 40px 15px;
  }
  .shape-top-left {
    width: 40px; /* Smaller visible strip on mobile */
    top: -10px;
    left: -10px;
  }
  .shape-bottom-right {
    width: 80px;
    bottom: -10px;
    right: -10px;
  }
  .play-btn-center {
    width: 50px;
    height: 50px;
  }
  .play-btn-center i {
    font-size: 1rem;
  }
}

/* --- Main Container --- */
.articles-wrapper {
  background-color: #f4f4f4; /* Light grey background */
  border-radius: 30px;
  padding: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Article Card Item --- */
.article-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.article-img {
  width: 140px;
  height: 140px;
  border-radius: 15px;
  object-fit: cover;
  flex-shrink: 0; /* Prevent image from squishing */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-content {
  flex-grow: 1;
}

.article-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-desc {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0b1c3c;
  text-decoration: underline;
  transition: color 0.3s;
}

.read-more-btn:hover {
  color: #ff5733;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .articles-wrapper {
    padding: 30px;
  }
  .path-section{
    padding: 50px 20px;
  }
}

@media (max-width: 576px) {
  .article-item {
    flex-direction: column; /* Stack image on top of text on very small screens */
    align-items: flex-start;
    text-align: left;
  }
  .article-img {
    width: 100%;
    height: 200px;
  }
}
