/* ============================================
   BASE STYLES
   ============================================ */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

/* Variables */
:root {
  /* ============================================
       Custom Brand Colors
       ============================================ */
  --primary-green: #2d5016;
  --primary-green-dark: #1f350f;
  --primary-green-light: #3d6a1f;
  --pColor: #cd8a70;
  --sColor: #05180d;
  --aColor: #5c6954;

  /* Button Colors */
  --btn-color: #0f2027;
  --btn-color-hover: #0f2027;
  --btn-gradient: linear-gradient(135deg, #28623a 0%, #0f2027 100%);
  --btn-gradient-hover: linear-gradient(135deg, #28623a 0%, #0f2027 100%);
  --btn-shadow: 0 4px 15px rgba(15, 32, 39, 0.3);
  --btn-shadow-hover: 0 6px 20px rgba(15, 32, 39, 0.4);

  /* ============================================
       Theme Colors
       ============================================ */
  --text-color: #000000;
  --text-light: #666666;
  --bg-light: #f5f5f5;
  --white: #ffffff;
  --border-color: #e0e0e0;

  /* ============================================
       Effects
       ============================================ */
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /* ============================================
       WordPress Preset Font Sizes
       ============================================ */
  --wp--preset--font-size--small: 13px;
  --wp--preset--font-size--normal: 16px;
  --wp--preset--font-size--medium: 20px;
  --wp--preset--font-size--large: 36px;
  --wp--preset--font-size--x-large: 42px;
  --wp--preset--font-size--huge: 42px;

  /* ============================================
       WordPress Preset Spacing
       ============================================ */
  --wp--preset--spacing--20: 0.44rem;
  --wp--preset--spacing--30: 0.67rem;
  --wp--preset--spacing--40: 1rem;
  --wp--preset--spacing--50: 1.5rem;
  --wp--preset--spacing--60: 2.25rem;
  --wp--preset--spacing--70: 3.38rem;
  --wp--preset--spacing--80: 5.06rem;

  /* ============================================
       WordPress Preset Shadows
       ============================================ */
  --wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
  --wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
  --wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);
  --wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1),
    6px 6px rgba(0, 0, 0, 1);
  --wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);

  /* ============================================
       Breakpoints (для удобства в JS)
       ============================================ */
  --breakpoint-mobile: 640px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 968px;
  --breakpoint-large: 1200px;
}

/* Typography */
html {
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #000000;
  background-color: var(--white);
  font-size: var(--wp--preset--font-size--normal);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  margin: 0 auto;
  clear: both;
  display: block;
  padding: 0;
  max-width: 100%;
  padding-top: 180px;
}

@media (max-width: 968px) {
  body {
    padding-top: 140px;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 120px;
  }
}

/* Visually hidden class for accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   LAYOUT
   ============================================ */

/* Container */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  clear: both;
  display: block;
}

@media (max-width: 640px) {
  .container {
    padding: 0 15px;
  }
}

.wide-wrapper {
  width: 100%;
  max-width: 100%;
}

/* ============================================
   COMPONENTS
   ============================================ */

/* Header */
/* ============================================
   Header Block
   ============================================ */

.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  width: 100%;
  overflow: visible;
  transition: all 0.3s ease;
}

/* Compact header on scroll */
.site-header--scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header--scrolled .site-header__top {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-bottom: none;
  transition: all 0.3s ease;
  margin: 0;
}

.site-header--scrolled .site-header__navigation {
  border-top: none;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.site-header--scrolled .site-header__top-row {
  display: none;
}

.site-header--scrolled .site-header__cta-wrapper,
.site-header--scrolled .site-header__address {
  display: none;
}

/* Compact navigation row */
.site-header--scrolled .site-header__navigation .site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: nowrap;
}

.site-header--scrolled .site-header__logo-image {
  max-height: 45px;
  transition: all 0.3s ease;
}

.site-header--scrolled .site-header__phone-link {
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.site-header--scrolled .site-header__phone-icon svg {
  width: 14px;
  height: 14px;
}

.site-header--scrolled .site-header__menu-link {
  padding: 8px 12px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.site-header--scrolled .site-header__menu {
  flex-wrap: nowrap;
  justify-content: center;
}

.site-header__container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Header Top Section
   ============================================ */

.site-header__top {
  width: 100%;
  padding: 25px 0;
  border-bottom: 1px solid var(--border-color);
}

.site-header__top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ============================================
   Contact Section (Left)
   ============================================ */

.site-header__contact {
  flex: 0 1 auto;
  text-align: left;
}

/* Compact contact for scrolled state */
.site-header__contact--compact {
  display: none;
}

.site-header--scrolled .site-header__contact--compact {
  display: block;
  flex: 0 0 auto;
  order: 2;
  text-align: right;
}

.site-header--scrolled
  .site-header__contact:not(.site-header__contact--compact) {
  display: none;
}

.site-header--scrolled
  .site-header__contact--compact
  .site-header__phone-wrapper {
  flex-direction: row;
  gap: 0;
}

.site-header__phone-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-header__phone-link {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-header__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-header__phone-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.site-header__phone-link:hover {
  color: var(--primary-green);
}

.site-header__social {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  text-decoration: none;
  transition: var(--transition);
  background: transparent;
  border: none;
  padding: 2px;
}

.site-header__social-link:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.site-header__social-icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

/* ============================================
   Brand/Logo Section (Center)
   ============================================ */

.site-header__brand {
  flex: 0 1 auto;
  text-align: center;
  order: 0;
}

/* Compact brand/logo for scrolled state */
.site-header__brand--compact {
  display: none;
}

.site-header--scrolled .site-header__brand--compact {
  display: block;
  flex: 0 0 auto;
  order: 0;
}

.site-header--scrolled .site-header__brand:not(.site-header__brand--compact) {
  display: none;
}

.site-header__logo {
  margin: 0;
  line-height: 1;
  font-size: 0;
}

.site-header__logo-link {
  display: inline-block;
  text-decoration: none;
  transition: var(--transition);
}

.site-header__logo-link:hover {
  opacity: 0.9;
}

.site-header__logo-image {
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
}

/* ============================================
   Actions Section (Right)
   ============================================ */

.site-header__actions {
  flex: 0 1 auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.site-header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  position: relative;
}

.site-header__mobile-toggle-icon {
  width: 100%;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.site-header__cta-wrapper {
  margin-bottom: 5px;
}

.site-header__cta-button {
  display: inline-block;
  padding: 12px 20px;
  background: var(--btn-gradient);
  color: var(--white);
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--btn-shadow);
}

.site-header__cta-button:hover {
  background: var(--btn-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}

.site-header__address {
  margin: 0;
  font-style: normal;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.site-header__address-link {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.site-header__address-link:hover {
  color: var(--primary-green);
}

.site-header__email {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-color);
}

.site-header__email-link {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

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

/* ============================================
   Navigation Section
   ============================================ */

.site-header__navigation {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 0;
  width: 100%;
  position: relative;
}

.site-header__navigation .site-header__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__menu {
  list-style: none;
  display: flex;

  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  order: 1;
}

.site-header__menu-item {
  position: relative;
  margin: 0;
}

.site-header__menu-link {
  display: block;
  padding: 15px 18px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-header__menu-link:hover {
  color: var(--primary-green);
}

.site-header__menu-item--current .site-header__menu-link {
  background-color: var(--primary-green);
  color: var(--white);
}

.site-header__menu-arrow {
  font-size: 10px;
  margin-left: 5px;
  display: inline-block;
  transition: var(--transition);
}

.site-header__menu-item--has-children:hover .site-header__menu-arrow {
  transform: rotate(180deg);
}

/* ============================================
   Dropdown Submenu
   ============================================ */

.site-header__menu-item--has-children {
  position: relative;
}

.site-header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1000;
}

.site-header__menu-item--has-children:hover .site-header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header__submenu-item {
  width: 100%;
}

.site-header__submenu-link {
  padding: 12px 20px;
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
  display: block;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.site-header__submenu-link:hover {
  background-color: var(--bg-light);
  color: var(--primary-green);
}

.site-header__submenu-item--current .site-header__submenu-link {
  background-color: var(--primary-green);
  color: var(--white);
  font-weight: 600;
}

.site-header__submenu-item:last-child .site-header__submenu-link {
  border-bottom: none;
}

/* ============================================
   Mobile Menu Overlay
   ============================================ */

.site-header__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header__overlay[aria-hidden="false"] {
  display: block;
  opacity: 1;
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 968px) {
  .site-header__top-row {
    flex-wrap: wrap;
  }

  .site-header__brand {
    order: -1;
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .site-header__contact {
    flex: 0 0 calc(50% - 10px);
    text-align: left;
  }

  .site-header__actions {
    flex: 0 0 calc(50% - 10px);
    text-align: right;
  }

  .site-header__cta-wrapper,
  .site-header__address {
    display: none;
  }

  .site-header__mobile-toggle {
    display: flex;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .site-header__navigation .site-header__container {
    position: relative;
    padding-left: 60px;
    min-height: 50px;
    display: flex;
    align-items: center;
  }

  /* Compact header on mobile */
  .site-header--scrolled .site-header__navigation .site-header__container {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 10px;
  }

  .site-header--scrolled .site-header__brand--compact {
    order: 0;
    flex: 0 0 auto;
  }

  .site-header--scrolled .site-header__contact--compact {
    order: 2;
    flex: 0 0 auto;
  }

  .site-header--scrolled .site-header__menu {
    order: 3;
    width: 90%;
    margin-top: 10px;
    justify-content: start;
  }

  .site-header--scrolled .site-header__mobile-toggle {
    order: 1;
    flex: 0 0 auto;
  }

  .site-header__menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    overflow-x: hidden;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    padding-top: 70px;
  }

  /* Custom scrollbar for mobile menu */
  .site-header__menu::-webkit-scrollbar {
    width: 6px;
  }

  .site-header__menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
  }

  .site-header__menu::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 3px;
  }

  .site-header__menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
  }

  .site-header__menu[aria-expanded="true"] {
    left: 0;
  }

  .site-header__menu-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
  }

  .site-header__menu-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .site-header__menu-item:hover {
    background-color: rgba(45, 80, 22, 0.03);
  }

  .site-header__menu-item--current {
    background-color: rgba(45, 80, 22, 0.08);
  }

  .site-header__menu-item--current .site-header__menu-link {
    font-weight: 600;
  }

  .site-header__menu-link {
    padding: 18px 25px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s ease;
    position: relative;
  }

  .site-header__menu-link:hover {
    color: var(--primary-green);
    padding-left: 30px;
  }

  .site-header__menu-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-green);
    transform: scaleY(0);
    transition: transform 0.2s ease;
  }

  .site-header__menu-item--current .site-header__menu-link::before,
  .site-header__menu-link:hover::before {
    transform: scaleY(1);
  }

  .site-header__menu-arrow {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    cursor: pointer;
    color: var(--text-color);
    font-size: 12px;
    margin-left: 10px;
    transition: transform 0.3s ease, color 0.2s ease;
    flex-shrink: 0;
  }

  .site-header__menu-item--has-children[aria-expanded="true"]
    .site-header__menu-arrow {
    transform: rotate(180deg);
    color: var(--primary-green);
  }

  .site-header__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(45, 80, 22, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .site-header__submenu[aria-expanded="true"] {
    max-height: 500px;
  }

  .site-header__submenu-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }

  .site-header__submenu-item:last-child {
    border-bottom: none;
  }

  .site-header__submenu-link {
    padding: 14px 25px 14px 45px;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-light);
    transition: all 0.2s ease;
    display: block;
    position: relative;
  }

  .site-header__submenu-link::before {
    content: "→";
    position: absolute;
    left: 30px;
    color: var(--primary-green);
    opacity: 0;
    transition: all 0.2s ease;
    font-size: 14px;
  }

  .site-header__submenu-link:hover {
    color: var(--primary-green);
    padding-left: 50px;
    background-color: rgba(45, 80, 22, 0.08);
  }

  .site-header__submenu-link:hover::before {
    opacity: 1;
    left: 35px;
  }

  .site-header__submenu-item--current .site-header__submenu-link {
    color: var(--primary-green);
    font-weight: 600;
    background-color: rgba(45, 80, 22, 0.1);
  }
}

@media (max-width: 640px) {
  .site-header__container {
    padding: 0 15px;
  }

  .site-header__top {
    padding: 15px 0;
  }

  .site-header__top-row {
    flex-direction: column;
    gap: 15px;
  }

  .site-header__brand {
    order: -1;
    flex: 0 0 100%;
    margin-bottom: 10px;
  }

  .site-header__logo-image {
    max-height: 50px;
  }

  .site-header__contact,
  .site-header__actions {
    flex: 0 0 100%;
    text-align: center;
  }

  .site-header__phone-wrapper {
    align-items: center;
    gap: 5px;
  }

  .site-header__actions {
    align-items: center;
  }

  .site-header__phone-link {
    font-size: 16px;
  }

  .site-header__phone-icon svg {
    width: 16px;
    height: 16px;
  }

  .site-header__navigation {
    padding: 0;
  }

  .site-header__navigation .site-header__container {
    padding: 0 15px;
    padding-left: 55px;
    min-height: 45px;
  }

  .site-header__mobile-toggle {
    left: 15px;
    width: 28px;
    height: 28px;
  }

  .site-header__menu {
    width: 300px;
    max-width: 90vw;
    padding-top: 60px;
  }

  .site-header__menu-link {
    padding: 16px 20px;
    font-size: 15px;
  }

  .site-header__submenu-link {
    padding: 12px 20px 12px 40px;
    font-size: 14px;
  }

  .site-header__submenu-link::before {
    left: 25px;
  }

  .site-header__submenu-link:hover {
    padding-left: 45px;
  }

  .site-header__submenu-link:hover::before {
    left: 30px;
  }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #8b6f47 0%, #6b5537 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}

.hero h2 .company-name {
  font-weight: 600;
  display: block;
  margin-top: 8px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 20px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 40px 15px;
  }

  .hero h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 20px;
  }
}

/* Slider */
.primary-ser-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.primalider {
  width: 100%;
  height: 600px;
  position: relative;
}

.primalider .slick-list,
.primalider .slick-track {
  height: 600px;
}

.primalider .slick-slide {
  height: 600px;
}

.newCon {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.newCon picture {
  width: 100%;
  height: 100%;
  display: block;
}

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

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1000;
  color: var(--white);
}

.carousel-caption__intro {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption h1 {
  font-size: 50px;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

/* Button styles are now in buttons.css */

/* Slick slider dots */
.primalider .slick-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.primalider .slick-dots li {
  width: 12px;
  height: 12px;
  margin: 0;
}

.primalider .slick-dots li button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
  font-size: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primalider .slick-dots li.slick-active button {
  background: var(--white);
}

/* Slick arrows */
.primalider .slick-prev,
.primalider .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0;
  margin: 0;
}

.primalider .slick-prev:hover,
.primalider .slick-next:hover {
  background: rgba(255, 255, 255, 0.6);
}

.primalider .slick-prev {
  left: 20px;
}

.primalider .slick-prev:before {
  content: "";
  display: none;
}

.primalider .slick-prev:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-left: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(45deg);
  display: block;
  top: 50%;
  left: 50%;
  margin-top: -6px;
  margin-left: -4px;
}

.primalider .slick-next {
  right: 20px;
}

.primalider .slick-next:before {
  content: "";
  display: none;
}

.primalider .slick-next:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--white);
  border-top: 3px solid var(--white);
  transform: rotate(45deg);
  display: block;
  top: 50%;
  left: 50%;
  margin-top: -6px;
  margin-left: -8px;
}

@media (max-width: 768px) {
  .primalider {
    height: 400px;
  }

  .primalider .slick-list,
  .primalider .slick-track {
    height: 400px;
  }

  .primalider .slick-slide {
    height: 400px;
  }

  .carousel-caption {
    padding: 30px 15px;
  }

  .carousel-caption__intro {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .carousel-caption h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .carousel-caption .btn {
    padding: 12px 30px;
    font-size: 16px;
  }

  .primalider .slick-prev,
  .primalider .slick-next {
    width: 40px;
    height: 40px;
  }

  .primalider .slick-prev:after,
  .primalider .slick-next:after {
    width: 20px;
    height: 20px;
  }

  .primalider .slick-prev {
    left: 10px;
  }

  .primalider .slick-next {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .primalider {
    height: 300px;
  }

  .primalider .slick-list,
  .primalider .slick-track {
    height: 300px;
  }

  .primalider .slick-slide {
    height: 300px;
  }

  .carousel-caption {
    padding: 20px 15px;
  }

  .carousel-caption__intro {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .carousel-caption h1 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .carousel-caption .btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  .primalider .slick-prev,
  .primalider .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 0;
    text-indent: -9999px;
    overflow: hidden;
    line-height: 0;
    padding: 0;
  }

  .primalider .slick-prev:after,
  .primalider .slick-next:after {
    width: 14px;
    height: 14px;
    border-width: 2.5px;
  }

  .primalider .slick-prev {
    left: 10px;
  }

  .primalider .slick-next {
    right: 10px;
  }

  .primalider .slick-prev:hover,
  .primalider .slick-next:hover {
    background: rgba(255, 255, 255, 0.8);
  }
}

@media (max-width: 480px) {
  .primalider .slick-prev,
  .primalider .slick-next {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.6);
  }

  .primalider .slick-prev:after,
  .primalider .slick-next:after {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  .primalider .slick-prev {
    left: 8px;
  }

  .primalider .slick-next {
    right: 8px;
  }
}

/* Welcome */
.welcome {
  display: block;
}

.welcome .container {
  margin: 0 auto;
  padding: 0 0 0 20px;
}

.welcome .row.dm-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.welcome .dm-half {
  flex: 1 1 45%;
  min-width: 300px;
}

.welcome .dm-half h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

.welcome .dm-half h2 .span-1 {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--sColor);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
}

.welcome .dm-half p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-light);
}

.welcome .dm-half p:last-of-type {
  margin-bottom: 0;
}

/* Button styles are now in buttons.css */
.welcome .dm-half .btn {
  margin-top: 10px;
}

.welcome__image-container {
  position: relative;
  padding-left: 10px;
}

.welcome__image-container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--primary-green) 0%,
    var(--primary-green-light) 50%,
    var(--primary-green) 100%
  );
  border-radius: 2px;
}

.welcome__image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
}

/* Animation */
.wow.fadeIn {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 968px) {
  .welcome {
    padding: 40px 0;
  }

  .welcome .row.dm-flex {
    flex-direction: column;
    gap: 40px;
  }

  .welcome .dm-half {
    flex: 1 1 100%;
  }

  .welcome .dm-half h2 {
    font-size: 32px;
  }

  .welcome .dm-half h2 .span-1 {
    font-size: 18px;
  }

  /* Button responsive styles are in buttons.css */
}

@media (max-width: 640px) {
  .welcome {
    padding: 30px 0;
  }

  .welcome .container {
    padding: 0 15px;
  }

  .welcome .row.dm-flex {
    gap: 25px;
  }

  .welcome .dm-half {
    min-width: 100%;
  }

  .welcome .dm-half h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .welcome .dm-half h2 .span-1 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .welcome .dm-half p {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .welcome__image-container {
    padding-left: 0;
  }

  .welcome__image-container::before {
    display: none;
  }

  .welcome__image {
    max-height: 250px;
    border-radius: 8px;
  }
}

/* Services */
/* Services Page Styles */
.dm-service-section {
  padding: 40px 0;
}

.dm-service-section:first-child {
  padding-top: 60px;
}

.dm-service-section:last-child {
  padding-bottom: 60px;
}

.dm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dm-service-section .dm-flex {
  display: flex;
  align-items: start;
  gap: 40px;
  flex-wrap: wrap;
}

.dm-service-section .dm-half {
  flex: 1 1 45%;
  min-width: 300px;
}

.dm-service-section .dm-half img {
  width: 100%;
  height: 400px !important;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dm-service-section .dm-flex-reverse {
  flex-direction: row-reverse;
}

.dm-service-section .dm-half h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
  margin-top: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.3;
}

.dm-service-section .dm-half h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
  margin-top: 0;
}

.dm-service-section .dm-half p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.dm-service-section .dm-half ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.dm-service-section .dm-half ul li {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.6;
}

.dm-service-section .dm-half ul li a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.dm-service-section .dm-half ul li a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

.dm-service-section .dm-half .btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
}

.dm-service-section .dm-half .btn i {
  font-size: 16px;
  color: #ffffff !important;
}

.anchor-fix {
  display: block;
  position: relative;
  top: -80px;
  visibility: hidden;
}

.services-we-help {
  padding: 10vh 0;
  background: whitesmoke;
  display: block;
}

.services-we-help .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.services-we-help .dm-flex {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.services-we-help .dm-half {
  padding: 0px 15px;
  max-width: 100%;
  flex: 1 1 50%;
  box-sizing: border-box;
  width: 50%;
  -webkit-backface-visibility: hidden;
  animation-fill-mode: initial !important;
}

.services-we-help .dm-half h2 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  font-size: 36px;
  line-height: 1;
  position: relative;
}

.services-we-help .dm-half h2::after {
  display: none;
}

.services-we-help .dm-half h2 .span-1 {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--sColor);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
}

.services-we-help .dm-half p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-light);
}

.services-we-help .dm-half p:last-of-type {
  margin-bottom: 0;
}

/* Button styles are now in buttons.css */
.services-we-help .dm-half .btn {
  margin-top: 15px;
}

/* Services Grid */
.ss-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-ed {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  gap: 8px;
  justify-content: center;
  justify-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.service-item {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: var(--wp--preset--shadow--natural);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  aspect-ratio: 1;
  width: 200px;
  height: 200px;
  padding-bottom: 0;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.service-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--wp--preset--shadow--deep);
}

.service-item:hover::before {
  opacity: 1;
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  background: rgba(255, 255, 255, 0.2);
}

.service-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
}

.service-item h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 20px 15px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  z-index: 10;
  text-align: center;
  transition: padding 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 0 0 50% 50%;
  width: 100%;
}

.service-item:hover h3 {
  padding: 30px 20px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.service-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 50%;
}

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

@media (max-width: 968px) {
  .services-we-help {
    padding: 60px 0;
  }

  .services-we-help .dm-flex {
    flex-direction: column;
    gap: 0;
  }

  .services-we-help .dm-half {
    flex: 1 1 100%;
    width: 100%;
    padding: 0px 15px;
    margin-bottom: 40px;
  }

  .services-we-help .dm-half:last-child {
    margin-bottom: 0;
  }

  .services-we-help .dm-half h2 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .services-we-help .dm-half h2 .span-1 {
    font-size: 20px;
  }

  .flex-ed {
    grid-template-columns: repeat(3, 200px);
    gap: 15px;
    justify-content: center;
    justify-items: center;
    margin: 0 auto;
  }

  .service-item {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .service-item h3 {
    font-size: 14px;
    padding: 15px 10px;
  }
}

@media (max-width: 768px) {
  .services-we-help .dm-flex {
    flex-direction: column;
    gap: 30px;
  }

  .services-we-help .dm-half {
    flex: 1 1 100%;
    width: 100%;
    padding: 0px 15px;
    margin-bottom: 0;
  }

  .flex-ed {
    grid-template-columns: repeat(3, 150px);
    gap: 15px;
    justify-content: center;
    justify-items: center;
    margin: 0 auto;
  }

  .service-item {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .services-we-help {
    padding: 40px 0;
  }

  .services-we-help .dm-flex {
    flex-direction: column;
    gap: 30px;
  }

  .services-we-help .dm-half {
    padding: 0px 15px;
    width: 100%;
  }

  .services-we-help .dm-half h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .services-we-help .dm-half h2 .span-1 {
    font-size: 18px;
  }

  .flex-ed {
    grid-template-columns: repeat(2, 150px);
    gap: 15px;
    justify-content: center;
    justify-items: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .service-item {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .service-item h3 {
    font-size: 14px;
    padding: 15px 10px;
  }
}

@media (max-width: 480px) {
  .flex-ed {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    margin: 0 auto;
  }

  .service-item {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
}

/* Services Page Responsive */
@media (max-width: 968px) {
  .dm-service-section {
    padding: 30px 0;
  }

  .dm-service-section:first-child {
    padding-top: 40px;
  }

  .dm-container {
    padding: 0 15px;
  }

  .dm-service-section .dm-flex,
  .dm-service-section .dm-flex-reverse {
    flex-direction: column;
    gap: 30px;
  }

  .dm-service-section .dm-half {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .dm-service-section .dm-half img {
    height: 300px;
  }

  .dm-service-section .dm-half h2 {
    font-size: 28px;
  }

  .dm-service-section .dm-half h3 {
    font-size: 24px;
  }

  .dm-service-section .dm-half p {
    font-size: 16px;
  }

  .dm-service-section .dm-half ul li {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .dm-service-section {
    padding: 25px 0;
  }

  .dm-service-section:first-child {
    padding-top: 25px;
  }

  .dm-container {
    padding: 0 15px;
  }

  .dm-service-section .dm-flex {
    gap: 25px;
  }

  .dm-service-section .dm-half {
    min-width: 100%;
  }

  .dm-service-section .dm-half img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }

  .dm-service-section .dm-half h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .dm-service-section .dm-half h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .dm-service-section .dm-half p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .dm-service-section .dm-half ul {
    margin: 15px 0;
  }

  .dm-service-section .dm-half ul li {
    font-size: 15px;
    margin-bottom: 8px;
  }
}

/* Meet Doctor */
.meet-doctor {
  position: relative;
  padding: 8vh 0;
  display: block;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  min-height: 600px;
  overflow: hidden;
  background-color: rgba(45, 80, 22, 0.1);
}

.meet-doctor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url(/assets/images/eye-chart-1920-1.webp),
    url(/assets/images/eye-chart-1920-1.jpg);
  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px);
  -webkit-filter: blur(10px);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.meet-doctor__image-wrapper {
  position: absolute;
  left: 0;
  width: auto;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.meet-doctor__background {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.meet-doctor .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.meet-doctor .flex-ed {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: auto;
  padding: 0;
  text-align: left;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 60px;
  min-height: 600px;
}

.meet-doctor .dm-half {
  flex: 1 1 45%;
  min-width: 300px;
  box-sizing: border-box;
}

.meet-doctor__content {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--wp--preset--shadow--natural);
}

.meet-doctor .dm-half h2 {
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

.meet-doctor .dm-half h2 .span-1 {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--sColor);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
}

.meet-doctor .dm-half h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.3;
}

.meet-doctor .dm-half p {
  font-size: var(--wp--preset--font-size--normal);
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-light);
}

.meet-doctor .dm-half p:last-of-type {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 968px) {
  .meet-doctor {
    padding: 60px 0;
  }

  .meet-doctor .flex-ed {
    flex-direction: column;
    gap: 40px;
  }

  .meet-doctor .dm-half {
    flex: 1 1 100%;
  }

  .meet-doctor .dm-half h2 {
    font-size: 36px;
  }

  .meet-doctor .dm-half h2 .span-1 {
    font-size: 20px;
  }

  .meet-doctor .dm-half h3 {
    font-size: var(--wp--preset--font-size--medium);
  }
}

@media (max-width: 640px) {
  .meet-doctor {
    padding: 30px 0;
  }

  .meet-doctor__image-wrapper {
    display: none;
  }

  .meet-doctor .container {
    padding: 0 15px;
  }

  .meet-doctor .flex-ed {
    min-height: auto;
    gap: 25px;
  }

  .meet-doctor__content {
    padding: 25px 20px;
  }

  .meet-doctor .dm-half h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .meet-doctor .dm-half h2 .span-1 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .meet-doctor .dm-half h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .meet-doctor .dm-half p {
    font-size: 15px;
    margin-bottom: 15px;
  }
}

/* Testimonials */
/* ============================================
   Testimonials Block
   ============================================ */

.new-testimonial {
  padding: 50px 20px;
  background-color: var(--bg-light);
  position: relative;
  display: block;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.new-testimonial .container {
  max-width: 1200px;
  margin: 0 auto;
}

.new-testimonial h2 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color);
  line-height: 1;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

.new-testimonial .ti-widget {
  width: 100%;
}

.new-testimonial .ti-widget-container {
  width: 100%;
  max-width: 100%;
}

/* Trustindex widget styles integration */
.new-testimonial .ti-widget-container.ti-col-3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.new-testimonial .ti-footer {
  margin-top: 53px;
  width: 100%;
}

.new-testimonial .ti-reviews-container {
  position: relative;
  width: 100%;
}

.new-testimonial .ti-reviews-container-wrapper {
  width: 100%;
  overflow: hidden;
}

.new-testimonial .ti-review-item {
  margin-bottom: 20px;
  padding: 0 8px;
  box-sizing: border-box;
  text-align: left;
  direction: ltr;
  color: #000000;
  margin: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  font-size: 14px;
  line-height: 1.4em;
  transition: transform 300ms ease-out;
  display: flex;
  height: 100%;
}

.testimonials-slider .slick-slide {
  height: auto;
}

.testimonials-slider .slick-slide > div {
  max-height: 250px;
  min-height: 250px;
  display: flex;
}

.testimonials-slider .ti-review-item {
  outline: none;
}

.testimonials-slider .slick-slide {
  padding: 0 8px;
}

/* Testimonials slider dots pagination */
.testimonials-slider .slick-dots {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.testimonials-slider .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
}

.testimonials-slider .slick-dots li button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--primary-green);
  border-radius: 50%;
  background: transparent;
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  position: relative;
}

.testimonials-slider .slick-dots li button:hover {
  border-color: var(--primary-green-dark);
  transform: scale(1.2);
}

.testimonials-slider .slick-dots li.slick-active button {
  background: var(--primary-green);
  border-color: var(--primary-green);
  width: 32px;
  border-radius: 6px;
}

.testimonials-slider .slick-dots li.slick-active button:hover {
  background: var(--primary-green-dark);
  border-color: var(--primary-green-dark);
}

.testimonials-slider {
  position: relative;
  padding: 0 50px;
}

.testimonials-slider .slick-arrow,
.testimonials-slider .slick-prev,
.testimonials-slider .slick-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: 40px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  padding: 0 !important;
  margin: 0 !important;
}

.testimonials-slider .slick-arrow:hover,
.testimonials-slider .slick-prev:hover,
.testimonials-slider .slick-next:hover {
  background: var(--primary-green) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.testimonials-slider .slick-prev,
.testimonials-slider .slick-arrow.slick-prev {
  left: 0 !important;
  right: auto !important;
}

.testimonials-slider .slick-prev:before,
.testimonials-slider .slick-arrow.slick-prev:before {
  content: "" !important;
  display: none !important;
}

.testimonials-slider .slick-prev:after,
.testimonials-slider .slick-arrow.slick-prev:after {
  content: "" !important;
  position: absolute !important;
  width: 10px !important;
  height: 10px !important;
  border-left: 2px solid var(--text-color) !important;
  border-bottom: 2px solid var(--text-color) !important;
  transform: rotate(45deg) !important;
  display: block !important;
  top: 50% !important;
  left: 50% !important;
  margin-top: -5px !important;
  margin-left: -3px !important;
  border-right: none !important;
  border-top: none !important;
}

.testimonials-slider .slick-prev:hover:after,
.testimonials-slider .slick-arrow.slick-prev:hover:after {
  border-left-color: var(--white) !important;
  border-bottom-color: var(--white) !important;
}

.testimonials-slider .slick-next,
.testimonials-slider .slick-arrow.slick-next {
  right: 0 !important;
  left: auto !important;
}

.testimonials-slider .slick-next:before,
.testimonials-slider .slick-arrow.slick-next:before {
  content: "" !important;
  display: none !important;
}

.testimonials-slider .slick-next:after,
.testimonials-slider .slick-arrow.slick-next:after {
  content: "" !important;
  position: absolute !important;
  width: 10px !important;
  height: 10px !important;
  border-right: 2px solid var(--text-color) !important;
  border-top: 2px solid var(--text-color) !important;
  transform: rotate(45deg) !important;
  display: block !important;
  top: 50% !important;
  left: 50% !important;
  margin-top: -5px !important;
  margin-left: -7px !important;
  border-left: none !important;
  border-bottom: none !important;
}

.testimonials-slider .slick-next:hover:after,
.testimonials-slider .slick-arrow.slick-next:hover:after {
  border-right-color: var(--white) !important;
  border-top-color: var(--white) !important;
}

.new-testimonial .ti-inner {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.new-testimonial .ti-inner:hover {
  transform: translateY(-2px);
}

.new-testimonial .ti-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.new-testimonial .ti-profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.new-testimonial .ti-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.new-testimonial .ti-profile-details {
  flex: 1;
}

.new-testimonial .ti-name {
  font-weight: 600;
  font-size: var(--wp--preset--font-size--normal);
  color: var(--text-color);
  margin-bottom: 4px;
}

.new-testimonial .ti-date {
  font-size: var(--wp--preset--font-size--small);
  color: var(--text-light);
}

.new-testimonial .ti-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  align-items: center;
}

.new-testimonial .ti-star {
  width: 17px;
  height: 17px;
  display: block;
}

.new-testimonial .ti-review-text-container {
  font-size: var(--wp--preset--font-size--normal);
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 10px;
  flex: 1;
  display: flex;
  align-items: flex-start;
  overflow-y: auto;
  max-height: 150px;
  padding-right: 5px;
}

.new-testimonial .ti-review-text-container::-webkit-scrollbar {
  width: 6px;
}

.new-testimonial .ti-review-text-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.new-testimonial .ti-review-text-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.new-testimonial .ti-review-text-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.new-testimonial .ti-read-more {
  color: var(--primary-green);
  font-size: var(--wp--preset--font-size--small);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.new-testimonial .ti-read-more:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

.new-testimonial .ti-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.new-testimonial .ti-next,
.new-testimonial .ti-prev {
  width: 40px;
  height: 40px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.new-testimonial .ti-next:hover,
.new-testimonial .ti-prev:hover {
  background-color: var(--primary-green);
  color: var(--white);
  transform: scale(1.1);
}

.new-testimonial .ti-next {
  right: 10px;
}

.new-testimonial .ti-prev {
  left: 10px;
}

.new-testimonial .ti-rating-text {
  text-align: center;
  margin-bottom: 10px;
}

.new-testimonial .ti-rating {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 700;
  color: var(--primary-green);
}

.new-testimonial .ti-large-logo {
  text-align: center;
  margin-top: 15px;
}

.new-testimonial .ti-logo-fb {
  max-width: 110px;
  height: auto;
}

/* Responsive */
@media (max-width: 968px) {
  .new-testimonial {
    padding: 40px 15px;
  }

  .new-testimonial .ti-inner {
    padding: 15px;
  }

  .new-testimonial h2 {
    font-size: 36px;
  }

  .testimonials-slider {
    padding: 0 45px;
  }

  .testimonials-slider .slick-arrow,
  .testimonials-slider .slick-prev,
  .testimonials-slider .slick-next {
    width: 36px !important;
    height: 36px !important;
  }

  .testimonials-slider .slick-prev:after,
  .testimonials-slider .slick-next:after {
    width: 8px !important;
    height: 8px !important;
  }
}

@media (max-width: 640px) {
  .new-testimonial {
    padding: 30px 15px;
  }

  .new-testimonial .container {
    padding: 0;
  }

  .new-testimonial .ti-controls {
    display: none;
  }

  .new-testimonial h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .testimonials-slider {
    padding: 0 35px;
  }

  .testimonials-slider .slick-arrow,
  .testimonials-slider .slick-prev,
  .testimonials-slider .slick-next {
    width: 30px !important;
    height: 30px !important;
  }

  .testimonials-slider .slick-prev {
    left: 5px !important;
  }

  .testimonials-slider .slick-next {
    right: 5px !important;
  }

  .testimonials-slider .slick-prev:after,
  .testimonials-slider .slick-next:after {
    width: 6px !important;
    height: 6px !important;
    border-width: 1.5px !important;
  }

  .testimonials-slider .slick-dots {
    bottom: -40px;
    gap: 8px;
  }

  .testimonials-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    border-width: 1.5px;
  }

  .testimonials-slider .slick-dots li.slick-active button {
    width: 22px;
  }

  .new-testimonial .ti-inner {
    padding: 15px;
  }

  .new-testimonial .ti-review-text-container {
    font-size: 14px;
    max-height: 120px;
  }
}

/* Map */
/* ============================================
   MAP SECTION
   ============================================ */

.map-office.full-map {
  padding: 0;
  margin: 0;
  display: block;
  box-sizing: border-box;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-light);
  position: relative;
}

.map-office .map-6 {
  width: 100%;
  max-width: 100%;
  position: relative;
  padding: 0;
  margin: 0;
}

.map-office .map-6 iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
  border-radius: 0;
}

.landtiles_map {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

.d-block {
  display: block !important;
}

/* Map Placeholder (for lazy loading) */
.map-placeholder {
  width: 100%;
  height: 450px;
  cursor: pointer;
  position: absolute;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.map-placeholder:hover {
  opacity: 0.9;
}

.map-placeholder .map-static-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-placeholder:focus {
  outline: 3px solid #5c6954;
  outline-offset: 2px;
}

.map-placeholder__content {
  text-align: center;
  color: #5c6954;
  padding: 20px;
}

.map-placeholder__content svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: #5c6954;
  stroke: #5c6954;
}

.map-placeholder__content p {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #2d5016;
}

.map-placeholder__address {
  font-size: 14px;
  color: #666;
  font-weight: 400;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 968px) {
  .map-office .map-6 iframe,
  .map-placeholder {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .map-office .map-6 iframe,
  .map-placeholder {
    height: 350px;
  }

  .map-placeholder__content svg {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
  }

  .map-placeholder__content p {
    font-size: 16px;
  }

  .map-placeholder__address {
    font-size: 13px;
  }
}

/* Page Header */
/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
  background-color: #05180d;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  margin: 0;
  margin-top: -180px;
  padding-top: 240px;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  display: block;
  clear: both;
  overflow: visible;
}

.page-header .container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-header .page-title {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  position: static !important;
  z-index: 1;
  display: block !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal !important;
}

/* Responsive */
@media (max-width: 968px) {
  .page-header {
    padding: 50px 15px;
    margin-top: -140px;
    padding-top: 190px;
  }

  .page-header .page-title {
    font-size: 36px;
    line-height: 1.3;
  }
}

@media (max-width: 640px) {
  .page-header {
    padding: 30px 15px;
    margin-top: -60px;
    padding-top: 150px;
  }

  .page-header .page-title {
    font-size: 28px;
    line-height: 1.3;
    word-break: break-word;
  }
}

/* Meet Team */
/* ============================================
   MEET THE TEAM PAGE
   ============================================ */

.article {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  min-height: 100px;
  float: none;
  clear: both;
  padding: 0;
  max-width: 100% !important;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

#content_box {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  min-height: 100px;
  float: none;
  clear: both;
  padding: 0;
  max-width: 100% !important;
  box-sizing: border-box;
}

.single_page {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  min-height: 100px;
  float: none;
  clear: both;
  padding: 0;
  max-width: 100% !important;
  box-sizing: border-box;
}

.post-content {
  padding: 50px 0;
}

.post-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.post-content .container p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.post-content .container p:last-child {
  margin-bottom: 0;
}

.post-content .container strong {
  font-weight: 600;
  color: var(--text-color);
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.post-content .container a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-content .container a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

@media (max-width: 968px) {
  .post-content {
    padding: 40px 0;
  }

  .post-content .container {
    padding: 0 15px;
  }

  .post-content .container p {
    font-size: 15px;
    line-height: 1.7;
  }

  .post-content .container strong {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .post-content {
    padding: 25px 0;
  }

  .post-content .container {
    padding: 0 15px;
  }

  .post-content .container p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .post-content .container strong {
    font-size: 16px;
    margin-bottom: 8px;
  }
}

.meetDoc {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  min-height: 100px;
  float: none;
  clear: both;
  padding: 0;
  max-width: 100% !important;
  box-sizing: border-box;
}

.meetDoc .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.doca {
  margin-bottom: 60px;
  padding: 40px 0;
}

.doca:last-child {
  margin-bottom: 0;
}

.doca .row {
  display: flex;
  flex-wrap: wrap;

  gap: 40px;
  margin: 0;
}

.col55 {
  flex: 1;
  min-width: 300px;
  box-sizing: border-box;
}

.reg-staff-image {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.meetd {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  position: relative;
}

.meetd-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  display: block;
}

.reg-staff-image {
  width: 100%;
  height: 700px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.reg-staff-image picture,
.reg-staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.col55 h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 10px 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
}

.col55 h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary-green);
  margin: 0 0 20px 0;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.col55 p {
  font-size: var(--wp--preset--font-size--normal);
  line-height: 1.8;
  color: var(--text-color);
  margin: 0 0 20px 0;
}

.col55 p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 968px) {
  .doca .row {
    flex-direction: column;
    gap: 30px;
  }

  .col55 {
    width: 100%;
    min-width: 100%;
  }

  .meetd,
  .meetd-img,
  .reg-staff-image {
    height: 400px;
  }

  .col55 h2 {
    font-size: 32px;
  }

  .col55 h3 {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .post-content {
    padding: 25px 0;
  }

  .doca {
    margin-bottom: 30px;
    padding: 25px 0;
  }

  .doca .row {
    gap: 25px;
  }

  .meetd,
  .meetd-img,
  .reg-staff-image {
    height: 300px;
  }

  .col55 h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .col55 h3 {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .col55 p {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .meetDoc .container {
    padding: 0 15px;
  }
}

/* Animation classes (if using WOW.js) */
.wow {
  visibility: hidden;
}

.wow.animated {
  visibility: visible;
}

/* Frames */
/* Frames Page Styles */

/* Frames Intro Section */
.frames-intro {
  margin: 40px 0 60px;
  padding: 0;
}

.frames-intro__content {
  display: flex;

  gap: 40px;
  flex-wrap: wrap;
}

.frames-intro__image {
  flex: 1 1 45%;
  min-width: 300px;
}

.frames-intro__image picture,
.frames-intro__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.frames-intro__text {
  flex: 1 1 45%;
  min-width: 300px;
}

.frames-intro__text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
}

.flex-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
  padding: 40px 20px;
}

.frame-logo {
  max-width: 200px;
  max-height: 80px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.frame-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.frames-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

div[align="center"] {
  text-align: center;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

div[align="center"] iframe {
  max-width: 100%;
  height: 600px;
  margin-bottom: 20px;
}

div[align="center"] p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-color);
  text-align: center;
  max-width: 900px;
  margin: 20px auto 0;
}

@media (max-width: 968px) {
  .frames-intro {
    margin: 30px 0 40px;
  }

  .frames-intro__content {
    flex-direction: column;
    gap: 30px;
  }

  .frames-intro__image,
  .frames-intro__text {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .frames-intro__text p {
    font-size: 16px;
  }

  .flex-logos {
    gap: 20px;
    padding: 30px 15px;
  }

  .frame-logo {
    max-width: 150px;
    max-height: 60px;
  }

  div[align="center"] {
    padding: 0 15px;
  }

  div[align="center"] iframe {
    width: 100%;
    height: auto;
    max-width: 784px;
  }

  div[align="center"] p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .frames-intro {
    margin: 20px 0 25px;
  }

  .frames-intro__content {
    gap: 20px;
  }

  .frames-intro__image,
  .frames-intro__text {
    min-width: 100%;
  }

  .frames-intro__text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .flex-logos {
    gap: 12px;
    padding: 20px 15px;
    margin: 30px 0;
  }

  .frame-logo {
    max-width: 100px;
    max-height: 45px;
  }

  .frames-content {
    padding: 30px 15px;
  }

  div[align="center"] {
    padding: 0 15px;
    margin: 30px auto;
  }

  div[align="center"] iframe {
    width: 100%;
    height: auto;
    min-height: 300px;
  }

  div[align="center"] p {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 15px;
  }
}

/* Blog */
/* Blog Page Styles */

#page {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  min-height: 100px;
  float: none;
  clear: both;
  padding: 0;
  max-width: 100% !important;
}

.article {
  padding: 40px 0;
}

.dm-new-posts {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dm-post {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.dm-post.last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.blog-article {
  width: 100%;
}

.dm-flex {
  display: flex;
  align-items: center;
  gap: 30px;
}

.dm-half {
  flex: 1 1 45%;
  min-width: 300px;
}

.post-image {
  position: relative;
  overflow: hidden;
}

.post-image picture,
.post-image img {
  width: 100%;
  max-width: 500px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.post-image picture img {
  width: 100%;
  max-width: 500px;
  height: 350px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.post-image:hover picture img,
.post-image:hover img {
  transform: scale(1.05);
}

.post-half {
  padding: 20px 0;
}

.front-view-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
  font-family: "Poppins", sans-serif;
}

.front-view-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.front-view-title a:hover {
  color: var(--primary-green);
}

.front-view-content {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

.readMore {
  margin-top: 15px;
}

.readMore a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.readMore a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination li {
  display: inline-block;
}

.clear {
  clear: both;
}

@media (max-width: 968px) {
  .dm-flex {
    flex-direction: column;
    gap: 20px;
  }

  .dm-half {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .post-image picture img,
  .post-image img {
    max-width: 100%;
    height: 300px;
  }

  .post-half {
    padding: 15px 0;
  }

  .front-view-title {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .dm-new-posts {
    padding: 0 15px;
  }

  .dm-post {
    margin-bottom: 25px;
    padding-bottom: 25px;
  }

  .dm-flex {
    gap: 20px;
  }

  .post-image picture img,
  .post-image img {
    height: 220px;
    max-width: 100%;
  }

  .post-half {
    padding: 15px 0;
  }

  .front-view-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .front-view-content {
    font-size: 15px;
    margin-bottom: 15px;
  }
}

/* Blog Post */
/* Blog Post Single Page Styles */

.dm-full-width {
  width: 100%;
}

.dm-single-post {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.single-page.dm-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.dm-sidebar {
  flex: 0 0 300px;
  min-width: 300px;
}

.sidebar-tap {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.sidebar-tap h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
}

.dm-posts {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.dm-posts > div {
  padding-bottom: 25px;
  border-bottom: 1px solid #e0e0e0;
}

.dm-posts > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dm-posts h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.dm-posts h4 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.dm-posts h4 a:hover {
  color: var(--primary-green);
}

.dm-posts p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.g.post {
  flex: 1 1 auto;
  min-width: 0;
}

.single_post {
  width: 100%;
}

.post-single-content {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.thecontent {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
}

.thecontent img {
  max-width: 500px;
  width: 100%;
  height: 350px;
  display: block;

  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.thecontent img.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.thecontent h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 40px 0 20px;
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  line-height: 1.3;
}

.thecontent h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  line-height: 1.3;
}

.thecontent p {
  margin-bottom: 20px;
}

.thecontent ul {
  margin: 20px 0;
  padding-left: 30px;
}

.thecontent li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.thecontent li p {
  margin-bottom: 5px;
}

.thecontent a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.thecontent a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

.thecontent strong {
  font-weight: 600;
}

.clear {
  clear: both;
}

@media (max-width: 968px) {
  .single-page.dm-flex {
    flex-direction: column;
    gap: 30px;
  }

  .dm-sidebar {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .post-single-content {
    padding: 30px 20px;
  }

  .thecontent img {
    max-width: 100%;
    height: 300px;
  }

  .thecontent h2 {
    font-size: 28px;
  }

  .thecontent h3 {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .dm-single-post {
    padding: 20px 15px;
  }

  .sidebar-tap {
    padding: 20px;
  }

  .sidebar-tap h3 {
    font-size: 20px;
  }

  .dm-posts h4 {
    font-size: 16px;
  }

  .post-single-content {
    padding: 20px 15px;
  }

  .thecontent {
    font-size: 15px;
  }

  .thecontent img {
    height: 250px;
  }

  .thecontent h2 {
    font-size: 24px;
    margin: 30px 0 15px;
  }

  .thecontent h3 {
    font-size: 18px;
    margin: 25px 0 12px;
  }
}

/* New Patients */
/* New Patients Page Styles */

#page.no-padding {
  padding: 0;
}

.dm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dm-service-section .dm-flex {
  display: flex;
  align-items: start;
  gap: 40px;
  flex-wrap: wrap;
}

.dm-service-section .dm-half {
  flex: 1 1 45%;
  min-width: 300px;
}

.dm-service-section .dm-half img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dm-service-section .dm-half p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.dm-service-section .dm-half a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.dm-service-section .dm-half a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

.dm-service-section .dm-half a.inline-dm-phone {
  color: var(--primary-green);
  font-weight: 600;
}

@media (max-width: 968px) {
  .dm-service-section {
    padding: 40px 0;
  }

  .dm-container {
    padding: 0 15px;
  }

  .dm-service-section .dm-flex {
    flex-direction: column;
    gap: 30px;
  }

  .dm-service-section .dm-half {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .dm-service-section .dm-half p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .dm-service-section {
    padding: 30px 0;
  }

  .dm-container {
    padding: 0 10px;
  }

  .dm-service-section .dm-half p {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* Insurance */
/* Insurance Page Styles */

.insurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
  padding: 40px 20px;
}

.insurance img {
  max-width: 300px;
  max-height: 150px;
  height: auto;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: grayscale(20%);
}

.insurance img:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: grayscale(0%);
}

@media (max-width: 968px) {
  .insurance {
    gap: 25px;
    padding: 30px 15px;
  }

  .insurance img {
    max-width: 250px;
    max-height: 120px;
  }
}

@media (max-width: 640px) {
  .insurance {
    gap: 15px;
    padding: 25px 15px;
    margin: 30px 0;
  }

  .insurance img {
    max-width: 180px;
    max-height: 90px;
  }
}

/* Appointments */
/* Appointments Page Styles */

#page.single {
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.post-content {
  padding: 20px 0;
}

.post-content h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text-color);
  margin-bottom: 30px;
  text-align: start;
  font-weight: 600;
}

/* ReviewWave Form Styles */
.rw-embed-wrap {
  margin: 30px 0;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rw-sched-form {
  width: 100%;
}

/* Form Header */
.rw-section-header-wrap {
  margin-bottom: 30px;
}

.rw-section-back {
  margin-bottom: 15px;
}

.rw-section-header {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.rw-header-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
  flex: 1;
  transition: all 0.3s ease;
}

.rw-header-progress-active {
  background: linear-gradient(to right, #41614b, #233e2f);
  color: #fff;
}

.rw-header-progress-number {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #fff;
  color: #233e2f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.rw-header-progress-active .rw-header-progress-number {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.rw-header-progress-title {
  font-size: 13px;
  text-align: center;
  line-height: 1.3;
  font-weight: 500;
}

/* Form Buttons */
.rw-form-button {
  background-color: #233e2f;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.rw-form-button:hover {
  background-color: #41614b;
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 #7f7a76;
}

.rw-form-button svg {
  fill: #fff;
  width: 16px;
  height: 16px;
}

/* Form Fields */
.rw-contact-form {
  width: 100%;
}

.rw-field-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.rw-field-row.rw-half {
  flex: 1;
}

.rw-field-row.rw-full {
  width: 100%;
}

.rw-field {
  width: 100%;
}

.rw-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.rw-required {
  color: #d32f2f;
}

.rw-form-cell {
  position: relative;
}

.rw-form-cell-with-icon {
  position: relative;
}

.rw-form-cell-with-icon svg {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: #999;
  pointer-events: none;
}

.rw-form-input {
  width: max-content;
  padding: 6px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.rw-form-input:focus {
  outline: none;
  border-color: #233e2f;
}

textarea.rw-form-input {
  min-height: 100px;
  resize: vertical;
  width: 100%;
}

.rw-privacy-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.rw-privacy-agree input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
}

.rw-privacy-agree label {
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.rw-disclaimer {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.rw-disclaimer a {
  color: #233e2f;
  text-decoration: underline;
}

/* Step 2: Date & Time Picker */
.rw-date-picker {
  width: 100%;
}

.rw-week-picker {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.rw-day-wrap {
  flex: 1;
  min-width: calc(14.28% - 7px);
}

.rw-day {
  padding: 12px 8px;
  text-align: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rw-day:hover:not(.rw-disabled) {
  border-color: #233e2f;
  background-color: #f5f5f5;
}

.rw-day.active {
  background-color: #233e2f;
  border-color: #233e2f;
  color: #fff;
}

.rw-day.rw-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #f5f5f5;
}

.rw-day-mo {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
}

.rw-day-dom {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.rw-day.active .rw-day-mo,
.rw-day.active .rw-day-dom {
  color: #fff;
}

/* Time Slots */
.rw-sched-slots {
  margin-top: 20px;
}

.rw-day-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.rw-sched-slots-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.rw-sched-slot {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}

.rw-sched-slot:hover:not(.rw-disabled) {
  border-color: #233e2f;
  background-color: #f5f5f5;
}

.rw-sched-slot.active {
  background-color: #233e2f;
  border-color: #233e2f;
  color: #fff;
}

.rw-sched-slot.rw-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #f5f5f5;
}

.instructions {
  text-align: center;
  font-size: 18px;
  margin-bottom: 25px;
  color: #333;
  font-weight: 500;
}

.no-margin-bottom {
  margin-bottom: 0 !important;
}

.rw-flex-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rw-flex-row label {
  margin-bottom: 0;
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 968px) {
  #page.single {
    padding: 30px 0;
  }

  .container {
    padding: 0 15px;
  }

  .post-content h3 {
    font-size: 1.25rem;
  }

  .rw-embed-wrap {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .rw-embed-wrap {
    padding: 20px 15px;
    margin: 20px 0;
  }

  .rw-section-header {
    flex-direction: column;
    gap: 10px;
  }

  .rw-header-progress {
    padding: 12px 15px;
  }

  .rw-header-progress-title {
    font-size: 12px;
  }

  .rw-field-row.rw-half {
    flex-direction: column;
  }

  .rw-week-picker {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .rw-day-wrap {
    min-width: 80px;
    flex: 0 0 80px;
  }

  .rw-sched-slots-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #page.single {
    padding: 20px 0;
  }

  .container {
    padding: 0 10px;
  }

  .post-content {
    padding: 15px 0;
  }

  .post-content h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .rw-embed-wrap {
    padding: 15px 10px;
    margin: 15px 0;
    border-radius: 6px;
  }

  .rw-section-header-wrap {
    margin-bottom: 20px;
  }

  .rw-section-back {
    margin-bottom: 10px;
  }

  .rw-section-back button {
    padding: 8px 16px;
    font-size: 14px;
  }

  .rw-section-header {
    gap: 8px;
  }

  .rw-header-progress {
    padding: 10px 12px;
    gap: 6px;
  }

  .rw-header-progress-number {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .rw-header-progress-title {
    font-size: 11px;
    line-height: 1.2;
  }

  .instructions {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: left;
    padding: 0 5px;
  }

  .rw-contact-form {
    padding: 0 5px;
  }

  .rw-field-row {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
  }

  .rw-field-row.rw-half {
    flex-direction: column;
  }

  .rw-field label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .rw-form-input {
    width: 100%;
    padding: 10px;
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .rw-form-cell-with-icon svg {
    right: 12px;
    width: 16px;
    height: 16px;
  }

  textarea.rw-form-input {
    min-height: 80px;
    font-size: 16px;
  }

  .rw-disclaimer {
    font-size: 11px;
    line-height: 1.4;
  }

  .rw-privacy-agree {
    gap: 6px;
  }

  .rw-privacy-agree label {
    font-size: 12px;
    line-height: 1.4;
  }

  .rw-form-button {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 16px;
  }

  /* Date Picker Mobile */
  .rw-date-picker {
    padding: 0 5px;
  }

  .rw-week-picker {
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 8px;
  }

  .rw-day-wrap {
    min-width: 70px;
    flex: 0 0 70px;
  }

  .rw-day {
    padding: 10px 6px;
    border-radius: 6px;
  }

  .rw-day-mo {
    font-size: 10px;
    margin-bottom: 3px;
  }

  .rw-day-dom {
    font-size: 16px;
  }

  .rw-day-label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .rw-sched-slots {
    margin-top: 15px;
  }

  .rw-sched-slots-inner {
    gap: 8px;
  }

  .rw-sched-slot {
    padding: 14px 12px;
    font-size: 14px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .post-content h3 {
    font-size: 1rem;
    padding: 0 5px;
  }

  .rw-embed-wrap {
    padding: 12px 8px;
  }

  .rw-header-progress {
    padding: 8px 10px;
  }

  .rw-header-progress-number {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .rw-header-progress-title {
    font-size: 10px;
  }

  .instructions {
    font-size: 15px;
  }

  .rw-day-wrap {
    min-width: 60px;
    flex: 0 0 60px;
  }

  .rw-day {
    padding: 8px 4px;
  }

  .rw-day-dom {
    font-size: 14px;
  }
}

/* Reviews */
/* Reviews Page Styles */

.reviews-page {
  position: relative;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

#page.single {
  padding: 40px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.post-content {
  padding: 20px 0;
}

/* Reviews Stats Section */
.reviews-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(
    135deg,
    rgba(45, 80, 22, 0.05) 0%,
    rgba(45, 80, 22, 0.02) 100%
  );
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease;
}

.reviews-stats__item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-stats__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.15);
}

.reviews-stats__item:nth-child(1) {
  animation-delay: 0.1s;
}

.reviews-stats__item:nth-child(2) {
  animation-delay: 0.2s;
}

.reviews-stats__item:nth-child(3) {
  animation-delay: 0.3s;
}

.reviews-stats__number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 10px;
  line-height: 1;
}

.reviews-stats__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}

.reviews-stats__stars .star {
  font-size: 24px;
  color: #ffc107;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.reviews-stats__label {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.reviews-stats__google-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 80px;
  text-decoration: none;
  transition: var(--transition);
}

.reviews-stats__google-logo {
  width: 60px;
  height: auto;
  max-width: 100%;
  transition: var(--transition);
  display: block;
}

.reviews-stats__item:hover .reviews-stats__google-logo {
  transform: scale(1.05);
}

.testimonial-box-dm {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-box-dm blockquote {
  margin: 0 0 30px 0;
  padding: 35px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-left: 5px solid var(--primary-green);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-style: normal;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0) scale(1);
  overflow: hidden;
}

.testimonial-box-dm blockquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--primary-green) 0%,
    var(--primary-green-light) 100%
  );
  transition: width 0.4s ease;
}

.testimonial-box-dm blockquote::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(45, 80, 22, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transition: transform 0.6s ease;
}

.testimonial-box-dm blockquote:hover {
  transform: translateY(-5px) scale(1);
  box-shadow: 0 8px 30px rgba(45, 80, 22, 0.2);
}

.testimonial-box-dm blockquote:hover::before {
  width: 8px;
}

.testimonial-box-dm blockquote:hover::after {
  transform: scale(1.5);
}

/* Animation will be handled by JavaScript, but elements are visible by default */
.testimonial-box-dm blockquote.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Fallback: if JS doesn't load, elements are still visible */
@supports not (animation: none) {
  .testimonial-box-dm blockquote {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }
}

.testimonial-box-dm blockquote:last-child {
  margin-bottom: 0;
}

/* Review Card Styles */
.review-card {
  padding: 35px 35px 35px 50px !important;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(45, 80, 22, 0.1);
}

.review-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--primary-green-light) 100%
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
}

.review-card__info {
  flex: 1;
}

.review-card__author {
  margin: 0 0 8px 0 !important;
  font-size: 18px;
}

.review-card__author strong {
  color: var(--text-color);
  font-weight: 600;
}

.review-card__rating {
  display: flex;
  gap: 3px;
}

.review-card__rating .star {
  font-size: 18px;
  color: #ddd;
  transition: all 0.2s ease;
}

.review-card__rating .star.filled {
  color: #ffc107;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.review-card__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
  position: relative;
  z-index: 1;
}

.testimonial-box-dm blockquote p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.testimonial-box-dm blockquote p:last-child {
  margin-bottom: 0;
}

/* Legacy support for old format (if any remain) */
.testimonial-box-dm blockquote:not(.review-card) p strong {
  font-weight: 600;
  color: var(--text-color);
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Stagger animation for review cards */
.testimonial-box-dm blockquote:nth-child(1) {
  animation-delay: 0.1s;
}
.testimonial-box-dm blockquote:nth-child(2) {
  animation-delay: 0.2s;
}
.testimonial-box-dm blockquote:nth-child(3) {
  animation-delay: 0.3s;
}
.testimonial-box-dm blockquote:nth-child(4) {
  animation-delay: 0.4s;
}
.testimonial-box-dm blockquote:nth-child(5) {
  animation-delay: 0.5s;
}
.testimonial-box-dm blockquote:nth-child(6) {
  animation-delay: 0.6s;
}
.testimonial-box-dm blockquote:nth-child(7) {
  animation-delay: 0.7s;
}
.testimonial-box-dm blockquote:nth-child(8) {
  animation-delay: 0.8s;
}
.testimonial-box-dm blockquote:nth-child(9) {
  animation-delay: 0.9s;
}
.testimonial-box-dm blockquote:nth-child(10) {
  animation-delay: 1s;
}
.testimonial-box-dm blockquote:nth-child(11) {
  animation-delay: 1.1s;
}
.testimonial-box-dm blockquote:nth-child(12) {
  animation-delay: 1.2s;
}
.testimonial-box-dm blockquote:nth-child(13) {
  animation-delay: 1.3s;
}
.testimonial-box-dm blockquote:nth-child(14) {
  animation-delay: 1.4s;
}
.testimonial-box-dm blockquote:nth-child(15) {
  animation-delay: 1.5s;
}
.testimonial-box-dm blockquote:nth-child(16) {
  animation-delay: 1.6s;
}

/* Responsive adjustments */
@media (max-width: 968px) {
  #page.single {
    padding: 30px 0;
  }

  .container {
    padding: 0 15px;
  }

  .reviews-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 15px;
    margin-bottom: 40px;
  }

  .reviews-stats__number {
    font-size: 40px;
  }

  .testimonial-box-dm {
    max-width: 100%;
  }

  .testimonial-box-dm blockquote {
    padding: 25px 25px 25px 35px;
    margin-bottom: 25px;
  }

  .review-card {
    padding: 25px 25px 25px 35px !important;
  }

  .testimonial-box-dm blockquote p {
    font-size: 15px;
  }

  .testimonial-box-dm blockquote p strong {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  #page.single {
    padding: 20px 0;
  }

  .container {
    padding: 0 10px;
  }

  .reviews-stats {
    padding: 20px 10px;
    margin-bottom: 30px;
  }

  .reviews-stats__number {
    font-size: 36px;
  }

  .testimonial-box-dm blockquote {
    padding: 20px 20px 20px 25px;
    margin-bottom: 20px;
  }

  .review-card {
    padding: 20px 20px 20px 25px !important;
  }

  .review-card__avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .testimonial-box-dm blockquote p {
    font-size: 14px;
    line-height: 1.6;
  }

  .testimonial-box-dm blockquote p strong {
    font-size: 16px;
  }
}

/* Contact */
/* Contact Page Styles */

#page.single {
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ct-template {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.ct-template .c6 {
  flex: 1 1 45%;
  min-width: 300px;
}

.ct-template strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 15px;
  margin-top: 30px;
}

.ct-template strong:first-child {
  margin-top: 0;
}

.ct-template p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.ct-template a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.ct-template a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

/* Contact Form Styles */
.contact-form-wrapper {
  margin-top: 20px;
}

.form-disclaimer {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 12px 15px;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.6;
  color: #856404;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.form-row-half {
  flex-wrap: wrap;
}

.form-row-half .form-field {
  flex: 1 1 calc(50% - 8px);
  min-width: 200px;
}

.form-field {
  margin-bottom: 20px;
  width: 100%;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-color);
}

.form-label-radio {
  margin-bottom: 10px;
}

.required {
  color: #d32f2f;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-green);
}

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

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.form-radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-radio-item input[type="radio"] {
  margin: 0;
  cursor: pointer;
}

.form-radio-item label {
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

.form-description {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin-top: 8px;
}

.contact-form .btn {
  margin-top: 10px;
}

/* Map Styles */
.ct-template iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 968px) {
  #page.single {
    padding: 30px 0;
  }

  .container {
    padding: 0 15px;
  }

  .ct-template {
    flex-direction: column;
    gap: 30px;
  }

  .ct-template .c6 {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .form-row-half .form-field {
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  #page.single {
    padding: 20px 0;
  }

  .container {
    padding: 0 15px;
  }

  .ct-template {
    gap: 25px;
  }

  .ct-template .c6 {
    min-width: 100%;
  }

  .ct-template strong {
    font-size: 18px;
    margin-bottom: 12px;
    margin-top: 20px;
  }

  .ct-template p {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .ct-template iframe {
    height: 300px;
    margin-top: 10px;
  }

  .contact-form-wrapper {
    margin-top: 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row-half .form-field {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .form-field {
    margin-bottom: 15px;
  }

  .form-input {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 12px;
  }

  .form-textarea {
    min-height: 120px;
    font-size: 16px;
  }
}

/* Buttons */
/* ============================================
   BUTTONS - Unified Style
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--btn-gradient);
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--btn-shadow);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn,
.btn * {
  color: #ffffff !important;
}

.btn svg {
  color: #ffffff !important;
  fill: none;
  stroke: #ffffff;
  flex-shrink: 0;
}

.btn.btn--no-gradient {
  background: var(--btn-color);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover {
  background: var(--btn-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
  text-decoration: none !important;
}

.btn.btn--no-gradient:hover {
  background: var(--btn-color-hover);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .btn {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .btn {
    padding: 12px 25px;
    font-size: 15px;
    letter-spacing: 0.5px;
  }
}

/* Footer */
/* ============================================
   Footer Block
   ============================================ */

#site-footer {
  background: #222;
  background-color: #05180d;
  position: relative;
  clear: both;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  padding: 40px 10px 0;
  justify-content: space-around;
  background-position: 50% 50%;
  overflow: visible;
  background-size: 10%;
  color: var(--white);
  box-sizing: border-box;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

.sub-footer {
  width: 100%;
  padding: 0 20px 40px;
}

.sub-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.sub-footer .flex-ed {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.sub-footer .sub-3 {
  flex: 1 1 300px;
  min-width: 250px;
}

.sub-footer .big-p {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--white);
}

.sub-footer .big-p a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.sub-footer .big-p a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.sub-footer p {
  font-size: var(--wp--preset--font-size--normal);
  line-height: 1.6;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-cities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 15px;
}

.footer-cities li {
  font-size: var(--wp--preset--font-size--normal);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  padding: 0;
}

.sub-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition);
}

.sub-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.sub-footer .widget-title {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--white);
  text-transform: uppercase;
}

.site-footer__social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 15px;
}

.footer-appointment-btn {
  text-align: left;
}

.footer-appointment-btn .btn {
  text-decoration: none !important;
  width: 100%;
  text-align: center;
}

.footer-appointment-btn .btn:hover {
  text-decoration: none !important;
}

.footer-cities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 15px;
}

.footer-cities li {
  font-size: var(--wp--preset--font-size--normal);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  padding: 0;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.site-footer__social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.site-footer__social-icon {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0) invert(1);
}

.copyrights {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyrights .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.bottom-footer p {
  font-size: var(--wp--preset--font-size--small);
  color: rgba(255, 255, 255, 0.8);
  margin: 8px 0;
  line-height: 1.5;
}

.bottom-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.bottom-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.bottom-footer p:first-child a {
  color: var(--white);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
  .sub-footer .sub-3 {
    flex: 1 1 100%;
    text-align: center;
  }

  .site-footer__social {
    justify-content: center;
  }

  .footer-cities {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
}

@media (max-width: 640px) {
  #site-footer {
    padding: 30px 15px 0;
  }

  .sub-footer {
    padding: 0 15px 25px;
  }

  .sub-footer .flex-ed {
    flex-direction: column;
    gap: 25px;
  }

  .sub-footer .sub-3 {
    text-align: center;
    min-width: 100%;
  }

  .sub-footer .big-p {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .sub-footer p {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .footer-cities {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px 10px;
  }

  .footer-cities li {
    font-size: 15px;
  }

  .site-footer__social {
    justify-content: center;
    margin-top: 12px;
  }

  .copyrights {
    padding: 15px 0;
  }

  .copyrights .container {
    padding: 0 15px;
  }

  .bottom-footer p {
    font-size: 13px;
    margin: 6px 0;
  }
}

/* Accessibility Toolbar */
.accessibility-toolbar {
  position: fixed;
  z-index: 99999;
  right: -240px;
  top: 20px;
  transition: all 0.3s ease-in-out;
}

.accessibility-toolbar.active {
  right: 0;
}

.accessibility-toolbar__toggle {
  position: absolute;
  right: 100%;
  top: 130px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-green);
  color: var(--white);
  border: none;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.accessibility-toolbar__toggle:hover {
  background-color: var(--primary-green-dark);
}

.accessibility-toolbar__toggle svg {
  width: 24px;
  height: 24px;
}

.accessibility-toolbar__panel {
  width: 240px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  padding: 15px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
}

.accessibility-toolbar__title {
  margin: 0 0 15px 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-color);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.accessibility-toolbar__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-color);
  transition: var(--transition);
  text-align: left;
  white-space: nowrap;
}

.accessibility-toolbar__btn:hover {
  background-color: var(--bg-light);
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.accessibility-toolbar__btn:active {
  transform: scale(0.98);
}

.accessibility-toolbar__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.accessibility-toolbar__btn span {
  flex: 1;
}

.accessibility-toolbar__btn.active {
  background-color: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

.accessibility-toolbar__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.accessibility-toolbar__btn:disabled:hover {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-color);
}

/* Accessibility States */
body.accessibility-grayscale {
  filter: grayscale(100%);
}

body.accessibility-invert {
  filter: invert(1);
}

body.accessibility-underline-links a {
  text-decoration: underline !important;
}

body.accessibility-highlight-links a {
  background-color: yellow !important;
  color: #000 !important;
  padding: 2px 4px !important;
}

body.accessibility-readable-font {
  font-family: "Georgia", "Times New Roman", serif !important;
}

html.accessibility-text-size-small {
  font-size: 87.5% !important;
  zoom: 0.875;
}

html.accessibility-text-size-medium {
  font-size: 100% !important;
  zoom: 1;
}

html.accessibility-text-size-large {
  font-size: 112.5% !important;
  zoom: 1.125;
}

html.accessibility-text-size-xlarge {
  font-size: 125% !important;
  zoom: 1.25;
}

html.accessibility-text-size-xxlarge {
  font-size: 150% !important;
  zoom: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .accessibility-toolbar {
    top: 20px;
    right: -240px;
  }

  .accessibility-toolbar.active {
    right: 0;
  }

  .accessibility-toolbar__panel {
    width: 240px;
    max-height: calc(100vh - 40px);
  }
}

@media (max-width: 640px) {
  .accessibility-toolbar {
    top: 20px;
    right: -220px;
  }

  .accessibility-toolbar.active {
    right: 0;
  }

  .accessibility-toolbar__panel {
    width: 220px;
    max-height: calc(100vh - 40px);
  }

  .accessibility-toolbar__toggle {
    width: 45px;
    height: 45px;
  }
}

/* ============================================
   UTILITIES
   ============================================ */

/* Utilities */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.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;
}
