/* =============================================
   Sunny Hills Dentistry — style.css
   Color Palette:
     Primary Teal:  #4AADAC
     Background:    #FAFAF8
     Coral Accent:  #F4845F
     Dark Text:     #2D3748
     Mid Gray:      #718096
     Light Border:  #E2E8F0
   Fonts: Nunito (headings), Open Sans (body)
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #FAFAF8;
  color: #2D3748;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #2D3748;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  color: #4A5568;
  margin-bottom: 1rem;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.text-center { text-align: center; }

.text-teal  { color: #4AADAC; }
.text-coral { color: #F4845F; }

.bg-teal       { background-color: #4AADAC; }
.bg-teal-light { background-color: #EAF6F6; }
.bg-white      { background-color: #ffffff; }
.bg-warm       { background-color: #FAFAF8; }

/* Section headings helper */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header .subtitle {
  font-size: 1.05rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 4px;
  background: #4AADAC;
  border-radius: 2px;
  margin: 0.75rem auto 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.btn-primary {
  background: #F4845F;
  color: #fff;
  border-color: #F4845F;
}

.btn-primary:hover {
  background: #e06b45;
  border-color: #e06b45;
}

.btn-outline {
  background: transparent;
  color: #4AADAC;
  border-color: #4AADAC;
}

.btn-outline:hover {
  background: #4AADAC;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: #4AADAC;
  border-color: #fff;
}

.btn-white:hover {
  background: #EAF6F6;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 0 1.5rem;
}

.navbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: #4AADAC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.navbar-logo .logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #2D3748;
  line-height: 1.2;
}

.navbar-logo .logo-text span {
  color: #4AADAC;
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-menu a {
  padding: 0.5rem 0.85rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #4A5568;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: #4AADAC;
  background: #EAF6F6;
}

.navbar-menu .btn-book {
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: #F4845F;
  color: #fff;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}

.navbar-menu .btn-book:hover {
  background: #e06b45;
  color: #fff;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2D3748;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggle.open span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 0.25rem;
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-menu a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .navbar-menu .btn-book {
    margin-left: 0;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  background: linear-gradient(135deg, #4AADAC 0%, #2d8f8e 100%);
  color: #fff;
  padding: 6rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-content h1 em {
  font-style: normal;
  color: #FFD88A;
}

.hero-content p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-content .btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-placeholder {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 4px solid rgba(255,255,255,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 5rem;
  text-align: center;
}

.hero-img-placeholder p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content .btn-group {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Services ---------- */
.service-card {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.service-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #EAF6F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #4AADAC;
}

.service-content h3 {
  margin-bottom: 0.5rem;
  color: #2D3748;
}

.service-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .service-card {
    flex-direction: column;
  }
}

/* ---------- Testimonials / Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.review-stars {
  color: #F4845F;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.review-text {
  font-size: 0.95rem;
  font-style: italic;
  color: #4A5568;
  margin-bottom: 1.25rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4AADAC;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.review-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #2D3748;
}

.review-meta {
  font-size: 0.8rem;
  color: #718096;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2D3748;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #EAF6F6;
}

.faq-question .faq-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: #4AADAC;
  transition: transform 0.3s ease;
}

.faq-question.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: #4A5568;
}

.faq-answer.open {
  display: block;
}

/* ---------- Insurance List ---------- */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.insurance-item {
  background: #fff;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #2D3748;
  transition: border-color 0.2s, background 0.2s;
}

.insurance-item:hover {
  border-color: #4AADAC;
  background: #EAF6F6;
}

.insurance-item .ins-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

/* ---------- Payment Methods ---------- */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.payment-badge {
  background: #EAF6F6;
  color: #2D3748;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  border: 1px solid #c5e8e8;
}

/* ---------- Contact Form ---------- */
.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #2D3748;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #2D3748;
  background: #FAFAF8;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4AADAC;
  box-shadow: 0 0 0 3px rgba(74,173,172,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Map Placeholder ---------- */
.map-placeholder {
  width: 100%;
  height: 320px;
  background: #EAF6F6;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #4AADAC;
  color: #4AADAC;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  gap: 0.5rem;
}

.map-placeholder .map-icon {
  font-size: 3rem;
}

.map-embed {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: none;
}

/* ---------- Info Box ---------- */
.info-box {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  height: 100%;
}

.info-box h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.info-item .info-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 0.1rem;
  color: #4AADAC;
}

/* ---------- Two-column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Doctor Profile ---------- */
.doctor-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  border-radius: 20px;
  background: linear-gradient(135deg, #4AADAC, #2d8f8e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 5rem;
  margin: 0 auto;
}

.doctor-photo p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-align: center;
}

/* ---------- Doctor Real Headshot ---------- */
.doctor-headshot {
  width: 100%;
  max-width: 380px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-headshot:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

@media (max-width: 768px) {
  .doctor-headshot {
    max-width: 280px;
  }
}

.credentials-list {
  margin-top: 1rem;
}

.credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.95rem;
  color: #4A5568;
}

.credentials-list li:last-child {
  border-bottom: none;
}

.credentials-list li::before {
  content: '✓';
  color: #4AADAC;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ---------- Hours Table ---------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table tr {
  border-bottom: 1px solid #E2E8F0;
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.75rem 0;
  color: #4A5568;
}

.hours-table td:first-child {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: #2D3748;
  width: 45%;
}

.hours-table .closed {
  color: #F4845F;
  font-weight: 600;
}

/* ---------- CareCredit Banner ---------- */
.carecredit-banner {
  background: linear-gradient(135deg, #F4845F 0%, #e06b45 100%);
  color: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.carecredit-banner h3 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.carecredit-banner p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #1A202C;
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: #4AADAC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.footer-logo .logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.2;
}

.footer-logo .logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4AADAC;
}

.footer-col h4 {
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #4AADAC;
}

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  color: #4AADAC;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: #4AADAC;
  color: #fff;
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: #4AADAC;
}

/* ---------- Highlight / Callout Banners ---------- */
.cta-banner {
  background: linear-gradient(135deg, #4AADAC 0%, #2d8f8e 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, #4AADAC 0%, #2d8f8e 100%);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  color: #fff;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

/* ---------- Scroll reveal helpers ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Real Logo Images ---------- */
.navbar-logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Invert to white for dark footer background */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ---------- Hero Exterior Photo ---------- */
.hero-exterior-img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-exterior-img:hover {
  transform: scale(1.02);
}

/* ---------- Office Gallery Section ---------- */
.office-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .office-gallery {
    grid-template-columns: 1fr;
  }
}

.office-collage-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-collage-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.office-exterior-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-exterior-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

/* ---------- QR Code Section ---------- */
.qr-section {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.qr-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.qr-card img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 8px;
}

.qr-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.qr-card p {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 0;
}

/* ---------- Photo Gallery Grid (about.html) ---------- */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .photo-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .photo-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 40px rgba(0,0,0,0.16);
}

.gallery-photo.tall {
  aspect-ratio: 3/4;
}

/* ---------- Gold Sign Banner (full-width photo strip) ---------- */
.photo-banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 6s ease;
}

.photo-banner:hover img {
  transform: scale(1.04);
}

.photo-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}

.photo-banner-overlay h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.photo-banner-overlay p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ---------- Office Photo Strip (3 photos in a row) ---------- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .photo-strip {
    grid-template-columns: 1fr;
  }
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-strip img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* ---------- Service Photo Block ---------- */
.service-photo-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.service-photo-block.reverse {
  direction: rtl;
}

.service-photo-block.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .service-photo-block,
  .service-photo-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.service-photo-block img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: block;
  transition: transform 0.3s ease;
}

.service-photo-block img:hover {
  transform: scale(1.02);
}

/* ---------- Hero Real Photo ---------- */
.hero-real-photo {
  width: 100%;
  max-width: 540px;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 28px 64px rgba(0,0,0,0.30);
  display: block;
  transition: transform 0.4s ease;
}

.hero-real-photo:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hero-real-photo {
    display: none;
  }

  .photo-banner {
    height: 260px;
  }
}
