:root {
  --blue: #003264;
  --black: #202124;
  --white: #f8f9fa;
  --red: #8B0000;
}

/* Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comic Neue', cursive;
  background-color: #f4f4f4;
  padding-top: 80px;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 12px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  height: 80px;
  transition: all 0.3s ease;
}

.header-container {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
}

/* Hamburger menu - hidden by default on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  background-color: var(--blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* NAV MENU - Desktop version */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.nav-menu a {
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  padding: 5px 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background-color: rgba(0, 50, 100, 0.1);
}

.nav-menu a.active {
  background-color: var(--red);
  color: white;
}

/* DROPDOWN MENU - For both desktop and mobile */
.dropdown {
  position: relative;
}

.dropdown > a::after {
  content: ' ▼';
  font-size: 0.6em;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--red);
  min-width: 200px;
  padding: 10px 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.dropdown-content a {
  color: white;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
}

  .dropdown-content a:hover {
    background-color: var(--blue);
    /* background-color: rgba(255, 255, 255, 0.1); */
  }

/* Show dropdown when active class is added */
.dropdown-content.show {
  display: block;
}

/* Mobile styles */
@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background-color: var(--blue);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 10px;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  
  .nav-menu.show {
    left: 0;
  }
  
  .nav-menu a {
    color: white;
    width: 100%;
  }
  
  .dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 10px;
    margin-top: 5px;
  }
  
  /* Animate hamburger to X when menu is open */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}


/* About Page Styles */
:root {
  --blue: #003264;
  --black: #202124;
  --white: #f8f9fa;
  --red: #8B0000;
  --light-blue: #e6f0f9;
  --light-gray: #f5f5f5;
}

/* About Hero Section */
.about-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background: url('../images/aboutusbg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  animation: bgShift 30s linear infinite;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  color: var(--red);
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease;
}

.about-hero h1 span {
  color: var(--blue);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  margin-top: 20px;
}

.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.breadcrumbs span {
  margin: 0 10px;
  color: var(--white);
}

.breadcrumbs .active {
  color: var(--red);
  font-weight: bold;
}

/* About Intro Section */
.about-intro {
  padding: 80px 10px;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 15px;
}

.section-header h2 span {
  color: var(--blue);
}

.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--red), var(--blue));
  margin: 0 auto 20px;
  border-radius: 2px;
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-text {
  flex: 1 1 50%;
}

.intro-text p {
  padding: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--black);
}

.intro-image {
  flex: 1 1 40%;
  position: relative;
}

.floating-image {
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  animation: float 6s ease-in-out infinite;
  max-width: 100%;
  height: auto;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Mission Section */
.mission-section {
  padding: 80px 0;
  background: linear-gradient(270deg, #890303, #230c88);
}

.mission-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(to bottom, var(--red), var(--blue));
}

.mission-icon {
  flex: 0 0 120px;
  height: 120px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 40px;
  color: white;
  font-size: 3rem;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.mission-content h3 {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 20px;
}

.mission-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 15px;
}

/* Vision Section */
.vision-section {
  padding: 80px 0;
  background: linear-gradient(270deg,  #230c88, #890303);
}

.vision-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  flex-direction: row-reverse;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(to bottom, var(--blue), var(--red));
}

.vision-icon {
  flex: 0 0 120px;
  height: 120px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 40px;
  color: white;
  font-size: 3rem;
  box-shadow: 0 5px 15px rgba(0, 50, 100, 0.3);
}

.vision-content {
  flex: 1;
}

.vision-content h3 {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 20px;
}

.vision-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 15px;
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 1.0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
  transition: background 0.3s ease;
}

.value-card:hover .value-icon {
  background: var(--blue);
}

.value-card h4 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 15px;
}

.value-card p {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.6;
}


/* About CTA Section */
.about-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue), var(--red));
  color: white;
  text-align: center;
}

.about-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--red);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .intro-content {
    flex-direction: column;
  }
  
  .mission-card, .vision-card {
    flex-direction: column;
    padding: 30px;
  }
  
  .mission-icon, .vision-icon {
    margin-right: 0;
    margin-bottom: 30px;
    margin-left: 0;
  }
  
  .mission-card::before, .vision-card::before {
    width: 100%;
    height: 8px;
  }
  
  .testimonial {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    height: 50vh;
  }
  
  .about-hero h1 {
    font-size: 3rem;
  }
  
  .section-header h2 {
    font-size: 3rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .about-hero {
    height: 40vh;
  }
  
  .about-hero h1 {
    font-size: 1.8rem;
  }
  
  .breadcrumbs {
    font-size: 0.9rem;
  }
  
  .value-card, .team-member {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Footer Styling */
.main-footer {
  background-color: #003264;
  color: #ffffff;
  padding: 40px 20px 20px 20px;
  font-family: 'Comic Neue', cursive;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
}

.footer-logo,
.footer-links,
.footer-contact {
  flex: 1 1 300px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 1rem;
  color: #ffffff;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a,
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #ffffff;
}

/* Hover Underline Animation */
.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #8B0000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Social Media Icons */
.social-media-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.social-media {
  display: flex;
  gap: 20px;
}

.social-media a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #8B0000;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    flex: 1 1 100%;
  }

  .social-media {
    flex-wrap: wrap;
    justify-content: center;
  }
}
