/* Developed by Kingsley Eng, 2025 */

.nav-btn {
  background: none;
  border: none;
  font-weight: 600; /* slightly thicker */
  color: #4b2c06;
  font-size: 1rem;
  padding: 8px 12px;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-links a.nav-link {
  font-weight: 600;
  color: #4b2c06;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a.nav-link:hover {
  color: #b1873f; /* Change to your brand highlight color */
}

.banner-section {
  background-color: #f9f5ec;
  padding: 8rem 2rem;
  text-align: left;
  font-family: 'Helvetica Neue', sans-serif;
  color: #4b2c06;
  position: relative;
}
.banner-section img {
  max-width: 100%;
  height: auto;
}
.banner-caption {
  margin-top: 20px;
}
.feature-section {
  padding: 0;  /* top, right, bottom, left */
}
.feature {
  position: relative;
  color: white;
  text-align: center;
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.feature h2 {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
.feature p {
  font-size: 1.2rem;
  max-width: 80%;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.feature .btn {
  margin-top: 20px;
  border: 2px solid white;
  color: white;
}
.footer {
  background-color: #f9f5ec;
  color: #4b2c06;
  padding: 1rem;
  font-family: 'Helvetica Neue', sans-serif;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: auto;
  line-height: 1.4;
}

body {
  background-color: #f6f2e9;  /* this is your desired light yellowish color */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}


header {
  background-color: #003366;
  color: white;
  padding: 20px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

main {
  padding: 20px;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #eee;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px 30px;
  border-radius: 8px;
}

.banner-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.banner-text p {
  font-size: 1.2rem;
  margin: 0;
}

.ticker-bar {
  background-color: #b1873f; 
  overflow: hidden;
  white-space: nowrap;
  height: 28px;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: white;
  position: relative;
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Add subtle zoom animation on hover */
.feature {
  transition: transform 0.4s ease;
}
.feature:hover {
  transform: scale(1.02);
}

/* Button hover glow */
.feature .btn:hover {
  background-color: white;
  color: black;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.banner-section h1 {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.banner-section p {
  font-size: 1.5rem;
  font-weight: 400;
  max-width: 700px;
}

.banner-section .scroll-down-arrow {
  position: absolute;
  bottom: 1rem;
  left: 2rem;
  font-size: 2rem;
  animation: bounce 2s infinite;
  color: #4b2c06;
}

.banner-section {
  background-color: #f9f5ec;
  padding: 0rem;  /* less vertical padding */
  font-family: 'Helvetica Neue', sans-serif;
  color: #4b2c06;
  position: relative;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-line-left {
  text-align: left;
  padding-left: 2rem;
}

.banner-line-right {
  text-align: right;
  padding-right: 2rem;
  margin-top: 0.5rem;
}

.banner-line-left h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0;
}

.banner-subtext {
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0;
  display: inline-block;
  white-space: nowrap; /* Prevents awkward wrapping */
}

.scroll-down-arrow {
  position: absolute;
  bottom: 1rem;
  left: 2rem;
  font-size: 2rem;
  animation: bounce 2s infinite;
  color: #4b2c06;
}



@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

img {
  border-radius: 12px;
}

h3 {
  font-weight: 600;
  color: #4b2c06;
}

.container p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.row {
  border-bottom: 1px solid #eee;
  padding-bottom: 2rem;
}

.section-box {
  border: 1px solid #6d4b1d;
  padding: 2rem;
  border-radius: 8px;
  background-color: #fdfaf3;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
  background-size: 100% 100%;
}


.testimonial-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.testimonial-content {
  flex: 2;
}

.testimonial-note {
  border: 1px solid #6d4b1d;
  border-radius: 12px;
  padding: 2rem;
  background: #fdfaf3;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  min-height: 100%;  /* ✅ this forces equal vertical height */
}


.testimonial-note::before {
  content: "❝";
  font-size: 2.5rem;
  color: #6d4b1d;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.testimonial-note h3 {
  margin-top: 2.5rem;
  font-weight: bold;
  color: #4b2c06;
}

.testimonial-note p.text-muted {
  margin-bottom: 0.5rem;
  color: #666;
}

.testimonial-image {
  flex: 1;
  max-width: 300px;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: 12px;
  border: 1px solid #6d4b1d;
  object-fit: cover;
}


.testimonial-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* force 2x2 */
  gap: 2rem;
}

.testimonial-note {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-section {
  background-color: #f6f2e9; /* light cream */
}

.contact-card {
  background-color: #fdfaf3;
  border: 1px solid #e0d5c0;
}

.text-brown {
  color: #4b2c06;
}

.btn-extec {
  background-color: #4b2c06;
  color: white;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
}

.btn-extec:hover {
  background-color: #b1873f;
  color: #000;
}

form .form-control {
  background-color: #fefdf9;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-shadow: none;
}

.contact-section h3 {
  color: #4b2c06;
  font-weight: 700;
}

.contact-section label {
  font-weight: 600;
}

.contact-section .form-control, 
.contact-section .form-select {
  border-radius: 8px;
  padding: 0.75rem;
}

.contact-section textarea {
  resize: vertical;
}

@media (max-width: 768px) {
  /* 🟨 Remove nav-links entirely in mobile */
  .nav-links {
    display: none !important;
  }

  /* 🟨 Use column layout if navbar still contains other items */
  .navbar-border {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-nav-toggle {
    display: inline-block;
    margin-top: 0.5rem;
  }

  .banner-line-left h1 {
    font-size: 2rem;
    margin-top: 120px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .banner-line-right p {
    display: none; /* 🟥 Hide subtext */
  }

  .ticker-bar {
    font-size: 0.7rem;
  }

  .feature {
    height: auto;
    padding: 4rem 1rem;
  }

  .feature h2 {
    font-size: 1.8rem;
  }

  .feature p {
    font-size: 1rem;
  }
}

.mobile-nav-links a {
  font-weight: 600;
  color: #4b2c06;
  text-decoration: none;
  font-size: 1.1rem;
}
.mobile-nav-links a:hover {
  color: #b1873f;
}

/* Mobile Hamburger */
.hamburger {
  background: none;
  border: none;
  font-size: 2rem;
  color: #4b2c06;
  cursor: pointer;
}

/* .mobile-menu {
  position: absolute;
  top: 140px; 
  left: 0;
  right: 0;
  height: auto;
  background-color: #f9f5ec;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2rem;
  transform: translateY(-200%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
} */

/* .mobile-menu {
  position: absolute;
  top: 92px;  
  left: 0;
  right: 0;
  height: auto;
  background-color: #f9f5ec;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2rem;
  transform: translateY(-200%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
} */

/* .mobile-menu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: #f9f5ec;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2rem;
  transform: translateY(-200%);
  transition: transform 0.35s ease, opacity 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
}
  
.mobile-menu.show {
  transform: translateY(0);
  opacity: 1;
}

*/

/* .mobile-menu {
  position: absolute;
  top: 0; 
  left: 0;
  right: 0;
  background-color: #f9f5ec;
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
  opacity: 0;
  height: 100vh;  
} */

.mobile-menu {
  position: fixed; /* ✅ full screen overlay */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;    /* ✅ full height */
  background-color: #f9f5ec;
  z-index: 99999;   /* ✅ higher than navbar */
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
  opacity: 0;
}


.mobile-menu.show {
  display: flex;
  opacity: 1;
}

body.mobile-menu-open {
  overflow: hidden;
}


/* Nav links */
.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 600;
  color: #4b2c06;
  text-decoration: none;
  margin: 0.75rem 0;
}

.mobile-menu a:hover {
  color: #b1873f;
}

/* Close button (optional if dropdown covers only part) */
.close-btn {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #4b2c06;
  cursor: pointer;
}

/* .navbar-border {
  margin-bottom: 0;
  padding-bottom: 0;
} */

.navbar-border {
  margin-bottom: 0;
  padding-bottom: 0;
  z-index: 1000; /* ✅ lower than mobile-menu */
  position: relative; /* or sticky if you use it */
}


.mobile-menu {
  margin-top: 0;
  padding-top: 0; /* or adjust as needed */
}


header {
  margin-bottom: 0;
  padding-bottom: 0;
}

.banner-section {
  margin-top: 0;
}

@media (max-width: 768px) {
  .banner-section {
    display: flex;
    justify-content: center;   /* horizontally center */
    align-items: center;       /* vertically center */
    text-align: center;
    flex-direction: column;
    padding: 1rem;             /* small vertical space */
    height: auto;
    min-height: 100px;
  }

  .banner-line-left,
  .banner-line-right {
    padding: 0;
    margin: 0;
    text-align: center;        /* override left/right */
    width: 100%;
  }

  .banner-line-left h1 {
    margin: 0;
    font-size: 1.8rem;
    padding: 0;                /* remove side padding */
  }

  .banner-line-right,
  .scroll-down-arrow {
    display: none;
  }
}

.staff-card {
  perspective: 1000px;
  cursor: pointer;
}

.staff-card .staff-front,
.staff-card .staff-back {
  transition: transform 0.6s ease;
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
}

.staff-card .staff-front {
  transform: rotateY(0deg);
  z-index: 2;
}

.staff-card .staff-back {
  transform: rotateY(180deg);
  z-index: 1;
  background-color: #f8f9fa;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.staff-card {
  position: relative;
  height: 300px;
}

.staff-card.flipped .staff-front {
  transform: rotateY(180deg);
}

.staff-card.flipped .staff-back {
  transform: rotateY(360deg);
}

/* Optional: only enable hover flip on desktop */
@media (min-width: 768px) {
  .staff-card:hover .staff-front {
    transform: rotateY(180deg);
  }

  .staff-card:hover .staff-back {
    transform: rotateY(360deg);
  }
}

.staff-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background-color: white;
}

.staff-card img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
}
