/* Typography fonts loaded via head link tags for optimal performance */

:root {
  /* Brand Colors */
  --sapphire-blue: #0F52BA;
  --sapphire-blue-dark: #0A3A85;
  --sapphire-blue-light: #2870DD;
  --orange: #FF7F50; /* Coral / Orange */
  --orange-hover: #FF632B;
  --white: #FFFFFF;
  
  /* Neutral/Complementary Colors */
  --text-dark: #1A1A1A;
  --text-light: #374151;
  --bg-light: #F4F7F9;
  --bg-dark: #222222;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(12px);

  /* Typography */
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--sapphire-blue-dark);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-primary { color: var(--sapphire-blue); }
.text-orange { color: var(--orange); }
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 127, 80, 0.4);
}

.btn-primary:hover {
  background-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 127, 80, 0.6);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--sapphire-blue-dark);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 1.25rem 0;
}

/* Header & Navigation (Centered Two-Row Layout) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 0 0.75rem;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  border-radius: 50%;
  border: 2px solid var(--sapphire-blue);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sapphire-blue);
  letter-spacing: 0.8px;
  white-space: nowrap;
  text-align: center;
}

.logo-header-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-nav-admin {
  position: absolute;
  left: calc(100% + 48px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0A192F;
  color: #FFFFFF !important;
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(10, 25, 47, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  z-index: 10;
}

.btn-nav-admin:hover {
  transform: translateY(calc(-50% - 3px));
  box-shadow: 0 6px 16px rgba(10, 25, 47, 0.35);
  background: #0F52BA;
  color: #FFFFFF !important;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--sapphire-blue);
}

.nav-links .btn-primary {
  padding: 0.48rem 1.5rem !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--sapphire-blue);
}

/* Hero Section (Video Banner) */
.hero {
  position: relative;
  height: calc(100vh - 125px);
  min-height: 520px;
  margin-top: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  object-fit: contain;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  z-index: 3;
  padding: 0 2rem;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Audio Section */
.audio-container {
  margin-top: 2rem;
  z-index: 10;
  text-align: center;
  width: 100%;
}

.btn.audio-btn {
  border-color: var(--white);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  background-color: transparent;
}

.btn.audio-btn:hover, .btn.audio-btn:active, .btn.audio-btn:focus {
  background-color: var(--white);
  color: var(--text-dark);
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--sapphire-blue-dark);
  color: var(--white);
  padding: 2rem 0 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-col {
  flex: 0 1 auto;
}

.footer-col:first-child {
  max-width: 290px;
}

@media (max-width: 992px) {
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .footer-col:first-child {
    max-width: 100%;
  }
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col a {
  color: #DDD;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-bottom div {
  color: #cbd5e1;
}

/* Coupon Dropdown */
.coupon-dropdown {
  position: relative;
  display: inline-block;
}
.coupon-btn {
  background-color: #000 !important;
  color: #fff !important;
  padding: 0.52rem 1.4rem !important;
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem !important;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}
.coupon-dropdown-content {
  display: none;
  position: absolute;
  background-color: #000;
  color: #fff;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  font-weight: bold;
}
.coupon-dropdown:hover .coupon-dropdown-content {
  display: block;
}

/* Header Button Styling */
.nav-reviews-btn {
  background-color: #D1FAE5;
  color: #166534;
  border: 1.5px solid #6EE7B7;
  padding: 0.44rem 1.35rem !important;
  border-radius: 20px;
  font-size: 1.35rem !important;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
}
.nav-reviews-btn:hover {
  background-color: #A7F3D0;
  border-color: #34D399;
  color: #14532D;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.22);
}

.footer-contact-info {
  color: #DDD;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact-info:hover, .footer-contact-info:active {
  color: var(--orange);
}
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  padding: 16px;
  box-sizing: border-box;
}
.modal-card {
  background: #ffffff;
  width: 100%; max-width: 520px;
  max-height: 88vh;
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
.modal-close-btn {
  position: absolute;
  top: 12px; right: 14px;
  background: #F1F5F9; border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 22px; line-height: 1;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 2;
}
.modal-close-btn:hover { background: #E2E8F0; color: #0F172A; }
.modal-header-content {
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 14px;
}
.modal-header-content h2 {
  font-size: 1.35rem;
  color: #0F52BA;
  margin: 0 0 4px 0;
  font-family: var(--font-heading, sans-serif);
}
.modal-header-content p {
  margin: 0 0 6px 0;
  color: #334155;
  font-size: 0.9rem;
}
.stars-badge {
  color: #F59E0B;
  font-size: 1.15rem;
  letter-spacing: 2px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.modal-body-content {
  overflow-y: auto;
  padding-right: 4px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reviews-cta-row {
  text-align: center;
  padding-top: 8px;
  padding-bottom: 4px;
  margin-bottom: 4px;
}
.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #16A34A;
  color: #ffffff;
  border: 1.5px solid #15803D;
  padding: 11px 22px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 3px 8px rgba(22, 163, 74, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.google-btn svg path { fill: #ffffff !important; }
.google-btn:hover {
  background-color: #15803D;
  border-color: #14532D;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.32);
}
.review-card-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}
.review-card-item:hover {
  border-color: #CBD5E1;
}
.review-author-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.review-author-name {
  font-weight: 700;
  color: #0F172A;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-verified-tag {
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 9999px;
  text-transform: uppercase;
}
.review-date {
  font-size: 0.78rem;
  color: #64748B;
}
.review-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.review-text {
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
}

/* Responsive */
.page-header {
  padding: 11rem 1.5rem 2.4rem;
}

@media (max-width: 1350px) {
  .nav-links {
    gap: 1.15rem;
  }
  .nav-links a, .nav-reviews-btn, .nav-links .btn-primary {
    font-size: 1.22rem !important;
  }
  .logo-text {
    font-size: 1.35rem;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 0.85rem;
  }
  .nav-links a, .nav-reviews-btn, .nav-links .btn-primary {
    font-size: 1.1rem !important;
  }
  .logo-text {
    font-size: 1.25rem;
  }
}

@media (max-width: 900px) {
  header {
    padding: 0.75rem 0;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .logo-wrapper {
    justify-content: flex-start;
  }

  .logo-text {
    font-size: 1.05rem;
    white-space: nowrap;
    text-align: left;
  }

  .logo-header-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
  }

  .btn-nav-admin {
    position: static;
    transform: none;
    font-size: 0.72rem;
    padding: 0.22rem 0.65rem;
    margin-left: 14px;
    margin-right: 18px;
  }

  .btn-nav-admin:hover {
    transform: translateY(-2px);
  }

  nav {
    width: auto;
    display: flex;
    align-items: center;
  }

  .mobile-menu-btn {
    display: block;
    padding: 4px 6px;
  }

  .nav-links {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 1.2rem;
    box-shadow: var(--shadow-md);
    align-items: center;
  }

  .nav-links.active {
    display: flex;
  }

  .page-header {
  padding: 11rem 1.5rem 2.4rem;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 0.85rem;
  }
  
  .nav-container {
    gap: 0;
  }

  .logo-header-row {
    gap: 0;
    display: flex;
    align-items: center;
  }

  .logo-text {
    font-size: 1.15rem;
    color: var(--sapphire-blue);
    line-height: 1.12;
    max-width: 260px;
    white-space: normal;
    word-break: keep-all;
  }
  
  .logo-img {
    height: 36px;
  }

  .btn-nav-admin {
    font-size: 0.72rem;
    padding: 0.22rem 0.65rem;
    margin-left: auto;
    margin-right: 16px;
  }
  
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 85px; /* Just enough to clear the fixed header */
    padding-bottom: 10px;
    height: auto; /* Remove fixed height so it doesn't force full height */
    min-height: 0;
    margin-top: 0;
    overflow-y: visible;
    overflow-x: hidden;
  }
  
  .hero-overlay {
    display: none;
  }

  .hero-content {
    display: contents;
  }

  .hero-content h1 {
    order: 1;
    font-size: 2.2rem;
    position: relative;
    z-index: 3;
    padding: 0 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
  }
  
  .hero-content p {
    order: 2;
    position: relative;
    z-index: 3;
    padding: 0 1rem;
    margin-bottom: 0;
    font-size: 1.1rem;
  }
  
  .hero-video {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    order: 3;
    width: 100%;
    height: auto;
    max-height: 35dvh;
    margin: 1rem 0;
    object-fit: cover;
  }
  
  .hero-buttons-container {
    order: 4;
    position: relative;
    z-index: 3;
    padding: 0 1rem;
    margin-bottom: 1rem;
  }
  
  .audio-container {
    order: 5;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    background-color: #000;
    padding: 10px 0;
    width: 100%;
    margin-top: 0;
  }

  .hero-buttons-container .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-2 > div, .grid-3 > div {
    min-width: 0;
  }

  /* Fix footer overflow on mobile */
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-col a {
    word-break: break-all;
  }
}

/* Small Cellphone 9:16 Screens - Balanced Navbar Spacing */
@media (max-width: 480px) {
  .container {
    padding: 0 0.55rem;
  }

  .nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .logo-header-row {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 0;
  }

  .logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .logo-text {
    font-size: 1.18rem; /* 40% larger for cellphone screens */
    line-height: 1.08;
    max-width: 240px;
    white-space: normal;
    word-break: keep-all;
    letter-spacing: 0.2px;
  }

  .logo-img {
    height: 36px;
    width: 36px;
    flex-shrink: 0;
  }

  .btn-nav-admin {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    letter-spacing: 0.04em;
    margin-left: auto;
    margin-right: 14px;
    flex-shrink: 0;
  }

  nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .mobile-menu-btn {
    font-size: 1.5rem;
    padding: 2px 4px;
    flex-shrink: 0;
    display: block;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 0.4rem;
  }

  .logo-text {
    font-size: 1.04rem;
    max-width: 200px;
  }

  .logo-img {
    height: 32px;
    width: 32px;
  }

  .btn-nav-admin {
    margin-left: auto;
    margin-right: 8px;
    padding: 0.22rem 0.5rem;
    font-size: 0.68rem;
  }
}

/* Global High-Contrast Placeholders */
::placeholder {
  color: #64748B !important;
  opacity: 1 !important;
}
:-ms-input-placeholder {
  color: #64748B !important;
}
::-ms-input-placeholder {
  color: #64748B !important;
}
