/* ===== Root variables ===== */
:root{
  --teal: #0a5453;
  --accent: #ffa600;
  --light: #fef4e1;
  --card-bg: #e4a736;
  --white: #ffffff;
  --nav-height: 90px;
}

/* reset basics */
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#222;background:#fff}
a{color:inherit;text-decoration:none}

/* ===== NAVBAR (oval, floating, translucent) ===== */
:root {
  --nav-height: 90px;
}

.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 1200;
  pointer-events: none;
}

.navbar-custom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the brand horizontally */
  margin: 0 auto;
  max-width: 1200px;
  background: rgba(10, 84, 83, 0.92);
  color: white;
  border-radius: 80px;
  height: var(--nav-height);
  padding: 12px 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  pointer-events: all;
}

/* ===== GROUPS (left, center, right) ===== */
.nav-left,
.nav-right {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center; /* independently vertically centered */
}

.nav-left {
  left: 32px; /* keep space from edge */
  gap: 18px;
}

.nav-right {
  right: 32px;
  gap: 14px;
}

/* ===== CENTER BRAND ===== */
.nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* ensures logo is perfectly centered vertically */
  text-align: center;
}

.logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.brand {
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== NAV LINKS ===== */
.nav-left .nav-link {
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  position: relative;
  text-decoration: none;
  transition: color 0.25s;
}

.nav-left .nav-link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  height: 3px;
  bottom: 4px;
  background: transparent;
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-left .nav-link:hover::after {
  background: var(--accent);
}


/* ===== RIGHT ICONS & CONTACT BUTTON ===== */
.circle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  margin-right: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s;
}
.circle-icon svg {
  display: block;
}
.circle-icon:hover {
  transform: translateY(-3px);
}

.btn-contact {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  border: none;
  margin-left: 8px;
  font-weight: 600;
  transition: all 0.15s;
}
.btn-contact:hover {
  opacity: 0.95;
}

/* ===== SPACE BELOW NAVBAR ===== */
.nav-spacer {
  height: calc(var(--nav-height) + 24px);
}

/* ============================================
   MOBILE NAVIGATION FIX
   Converts the navbar into a stacked layout,
   centers items, enlarges tap targets,
   and prevents overlap.
   ============================================ */
@media (max-width: 768px) {

  .navbar-custom {
    flex-direction: column;
    height: auto;
    padding: 14px 20px;
    border-radius: 28px;
    gap: 5px;
  }

  /* Left/Right groups stack and center */
  .nav-left,
  .nav-right {
    position: static;
    width: 100%;
    justify-content: center;
  }

  .nav-left .nav-link {
    font-size: 1rem;       /* bigger tap-friendly text */
    padding: 10px 14px;
  }

  .circle-icon {
    width: 40px;
    height: 40px;
    
  }

  /* Logo gets slightly bigger for visibility */
  .logo {
    width: 80px;
    height: 80px;
    margin-bottom: 2px;

  }
}



/* ===== HERO ===== */
/* Adjust banner height here: change min-height to reduce top space */
.header-hero{
  position:relative;
  background-image: url('./images/herobg.jpg'); /* replace with your hero image */
  background-size:cover;background-position:center;
  min-height:87vh; /* <-- edit this value to change banner height */
  display:flex;align-items:flex-end;
  padding:5rem 0;
  color:#fff;
}
.hero-overlay{
  position:absolute;inset:0;background:rgba(0,0,0,0.28);
}
.hero-inner{position:relative;z-index:2;padding:0 7rem}
.hero-text h1{font-size:4rem;margin:0 0 1rem 0}
@media(max-width:767px){ .hero-text h1{font-size:1.6rem} }

/* ===== ANNOUNCEMENT / MARQUEE ===== */
.announcement-bar{background:#fff;border-top:1px solid rgba(0,0,0,0.04);border-bottom:1px solid rgba(0,0,0,0.04);overflow:hidden}
.ann-inner{max-width:1200px;margin:0 auto;padding:0.6rem 1rem;position:relative}
.ann-track{display:flex;gap:2rem;align-items:center;white-space:nowrap;will-change:transform}
.ann-item{flex:0 0 auto;font-weight:700;color:var(--teal);font-size:3rem;padding:0 0.5rem}
@media(max-width:767px){.ann-item{font-size:1rem}}

/* ===== PRINCIPLES ===== */
.section-pad {
  padding: 4rem 0;
  background-color: #487b7a; /* teal background */
  color: #fff; /* ensures text is readable */
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

.principles-img {
  width: 80%;
  border-radius: 26px;
  object-fit: cover;
}

.section-pad h2 {
  font-size: 2.8rem; /* bigger heading */
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Quicksand', 'Inter', sans-serif;
}

.section-pad p {
  font-size: 1.3rem; /* slightly bigger text */
  line-height: 1.6;
  color: #052a10;
  font-weight: 600; 
  
  
}

.btn-primary {
  display: inline-block;
  background-color: var(--teal); /* teal background */
  color: #fff; /* white text */
  font-size: 1.4rem; /* slightly bigger text */
  font-weight: 600;
  padding: 1rem 2rem; /* vertical + horizontal padding */
  border-radius: 20px; /* smooth rounded corners */
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2); /* subtle shadow */
  transition: all 0.3s ease;
  margin-left: 2rem; /* move slightly away from left */
}

.btn-primary:hover {
  background-color: #0c6d6c; /* darker teal on hover */
  transform: translateY(-3px); /* subtle lift */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
/* ===== REVIEWS ===== */
.bg-light {
  background-color: #fef4e1; /* creamy background */
}
.reviews .review-card{position:relative;background:#ffffff;padding:2.5rem;border-radius:14px;max-width:820px;box-shadow:0 8px 30px rgba(0,0,0,0.06)}
.quote-mark{position:absolute;font-size:5rem;color:var(--accent);font-weight:700;line-height:1;opacity:.95}
.quote-mark.open{left:12px;top:-6px}
.quote-mark.close{right:12px;bottom:-6px}
.review-text{font-family: 'Patrick Hand', cursive; font-weight: 200; font-size:1.05rem;color:#333;padding:0 2rem 1rem 2rem}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem; /* space between stars */
  margin-bottom: 0.5rem;
}

.review-star {
  font-size: 2rem;    /* star size */
  color: #FFD700;     /* gold color */
}

.review-title {
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: #555;
}

.features-block {
  background-color: #fef4e1; /* light creamy background */
  padding: 4rem 0;
}



.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: #F86624; /* orange */
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 1rem;
   font-weight: 700;
  color: #333;
}

@media (max-width: 600px) {
  .review-text {
    font-size: 1.25rem;     /* larger handwriting font */
    padding: 0 1rem;
  }

  .quote-mark {
    font-size: 4rem;
  }

  .review-card {
    padding: 2rem 1.2rem;
  }
}

/* ===== CAROUSEL (slide-by-slide) ===== */
.carousel-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  padding: 0 4rem;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  transition: transform 0.5s ease;
  
  /* 💡 PERFORMANCE FIXES */
  will-change: transform;                /* hint GPU to keep this layer ready */
  transform: translate3d(0, 0, 0);       /* force GPU compositing */
  backface-visibility: hidden;           /* prevent repaint on jump */
}

.carousel-slide {
  flex: 0 0 370px;
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  
  /* 💡 STABILITY */
  backface-visibility: hidden;
  transform: translateZ(0);
}

.carousel-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.slide-body {
  padding: 1rem;
  text-align: left;
  color: #000;
}

.slide-body h5 {
  color: #0a5453 !important; /* teal or any color you prefer */
}

.slide-body h5 {
  color:#052a10;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--accent, #000000); /* optional accent color variable */
  margin-bottom: 1.2rem;
  margin-top: 1rem;
}

.slide-body p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 1rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease; /* 💡 smoother hover */
}

.carousel-btn:hover {
  background: #000;
  color: var(--accent);
}

.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

/* ===== SMALL SCREENS ===== */
@media (max-width: 991px) {
  .carousel-viewport { padding: 0 1rem; }
  .carousel-slide { flex: 0 0 85%; }
}


/* ===== CONTACT MAP ===== */
.map-wrapper{position:relative;height:620px}
.map-embed{position:absolute;inset:0}
.map-embed iframe{width:100%;height:100%;border:0}
.map-card{position:absolute;left:4%;top:50%;transform:translateY(-50%);background:rgba(50, 89, 99, 0.92);backdrop-filter:blur(4px);padding:1.5rem;border-radius:15px;max-width:500px;box-shadow:0 10px 30px rgba(0,0,0,0.12);z-index: 2;
}
.contact-table{width:100%;border-collapse:collapse}

/* ===== FOOTER ===== */
.site-footer{background:#323131;color:#fff;padding:2.75rem 0}
.footer-grid{display:flex;gap:2rem;flex-wrap:wrap;justify-content:space-between;max-width:1200px;margin:0 auto}
.footer-info,.footer-hours,.footer-social{flex:1;min-width:200px}
.hours-table{color:#fff;border-collapse:collapse}
.hours-table td{padding:4px 8px}
/* ===== FOOTER SOCIAL ICONS ===== */
.footer-social-icons {
  display: flex;
  gap: 0.8rem; /* space between icons */
  margin-top: 0.8rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent); /* default accent (yellow) */
  color: #fff;
  font-size: 1.3rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

/* Add unique colors for each platform */
.social-icon[aria-label="Facebook"] {
  background: #1877F2; /* Facebook blue */
}
.social-icon[aria-label="Instagram"] {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); /* Insta gradient */
}
.social-icon[aria-label="WhatsApp"] {
  background: #25D366; /* WhatsApp green */
}

/* Hover animation */
.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  opacity: 0.9;
}

/* small screens */
@media(max-width:600px){
  .footer-grid{flex-direction:column;align-items:flex-start}
  .nav-spacer{height:calc(var(--nav-height) + 48px)}
}



