:root {
  --primary: #25d96b;
  --primary-dark: #1ebf5b;
  --primary-light: #4de288;
  --accent: #282a70;
  --accent-dark: #1e2055;
  --accent-light: #3c3e8f;
  --white: #ffffff;
  --off-white: #f9f9f9;
  --dark: #1f1f1f;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #f4f4f4;
  --border-color: #e0e0e0;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --font-primary: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  background: var(--light-gray);
  color: var(--dark-gray);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Utility Classes */
.highlight {
  color: var(--primary);
  font-weight: 700;
}

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

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--accent);
  color: var(--white);
  padding: 8px 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.announcement-bar p {
  margin: 0;
}

.announcement-bar .highlight {
  color: var(--warning);
}

.phone-link {
  color: var(--white);
  text-decoration: underline;
  font-weight: 700;
}

.phone-link:hover {
  color: var(--primary-light);
}

/* Promo Banner */
.promo-banner {
  background: #fffbe6;
  padding: 10px;
  border-bottom: 1px solid #ffc107;
  text-align: center;
  font-weight: 600;
  color: #333;
}

.promo-banner p {
  margin: 0;
}

.promo-timestamp {
  color: #666;
  font-size: 0.85em;
}

/* Header */
header {
  background: var(--primary);
  color: var(--white);
  padding: 15px 0;
  position: relative;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  border-radius: 50%;
  border: 2px solid var(--white);
}

.logo-text h1 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: var(--white);
}

.logo-text p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

.header-cta {
  display: flex;
  align-items: center;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--primary-dark);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-call i {
  margin-right: 8px;
}

.btn-call:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Navigation */
.main-nav {
  background: var(--accent);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  text-align: right;
}

.menu-links {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 15px 20px;
  display: block;
  transition: var(--transition);
  position: relative;
}

.menu-links a:hover,
.menu-links a.active {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  color: var(--white);
  padding: 60px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://ik.imagekit.io/e5qb76enw/dental-pattern.png');
  background-size: cover;
  opacity: 0.05;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-primary i {
  margin-right: 8px;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 12px 25px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary i {
  margin-right: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-badges span i {
  margin-right: 6px;
  color: var(--primary);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  height: auto;
  border: 5px solid rgba(255, 255, 255, 0.1);
}

/* Quick Steps Section */
.quick-steps {
  background: var(--white);
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.quick-steps h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--dark);
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.step {
  flex: 1;
  background: var(--off-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.step p {
  font-size: 1rem;
  color: var(--medium-gray);
}

.step a {
  color: var(--primary);
  font-weight: 700;
}

.step a:hover {
  text-decoration: underline;
}

/* Services Section */
.services-section {
  background: var(--off-white);
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--dark);
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service {
  width: calc(25% - 30px);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 0;
}

.service:hover .service-image img {
  transform: scale(1.1);
}

.service h3 {
  padding: 20px 20px 10px;
  font-size: 1.2rem;
  color: var(--accent);
  text-align: center;
}

.service p {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--medium-gray);
  text-align: center;
  margin: 0;
}

/* Content Wrapper */
.content-wrapper {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.main-content {
  flex: 2;
}

.content-section {
  background: var(--white);
  padding: 30px;
  margin-bottom: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.content-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
}

.content-section h3 {
  font-size: 1.4rem;
  margin: 25px 0 15px;
  color: var(--dark);
}

.content-section p {
  margin-bottom: 15px;
  color: var(--medium-gray);
}

.content-section ul,
.content-section ol {
  margin-bottom: 20px;
}

.content-section li {
  margin-bottom: 8px;
}

/* Map Section */
.map-section {
  overflow: hidden;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.map-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
}

.map-link i {
  margin-right: 6px;
}

.map-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Sidebar */
.sidebar {
  flex: 1;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.sidebar-widget {
  background: var(--white);
  padding: 25px;
  margin-bottom: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--light-gray);
}

/* Quote Card */
.quote-card {
  text-align: center;
  padding: 30px;
}

.quote-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

.quote-card .highlight {
  color: var(--primary);
}

.quote-card img {
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6a00, #ff3f00);
  color: var(--white);
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  width: 100%;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.call-btn i {
  margin-right: 8px;
}

.call-btn:hover {
  background: linear-gradient(135deg, #ff3f00, #ff6a00);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.call-btn:active {
  transform: translateY(2px);
}

/* Emergency Box */
.emergency-box {
  background: linear-gradient(135deg, #ff6a00, #ff3f00);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 30px;
}

.emergency-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.emergency-box h3 {
  color: var(--white);
  border: none;
  padding: 0;
  margin-bottom: 10px;
}

.emergency-box p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.emergency-box .btn-primary {
  background: var(--white);
  color: #ff3f00;
}

.emergency-box .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #ff3f00;
}

/* Contact Box */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--medium-gray);
}

.contact-list li i {
  width: 25px;
  color: var(--primary);
  margin-right: 10px;
}

.contact-list li a {
  color: var(--accent);
  font-weight: 600;
}

.contact-list li a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Trust Box */
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--medium-gray);
}

.trust-list li i {
  color: var(--success);
  margin-right: 10px;
}

/* Interlinking Box */
.interlinks-list {
  columns: 2;
  column-gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
}

.interlinks-list li {
  margin-bottom: 10px;
  break-inside: avoid;
}

.interlinks-list a {
  color: var(--accent);
  font-size: 0.9rem;
}

.interlinks-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Contact CTA */
.contact-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-cta h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--white);
}

.contact-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Footer */
footer {
  background: var(--dark);
  color: #ccc;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo img {
  margin-bottom: 15px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.footer-links,
.footer-services,
.footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li,
.footer-services li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: center;
}

.footer-contact li i {
  width: 20px;
  margin-right: 10px;
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* Sticky Call Button */
.sticky-btn {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 9999;
  width: 90%;
  max-width: 400px;
}

.sticky-btn .call-btn {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Local Areas Section */
#local_areas ul {
  columns: 2;
  column-gap: 30px;
  max-height: 500px;
  overflow-y: auto;
  padding-left: 0;
  list-style: none;
}

#local_areas ul li {
  margin-bottom: 10px;
}

#local_areas ul li a {
  text-decoration: none;
  color: var(--accent);
  transition: var(--transition);
}

#local_areas ul li a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .service {
    width: calc(33.33% - 20px);
  }
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-image {
    justify-content: center;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .service {
    width: calc(50% - 15px);
  }
  
  .content-wrapper {
    flex-direction: column;
  }
  
  .sidebar {
    position: static;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .logo {
    justify-content: center;
  }
  
  .logo-text {
    text-align: center;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-links {
    display: none;
    flex-direction: column;
  }
  
  .menu-links.show {
    display: flex;
  }
  
  .menu-links a {
    text-align: center;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .service {
    width: 100%;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links,
  .footer-services,
  .footer-contact {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 40px 0;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .quick-steps h2,
  .services-section h2 {
    font-size: 1.6rem;
  }
  
  .contact-cta h3 {
    font-size: 1.6rem;
  }
  
  .contact-cta p {
    font-size: 1rem;
  }
  
  .interlinks-list {
    columns: 1;
  }
  
  #local_areas ul {
    columns: 1;
  }
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .sticky-btn,
  .menu-toggle,
  .btn-primary,
  .btn-secondary,
  .call-btn {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  .container {
    width: 100%;
    max-width: none;
  }
  
  header,
  nav,
  .sidebar,
  footer,
  .announcement-bar,
  .promo-banner {
    display: none !important;
  }
  
  .content-wrapper {
    display: block;
  }
  
  .main-content {
    width: 100%;
  }
  
  .content-section {
    break-inside: avoid;
    page-break-inside: avoid;
    background: none;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: none;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
  }
  
  img {
    max-width: 500px;
  }
  
  .map-container {
    display: none;
  }
}