/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #0b3d91; /* Deep sea blue */
  color: #fff;
}

/* ===== Header ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #004080;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .logo img {
  height: 50px;
}
/* Default Logo Styling (Desktop) */
.logo h1 {
  font-size: 20px; /* Larger font size for desktop */
  font-weight: bold;
  color: #FFD700; /* Deep blue color */
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Arial', sans-serif; /* Custom font */
  margin: 0;
  padding: 10px;
  text-align: center; /* Center the text */
}

/* Hover effect for desktop */
.logo h1:hover {
  color: #006699; /* Lighter blue on hover */
  cursor: pointer;
}

/* Mobile Styling */
@media (max-width: 768px) {
  .logo h1 {
    font-size: 20px;
    color: #FFD700;
    font-weight: bold;/* Smaller size for tablets */
    padding: 8px;
    text-align: center;
  }
}

/* Mobile Portrait Styling (for very small screens like phones) */
@media (max-width: 480px) {
  .logo h1 {
    font-size: 15px;
    color: #FFD700;
    font-weight: bold;
    padding: 6px;
  }
}


/* Desktop Navigation */
.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.desktop-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s;
}
.desktop-nav ul li a:hover {
  color: #ffd700; /* gold hover */
  transform: scale(1.05);
}

/* Mobile Navigation */
/* Mobile Navigation Toggle Button (Hamburger) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hamburger to X Animation */
.nav-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -250px; /* hidden by default */
  width: 250px;
  height: 100%;
  background: #003366;
  flex-direction: column;
  padding: 20px;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

/* When menu is shown */
.mobile-nav.show {
  right: 0;
}

/* Close (X) Button */
.close-nav {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Navigation Links */
.mobile-nav .nav-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 60px 0 0 0; /* space for close button */
  margin: 0;
}

.mobile-nav .nav-links li {
  margin: 15px 0;
}

.mobile-nav .nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s;
}

.mobile-nav .nav-links li a:hover {
  color: #ffd700;
}

/* Optional: Hide nav-toggle and mobile-nav on desktop */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}


/* ===== Banner ===== */
.banner {
  position: relative;
  overflow: hidden;
  height: 400px;
}
.banner-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.banner-item {
  min-width: 100%;
  position: relative;
  display: none;
}
.banner-item.active {
  display: block;
}
.banner-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.tagline {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

/* Banner Dots (small) */
.dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}
.dots span {
  display: inline-block;
  height: 8px; /* smaller dot */
  width: 8px;  /* smaller dot */
  margin: 0 4px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.dots .active {
  background: #ffd700; /* gold for active dot */
}

/* ===== Form Section ===== */
.form-section {
  padding: 40px 20px;
  background: #002b5c;
}
.form-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
}
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
form label {
  margin: 10px 0 5px;
}
form input, form select, form button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}
form input, form select {
  width: 100%;
}
form button {
  background: #ffd700;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
form button:hover {
  background: #e6c200;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .banner {
    height: 250px;
  }
  .banner-item img {
    height: 250px;
  }
  .tagline {
    font-size: 14px;
    padding: 6px 12px;
  }
}

/* Auto-hide mobile nav if screen width increases */
@media (min-width: 769px) {
  .mobile-nav {
    right: -250px !important;
  }
}
/* ===== About Us Section ===== */
.about-us {
  background-color: #f0f8ff; /* Light sea blue */
  padding: 60px 20px;
  color: #0b3d91;
  font-family: Arial, sans-serif;
}

.about-us .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.mission-vision {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.mission, .vision {
  flex: 1 1 200px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mission h3, .vision h3 {
  color: #0b3d91;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.mission p, .vision p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== Fade-in animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .about-text h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .mission-vision {
    flex-direction: column;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .mission, .vision {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .about-us {
    padding: 40px 15px;
  }

  .about-text h2 {
    font-size: 1.5rem;
  }

  .about-text p, .mission p, .vision p {
    font-size: 0.9rem;
  }
}
root{
gap: 18px;
padding: 0;
margin: 0;
}


.features li{
background: rgba(255,255,255,0.04);
border-radius: 12px;
padding: 14px;
display: flex;
align-items: center;
gap: 14px;
transition: transform 220ms ease, box-shadow 220ms ease;
}


.features li:hover{
transform: translateY(-6px);
box-shadow: 0 10px 30px rgba(2,10,30,0.45);
}


/* highlighted line (pill) */
.pill{
display: inline-block;
padding: 10px 14px;
background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
border-left: 4px solid var(--accent);
border-radius: 8px;
font-weight: 700;
min-width: 170px;
}


.desc{
margin: 0;
opacity: 0.95;
font-size: 0.95rem;
color: #f0f5ff;
}


/* make the pill more prominent on small screens and stack items */
@media (max-width: 800px){
.title{ font-size: 1.6rem; text-align: center; }
.features{ grid-template-columns: 1fr; }
.pill{ min-width: 0; width: 100%; }
.features li{ flex-direction: column; align-items: flex-start; }
.overlay{ padding: 36px 12px; }
}


/* tiny screens: increase tap targets */
@media (max-width: 420px){
.pill{ padding: 12px 16px; font-size: 0.98rem; }
.desc{ font-size: 0.95rem; }
}


/* CTA styling */
.cta{ margin-top: 18px; text-align: center; }
.btn{
display: inline-block;
padding: 10px 18px;
border-radius: 10px;
background: linear-gradient(90deg, var(--accent), #ffb74d);
color: #05203b;
font-weight: 700;
text-decoration: none;
}


/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
.features li{ transition: none; }
}
.floating-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between buttons */
}

.floating-button {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  color: white;
  line-height: 50px;
  text-decoration: none;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.whatsapp-float {
  background-color: #25D366; /* WhatsApp green */
}

.call-float {
  background-color: #34b7f1; /* Call blue */
}

/* Ensure icons are centered */
.floating-button i {
  line-height: 50px;
}

@media (max-width: 768px) {
  .floating-container {
    right: 10px;  /* Make it a bit more mobile-friendly */
    bottom: 15px;
  }

  .floating-button {
    width: 45px;
    height: 45px;
  }

  .floating-button i {
    font-size: 20px;  /* Slightly smaller icons on mobile */
  }
}
/* Social Icons */
.footer-social {
  margin-top: 15px;
}

/* ===== Footer Section ===== */
.site-footer {
  background: #0b3d91; /* deep sea blue */
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 40px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 250px;
  margin: 15px;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #ffd700; /* golden highlight */
}

.footer-column p,
.footer-column ul li {
  font-size: 14px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #ffd700;
}

/* Social Icons */
.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  background: #fff;
  color: #0b3d91;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #ffd700;
  color: #0b3d91;
}

/* Bottom Footer */
.footer-bottom {
  text-align: center;
  padding: 15px 0 5px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    margin: 10px 0;
  }

  .footer-social a {
    margin: 5px;
  }
}

/* ===== Testimonials Section ===== */
.testimonials {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.testimonials h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #0b3d91;
  font-weight: bold;
}

/* Slider container */
.testimonial-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Slide track for infinite scroll */
.slide-track {
  display: flex;
  width: calc(300px * 16); /* 8 testimonials + 8 duplicates */
  animation: scroll 40s linear infinite;
}

/* Each testimonial box */
.testimonial {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  margin: 10px;
  min-width: 280px;
  max-width: 300px;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-8px);
}

/* Avatar images */
.testimonial img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid #0b3d91;
  background: #e6f0ff;
}

/* Student name */
.testimonial h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Student quote */
.testimonial p {
  font-size: 14px;
  color: #555;
  margin: 0 0 12px;
  line-height: 1.5;
}

/* SEO keyword text */
.testimonial span.keyword {
  display: block;
  margin-top: 8px;
  font-weight: bold;
  color: #0b3d91;
  font-size: 14px;
  text-transform: uppercase;
}

/* Scroll animation */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-300px * 8)); }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .slide-track {
    animation: scroll 50s linear infinite;
  }
  .testimonial {
    min-width: 240px;
    max-width: 260px;
    padding: 15px;
  }
  .testimonial h3 {
    font-size: 16px;
  }
  .testimonial p {
    font-size: 13px;
  }
  .testimonial span.keyword {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .testimonial {
    min-width: 220px;
    max-width: 240px;
  }
  .testimonial img {
    width: 60px;
    height: 60px;
  }
}
/* ===== Blog Section ===== */
.blog-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.blog-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #0b3d91;
  font-weight: bold;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-post {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.blog-post h3 {
  font-size: 20px;
  color: #0b3d91;
  margin-bottom: 12px;
}

.blog-post p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.blog-post .read-more {
  display: inline-block;
  padding: 8px 14px;
  background: #0b3d91;
  color: #fff;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.blog-post .read-more:hover {
  background: #062964;
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 768px) {
  .blog-section h2 {
    font-size: 24px;
  }
  .blog-post h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .blog-section {
    padding: 40px 10px;
  }
  .blog-section h2 {
    font-size: 22px;
  }
  .blog-post {
    padding: 15px;
  }
  .blog-post h3 {
    font-size: 16px;
  }
  .blog-post p {
    font-size: 13px;
  }
}
