/* ============================================================
   site.css — grigoriosavramidis.gr
   Bootstrap 5 custom theme — Inter font — minimal/clean
   ============================================================ */

/* === CSS VARIABLES ======================================== */
:root {
  --green:        #309C82;
  --green-dark:   #26785f;
  --green-light:  #f0fdf9;
  --heading:      #111827;
  --body:         #374151;
  --muted:        #6b7280;
  --border:       #e5e7eb;
  --bg:           #ffffff;
  --bg-section:   #f9fafb;
  --shadow-sm:    0 2px 10px rgba(0,0,0,0.07);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 14px 44px rgba(0,0,0,0.13);
  --radius:       14px;
  --radius-sm:    8px;
  --radius-pill:  25px;
  --header-h:     188px;
}

/* === BASE ================================================== */
html { scrollbar-gutter: stable; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  color: var(--body);
  line-height: 1.8;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.3;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: none; }

p { margin-bottom: 1rem; }

img { max-width: 100%; }

/* === LEGACY UTILITY CLASSES (backward compat) ============= */
.no-margin  { margin: 0 !important; }
.no-padding { padding: 0 !important; }

/* Ensure content containers don't overlap footer */
#article-container,
#article-new-container,
#news-container,
#news_list-container,
#aliment-container,
#aliment_list-container,
#injuries_list-container,
#therapy_list-container,
#therapy-container,
#album-container,
#album_list-container,
#video-container,
#video_list-container { padding-bottom: 48px !important; }
.center     { text-align: center; }
.display-none { display: none; }
.inline_display { display: initial; }
.margin-top-10  { margin-top: 10px; }
.margin-top-15  { margin-top: 15px; }
.margin-top-20  { margin-top: 20px; }
.margin-top-30  { margin-top: 30px; }
.margin-top-40  { margin-top: 40px; }
.margin-top-60  { margin-top: 60px; }
.margin-bottom-5  { margin-bottom: 5px; }
.margin-bottom-20 { margin-bottom: 20px; }
.margin-bottom-50 { margin-bottom: 50px; }
.margin-left-20   { margin-left: 20px; }
.margin-vert-30   { margin-top: 25px; margin-bottom: 25px; }
.margin-vert-50   { margin-top: 40px; margin-bottom: 40px; }
.margin-hor-10    { margin-right: 30px; margin-left: 10px; }
.padding-left-25  { padding-left: 25px; }
.padding-hor-10   { padding-left: 10px; padding-right: 10px; }

hr { opacity: 0.4; }
hr.same {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--green) 35%, rgba(48,156,130,0.25) 65%, transparent 100%);
  opacity: 1;
  margin: 8px 0;
}

.center-custom-more {
  display: block;
  text-align: center;
}

/* === FIXED HEADER ========================================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.09);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
#site-header.nav-hidden {
  transform: translateY(-100%);
}

/* Top bar: logo + social icons */
#header-top {
  padding: 6px 0;
  border-bottom: 1px solid #f2f2f2;
}

.site-logo {
  height: 52px;
  width: auto;
  display: block;
}

.social-icons {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff !important;
  font-size: 17px;
  transition: transform 0.22s, box-shadow 0.22s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.social-icons a:hover { transform: translateY(-3px) scale(1.1); }
.social-icons li:nth-child(1) a { background: #1877f2; } /* Facebook */
.social-icons li:nth-child(2) a { background: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); } /* Instagram */
.social-icons li:nth-child(3) a { background: #ff0000; } /* YouTube */
.social-icons li:nth-child(4) a { background: #0a66c2; } /* LinkedIn */
.social-icons li:nth-child(5) a { background: #1da1f2; } /* Twitter/X */

/* Contact bar: phones + booking button */
#contact-bar {
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
  background: #fafafa;
}
.cbar-phone-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.cbar-phone-group--right {
  align-items: flex-end;
}
#contact-bar .col-4:first-child {
  display: flex;
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 0;
}
#contact-bar .col-4:last-child {
  display: flex;
  justify-content: flex-end;
  padding-right: 0;
  padding-left: 0;
}
.cbar-line.cbar-mobile { display: none; }
.cbar-city {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 2px;
}
.cbar-line {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #374151;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s;
}
.cbar-line i { font-size: 12px; color: var(--green); opacity: 0.75; }
.cbar-line:hover { color: var(--green); }

.btn-booking {
  display: inline-flex;
  align-items: center;
  padding: 9px 26px;
  background: var(--green);
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 14px rgba(48,156,130,0.38);
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  text-decoration: none !important;
}
.btn-booking:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(48,156,130,0.48);
}

/* Main navbar */
#main-nav {
  padding: 0;
  background: #fff;
  border: none;
  border-top: 1px solid #f2f2f2;
}
#main-nav .container-fluid { padding: 4px 20px; }
#main-nav .navbar-nav .nav-link {
  font-size: 15.5px;
  font-weight: 500;
  color: #374151;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
#main-nav .navbar-nav .nav-link:hover,
#main-nav .navbar-nav .nav-item.active > .nav-link {
  background: var(--green);
  color: #fff;
}
#main-nav .navbar-nav .dropdown-toggle::after { display: none; }

/* Dropdowns */
#main-nav .dropdown-menu {
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px 0;
  min-width: 220px;
  background: var(--green);
  margin-top: 4px;
}
#main-nav .dropdown-menu a,
#main-nav .dropdown-menu > a {
  display: block;
  padding: 8px 18px;
  color: #fff !important;
  font-size: 14.5px;
  font-weight: 400;
  transition: background 0.15s;
  text-decoration: none;
  white-space: normal;
}
#main-nav .dropdown-menu a:hover { background: var(--green-dark); }

/* Nested dropdowns via Bootstrap 5 .dropend */
#main-nav .dropend > .nav-link {
  color: #fff !important;
  padding: 8px 18px;
  font-size: 14.5px;
  border-radius: 0;
}
#main-nav .dropend > .nav-link::after { display: none; }
#main-nav .dropend > .nav-link:hover { background: var(--green-dark); color: #fff !important; }
/* 3rd-level submenu (surgical subcategories) — opens LEFT to avoid off-screen */
.dropstart-sub {
  position: relative;
  list-style: none;
}
.dropdown-toggle-sub {
  display: block;
  color: #fff !important;
  padding: 8px 18px;
  font-size: 14.5px;
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;
}
.dropdown-toggle-sub:hover,
#main-nav .dropdown-menu .dropdown-toggle-sub:hover { background: var(--green-dark); }
.dropdown-sub {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  right: auto;
  background: var(--green);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  width: 420px;
  white-space: normal;
  padding: 6px 0;
  border: none;
  margin-right: 0;
  z-index: 1050;
}
@media (hover: hover) {
  .dropstart-sub:hover > .dropdown-sub { display: block; }
  .dropdown-sub:hover { display: block; }
}
.dropdown-sub.show { display: block; }
#main-nav .dropend .dropdown-menu {
  background: var(--green);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  width: 420px;
  padding: 6px 0;
  border: none;
  white-space: normal;
}

#sport_injuries {
  width: 420px;
  white-space: normal;
}

/* surgical needs overflow visible so the nested .dropdown-sub can escape the container */
#surgical_therapies {
  overflow: visible !important;
  min-width: 0 !important;
  width: 150px !important;
}

/* Arrow button: hidden on desktop, used only on mobile */
@media (min-width: 992px) {
  .nav-arrow-btn { display: none; }
}

/* Dropdowns open on hover (desktop only) */
@media (min-width: 992px) {
  #main-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeInDown 0.18s ease;
  }
  /* Keep dropdown open while hovering the menu itself */
  #main-nav .dropdown-menu:hover { display: block; }
  /* Dropend: open to the right on hover */
  #main-nav .dropend:hover > .dropdown-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: -5px;
  }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Navbar toggler */
.navbar-toggler { border: 1.5px solid #ccc; padding: 6px 10px; }
@media (max-width: 991px) {
  #main-nav .container-fluid { justify-content: flex-end; }
  #mainNavbar .navbar-nav { margin-left: 0 !important; margin-right: 0 !important; width: 100%; }
  #main-nav .dropdown-menu { width: 100% !important; min-width: 0 !important; }

  #mainNavbar.show {
    position: fixed;
    top: var(--header-h, 168px);
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    z-index: 1040;
    padding-bottom: 20px;
  }

  /* Split dropdown: flex row so link + arrow sit side by side */
  #main-nav .has-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #main-nav .has-subnav > .nav-link { flex: 1; }
  #main-nav .has-subnav > .dropdown-menu {
    flex-basis: 100%;
    position: static !important;
    margin-left: 5px;
    max-height: 45vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: auto !important;
    min-width: 0 !important;
  }

  /* Arrow button styling */
  .nav-arrow-btn {
    background: transparent;
    border: none;
    border-left: 1px solid rgba(0,0,0,0.1);
    color: #374151;
    padding: 6px 14px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
  }
  .dropdown-menu .nav-arrow-btn {
    color: rgba(255,255,255,0.8);
    border-left-color: rgba(255,255,255,0.2);
  }
  .nav-arrow-btn:hover { background: rgba(0,0,0,0.08); }
  .dropdown-menu .nav-arrow-btn:hover { background: var(--green-dark); }
  .nav-arrow-btn .fa { transition: transform 0.2s; }
  .nav-arrow-btn[aria-expanded="true"] .fa { transform: rotate(90deg); }

  /* Expanded row: darker background to show active state */
  #main-nav .has-subnav:has(.nav-arrow-btn[aria-expanded="true"]) > .nav-link,
  #main-nav .has-subnav:has(.nav-arrow-btn[aria-expanded="true"]) > .nav-arrow-btn {
    background: rgba(48,156,130,0.12);
    color: var(--green) !important;
  }
  #main-nav .dropdown-menu .has-subnav:has(.nav-arrow-btn[aria-expanded="true"]) > .nav-link,
  #main-nav .dropdown-menu .has-subnav:has(.nav-arrow-btn[aria-expanded="true"]) > .nav-arrow-btn {
    background: var(--green-dark);
    color: #fff !important;
  }

  /* Dropend on mobile: inline, indented */
  #main-nav .dropend > .dropdown-menu {
    position: static !important;
    left: auto;
    margin-left: 5px;
    max-height: none;
    overflow-y: visible;
  }
}

/* Header spacer — pushes page content below fixed header */
#header-spacer { height: 188px; }

/* === PAGE TITLE BAR ======================================== */
.page-title {
  padding: 38px 0 30px;
  background: linear-gradient(135deg, #267868 0%, var(--green) 55%, #3aaa8e 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

/* Decorative geometric overlay — no HTML changes needed */
.page-title::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.page-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.08) 60%, transparent 100%);
  pointer-events: none;
}

/* Icon + h1 on same line via flex on parent col */
.page-title .col-md-12,
.page-title [class*="col-"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
}

.page-title h1,
.page-title h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  font-family: 'Inter', sans-serif;
}

.page-title i {
  font-size: 26px;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

/* Breadcrumb pushes to its own line */
.page-title .breadcrumb {
  width: 100%;
  background: transparent;
  padding: 10px 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
}
.page-title .breadcrumb-item a,
.page-title .breadcrumb-item a:visited {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 500;
}
.page-title .breadcrumb-item.active { color: rgba(255,255,255,0.55); font-size: 13px; }
.page-title .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* Breadcrumb global (BS3 li pattern) */
.breadcrumb {
  background: transparent;
  padding: 10px 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  width: 100%;
}
.breadcrumb > li {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.breadcrumb > li + li::before {
  content: "›";
  padding: 0 7px;
  color: rgba(255,255,255,0.35);
  font-size: 15px;
  line-height: 1;
}
.breadcrumb > li.active { color: rgba(255,255,255,0.55); }
.breadcrumblia { color: rgba(255,255,255,0.82) !important; font-size: 13px; font-weight: 500; transition: color 0.2s; }
.breadcrumblia:hover { color: #fff !important; text-decoration: none; }

/* === CAROUSEL (homepage) =================================== */
#myCarousel { background: #000; }
#myCarousel .carousel-item img {
  width: 100%;
  height: auto;
  opacity: 0.95;
}
.carousel-indicators [data-bs-slide-to] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  margin: 0 4px;
  transition: background 0.3s, transform 0.3s;
}
.carousel-indicators .active {
  background: var(--green);
  transform: scale(1.4);
}
.carousel-control-prev-icon,
.carousel-control-next-icon { display: none; }

/* === HOMEPAGE CONTENT ====================================== */
#general_description {
  background: var(--bg-section);
  padding: 32px 40px !important;
  border-top: 4px solid var(--green);
  font-size: 17px;
  color: #4b5563;
  line-height: 1.9;
}
#general_description p { font-size: 17px; margin-bottom: 12px; }
#general_description hr { border-top: 1px solid #e9ecef; opacity: 1; margin: 20px 0; }

#main-container {
  background: var(--bg-section);
  padding: 8px 24px;
  font-family: 'Inter', sans-serif;
}

/* Section pairs (video + text alternating) */
.section-row { padding: 40px 0; }
.section-row h1,
.section-row h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
  margin-bottom: 12px;
}
.section-row p { color: #4b5563; font-size: 16px; line-height: 1.85; }

/* Ratio (replaces embed-responsive) */
.ratio {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Featured section — "Πρόσφατες Δημοσιεύσεις" */
.featured-section { background: var(--bg-section); padding: 28px 20px; }
.featured-section > h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
  margin-bottom: 24px;
}
.featured-section hr { border-top: 2px solid #d1fae5; opacity: 1; border-radius: 999px; margin: 12px 20px; }

.featured-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  padding-bottom: 50px;
}
.featured-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.featured-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.featured-card-body { padding: 16px 18px; }
.featured-card-body h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.5;
  text-align: left;
  margin: 0;
}
.featured-card-body a { color: var(--heading); }
.featured-card-body a:hover h2 { color: var(--green); }
.featured-card-body .cat-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green);
  display: inline-block;
  margin-bottom: 6px;
}
.featured-card .card-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* === HOMEPAGE FEATURED BLOCKS (legacy classes) ============= */

/* video_stuff — text column beside video/image */
.video_stuff { padding: 10px 20px; }
.video_stuff h1, .video_stuff h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
  margin-bottom: 12px;
}
.video_stuff p { color: #4b5563; font-size: 16px; line-height: 1.85; }

/* featured_nav — card for recent articles grid */
.featured_nav {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
}
.featured_nav:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.featured_img { display: block; flex-shrink: 0; }
.featured_img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.featured_title {
  padding: 12px 16px 6px;
  flex: 1;
}
.featured_title h2 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
  margin: 4px 0;
  line-height: 1.45;
}
.featured_title a h2:hover { color: var(--green); }
/* "Μάθετε περισσότερα" centered at the bottom of card */
.featured_nav > .custom_more {
  display: block;
  text-align: center;
  margin: auto auto 16px;
}

/* featured_img_up — full-width image link in homepage rows */
.featured_img_up { display: block; }
.featured_img_up img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* single_blog_sidebar — recent articles section */
.single_blog_sidebar {
  background: var(--bg-section);
  padding: 20px 10px;
}
.single_blog_sidebar h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
  margin-bottom: 4px;
}
.single_blog_sidebar hr {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--green) 35%, rgba(48,156,130,0.25) 65%, transparent 100%);
  opacity: 1;
  margin: 14px 0;
  border-radius: 999px;
}

/* === BUTTONS =============================================== */
.btn-green,
.custom_more {
  display: inline-block;
  padding: 9px 26px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  border: none;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  text-decoration: none;
}
.btn-green:hover,
.custom_more:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(48,156,130,0.35);
  text-decoration: none;
}

.doctor_cv_link {
  display: inline-block;
  padding: 11px 34px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  text-decoration: none;
}
.doctor_cv_link:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(48,156,130,0.35);
  text-decoration: none;
}

/* === ARTICLE LIST PAGES ==================================== */
.list-page-wrap {
  background: var(--bg-section);
  padding: 28px 24px 48px;
}
.article-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow 0.28s, transform 0.28s;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-card-img {
  flex: 0 0 220px;
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}
.article-card-body { flex: 1; min-width: 0; }
.article-card-body h1 {
  font-size: 21px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
  margin-bottom: 10px;
}
.article-card-body h1 a { color: var(--heading); transition: color 0.2s; }
.article-card-body h1 a:hover { color: var(--green); }
.article-card-body p { color: #4b5563; font-size: 15.5px; line-height: 1.75; margin: 0; }

.cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-decoration: none;
}
.cat-badge:hover { color: var(--green-dark); }

/* === SINGLE ARTICLE PAGE ================================== */
.single-article-wrap { background: var(--bg-section); }
.singlepost_content {
  background: #fff;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 48px 32px;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}
.singlepost_content img,
.singlepost_content iframe,
.singlepost_content table {
  max-width: 100% !important;
}
.singlepost_content h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.35;
  margin-bottom: 14px;
}
.singlepost_content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
  margin-top: 28px;
  margin-bottom: 10px;
}
.singlepost_content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
  margin-top: 22px;
  margin-bottom: 8px;
}
.singlepost_content h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
  margin-top: 18px;
  margin-bottom: 6px;
}
.singlepost_content h2 strong,
.singlepost_content h3 strong,
.singlepost_content h4 strong {
  font-weight: inherit;
}
.singlepost_content ul,
.singlepost_content ol {
  padding-left: 24px;
  margin-bottom: 14px;
}
.singlepost_content li {
  font-size: 17px;
  color: #374151;
  line-height: 1.9;
  margin-bottom: 4px;
}
.singlepost_content a {
  color: var(--green) !important;
  text-decoration: underline;
}
.singlepost_content a:hover {
  color: var(--green-dark) !important;
}
.singlepost_content p {
  font-size: 17px;
  color: #374151;
  line-height: 1.9;
  background: transparent;
}
.singlepost_content iframe {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
  border-radius: 10px;
  margin: 18px auto;
  display: block;
}
.singlepost_content img,
.singlepost_content .img-fluid {
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  margin: 18px auto;
  display: block;
}
.singlepost_content .img-responsive {
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  margin: 18px auto;
  display: block;
  max-width: 100%;
}

/* Category + date badges inside article */
.stuff_category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-right: 8px;
  margin-bottom: 10px;
}
.stuff_category a { color: var(--green); }
.stuff_date {
  display: inline-block;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 600;
  vertical-align: middle;
}

/* Share section */
.share-wrap {
  background: #fff;
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 48px 24px;
}
.custom-h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
}

/* Related articles */
.related-wrap {
  background: #fff;
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 12px 48px 32px;
}
.related-wrap h3 { font-size: 18px; color: var(--green); margin-bottom: 16px; }
.relevant_articles { padding: 8px; }
.relevant_articles img,
.relevant_articles .img-fluid,
.relevant_articles .img-rounded {
  border-radius: 8px;
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}
.relevant_articles img:hover { transform: scale(1.04); }
.relevant_articles h1,
.relevant_articles h2 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
  margin-top: 8px;
  line-height: 1.45;
}
.relevant_articles a { color: var(--heading); }
.relevant_articles a:hover { color: var(--green); }

/* === PORTFOLIO / MEDIA PAGES ============================== */
.portfolio-wrap { background: var(--bg-section); padding: 20px 16px 32px; }
/* portfolio-box — used in album_list & video_list */
.portfolio-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
  margin-bottom: 4px;
}
.portfolio-box:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.portfolio-box-container { display: flex; flex-direction: column; height: 100%; }
.portfolio-box-container > a { display: block; overflow: hidden; flex-shrink: 0; }
.portfolio-box-container > a img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-box:hover .portfolio-box-container > a img { transform: scale(1.04); }
.portfolio-box-text {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  align-items: center;
}
.portfolio-box-text h1,
.portfolio-box-text h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  margin: 0;
  line-height: 1.4;
}
.portfolio-box-text a { color: var(--heading); text-decoration: none; }
.portfolio-box-text a:hover h1,
.portfolio-box-text a:hover h2 { color: var(--green); }

/* Album gallery grid */
.album-thumb {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.album-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.album-thumb:hover img { transform: scale(1.06); }
/* Ensure col-md-4 items have height for flex cards */
#album_list-container .col-md-4,
#video_list-container .col-md-4 { display: flex; }

#aliment_list-container,
#aliment-container,
#injuries_list-container,
#therapy_list-container,
#news_list-container { padding: 16px 0 32px !important; }
#album_list-container,
#video_list-container { padding: 16px 0 24px !important; }

#aliment_list-container .col-md-4 { display: flex; }

/* Article list rows (horizontal layout) */
#aliment-container,
#injuries_list-container,
#therapy_list-container,
#news_list-container,
#article-container,
#article-new-container,
#therapy-container,
#news-container,
#album_list-container,
#album-container,
#video_list-container,
#video-container { background: var(--bg-section); }

#aliment-container .row.no-margin,
#injuries_list-container .row.no-margin,
#therapy_list-container .row.no-margin,
#news_list-container .row.no-margin {
  padding: 24px 16px;
  align-items: center;
}
#aliment-container hr,
#injuries_list-container hr,
#therapy_list-container hr,
#news_list-container hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--green) 35%, rgba(48,156,130,0.25) 65%, transparent 100%);
  margin: 0;
}

/* Image with hover zoom */
#aliment-container .col-sm-5 > a,
#injuries_list-container .col-sm-5 > a,
#therapy_list-container .col-sm-5 > a,
#news_list-container .col-sm-5 > a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}
#aliment-container img,
#injuries_list-container img,
#therapy_list-container img,
#news_list-container img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}
#aliment-container .col-sm-5 > a:hover img,
#injuries_list-container .col-sm-5 > a:hover img,
#therapy_list-container .col-sm-5 > a:hover img,
#news_list-container .col-sm-5 > a:hover img { transform: scale(1.06); }

.stuff_article_inner { padding: 0 0 0 12px; }
.stuff_article_inner h1,
.stuff_article_inner h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 8px;
  line-height: 1.4;
}
.stuff_article_inner a { color: var(--heading); text-decoration: none; }
.stuff_article_inner a:hover h1,
.stuff_article_inner a:hover h2 { color: var(--green); }
.stuff_article_inner p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Card text area — aliments / injuries / therapies */
.portfolio-box-text-aliments {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.portfolio-box-text-aliments h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  line-height: 1.4;
}
.portfolio-box-text-aliments a { color: var(--heading); text-decoration: none; }
.portfolio-box-text-aliments a:hover h2 { color: var(--green); }
.portfolio-box-text-aliments p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portfolio-box-text-aliments .custom_more {
  font-size: 13px;
  padding: 7px 18px;
  align-self: flex-start;
  margin-top: 4px;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border-bottom: 3px solid var(--green);
  transition: box-shadow 0.3s, transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.portfolio-card img { width: 100%; height: 210px; object-fit: cover; flex-shrink: 0; }
.portfolio-card-body { padding: 14px 14px 16px; flex: 1; }
.portfolio-card-body h3 { font-size: 15px; font-weight: 600; color: var(--heading); line-height: 1.4; margin: 0 0 6px; }
.portfolio-card-body p { font-size: 13.5px; color: var(--muted); font-style: italic; margin: 0; }
.portfolio-card-body .custom_more { margin-top: 10px; }

/* Album gallery */
.gallery-img {
  border-radius: 8px;
  padding: 6px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.gallery-img:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }

/* === RESUME / CV PAGE ===================================== */
#resume-container { background: var(--bg-section); }

/* Hero image */
.cv-hero {
  overflow: hidden;
}
.cv-header-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.cv-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  min-height: calc(100vh - 160px);
  padding-bottom: 20px;
}
.cv-sidebar-col {
  flex: 0 0 230px;
  width: 230px;
}
.cv-main-col { flex: 1; min-width: 0; }

.sidenav {
  background: #1e293b;
  padding: 12px 0;
  border-radius: 0 8px 8px 0;
  width: 100%;
  min-height: 300px;
}
.sidenav a {
  display: block;
  padding: 11px 20px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s, border-left-color 0.2s;
  font-family: 'Inter', sans-serif;
  border-left: 3px solid transparent;
}
.sidenav a:hover {
  background: #334155;
  border-left-color: var(--green);
  color: #fff !important;
}
.sidenav .closebtn { display: none; font-size: 28px; float: right; padding: 4px 14px; border-left: none !important; }

.open_resume_navigation {
  display: none;
  cursor: pointer;
  background: transparent;
  color: #fff;
  padding: 5px 12px;
  font-size: 18px;
  border-radius: 4px;
  line-height: 1;
}

/* Resume content sections */
.class1 { padding: 8px 12px; background: #2c3e50; color: #fff; height: 50px; display: flex; align-items: center; }
.class1 span i { font-size: 22px; width: 36px; height: 30px; color: #fff; padding: 4px; border-radius: 4px; background: #B1B7C7; }
.class1 span i:hover { background: #848995; }

.class2 { padding: 24px 28px; }
.class2 h1 { color: var(--green); font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.class2 h2 { color: #374151; font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.class2 h3 { color: #6b7280; font-size: 18px; font-weight: 500; margin-bottom: 12px;}
.class2 p  { color: #4b5563; font-size: 16px; line-height: 1.85; }

.class3 { padding: 20px 28px; }
.class3 h3 { color: var(--green); font-size: 19px; font-weight: 700; border-bottom: 2px solid var(--green-light); padding-bottom: 8px; padding-left:0px;}
.class3 p  { color: #374151; font-size: 15.5px; margin: 0; }
.class3 t  { color: #1f2937; font-weight: 700; font-size: 16px; display: block; }
.class3 more { color: #4b5563; font-size: 15px; display: block; }
.class3 sm { font-size: 14px; color: var(--green); font-weight: 600; display: block; text-align: center; }

/* === CONTACT PAGE ========================================== */
#contact-container { background: var(--bg-section); padding-bottom: 40px; }
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
}
.contact-form-wrap h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.form-title h2 { font-size: 22px; font-weight: 700; color: var(--heading); margin-bottom: 20px; }
.contact-form-wrap label,
label { font-weight: 600; color: #374151; margin-bottom: 4px; font-size: 15px; }
.form-control {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  padding: 10px 14px;
  font-size: 15.5px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(48,156,130,0.12);
  outline: none;
}
.form-msg {
  display: block;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
}
.form-msg--success {
  color: #1a6b3c;
  background: #eafaf1;
  border: 1px solid #a8e6c3;
}
.form-msg--error {
  color: #8b1a1a;
  background: #fdf2f2;
  border: 1px solid #f0a0a0;
}

.btn-send, .btn-submit {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.18s;
  cursor: pointer;
}
.btn-send:hover, .btn-submit:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  color: #fff;
}
/* Legacy button in contact.php */
.btn.btn-default {
  background: var(--green); color: #fff; border: none;
  border-radius: var(--radius-pill); padding: 9px 24px;
  font-weight: 700; font-size: 14.5px;
  transition: background 0.2s;
}
.btn.btn-default:hover { background: var(--green-dark); color: #fff; }

/* Map card */
.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-card iframe { width: 100%; height: 230px; display: block; border: none; }
.map-label { font-size: 15px; font-weight: 700; color: var(--heading); padding: 10px 12px 6px; }

/* Info card */
.info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  margin-top: 16px;
}
.info-card h3 { font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 12px; border-bottom: 2px solid var(--green-light); padding-bottom: 8px; }
.info-card p { font-size: 15px; color: #374151; margin-bottom: 8px; }
.info-card a { color: var(--green); }
.info-card a:hover { color: var(--green-dark); }

/* BS3 panel → Bootstrap 5 card compat */
.panel { border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; margin-bottom: 16px; }
.panel-heading { background: var(--green); color: #fff; padding: 10px 16px; }
.panel-title { font-size: 15px; font-weight: 700; color: #fff; margin: 0; }
.panel-body { padding: 12px; background: #fff; }
.panel-body iframe { width: 100%; height: 200px; border: none; border-radius: 6px; }

/* === CONTACT PAGE (new layout) ============================= */
.contact-page-wrap { padding-bottom: 20px; }

/* Quick-info cards (top row) */
.contact-quick-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}
.contact-quick-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--text);
  text-decoration: none;
}
.contact-quick-card--phones { cursor: default; }
.contact-quick-card--phones:hover { transform: none; box-shadow: var(--shadow-sm); }
.contact-quick-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-quick-icon i { color: var(--green); font-size: 18px; }
.contact-quick-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.5;
}
.contact-quick-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 2px;
}
.contact-phones-loc { margin-bottom: 10px; }
.contact-phones-loc:last-child { margin-bottom: 0; }
.contact-city-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.contact-phones-group { display: flex; flex-direction: column; gap: 2px; padding-left: 4px; }
.contact-phones-group a {
  display: block;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.contact-phones-group a i { margin-right: 5px; opacity: 0.6; font-size: 12px; color: var(--green); }
.contact-phones-group a:hover { color: var(--green); }

/* Contact form card */
.contact-form-wrap h2 { color: var(--heading); }

/* Map cards (small, side by side) */
.contact-map-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.contact-map-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  padding: 8px 12px;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.contact-map-label i { color: var(--green); margin-right: 5px; }
.contact-map-card iframe {
  width: 100%;
  height: 200px;
  display: block;
  border: none;
}

/* Contact details card */
.contact-details-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}
.contact-detail-row:last-child { border-bottom: none; }
.contact-detail-row:hover { background: var(--bg-section); text-decoration: none; color: var(--text); }
.contact-detail-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.contact-detail-row:hover .contact-detail-icon { background: var(--green); }
.contact-detail-icon i { color: var(--green); font-size: 16px; transition: color 0.15s; }
.contact-detail-row:hover .contact-detail-icon i { color: #fff; }
.contact-detail-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-detail-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green);
}
.contact-detail-body span:last-child {
  font-size: 14.5px;
  color: #374151;
  transition: color 0.15s;
}
.contact-detail-row:hover .contact-detail-body span:last-child { color: var(--green); }

/* === TEAM PAGE ============================================= */
.team-page-wrap { background: var(--bg-section); padding: 16px 0 32px !important; }

.team-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.28s, transform 0.28s;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.team-card-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.team-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s;
}
.team-card:hover .team-card-img-wrap img { transform: scale(1.04); }
.team-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.team-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 4px;
}
.team-card-position {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin: 0 0 14px;
}
.team-card-desc {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 16px;
  flex: 1;
}
.team-card-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.team-card-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  transition: color 0.18s;
  overflow-wrap: break-word;
  word-break: break-all;
  min-width: 0;
}
.team-card-contact i {
  width: 28px; height: 28px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--green);
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
}
.team-card-contact:hover { color: var(--green); text-decoration: none; }
.team-card-contact:hover i { background: var(--green); color: #fff; }

/* === OFFICE PAGES ========================================== */
.section-title { margin-bottom: 24px; }
.section-title h2 { font-size: 26px; font-weight: 700; color: var(--heading); }
.section-title p { color: #4b5563; font-size: 16px; }
[data-aos] { /* disable AOS if not loaded */ }

.office-page-wrap { background: var(--bg-section); padding: 24px 0 0; }

/* CMS text content area */
.office-text-content {
  background: #fff;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 48px 32px;
  font-size: 16.5px;
  color: #374151;
  line-height: 1.9;
  overflow: hidden;
}
.office-text-content h1,
.office-text-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--green-light);
}
.office-text-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin-top: 24px;
  margin-bottom: 10px;
}
.office-text-content p { margin-bottom: 14px; }
.office-text-content img {
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 18px auto;
}
.office-text-content strong { color: var(--heading); }

/* Office gallery grid – 2 per row */
.office-gallery-grid { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px 0 24px; }
.office-gallery-grid .og-item { flex: 0 0 calc(50% - 6px); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.09); }
.office-gallery-grid .og-item img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.office-gallery-grid .og-item img:hover { transform: scale(1.04); }
@media (max-width: 576px) {
  .office-gallery-grid .og-item { flex: 0 0 100%; }
  .office-gallery-grid .og-item img { height: 200px; }
}

/* Contact info section */
.office-contact-section { padding: 12px 0 40px; }

/* Left card: stacked contact rows */
.office-contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.office-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.2s;
  flex: 1;
}
.office-contact-item:last-child { border-bottom: none; }
.office-contact-item:hover { background: var(--bg-section); text-decoration: none; }
.office-contact-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.office-contact-item:hover .office-contact-icon { background: var(--green); }
.office-contact-icon i {
  font-size: 17px;
  color: var(--green);
  transition: color 0.2s;
}
.office-contact-item:hover .office-contact-icon i { color: #fff; }
.office-contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.office-contact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.office-contact-text span:last-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.45;
}
.office-contact-item:hover .office-contact-text span:last-child { color: var(--green); }

/* Map */
.office-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 280px;
}
.office-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  display: block;
}

/* Legacy selectors kept for backward compat */
.office-map iframe { width: 100%; height: 280px; border: none; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mapoffice iframe { width: 100%; height: 350px; border: none; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mapoffice { padding: 10px 0; }

@media (max-width: 767px) {
  .office-text-content { padding: 24px 18px; margin: 20px 0 0; }
  .office-map-wrap { min-height: 240px; }
  .office-map-wrap iframe { min-height: 240px; }
}

/* === GOOGLE REVIEWS ======================================== */
.reviews-section {
  background: var(--bg-section);
  padding: 0px 0 30px;
}
.reviews-header {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.reviews-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--heading);
  margin: 0;
  flex-shrink: 0;
}
.reviews-overall {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.reviews-overall-score {
  font-size: 36px;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}
.reviews-overall-stars { display: flex; align-items: center; gap: 6px; }
.reviews-overall-stars .fa-star  { color: #f59e0b; font-size: 18px; }
.reviews-overall-stars .fa-star-o { color: #d1d5db; font-size: 18px; }
.reviews-overall-count { font-size: 14px; color: #6b7280; margin-left: 4px; }
.reviews-google-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  border: 1.5px solid var(--green-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  transition: background 0.18s;
}
.reviews-google-link:hover { background: var(--green-light); color: var(--green); text-decoration: none; }

/* Carousel track */
.reviews-track-wrap {
  overflow: hidden;
  position: relative;
}
.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* Nav */
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.reviews-btn {
  background: #fff;
  border: 1.5px solid var(--green-light);
  color: var(--green);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}
.reviews-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.reviews-dots { display: flex; gap: 6px; align-items: center; }
.reviews-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.reviews-dot.active { background: var(--green); transform: scale(1.3); }

/* Individual card */
.review-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review-card-top { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review-avatar-initials {
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.review-author-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-author-name:hover { color: var(--green); }
.review-time { font-size: 12px; color: #9ca3af; }
.review-stars .fa-star  { color: #f59e0b; font-size: 14px; }
.review-stars .fa-star-o { color: #d1d5db; font-size: 14px; }
.review-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === FOOTER =============================================== */
#footer {
  background: linear-gradient(160deg, #1d6255 0%, #267668 40%, #309C82 100%);
  padding: 52px 0 0;
  border-radius: 24px 24px 0 0;
  max-width: 100% !important;
  width: 100%;
  box-shadow: 0 -6px 32px rgba(0,0,0,0.13);
}

/* --- Headings --- */
#footer h3, #footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
  position: relative;
  padding-bottom: 10px;
}
#footer h3::after, #footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.5);
  border-radius: 999px;
}
#footer .footer-hours-note {
  font-size: 11px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.65;
}

/* --- Identity / Bio column --- */
.footer-identity .footer-subtitle {
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  font-style: italic;
}
.footer-identity .footer-bio-text {
  color: #fff;
  font-size: 13.5px;
  line-height: 1.85;
  margin-bottom: 16px;
}
.footer-more-link {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  text-decoration: none;
}
.footer-more-link:hover { border-color: #fff; color: #fff; }

/* --- Contact column --- */
.footer-contacts { }
.footer-loc {
  margin-bottom: 14px;
}
.footer-city-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.footer-phones { display: flex; flex-direction: column; gap: 3px; padding-left: 4px; }
.footer-phones a {
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-phones a i { margin-right: 6px; opacity: 0.7; font-size: 12px; }
.footer-phones a:hover { opacity: 0.8; color: #fff; }
.footer-email {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-email i { color: #fff; font-size: 13px; }
.footer-email a { color: #fff; font-size: 13.5px; font-weight: 500; transition: opacity 0.2s; }
.footer-email a:hover { opacity: 0.8; color: #fff; }

/* --- Hours column --- */
.footer-schedule { display: flex; flex-direction: column; gap: 14px; }
.footer-schedule-item { }
.footer-times {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 4px;
  margin-top: 6px;
}
.footer-times span {
  color: #fff;
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-times em {
  font-style: normal;
  color: #fff;
  font-weight: 600;
  min-width: 88px;
  display: inline-block;
}

/* --- Maps section --- */
.footer-maps-row { margin-top: 8px; }
.footer-map-card { }
.footer-map-card p {
  color: #fff;
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer-map-card p strong { color: #fff; }
.footer-map-card p i { margin-right: 5px; opacity: 0.7; }
.footer-map-card iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: var(--radius-sm);
  display: block;
  opacity: 0.9;
}

/* --- Bottom bar --- */
#footer-border { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 36px; }
#footer-bottom { padding: 14px 0; }
#footer-copyright p { color: rgba(255,255,255,0.48); font-size: 12px; margin: 0; }
#footer-social { text-align: right; }
#footer-social a {
  font-size: 19px;
  margin-left: 14px;
  color: #fff;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}
#footer-social a:hover { color: #fff; transform: translateY(-2px); }

/* General fallback */
#footer p { color: #fff; font-size: 13.5px; line-height: 1.8; font-family: 'Inter', sans-serif; }
#footer a { color: #fff; transition: opacity 0.2s; }
#footer a:hover { color: #fff; opacity: 0.8; }

/* === 404 PAGE ============================================== */
#page-404 { padding-top: 60px; text-align: center; }
#page-404 h2 { font-size: 120px; color: #d1d5db; font-weight: 800; }
#page-404 h3 { font-size: 24px; color: #6b7280; }

/* === RESPONSIVE ============================================ */
@media (max-width: 1199px) {
  #header-spacer { height: 188px; }
  .singlepost_content { padding: 32px 28px; }
  #general_description { padding: 28px 28px !important; }
}

@media (max-width: 991px) {
  :root { --header-h: 168px; }
  #header-spacer { height: 168px; }
  .cv-layout { flex-direction: column; min-height: 0; position: static; }
  .cv-sidebar-col { flex: none; height: 0; overflow: hidden; width: 100%; }
  .sidenav {
    border-radius: 0;
    position: fixed;
    top: 0; left: 0;
    width: 0;
    height: 100%;
    z-index: 2000;
    overflow-x: hidden;
    overflow-y: auto;
    transition: width 0.3s ease;
    min-height: unset;
    flex: none;
  }
  .sidenav .closebtn { display: block; }
  .open_resume_navigation { display: inline-block; }
  .cv-main-col { width: 100%; }
  .class3 sm { text-align: left; }
  .section-row h1, .section-row h2 { font-size: 20px; }
}

@media (max-width: 767px) {
  :root { --header-h: 200px; }
  #header-spacer { height: 200px; }
  #header-top { padding: 6px 16px; }
  #contact-bar { padding: 8px 8px; }
  #contact-bar .row { flex-wrap: wrap; row-gap: 8px; }
  #contact-bar .col-4:first-child { flex: 0 0 50%; max-width: 50%; order: 1; justify-content: flex-end; padding-right: 10px; padding-left: 0; }
  #contact-bar .col-4:nth-child(2) { flex: 0 0 100%; max-width: 100%; order: 3; }
  #contact-bar .col-4:last-child { flex: 0 0 50%; max-width: 50%; order: 2; justify-content: flex-start; padding-left: 10px; padding-right: 0; }
  .cbar-phone-group, .cbar-phone-group--right { align-items: center; }
  .cbar-city { font-size: 11px; }
  .cbar-line { font-size: 15px; gap: 4px; }
  .btn-booking { padding: 7px 20px; font-size: 13.5px; }
  #main-nav { padding: 3px 16px; }
  #main-nav .container-fluid { padding: 3px 16px; }
  .navbar-toggler { padding: 5px 9px; border-width: 1px; }
  .navbar-toggler-icon { width: 1.3em; height: 1.3em; }
  #main-nav .navbar-nav .nav-link { font-size: 15px; }
  #general_description { padding: 20px 18px !important; }
  .article-card { flex-direction: column; }
  .article-card-img { width: 100%; flex: none; height: 200px; }
  .singlepost_content { padding: 22px 18px; max-width: 100%; }
  .singlepost_content h1 { font-size: 24px; }
  .share-wrap, .related-wrap { padding-left: 18px; padding-right: 18px; }
  .section-row h1, .section-row h2 { font-size: 19px; }
  .contact-form-wrap { padding: 20px 16px; }
  .class2, .class3 { padding: 16px 16px; }
}

@media (max-width: 480px) {
  :root { --header-h: 190px; }
  #header-spacer { height: 190px; }
  .site-logo { height: 42px; }
  .singlepost_content { padding: 18px 14px; }
  .singlepost_content h1 { font-size: 21px; }
}

/* ============================================================
   AI Chatbot widget
   ============================================================ */
#cb-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

/* ── bubble button ── */
#cb-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(48,156,130,0.45);
  transition: transform 0.2s ease, background 0.2s ease;
  margin-left: auto;
}
#cb-bubble svg { width: 26px; height: 26px; }
#cb-bubble:hover,
#cb-bubble.cb-active { background: var(--green-dark); transform: scale(1.07); }

/* ── chat window ── */
#cb-window {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  max-height: 480px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
#cb-window.cb-open { display: flex; }

/* ── header ── */
#cb-header {
  background: var(--green);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#cb-header-info { display: flex; align-items: center; gap: 10px; }
#cb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#cb-avatar svg { width: 20px; height: 20px; fill: #fff; }
#cb-name { font-weight: 600; font-size: 14px; line-height: 1.2; }
#cb-status { font-size: 11px; opacity: 0.85; display: flex; align-items: center; gap: 5px; }
#cb-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7effd4;
  animation: cb-pulse 2s infinite;
}
@keyframes cb-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
#cb-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  opacity: 0.8;
  transition: opacity 0.15s;
}
#cb-close:hover { opacity: 1; }

/* ── messages area ── */
#cb-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fafa;
}
.cb-msg {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  word-break: break-word;
}
.cb-user {
  align-self: flex-end;
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.cb-bot {
  align-self: flex-start;
  background: #fff;
  color: var(--body);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.cb-bot a {
  color: var(--green);
  text-decoration: underline;
  word-break: break-all;
  white-space: nowrap;
}
.cb-bot a:hover { color: var(--green-dark); }

/* allow text selection & copy inside chatbot */
#cb-widget { -webkit-user-select: text; user-select: text; }

/* typing dots */
.cb-typing {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cb-typing span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.6;
  animation: cb-bounce 1.2s infinite;
}
.cb-typing span:nth-child(2) { animation-delay: 0.2s; }
.cb-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cb-bounce {
  0%,80%,100% { transform: translateY(0); }
  40%         { transform: translateY(-6px); }
}

/* ── input row ── */
#cb-input-row {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  gap: 8px;
  background: #fff;
}
#cb-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13.5px;
  outline: none;
  color: var(--body);
  transition: border-color 0.15s;
}
#cb-input:focus { border-color: var(--green); }
#cb-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
#cb-send:hover { background: var(--green-dark); }
#cb-send:disabled { background: #aaa; cursor: default; }
#cb-send svg { width: 16px; height: 16px; }

@media (max-width: 480px) {
  #cb-widget { bottom: 16px; right: 14px; }
  #cb-window { width: calc(100vw - 28px); right: 0; }
}
