/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f8f9fa;
  color: #333;
}

/* Navbar */
.navbar {
  background-color: #002366;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Logo & Name Block */
.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 60px;
}

.school-name {
  color: white;
  line-height: 1;
}

.school-name .line1 {
  font-size: 1.5rem;
  font-weight: bold;
}
.school-name .line2 {
  font-size: 1.2rem;
}
.school-name .line3 {
  font-size: 0.9rem;
  font-weight: 300;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  transition: max-height 0.3s ease;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

/* Dropdowns */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #002366;
  list-style: none;
  top: 2rem;
  left: 0;
  padding: 0.5rem;
  z-index: 999;
}

.dropdown-menu li {
  padding: 0.3rem 1rem;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.circle-icon {
  display: inline-block;
  background-color: #FFD700;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  text-align: center;
  line-height: 36px;
  color: #001489;
  font-weight: bold;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #002366;
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 0.5rem 0;
  }

  .dropdown-menu {
    position: static;
    background: #003366;
    padding: 0;
  }

  .dropdown-menu li {
    padding: 0.5rem 1rem;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }
}

/* Sticky Shrink */
.navbar.scrolled {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem;
}

.card {
  color: white;
  padding: 2rem;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
}

.purple { background-color: #6a1b9a; }
.blue   { background-color: #1e88e5; }
.green  { background-color: #2e7d32; }
.yellow { background-color: #fdd835; color: #002366; }

/* Floating Banner */
.floating-banner {
  position: fixed;
  top: 50%;
  right: 0;
  background: #ffcc00;
  color: #002366;
  padding: 1rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: bold;
  z-index: 100;
}
.floating-banner a {
  color: inherit;
  text-decoration: none;
}

/* Age Groups Section */
.age-groups {
  padding: 3rem 1rem;
  text-align: center;
}
.age-groups .tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.age-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.age-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  max-width: 200px;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.age-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.age-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.age-card h3 {
  font-size: 1rem;
  color: #002366;
  margin: 0.5rem 0;
}
.age-card p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Carousel on Mobile */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .age-cards {
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }
  .age-card {
    min-width: 70%;
    scroll-snap-align: start;
    flex: 0 0 auto;
  }
}

/* Main Hero Banner */
.main-hero {
  position: relative;
  background-image: url('../assets/hero-campus.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-hero .overlay {
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem 4rem;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .main-hero {
    height: 60vh;
  }
  .main-hero h1 {
    font-size: 1.6rem;
    padding: 0 1rem;
  }
}

/* Welcome & Difference Sections */
.bransford-difference {
  position: relative;
  background-image: url('../assets/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 2rem;
  text-align: left;
  background-color: #f9f9f9;
}
.difference-content {
  width: 100%;
  margin: 0;
  padding: 3rem 2rem;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}
.difference-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #002366;
}
.difference-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: #333;
}

.staff-welcome,
.senior-welcome {
  padding: 4rem 2rem;
  background-color: #ffffff;
}
.welcome-wrapper,
.senior-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.welcome-image img,
.senior-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 4px;
}
.welcome-text,
.senior-text {
  flex: 1;
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 4px;
}
.welcome-text h2,
.senior-text h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #002366;
}
.welcome-text h2 span,
.senior-text h2 span {
  font-weight: 900;
  color: #002366;
}
.welcome-text p,
.senior-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}
.dean-name,
.principal-name {
  font-weight: bold;
  color: #002366;
  margin-top: 2rem;
}
.dean-title,
.principal-title {
  color: #555;
}

/* Footer */
.site-footer {
  background-color: #fff;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid #ddd;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #444;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
}

.footer-socials a {
  margin-left: 1rem;
  color: #000;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
}
/* Discover More Section */
.discover-more {
  background: #fdd835;
  background-image: url('../assets/watermark.jpg'); /* Replace with your faint logo PNG */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
  text-align: center;
  padding: 3rem 1rem;
}
.discover-more h2 {
  font-size: 2rem;
  color: #002366;
  margin-bottom: 2rem;
}
.discover-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.discover-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: #002366;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  width: 250px;
}
.discover-card:hover {
  transform: translateY(-5px);
}
.discover-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.discover-card p {
  font-weight: bold;
  font-size: 1rem;
  padding: 1rem 0;
}
.about-section {
  background: #eaeaf5;
  padding: 4rem 2rem;
}
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 2rem;
}
.about-text {
  flex: 1 1 55%;
}
.about-text h1 {
  font-size: 2.5rem;
  color: #002366;
  margin-bottom: 0.5rem;
}
.about-text h2 {
  font-size: 1.5rem;
  color: #002366;
  margin-bottom: 1rem;
}
.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.about-text .highlight {
  color: #002366;
  font-weight: bold;
}
.about-image {
  flex: 1 1 40%;
}
.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }
  .about-text, .about-image {
    flex: 1 1 100%;
  }
  .about-text h1 {
    font-size: 2rem;
  }
}
.about-section2 {
  background-color: #ffffff;
  padding: 4rem 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-section2 .ethos1 {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-section2 .ethos1 {
    flex-direction: row;
    align-items: center;
  }
}

.ethos1 img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

.ethos1 .text-content {
  flex: 1;
  text-align: left;
}

.ethos1 .text-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .ethos1 .text-content h2 {
    font-size: 2.5rem;
  }
}

.ethos1 .text-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 1.25rem;
}
/* styles.css */
.mission-section {
  background-color: #eaf0ff;
  padding: 5rem 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mission-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}

.mission-text-box {
  background-color: #fff;
  padding: 2.5rem 2rem;
  width: 500px;
  z-index: 2;
  box-shadow: 0 0 0 #0000;
  margin-right: -100px;
  border-left: 4px solid #001d8e;
}

.mission-text-box h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.mission-text-box h2 .thin {
  font-weight: 300;
  color: #333;
}

.mission-text-box h2 .bold {
  font-weight: 700;
  color: #001d8e;
}

.mission-text-box p {
  font-size: 1.05rem;
  line-height: 1.75rem;
  color: #444;
  margin-bottom: 1rem;
}

.mission-text-box strong {
  color: #001d8e;
}

.mission-image {
  z-index: 1;
}

.mission-image img {
  width: 550px;
  border-right: 5px solid #fdd100;
  border-radius: 0;
  object-fit: cover;
}
/* styles.css */

.people-section {
  background-color: #ffffff;
  padding: 4rem 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.people-container {
  max-width: 1240px;
  margin: 0 auto;
}

.people-header {
  text-align: center;
  margin-bottom: 2rem;
}

.people-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.people-header .light {
  font-weight: 300;
  color: #333;
}

.people-header .bold {
  font-weight: 700;
  color: #001d8e;
}

.people-header p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.75rem;
  max-width: 860px;
  margin: 0 auto 1.25rem auto;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.person-card {
  text-align: center;
  width: 100%;
}

.person-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.person-card .name {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #001d8e;
  text-decoration: underline;
}

.mt-16 {
  margin-top: 4rem;
}

/* Responsive Columns */
@media (max-width: 1024px) {
  .people-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
}
.curriculum-image-section {
  width: 100%;
}
/* Two-column layout */
.curriculum-section.with-image {
  padding: 4rem 2rem;
}
.curriculum-wrapper.two-col {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}
.curriculum-text {
  flex: 1 1 60%;
}
.curriculum-image {
  flex: 1 1 35%;
}
.curriculum-image img {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .curriculum-wrapper.two-col {
    flex-direction: column;
  }
  .curriculum-text, .curriculum-image {
    flex: 1 1 100%;
  }
}
/* Base Styles */
.navbar {
  background-color: #002366;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  margin-right: 1rem;
}

.school-name .line1,
.school-name .line2 {
  font-weight: bold;
  color: #fff;
  line-height: 1;
  font-size: 1.2rem;
}

.school-name .line3 {
  font-size: 0.8rem;
  color: #ccc;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav-links .circle-icon {
  font-size: 1.2rem;
}

/* NAVIGATION BAR STYLING */
.navbar {
  background-color: #002366;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  margin-right: 1rem;
}

.school-name .line1,
.school-name .line2 {
  font-weight: bold;
  color: #fff;
  line-height: 1;
  font-size: 1.2rem;
}

.school-name .line3 {
  font-size: 0.8rem;
  color: #ccc;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav-links .circle-icon {
  font-size: 1.2rem;
}

/* DROPDOWN MENU BASE STYLES */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border-radius: 4px;
  min-width: 260px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 0.5rem 0;
}

.dropdown-menu li {
  list-style: none;
}

/* LINK INSIDE DROPDOWN */
.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #002366;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}

/* ➤ Fancy arrow before each link */
.dropdown-menu a::before {
  content: '➤';
  color: #ffcc00;
  font-weight: bold;
  margin-right: 0.6rem;
  display: inline-block;
  width: 1rem;
}

.dropdown-menu a:hover {
  background-color: #f0f4f8;
  color: #001747;
}

/* SHOW DROPDOWN ON HOVER */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* RESPONSIVE: STACK ON MOBILE */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    background-color: #002366;
    width: 100%;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: #002366;
  }

  .dropdown-menu a {
    color: white;
    padding-left: 2rem;
  }

  .dropdown-menu a:hover {
    background-color: #003399;
  }

  .dropdown-menu a::before {
    color: #ffcc00;
  }

  .hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    display: block;
  }
}
/* Hero section with fixed background */
.careers-hero {
  background-image: url('../assets/team-bg.jpg'); /* <- replace with your image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: left;
  color: #fff;
}

.careers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay for text contrast */
  z-index: 1;
}

.careers-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.careers-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.apply-btn {
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .careers-content h1 {
    font-size: 2rem;
  }
}

/* Vendor Form Container */
.vendor-form-section {
  background-color: #ffffff;
  padding: 4rem 1.5rem;
}

.vendor-form-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Form Headline */
.vendor-form-wrapper h2 {
  color: #002366;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 2rem;
}

/* Labels and Inputs */
.vendor-form-wrapper .form-label {
  font-weight: 600;
  color: #002366;
}

.vendor-form-wrapper .form-control,
.vendor-form-wrapper .form-select {
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

/* Submit Button */
.vendor-form-wrapper .btn-primary {
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
}

.vendor-form-wrapper .btn-primary:hover {
  background-color: #0056b3;
}

/* Textareas */
.vendor-form-wrapper textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .vendor-form-wrapper {
    padding: 1.5rem;
  }

  .vendor-form-wrapper h2 {
    font-size: 1.5rem;
  }
}

/* File Upload Field */
.vendor-form-wrapper input[type="file"] {
  padding: 0.5rem;
  font-size: 0.95rem;
}

/* Modal Styling */
.modal-content {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.modal-header {
  background-color: #002366;
  color: white;
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

/* Spinner inside button */
#spinner {
  margin-left: 0.5rem;
}
