/* Reset default margins */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar Styles */
header {
  background-color: #002244;
  padding: 20px 20px;
  color: white;
  position: relative;
  z-index: 10;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo and school name container */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo img {
  height: 60px;
  width: auto;
}

.school-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.school-name .main-title {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.school-name .sub-title {
  font-size: 12px;
  color: #cccccc;
  margin-top: 2px;
}

/* Nav links (desktop) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ffcc00;
}

/* Hamburger icon (hidden by default) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
}

/* Nav items on small screen */
@media screen and (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: center;
  }

  .navbar-logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
    margin-top: 10px;
    align-self: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #002244;
    position: absolute;
    top: 100%; /* push below header */
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }

  .nav-links li a {
    color: white;
    font-size: 18px;
  }

  .nav-links li a:hover {
    color: #ffcc00;
  }
}

.school-video {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.school-video .section-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #2c3e50;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

  
/* Hero Section */
.hero {
  background-color: #ffe5b4; /* light peach */
  padding: 60px 20px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  margin-bottom: 20px;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 2.5em;
  color: #002855;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
}

.cta-btn {
  background-color: #ffd700;
  color: #002855;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;

}

.cta-btn:hover {
  background-color: #ffa500;  /* Darker golden-orange on hover */
  color: white;               /* Change text color for better contrast */
  transform: scale(1.05);     /* Slight zoom effect */
  transition: all 0.3s ease;  /* Smooth transition */
}




/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding: 0;
  }
}


/* Button Styling */
.btn {
    background-color: #007bff; /* Blue color */
    color: white; /* White text */
    padding: 10px 20px; /* Padding inside the button */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-size: 16px; /* Font size */
    display: inline-block; /* Keeps the button inline */
    margin-top: 40px; /* Spacing from text */
  }
  
  .btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
  }

  .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

 /* Why Choose Section */
.why-choose {
    padding: 80px 20px;  /* Add some space around the section */
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .highlight-title {
    font-size: 35px;
    color: #003366;
    font-weight: bold;
    background-color: #ffcc00;  /* Highlight with yellow */
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .highlight-tagline {
    font-size: 30px;
    color: #333;
    font-weight: 100;
    padding: 10px 20px;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 80%;
    margin: 0 auto;
  }

  /* Center content and give margin below the tagline */
  .why-choose .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;  /* Gap between the sections */
  }
  .why-choose .container {
    margin-bottom: 50px; /* Space after the grid boxes */
  }
  
  .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .feature-card {
    flex: 1 1 calc(33.333% - 40px); /* 3 in a row with space */
    max-width: 320px;
    min-width: 280px;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
  }
  
  .feature-card:hover {
    transform: translateY(-8px);
  }
  
  .feature-card img {
    width: 60px;
    margin-bottom: 15px;
  }
  
  .feature-card h3 {
    font-size: 18px;
    color: #003366;
    margin-bottom: 10px;
  }
  
  .feature-card p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .feature-card {
      flex: 1 1 calc(45% - 40px);
    }
  }
  
  @media (max-width: 600px) {
    .feature-card {
      flex: 1 1 100%;
    }
  }


  /*Admission enquiry section*/

  .admission-enquiry {
    background-color: #003366;  /* Dark background for emphasis */
    color: white;
    padding: 40px 20px;  /* Reduced padding to make the section smaller */
  }
  
  .admission-enquiry .container {
    display: flex;
    justify-content: space-between;  /* Space out the text and button */
    align-items: center;
  }
  
  .admission-enquiry .text-container {
    flex: 1;
    max-width: 70%;  /* Reduced max-width to prevent the text from being too wide */
  }
  
  .admission-enquiry .button-container {
    flex: 0;  /* Prevent the button container from expanding */
    margin-left: 0;  /* Give space between text and button */
  }
  
  .admission-enquiry h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
  }
  
  .admission-enquiry p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  
  .admission-enquiry .btn {
    background-color: #ffcc00;  /* Yellow button */
    color: #003366;  /* Dark text color */
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block; /* Changed from inline-flex to inline-block */
    white-space: nowrap;   /* Forces text into one line */
  }
  
  .admission-enquiry .btn:hover {
    background-color: #ff9900;  /* Darker yellow on hover */
    color: white;
    transition: background-color 0.3s;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .admission-enquiry .container {
      flex-direction: column;  /* Stack text and button vertically on small screens */
      align-items: center;
      text-align: center;
    }
  
    .admission-enquiry .button-container {
      margin-top: 20px;  /* Add space between text and button on mobile */
    }
  
    .admission-enquiry .text-container {
      max-width: 100%;  /* Allow the text to take full width on small screens */
    }
  }


/* Contact Us Section (Reduced Spacing) */
.contact-us {
    background-color: #eef5f9;
    padding: 20px 0px; /* Reduced top & bottom padding */
    text-align: center;
  }
  
  .contact-us h2 {
    font-size: 34px;
    color: #003366;
    margin-bottom: 1px; /* Reduced space below heading */
  }
  
  .contact-us p {
    font-size: 20px;
    color: #333;
    line-height: 1.4;
    margin: 6px 0; /* Reduced vertical spacing between lines */
  }
  
  .contact-us a {
    color: #003366;
    text-decoration: none;
  }
  
  .contact-us a:hover {
    text-decoration: underline;
  }
  
  /* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    font-family: Georgia, 'Times New Roman', Times, serif, sans-serif;
  }
  
  /* Main content wrapper to allow sticky footer */
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  .main-content {
    flex: 1;
  }

  @media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
}

  
  /* Footer Section */
  .footer {
    background-color: #003366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    text-align: center;
    padding: 0 20px;
  }
  
  .footer p {
    font-size: 14px;
    margin: 0;
  }
