/* ============ GLOBAL ============ */

#aiFabShadowRoot {
  display: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #131245;
  --accent-color: #e1e1e1;
  --button-bg: #131245;
  --button-text: #ffffff;
  --section-bg: #f4f6fa;
  --font: 'Montserrat', sans-serif;
  --header-shadow: 0 10px 30px rgba(0, 0, 0, 0.024);
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: #ffffff;
  color: #1e1e1e;
}

/* Generic anchor offset for fixed header */
section,
[id] {
  scroll-margin-top: 120px;
}

/* ============ HEADER / NAVBAR ============ */

/* Full-width fixed header */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  box-shadow: var(--header-shadow);
  z-index: 1000;
  overflow: visible;
}

/* Navbar container */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: #ffffffb5;
  margin: 0 auto;
}

.logo {
  height: 76px;
  width: auto;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #2E368E;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* Dropdown (not used here but kept minimal) */
.nav-links .has-sub {
  position: relative;
}

.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  display: none;
  padding: 8px 0;
  min-width: 200px;
  list-style: none;
  z-index: 2002;
}

.nav-links .sub-menu a {
  display: block;
  padding: 10px 14px;
  color: #131245;
}

.nav-links .sub-menu a:hover {
  background: #f6f7fb;
}

.nav-links .has-sub:hover > .sub-menu {
  display: block;
}

/* Schedule Visit button in nav */
.nav-links .btn-nav {
  background: linear-gradient(135deg, #1b92d0, #8cd5f6);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-links .btn-nav:hover {
  background: linear-gradient(135deg, #8cd5f6, #1b92d0);
  color: #fff;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  user-select: none;
  font-size: 28px;
  line-height: 1;
  padding: 8px 12px;
  margin-left: 8px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  color: #131245;
  background: #fff;
}

/* Focus states */
.nav-links a:focus,
.menu-btn:focus {
  outline: 2px solid #9eff00;
  outline-offset: 2px;
}

/* ============ HERO SECTION ============ */

.home-hero-section {
  padding: 0 !important;
  margin: 0 !important;
  border: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.home-hero-container {
  width: 100%;
  margin: 0 auto;
}

.home-hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;   /* full screen */
  overflow: hidden;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.home-hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.home-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Keep header above hero */
header {
  position: relative;
  z-index: 10;
}

/* ============ SECTION / TITLES ============ */

.section {
  padding: 4rem 2rem;
}

.all-sec-title {
  text-align: center;
  margin: 0 auto 28px;
  padding: 0 20px;
  max-width: 1280px;
  color: #1F2247;
  font-family: 'Khand', sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ============ CONTACT / SCHEDULE VISIT SECTION ============ */

#countact.schedule-visit-section {
  background: #f8f8f8;
  color: #1f2247;
  padding: 4rem 0 0 0;
  text-align: left;
}

/* Wrap whole area */
#countact {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Row 1: 3 columns */
#countact .row-one {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Text columns */
#countact h4 {
  font-size: 20px;
  font-weight: 700;
  color: #131245;
  margin: 24px 0px 16px 0px;
  text-transform: uppercase;
}

#countact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#countact ul li {
  margin: 6px 0;
}

#countact ul li a {
  color: #1f2247;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

#countact ul li a:hover {
  color: #1b92d0;
}

#countact p {
  margin: 0.3rem 0;
  line-height: 1.6;
  font-size: 15px;
}

/* Follow us icons */
.follow-us p {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.follow-us a i {
  font-size: 28px;
  background: linear-gradient(135deg, #1b92d0, #8cd5f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.follow-us a i:hover {
  transform: scale(1.2);
  opacity: 0.85;
}

/* Visit form card */
.visit-form {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visit-form h3 {
  text-align: center;
  color: #131245;
  font-size: 1.2rem;
  margin: 8px 0px 16px 0px;
}

.visit-form form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.visit-form label {
  display: block;
  width: 100%;
}

.visit-form input,
.visit-form select,
.visit-form button {
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  border-radius: 4px;
}

.visit-form input,
.visit-form select {
  padding: 0.6rem;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  appearance: none;
}

/* Custom dropdown arrow */
.visit-form select {
  background:
    #fff
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333'><path d='M2 4l4 4 4-4z'/></svg>")
    no-repeat right 0.8rem center;
  background-size: 12px;
  cursor: pointer;
}

.visit-form button {
  padding: 0.6rem;
  background: linear-gradient(135deg, #1b92d0, #8cd5f6);
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.visit-form button:hover {
  background: linear-gradient(135deg, #8cd5f6, #1b92d0);
}

/* Row 2: Theme image */
.theme-image {
  width: 100%;
  margin-top: 3rem;
}

.theme-image img {
  display: block;
  width: 100%;
  height: 434px;
  object-fit: cover;
}

/* ============ FOOTER ============ */

.footer-bottom {
  background-color: #2D2C2C;
  color: #ffffff;
  height: 70px;
  line-height: 20px;
  font-size: 0.85rem;
  border-top: 1px solid #ffffff;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 58px;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 992px) {
  .logo {
    height: 48px;
  }

  #countact .row-one {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Show hamburger */
  .menu-btn {
    display: inline-block;
    position: absolute;
    right: 14px;
    top: 56px;
    z-index: 1001;
  }

  .navbar {
    position: relative;
    padding: 12px 16px 10px 16px;
  }

  .logo {
    height: 48px;
  }

  /* Collapse nav */
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }

  .nav-links li {
    border-bottom: 1px solid #f3f3f3;
  }

  .nav-links li:last-child {
    border-bottom: 0;
  }

  .nav-links a {
    display: block;
    padding: 14px 16px;
  }

  /* ✅ FIXED: use proper property for expansion */
  .nav-toggle:checked ~ .navbar .nav-links {
    max-height: 400px;
  }

  /* Contact section */
  #countact .row-one {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .follow-us p {
    justify-content: center;
  }

  .visit-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .theme-image img {
    height: 280px;
  }

}
