/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
header {
  background: #003366;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  max-width: 75px;
  max-height: 75px;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
header nav a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
header nav a:hover {
  text-decoration: underline;
}


/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* keeps image filling the space */
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;          /* text stays on top of image */
  padding: 20px;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 25px;
}

/* Main Call-to-Action Button */
.btn {
  background: linear-gradient(135deg, #ff6600, #ff3300);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.btn:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #ff3300, #cc2900);
  box-shadow: 0 6px 20px rgba(255, 51, 0, 0.6);
}

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
  .btn {
    font-size: 16px;
    padding: 12px 26px;
  }
}
/* Calendar Styles */
.calendar-container {
  margin: 20px auto;
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.calendar-header h3 {
  font-size: 20px;
  color: #003366;
}

.calendar-header button {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.calendar-header button:hover {
  background: #e65c00;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-grid div {
  padding: 12px;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  background: #f1f1f1;
  font-size: 14px;
}

.calendar-grid .disabled {
  background: #ddd;
  color: #888;
  cursor: not-allowed;
}

.calendar-grid .selected {
  background: #ff6600;
  color: #fff;
  font-weight: bold;
}

.calendar-grid .today {
  border: 2px solid #003366;
}

.time-box {
  margin: 20px 0;
}

#timeSlots {
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#confirmation {
  margin-top: 20px;
  font-weight: bold;
}


/* Dark overlay for readability */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* adjust darkness */
  z-index: 0;
}


/* Services */
.services {
  padding: 60px 0;
  text-align: center;
}
.services h2 {
  font-size: 32px;
  margin-bottom: 30px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 3px solid #ff6600;
}
.card img {
  width: 60px;
  margin-bottom: 15px;
}
.card h3 {
  margin-bottom: 10px;
}

/* About Section */
.about {
  padding: 50px 20px;
  background: #003366;
  color: #fff;
  text-align: center;
  font-size: 2.6vh;
}
.about h2 {
  margin-bottom: 20px;
}
.info-box textarea {
  padding: 10px;
  width: 320px;
  max-width: 100%;
  min-height: 110px;
  resize: vertical;
  font-size: 16px;
  border-radius: 6px;
  border: 3px solid #ff6600;
  font-family: Arial, sans-serif;
}

/* Footer */
footer {
  background: #222;
  color: #bbb;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
}

/* Mobile Responsive Styles */

/* Tablets and smaller laptops */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 36px;
  }
  .hero p {
    font-size: 18px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 16px;
  }
}

/* Phones */
@media (max-width: 600px) {
  .hero {
    height: 70vh; /* slightly smaller on phones */
    padding: 0 15px;
  }
  .hero h2 {
    font-size: 28px;
    line-height: 1.3;
  }
  .hero p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .btn {
    padding: 10px 18px;
    font-size: 14px;
  }
}
/* Nav Links Default */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.nav-links li a:hover {
  text-decoration: underline;
}

/* Hamburger Button */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  position: relative;
  z-index: 1001; /* keeps it above the menu */
}

.hamburger .close {
  display: none;
}

/* When menu is open */
.hamburger.active .open {
  display: none;
}
.hamburger.active .close {
  display: inline;
}

/* Mobile Nav - Slide In Drawer */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -250px; /* start off screen */
    height: 100%;
    width: 250px;
    background: #003366;
    flex-direction: column;
    padding: 100px 20px 20px;
    border-radius: 0;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    z-index: 1000;

    /* Animation */
    transition: right 0.4s ease;
  }

  .nav-links.show {
    right: 0; /* slide in */
  }

  /* Nav item animation */
  .nav-links li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .nav-links.show li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger effect */
  .nav-links.show li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links.show li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-links.show li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-links.show li:nth-child(4) {
    transition-delay: 0.4s;
  }
  .nav-links.show li:nth-child(5) {
    transition-delay: 0.5s;
  }

  .hamburger {
    display: block;
    position: relative;
    z-index: 1001; /* keep above overlay & menu */
  }
}

/* Overlay (hidden by default) */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 900; /* just under the menu */
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.info-box {
  margin: 12px 0;
}
.info-box input {
  padding: 10px;
  width: 320px;
  max-width: 100%;
  font-size: 16px;
  border-radius: 6px;
  border: 3px solid #ff6600;
}
::-webkit-scrollbar{
    width: 15px;
}

::-webkit-scrollbar-thumb{
    background-color: #ff6600;
}

::-webkit-scrollbar-track{
    background-color: #003366;
}
/* ----------------------------------------------------------
   HERO BANNER
---------------------------------------------------------- */
.hero-banner {
    height: 330px;
    background: url('your-banner.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 50px;
    margin: 0;
    font-weight: 800;
}

.hero-content p {
    font-size: 20px;
    margin-top: 10px;
}


/* ----------------------------------------------------------
   SECTION DIVIDER
---------------------------------------------------------- */
.section-divider {
    text-align: center;
    margin: 60px 0 30px;
}

.section-divider h2 {
    font-size: 32px;
    font-weight: 700;
    color: #00364a;
}


/* ----------------------------------------------------------
   TEAM CARDS
---------------------------------------------------------- */
.team-section {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.team-member {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    gap: 30px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.09);
    transition: 0.3s;
}

.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.team-member img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
}

.team-member h2 {
    margin: 0;
    color: #004c6d;
    font-size: 28px;
}

.social-row {
    margin-top: 15px;
}

.social-row a {
    margin-right: 12px;
    color: #004c6d;
    font-size: 24px;
    transition: 0.2s ease;
}

.social-row a:hover {
    color: #0088cc;
}


/* ----------------------------------------------------------
   CONTACT CTA
---------------------------------------------------------- */
.contact-cta {
    background: #004c6d;
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 18px;
    max-width: 900px;
    margin: 70px auto;
}

.contact-cta h2 {
    font-size: 36px;
}

.contact-cta p {
    font-size: 18px;
    margin: 10px 0 25px;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #004c6d;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #e3e3e3;
}


/* ----------------------------------------------------------
   SCROLL TO TOP BUTTON
---------------------------------------------------------- */
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: #004c6d;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: none;
    transition: 0.3s;
}

#scrollTopBtn:hover {
    background: #006b92;
}


/* ----------------------------------------------------------
   ANIMATIONS
---------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s forwards ease-out;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 820px) {
    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .team-member img {
        width: 200px;
        height: 200px;
    }

    .hero-content h1 {
        font-size: 38px;
    }
}
