:root {
  --sky-metal: #87CEEB;        /* Base sky blue */
  --metallic-mist: #9AC7E6;    /* Light metallic blue */
  --steel-sheen: #B0C4DE;      /* Metallic accent */
  --gold-accent: #D4AF37;      /* Existing gold */
  --deep-shadow: #2C3E50;      /* Existing navy */
  --navy: #2C3E50;
  --gold: #D4AF37;
  --gray: #6C7A89;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  padding-top: 0;
}

/* Logo Header - Responsive Scaling */
.logo-header {
  position: fixed;
  top: 80px;
  right: 30px;
  z-index: 1004;
  animation: fadeInDown 1s ease-out;
  transition: all 0.3s ease-in-out;
  transform: scale(1);
  transform-origin: right top;
}

/* Desktop Styles */
.logo-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1004;
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 25px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  /*transition: all 0.3s ease;*/
  /*animation: subtle-float 4s ease-in-out infinite;*/
  /*transform-origin: center;*/
}

@keyframes subtle-float {
  0%, 100% { 
      transform: translateY(0);
  }
  50% { 
      transform: translateY(-8px);
  }
}

.logo-container::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 60%;
  height: 10px;
  background: radial-gradient(rgba(0,0,0,0.1), transparent 70%);
  transform: translateX(-50%);
  opacity: 0.8;
  animation: subtle-shadow 4s ease-in-out infinite;
}

@keyframes subtle-shadow {
  0%, 100% { 
      transform: translateX(-50%) scale(1);
      opacity: 0.6;
  }
  50% { 
      transform: translateX(-50%) scale(0.95);
      opacity: 0.4;
  }
}

.logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  animation: subtle-float 4s ease-in-out infinite !important;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
  will-change: transform;
}

.logo-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.7), 0 1px 2px rgba(44,62,80,0.10);
}

.logo-tagline {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.5px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.logo-header.hidden {
  opacity: 0;
  pointer-events: none;
}

.logo-container:hover {
  transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 1440px) {
  .logo-header { transform: scale(0.9); }
  .logo { width: 110px; height: 110px; }
  .logo-name { font-size: 1.7rem; }
  .logo-tagline { font-size: 0.95rem; }
}

@media (max-width: 1200px) {
  .logo-header { transform: scale(0.85); }
  .logo { width: 100px; height: 100px; }
  .logo-name { font-size: 1.6rem; }
  .logo-tagline { font-size: 0.9rem; }
}

@media (max-width: 992px) {
  .logo-header { transform: scale(0.8); }
  .logo { width: 90px; height: 90px; }
  .logo-name { font-size: 1.4rem; }
  .logo-tagline { font-size: 0.85rem; }
}

@media (max-width: 768px) {
  .logo-container {
    top: 20px;
    right: 15px;
    padding: 8px 15px;
    transform: scale(0.8);
    min-width: auto;
  }
  .logo {
      width: 75px;
      height: 75px;
  }
  .logo-name {
      font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .logo-header {
    transform: scale(0.6);
    right: 15px;
    top: 65px;
  }
  .logo { width: 60px; height: 60px; }
  .logo-name { font-size: 1.2rem; }
  .logo-tagline { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .logo-header {
    top: 50px;
    right: 10px;
  }
  
  .logo-container {
    top: 15px;
    right: 10px;
    padding: 6px 12px;
    transform: scale(0.7);
    gap: 8px;
  }
  .logo {
      width: 50px;
      height: 50px;
  }
  .logo-name {
      font-size: 1.1rem;
  }
  .logo-tagline {
      font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .logo {
    width: 35px;
    height: 35px;
  }

  .logo-container {
    top: 10px;
    right: 8px;
    padding: 5px 10px;
    transform: scale(0.65);
  }
  .logo-name {
      font-size: 0.9rem;
  }
  .logo-tagline {
      display: none;
  }
}

/* Make logo text clearer on small screens */
@media (max-width: 480px) {
  .logo-name {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #1a2533 !important;
    text-shadow: 0 1px 3px rgba(255,255,255,0.7), 0 1px 2px rgba(44,62,80,0.15);
  }
  .logo-tagline {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    color: #2c3e50 !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.7), 0 1px 2px rgba(44,62,80,0.12);
  }
}

@media (max-width: 360px) {
  .logo-name {
    font-size: 1.05rem !important;
  }
  .logo-tagline {
    font-size: 0.7rem !important;
  }
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 0 2rem;
  z-index: 1003; /* Higher than other elements */
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 70px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  z-index: 1001;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Highlight the active nav link */
.nav-links a.active,
.nav-links a.active:visited {
  color: var(--gold-accent) !important;
  font-weight: 700;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gold-accent);
  border-radius: 2px;
  position: absolute;
  left: 0;
  bottom: -2px;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  z-index: 1008 !important;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  min-width: 200px;
  padding: 1rem 0;
}

.dropdown:hover .dropdown-content {
  display: none;
}

.dropdown.active .dropdown-content {
  display: block;
}

.dropdown-content a {
  padding: 0.75rem 1.5rem;
  display: block;
  color: var(--navy);
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: rgba(212, 175, 55, 0.1);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  z-index: 1002;
  position: relative;
}

.dropdown i {
  transition: transform 0.3s ease;
}

.dropdown.active i {
  transform: rotate(180deg);
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 140px;
  }

  .logo-header {
    top: 80px;
    right: 20px;
    transform: scale(0.8);
  }
  
  .logo-container {
    padding: 12px 20px;
  }

  .logo {
    width: 80px;
    height: 80px;
  }

  .logo-name {
    font-size: 1.4rem;
  }

  .logo-tagline {
    font-size: 0.8rem;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 1rem;
    height: 70px;
  }

  .nav-container {
    justify-content: space-between;
  }

  .mobile-menu {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .navbar.active .nav-links {
    display: flex !important;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
  }
  .dropdown.active .dropdown-content {
    display: block;
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.95);
  }
  .hero {
    padding-top: 90px;
  }
  .hero-content h1 {
    margin-top: 40px;
  }
}

@media (max-width: 480px) {

  .logo-header {
    top: 80px;
    right: 15px;
    transform: scale(0.7) translateX(5%);
  }
  
  body {
    padding-top: 140px;
  }

  .logo-container {
    padding: 10px 15px;
    gap: 10px;
    transform: scale(1);
    transition: transform 0.3s ease;
  }

  .logo {
    width: 70px;
    height: 70px;
  }

  .logo-name {
    font-size: 1.2rem;
  }

  .logo-tagline {
    font-size: 0.7rem;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-content h1 {
    margin-top: 30px;
    font-size: 2rem;
  }
}

/* Hero Section */
.hero {
  background-color: rgba(100, 120, 140, 0.4);
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 120px 2rem 2rem;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background: url('./assets/scale.jpg') center/contain no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./assets/scale.jpg') center/contain no-repeat;
  z-index: -1;
}


/* Hero Video + Image Background */

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  object-fit: cover;
  opacity: 0.8;
  mix-blend-mode: multiply;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.5);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* Fallback for browsers that don't support video */
@supports not (object-fit: cover) {
  .hero-video {
    display: none;
  }
  
  .hero {
    background: url('./assets/scale.jpg') center/cover no-repeat;
  }
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .hero-video {
    opacity: 0.6;
  }
  
  .hero-image-overlay {
    background: rgba(44, 62, 80, 0.7);
  }
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  animation: fadeInDown 1s ease-out;
  position: relative;
  z-index: 1000;
}

.hero .tagline {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: var(--gold-accent);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  background: rgba(44, 62, 80, 0.8);
  border: 1px solid var(--gold-accent);
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  backdrop-filter: blur(6px);
  margin-top: 1rem;
  animation: fadeInUp 1s ease-out 0.5s;
  animation-fill-mode: both;
  transition: all 0.3s ease;
}

.tagline:hover {
  background: rgba(68, 90, 112, 0.8);
  transform: translateY(-2px);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Section */
.services {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  background: var(--navy);
  color: var(--white);
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.clio-iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 8px;
  background: white;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--gold);
  min-width: 30px;
  text-align: center;
}

.address p {
  margin: 0;
  line-height: 1.4;
}

/* Chatbot */
.floating-chatbot {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.chatbot-toggle {
  background: var(--gold);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
}

.chatbot-container {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  width: 350px;
  max-height: 80vh;
  overflow: hidden;
  position: fixed;
  bottom: 80px;
  right: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  visibility: hidden;
  z-index: 1001;
  pointer-events: auto;
}

.chatbot-container.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.questions-list {
  padding: 1rem;
}

.question-btn {
  background: #f8f9fa;
  border: none;
  width: 100%;
  padding: 1rem;
  margin: 0.5rem 0;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.question-btn:hover {
  background: #e9ecef;
}

.question-btn.active {
  background: var(--gold);
  color: var(--navy);
}

.answer-box {
  padding: 1rem;
  background: #f8f9fa;
  border-top: 2px solid #dee2e6;
  max-height: 200px;
  overflow-y: auto;
}

/* Client Feedback Section */
.client-feedback {
  padding: 4rem 2rem;
  background: var(--white);
  text-align: center;
}

.client-feedback h2 {
  color: var(--navy);
  margin-bottom: 2rem;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.feedback-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.feedback-card:hover {
  transform: translateY(-5px);
}

.client-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.client-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.client-info {
  text-align: left;
}

.client-info h4 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy);
}

.client-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.rating {
  color: var(--gold);
  margin: 1rem 0;
}

.rating i {
  margin: 0 2px;
}

.feedback-text {
  font-style: italic;
  color: var(--gray);
}

/* Footer */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  color: var(--white);
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--gold);
}

/* Case Inquiry Section */
.case-inquiry {
  padding: 4rem 2rem;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.inquiry-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.inquiry-benefits {
  list-style: none;
  margin: 1.5rem 0;
}

.inquiry-benefits li {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.clio-form-iframe {
  height: 700px;
  width: 100%;
  border: none;
  border-radius: 8px;
  background: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 1rem 0;
}

/* Book Appointment Section */
.book-appointment {
  padding: 4rem 2rem;
  background: var(--navy);
  color: var(--white);
}

.appointment-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.clio-calendar-iframe {
  height: 600px;
  width: 100%;
  border: none;
  border-radius: 8px;
  background: white;
}

.hours-list {
  list-style: none;
  margin: 2rem 0;
}

.hours-list li {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.appointment-notes {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}

/* Success Modal */
.success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1002;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  position: relative;
}

.success-icon {
  color: #28a745;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.close-modal {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero {
      height: 50vh;
      background-size: contain;
      padding-top: 140px;
  }

  .hero-content h1 {
      font-size: 2.5rem;
  }

  .contact-content {
      grid-template-columns: 1fr;
  }

  .clio-iframe {
      height: 400px;
      margin-top: 2rem;
  }

  .chatbot-container {
      width: 90vw;
      right: 5vw;
  }

  .inquiry-content,
  .appointment-content {
      grid-template-columns: 1fr;
  }

  .clio-form-iframe,
  .clio-calendar-iframe {
      height: 500px;
      margin-top: 2rem;
  }

  .appointment-info {
      order: -1;
  }
}

/*Client Intake Button*/
/* Case Inquiry Form Styles */
.form-container {
    position: relative;
    height: 700px;
    width: 100%;
}

.clio-form-iframe {
    height: 100%;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.clio-form-iframe.loaded + .form-loading {
    opacity: 0;
    pointer-events: none;
}

.form-spinner {
    position: relative;
    margin-bottom: 2rem;
}

.form-spinner i {
    font-size: 3rem;
    color: var(--gold-accent);
}

.spinner {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold-accent);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-fallback-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--deep-shadow);
    color: var(--gold-accent);
    border: 2px solid var(--gold-accent);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-fallback-button:hover {
    background: var(--gold-accent);
    color: var(--deep-shadow);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/*Case Intake styling*/
.case-intake-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Lato', sans-serif;
}

.intake-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.intake-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold-accent);
}

.intro-text {
    color: var(--deep-shadow);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(108, 122, 137, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.benefits-list i {
    color: var(--gold-accent);
    width: 1.5rem;
    text-align: center;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-card h3 {
    color: var(--deep-shadow);
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-card h3:first-child {
    margin-top: 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.8rem;
}

.contact-method i {
    color: var(--gold-accent);
    width: 1.5rem;
    text-align: center;
}

.phone-contact {
    background: rgba(212, 175, 55, 0.1);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

address {
    font-style: normal;
    line-height: 1.6;
}

a[href^="mailto:"], 
a[href^="tel:"] {
    color: var(--deep-shadow);
    text-decoration: none;
    transition: color 0.3s ease;
}

a[href^="mailto:"]:hover, 
a[href^="tel:"]:hover {
    color: var(--gold-accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .intake-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        order: -1;
    }
}


/*Book Appointment Styling*/
/* Book Appointment Section */
.book-appointment {
    background: var(--deep-shadow);
    color: white;
    padding: 4rem 2rem;
}

.appointment-container {
    max-width: 1200px;
    margin: 0 auto;
}

.book-appointment h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--gold-accent);
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.appointment-card, .features-card {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--gold-accent);
}

.card-header i {
    font-size: 1.5rem;
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hours-list li:last-child {
    border-bottom: none;
}

.day-icon {
    color: var(--gold-accent);
    font-size: 1.2rem;
    width: 1.5rem;
    text-align: center;
}

.day-range {
    font-weight: 600;
}

.hours {
    color: var(--gold-light);
    text-align: right;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    color: var(--gold-accent);
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 0.3rem;
    color: var(--gold-accent);
}

.feature-text p {
    margin: 0;
    opacity: 0.9;
}

.emergency-notice {
    background: rgba(212, 175, 55, 0.15);
    border-left: 4px solid var(--gold-accent);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 0 6px 6px 0;
}

.emergency-notice i {
    color: var(--gold-accent);
    font-size: 1.5rem;
}

.emergency-notice a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.emergency-notice a:hover {
    color: var(--gold-accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .appointment-grid {
        grid-template-columns: 1fr;
    }
    
    .book-appointment h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hours-list li {
        grid-template-columns: auto 1fr;
    }
    
    .hours {
        grid-column: 2;
        text-align: left;
        padding-left: 2.5rem;
    }
}

/*Services Card styling*/
    /* Base Styles */
    .services {
        font-family: 'Georgia', serif;
        background: #f8f5f0;
        padding: 4rem 2rem;
        color: #333;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    /* Updated Title Styles */
    .section-header h2 {
        font-size: 2.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 1.5rem;
        position: relative;
        display: inline-block;
        font-family: 'Playfair Display', serif;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
    .section-header h2:after {
        content: '';
        position: absolute;
        width: 60%;
        height: 3px;
        background: linear-gradient(90deg, #d4af37, transparent);
        bottom: -10px;
        left: 0;
    }
    
    .gold-divider {
        width: 120px;
        height: 4px;
        background: linear-gradient(90deg, #d4af37, #f4e5c2);
        margin: 1.5rem auto 0;
        border-radius: 2px;
        box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
    }

    /* Add this to your existing styles */
    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .service-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }
    
    .image-container {
        position: relative;
        height: 220px;
        overflow: hidden;
    }
    
    .service-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .service-card:hover .service-image {
        transform: scale(1.05);
    }
    
    .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    }
    

    
    .service-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: #2c3e50;
    }
    
    .service-content p {
        color: #555;
        line-height: 1.6;
        margin-bottom: 2rem;
        flex-grow: 1;
    }
    
    /* Updated Button Styles */
    .service-content {
        padding: 1.8rem;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center content horizontally */
        text-align: center; /* Center text */
        height: calc(100% - 220px);
    }

    .learn-more-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.8rem 2rem;
        border-radius: 30px; /* Pill shape */
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        width: fit-content;
        margin-top: 1.5rem;
        border: 2px solid transparent;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    /* Individual Button Colors */
    .service-card:nth-child(1) .learn-more-btn {
        background: #3a5a78; /* Deep blue */
        color: white !important;
    }
    .service-card:nth-child(1) .learn-more-btn:hover {
        background: #2c4461;
        transform: translateY(-2px);
    }

    .service-card:nth-child(2) .learn-more-btn {
        background: #d4af37; /* Gold */
        color: #2c3e50 !important;
    }
    .service-card:nth-child(2) .learn-more-btn:hover {
        background: #c19b2e;
        transform: translateY(-2px);
    }

    .service-card:nth-child(3) .learn-more-btn {
        background: #8b5a2b; /* Rich brown */
        color: white !important;
    }
    .service-card:nth-child(3) .learn-more-btn:hover {
        background: #6e4622;
        transform: translateY(-2px);
    }

    /* Button Arrow Icon */
    .learn-more-btn i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }
    .learn-more-btn:hover i {
        transform: translateX(3px);
    }



    /* Chatbot Styles */
.floating-chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chatbot-toggle {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chatbot-toggle:hover {
    background-color: #1a252f;
    transform: scale(1.05);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-container {
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 500px;
    border: 1px solid #e0e0e0;
}

.chatbot-header {
    background: #2c3e50;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.chatbot-header h3 {
    margin: 0;
    flex-grow: 1;
    font-size: 16px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

.chatbot-welcome {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #3498db;
}

.chatbot-welcome p {
    margin: 0 0 10px 0;
}

.chatbot-welcome ul {
    padding-left: 20px;
    margin: 10px 0;
}

.chatbot-welcome li {
    margin-bottom: 5px;
}

.disclaimer {
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #e0e0e0;
    background: white;
}

.chatbot-input textarea {
    flex-grow: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 15px;
    resize: none;
    max-height: 100px;
    outline: none;
    font-family: inherit;
}

.chatbot-input textarea:focus {
    border-color: #3498db;
}

.send-button {
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.send-button:hover {
    background: #1a252f;
}

.chatbot-footer {
    padding: 8px 15px;
    background: #f5f5f5;
    text-align: center;
    font-size: 11px;
    color: #7f8c8d;
}

.chatbot-footer a {
    color: #3498db;
    text-decoration: none;
}

.chatbot-footer a:hover {
    text-decoration: underline;
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
}

.user-message .message-content {
    background: #3498db;
    color: white;
    border-bottom-right-radius: 5px;
}

.bot-message .message-content {
    background: white;
    color: #2c3e50;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 5px;
}

.typing-indicator {
    display: flex;
    padding: 10px 15px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background: #7f8c8d;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hidden {
    display: none !important;
}

.logo-name,
.logo-tagline {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.form-fallback-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1em 2em;
  background: #2c3e50;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1em;
  border: 2px solid #d4af37;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.form-fallback-button:hover,
.form-fallback-button:focus {
  background: #d4af37;
  color: #2c3e50;
}