﻿/*
Theme Name: TruCare
Theme URI: https://trucare.com
Author: TruCare Team
Author URI: https://trucare.com
Description: A modern WordPress theme with Bootstrap, Elementor Pro, and Font Awesome support. Uses Raleway for headings and Rubik for content.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trucare
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* apply a natural box layout model to all elements, but allowing components to change */
:root{
    --purpple:#742E88;
    --green:#007499;
    --light-blue:#6EA8DA;
}

/* Force Font Awesome to load properly */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

html {
  box-sizing: border-box;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* Typography */
body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #F6F7F8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Basic Styles */
a {
  color: var(--purpple);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

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

/* Top Bar Styles */
.top-bar-wrapper {
  background-color: var(--purpple);
  color: #ffffff;
  font-size: 14px;
  width: 100%;
}

/* Font Awesome Icons - Ensure proper rendering */
.top-bar-wrapper i.fas,
.top-bar-wrapper i.far,
.top-bar-wrapper i.fab {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1;
  width: auto;
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome";
  font-weight: 900;
}

.top-bar-wrapper i.far {
  font-weight: 400;
}

/* Fallback for icons if Font Awesome doesn't load */
.contact-item i::before,
.btn-call-now i::before,
.btn-consultation i::before {
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
}

.top-bar-info {
  padding: 0;
  width: 100%;
}

.top-bar-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.top-bar-info .row {
  margin: 0;
  width: 100%;
}

.top-bar-info .col-lg-8 {
  padding: 12px 30px;
  display: flex;
  align-items: center;
}

.top-bar-info .col-lg-4 {
  padding: 0;
  display: flex;
  align-items: stretch;
}

.contact-info {
  padding-left: 0;
}

.contact-info .contact-item {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.contact-info .contact-item i {
  color: #ffffff;
  font-size: 14px;
  flex-shrink: 0;
}

.contact-info .contact-item a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-info .contact-item a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.top-bar-actions {
  gap: 0;
  display: flex;
  width: 100%;
  height: 100%;
}

.top-bar-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  height: 100%;
  min-height: 48px;
  flex: 0 0 50%;
  width: 50%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
}

.btn-call-now {
  background-color: var(--green);
  color: #ffffff;
}

.btn-call-now:hover {
  background-color: #005f7a;
  color: #ffffff;
  text-decoration: none;
}

.btn-consultation {
  background-color: var(--light-blue);
  color: #ffffff;
}

.btn-consultation:hover {
  background-color: #5a92c5;
  color: #ffffff;
  text-decoration: none;
}

/* Responsive Top Bar */
/* Tablets landscape grandes (hasta 1024px) - mantener layout row */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .top-bar-wrapper {
    font-size: 11px;
  }
  
  .top-bar-info .col-lg-8 {
    padding: 8px 15px;
  }
  
  .contact-info {
    flex-direction: row !important;
    gap: 10px;
  }
  
  .contact-info .contact-item {
    font-size: 10px;
    margin-bottom: 0 !important;
    margin-right: 8px !important;
  }
  
  .contact-info .contact-item:last-child {
    margin-right: 0 !important;
  }
  
  .contact-info .contact-item i {
    font-size: 10px;
  }
  
  .top-bar-actions a {
    padding: 8px 10px;
    font-size: 10px;
  }
  
  .top-bar-actions a span {
    font-size: 10px;
  }
}

/* Tablets portrait (hasta 991px no landscape) - ajustar pero no column todavía */
@media (max-width: 991px) and (orientation: portrait) {
  .top-bar-wrapper {
    font-size: 12px;
  }
  
  .top-bar-info .col-lg-8 {
    padding: 10px 20px;
  }
  
  .contact-info {
    gap: 12px;
  }
  
  .contact-info .contact-item {
    font-size: 12px;
  }
  
  .top-bar-actions a {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* Tablets portrait y móviles - cambiar a column */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
  }
  
  .contact-info .contact-item {
    margin-bottom: 8px;
    margin-right: 0 !important;
  }
  
  .top-bar-actions {
    flex-direction: row;
    width: 100%;
  }
  
  .top-bar-actions a {
    flex: 1;
    justify-content: center;
    padding: 12px 15px;
  }
}

/* Móviles - layout completo vertical */
@media (max-width: 768px) {
  .top-bar-info .col-lg-8,
  .top-bar-info .col-lg-4 {
    width: 100%;
  }
  
  .top-bar-info .col-lg-8 {
    padding: 15px 20px;
    justify-content: flex-start;
    text-align: left;
  }
  
  .top-bar-info .col-lg-4 {
    padding: 0;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }
  
  .contact-info .contact-item {
    justify-content: flex-start;
    width: 100%;
    margin-right: 0 !important;
  }
  
  .contact-info .contact-item span,
  .contact-info .contact-item a {
    font-size: 14px;
  }
  
  .contact-info .contact-item i {
    width: 18px;
    text-align: center;
    margin-right: 10px !important;
  }
  
  .top-bar-actions {
    margin-top: 0;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .top-bar-actions a {
    padding: 12px 20px;
    font-size: 13px;
    flex: 1 1 auto;
    min-width: 0;
  }
  
  .top-bar-actions a span {
    white-space: nowrap;
  }
}

/* WordPress Core */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ========================================================
   NAVIGATION  (tc-* prefix — zero Bootstrap class conflicts)
   Features: sticky, desktop hover dropdowns (pure CSS),
   off-canvas mobile drawer, accordion submenus, multilevel
======================================================== */

/* ----- Navbar shell ----- */
.tc-navbar {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: box-shadow 0.3s ease;
}
.tc-navbar--scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.tc-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 80px;
}

/* ----- Logo ----- */
.tc-brand { flex-shrink: 0; }
.tc-brand a { display: block; }
.tc-brand img,
.tc-brand .custom-logo {
  max-height: 58px;
  width: auto;
  display: block;
}

/* Logo responsive */
@media (max-width: 1279px) {
  .tc-navbar__inner { height: 64px; padding: 0 1rem; }
  .tc-brand img,
  .tc-brand .custom-logo { max-height: 44px; }
}
/* Ajustes para laptops pequeños */
@media (min-width: 1280px) and (max-width: 1440px) {
  .tc-navbar__inner { padding: 0 0.75rem; }
  .tc-menu > .tc-item > .tc-link {
    padding: 0 8px;
    font-size: 0.78rem;
    gap: 3px;
  }
}
/* Ajustes para pantallas 1280px exacto (MacBook 13") */
@media (min-width: 1280px) and (max-width: 1366px) {
  .tc-menu > .tc-item > .tc-link {
    padding: 0 7px;
    font-size: 0.76rem;
  }
  .tc-brand img,
  .tc-brand .custom-logo { max-height: 50px; }
}
@media (max-width: 480px) {
  .tc-navbar__inner { height: 56px; }
  .tc-brand img,
  .tc-brand .custom-logo { max-height: 36px; }
}

/* ----- Desktop menu wrapper ----- */
.tc-menu-wrap { display: none; }
@media (min-width: 1280px) {
  .tc-menu-wrap { display: flex; align-items: center; }
}

/* ============================================================
   DESKTOP MENU — top-level list
============================================================ */
.tc-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Top-level item */
.tc-menu > .tc-item { position: relative; }

/* Top-level link */
.tc-menu > .tc-item > .tc-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  height: 80px;
  color: #333333;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
  border-bottom: 3px solid transparent;
}
.tc-menu > .tc-item > .tc-link:hover,
.tc-menu > .tc-item.tc-active > .tc-link {
  color: var(--purpple);
  border-bottom-color: var(--purpple);
}

/* Arrow icon inside top-level links */
.tc-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
/* Rotate down-arrow when parent is hovered (desktop) */
.tc-menu > .tc-item.tc-has-children:hover > .tc-link > .tc-arrow {
  transform: rotate(180deg);
}
/* Right-arrow on nested items should NOT rotate */
.tc-dropdown .tc-item:hover > .tc-link > .tc-arrow {
  transform: none;
}

/* ============================================================
   LEVEL-1 DROPDOWN
============================================================ */
.tc-dropdown {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  border-top: 3px solid var(--purpple);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}
/* Show on hover — pure CSS, no JS required */
.tc-item.tc-has-children:hover > .tc-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown links */
.tc-dropdown .tc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: auto;
  padding: 10px 18px;
  color: #444444;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
  border-bottom: none;
}
.tc-dropdown .tc-link:hover,
.tc-dropdown .tc-item.tc-active > .tc-link {
  background: rgba(116, 46, 136, 0.07);
  color: var(--purpple);
}

/* ============================================================
   LEVEL-2+ DROPDOWN (flyout to the right)
============================================================ */

/* Items inside a dropdown need position:relative so the child
   tc-dropdown--sub positions against the correct li, not the ul */
.tc-dropdown > .tc-item {
  position: relative;
}

.tc-dropdown--sub {
  top: 0;
  left: 100%;
  margin-left: 0;
  transform: translateX(-8px);
}

/* Bridge: transparent area that covers the gap between the link
   and the flyout panel so the cursor never leaves the hover zone */
.tc-dropdown > .tc-item.tc-has-children > .tc-link {
  position: relative;
}
.tc-dropdown > .tc-item.tc-has-children > .tc-link::after {
  content: '';
  position: absolute;
  top: 0;
  right: -12px;
  width: 12px;
  height: 100%;
}

/* Shown via JS class .tc-sub-open (avoids diagonal-gap problem) */
.tc-dropdown > .tc-item.tc-sub-open > .tc-dropdown--sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: all;
}

/* ============================================================
   HAMBURGER BUTTON
============================================================ */
.tc-burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 10;
}
@media (min-width: 1280px) { .tc-burger { display: none; } }

.tc-burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--purpple);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Animate to X when open */
.tc-burger--open .tc-burger__line:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.tc-burger--open .tc-burger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.tc-burger--open .tc-burger__line:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ============================================================
   OVERLAY (behind the drawer)
============================================================ */
.tc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.tc-overlay--visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   OFF-CANVAS DRAWER
============================================================ */
.tc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100%;
  height: 100dvh;
  background: #ffffff;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}
.tc-drawer--open { transform: translateX(0); }

/* Drawer header */
.tc-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eeeeee;
  flex-shrink: 0;
  background: #ffffff;
}
.tc-drawer__logo img,
.tc-drawer__logo .custom-logo {
  max-height: 44px;
  width: auto;
  display: block;
}
.tc-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  border-radius: 50%;
  color: #666666;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.tc-drawer__close:hover {
  background: rgba(116, 46, 136, 0.1);
  color: var(--purpple);
}

/* Drawer body */
.tc-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

/* Body scroll lock */
.tc-scroll-lock { overflow: hidden; }

/* ============================================================
   MOBILE MENU LIST
============================================================ */
.tc-mob-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tc-mob-item {
  border-bottom: 1px solid #f0f0f0;
}
.tc-mob-item:last-child { border-bottom: none; }

/* Plain link (no children) */
.tc-mob-item > .tc-mob-link {
  display: block;
  padding: 14px 20px;
  color: #333333;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.tc-mob-item > .tc-mob-link:hover {
  background: rgba(116, 46, 136, 0.06);
  color: var(--purpple);
}
.tc-mob-item.tc-active > .tc-mob-link {
  color: var(--purpple);
  border-left: 3px solid var(--purpple);
  padding-left: 17px;
}

/* Row: link + toggle side-by-side */
.tc-mob-row {
  display: flex;
  align-items: stretch;
}
.tc-mob-row .tc-mob-link {
  flex: 1;
  display: block;
  padding: 14px 20px;
  color: #333333;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.tc-mob-row .tc-mob-link:hover { color: var(--purpple); }
.tc-mob-item.tc-active > .tc-mob-row .tc-mob-link {
  color: var(--purpple);
}
.tc-mob-item.tc-active > .tc-mob-row {
  border-left: 3px solid var(--purpple);
}

/* Toggle arrow button */
.tc-mob-toggle {
  flex-shrink: 0;
  width: 50px;
  background: none;
  border: none;
  border-left: 1px solid #eeeeee;
  color: #999999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.tc-mob-toggle:hover {
  background: rgba(116, 46, 136, 0.06);
  color: var(--purpple);
}
.tc-mob-toggle i {
  display: block;
  transition: transform 0.3s ease;
}
.tc-mob-item.tc-open > .tc-mob-row .tc-mob-toggle {
  color: var(--purpple);
}
.tc-mob-item.tc-open > .tc-mob-row .tc-mob-toggle i {
  transform: rotate(180deg);
}

/* Mobile submenu (accordion) */
.tc-mob-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fafafa;
}

/* Nested mobile items */
.tc-mob-sub .tc-mob-item { border-bottom: 1px solid #ebebeb; }
.tc-mob-sub .tc-mob-item:last-child { border-bottom: none; }

.tc-mob-sub .tc-mob-item > .tc-mob-link,
.tc-mob-sub .tc-mob-row .tc-mob-link { padding-left: 36px; }

/* 3rd level */
.tc-mob-sub .tc-mob-sub .tc-mob-item > .tc-mob-link,
.tc-mob-sub .tc-mob-sub .tc-mob-row .tc-mob-link { padding-left: 52px; }

/* 4th level */
.tc-mob-sub .tc-mob-sub .tc-mob-sub .tc-mob-item > .tc-mob-link,
.tc-mob-sub .tc-mob-sub .tc-mob-sub .tc-mob-row .tc-mob-link { padding-left: 68px; }

/* ============================================================
   SKIP LINK
============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 5px;
  z-index: 100000;
  font-weight: 600;
  transition: top 0.3s ease;
}
.skip-link:focus {
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 0;
  width: auto;
  background: #ffffff;
}

/* ============================================================
   HERO BANNER
============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
}

.hero-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(25, 40, 69, 0.3);*/
  z-index: 1;
}

.hero-banner__container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  height: 100%;
}

.hero-banner__content {
  position: relative;
  padding: 60px 40px 60px 180px;
  max-width: 800px;
  min-width: 450px;
  width: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  min-height: 550px;
  z-index: 2;
}

.hero-banner__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 40, 69, 0.4);
  clip-path: polygon(8% 0, 100% 0, 100% 101%, 32% 101%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.hero-banner__heading {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  white-space: normal;
  position: relative;
  z-index: 1;
}

.hero-banner__subheading {
  font-family: 'Rubik', sans-serif;
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.4;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.hero-banner__cta {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.hero-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #007499;
  color: #ffffff;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.hero-banner__button:hover {
  background: #005a75;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.hero-banner__button i {
  font-size: 1rem;
}

/* Tablet Landscape Responsive */
@media (max-width: 992px) and (orientation: landscape) {
  .hero-banner {
    min-height: 450px;
  }

  .hero-banner__content {
    max-width: 650px;
    min-width: 400px;
    width: auto;
    padding: 50px 45px 50px 130px;
    min-height: 450px;
  }

  .hero-banner__content::before {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 32% 100%);
  }

  .hero-banner__heading {
    font-size: 2rem;
    white-space: normal;
  }

  .hero-banner__subheading {
    font-size: 1.125rem;
  }

  .hero-banner__button {
    padding: 16px 35px;
    font-size: 1rem;
  }
}

/* Tablet Portrait - Full Width */
@media (max-width: 992px) and (orientation: portrait) {
  .hero-banner {
    min-height: 450px;
    justify-content: center;
  }

  .hero-banner__content {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 40px 30px;
    min-height: 450px;
    text-align: center;
    align-items: center;
  }

  .hero-banner__content::before {
    clip-path: none;
  }

  .hero-banner__heading {
    font-size: 2rem;
    white-space: normal;
  }

  .hero-banner__subheading {
    font-size: 1.125rem;
  }

  .hero-banner__button {
    padding: 16px 35px;
    font-size: 1rem;
  }
}

/* Mobile Responsive - Full Width */
@media (max-width: 768px) {
  .hero-banner {
    min-height: 400px;
    justify-content: center;
  }

  .hero-banner__content {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 35px 25px;
    min-height: 400px;
    text-align: center;
    align-items: center;
  }

  .hero-banner__content::before {
    clip-path: none;
  }

  .hero-banner__heading {
    font-size: 1.75rem;
    margin-bottom: 12px;
    white-space: normal;
  }

  .hero-banner__subheading {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .hero-banner__cta {
    margin-top: 25px;
  }

  .hero-banner__button {
    padding: 14px 30px;
    font-size: 0.95rem;
    gap: 10px;
  }

  .hero-banner__button i {
    font-size: 1.125rem;
  }
}

/* Small Mobile - Full Width */
@media (max-width: 480px) {
  .hero-banner {
    min-height: 350px;
    justify-content: center;
  }

  .hero-banner__content {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 30px 20px;
    min-height: 350px;
    text-align: center;
    align-items: center;
  }

  .hero-banner__content::before {
    clip-path: none;
  }

  .hero-banner__heading {
    font-size: 1.5rem;
    white-space: normal;
  }

  .hero-banner__subheading {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .hero-banner__button {
    padding: 12px 25px;
    font-size: 0.9rem;
    gap: 8px;
    width: 100%;
  }
}

/* ============================================================
   PRINT STYLES
============================================================ */
@media print {
  .top-bar-wrapper,
  .tc-burger,
  .tc-drawer,
  .tc-overlay,
  #backToTop { display: none !important; }

  .tc-navbar { position: relative !important; box-shadow: none !important; }
}


/*** Additional Utility Classes *//*** Additional Utility Classes */
.ha-toggle__icon--closed{
  color: var(--purpple);
}
.elementor-11 .elementor-element.elementor-element-9cdab81 .ha-toggle__item-title {
 background-color: transparent!important;
}

/* ========================================
   FOOTER STYLES
======================================== */

.trucare-footer {
  margin-top: 0;
  padding: 0;
}

.footer-background {
  background-image: url('assets/img/footer-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  position: relative;
}

.footer-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--purpple);
  opacity: 0.85;
  z-index: 0;
}

.footer-background > * {
  position: relative;
  z-index: 1;
}

/* Main Footer Content */
.footer-main {
  padding: 30px 0 30px;
}

.footer-main .row {
  align-items: flex-start;
}

/* Footer Headings */
.footer-heading {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

/* Contact Column */
.footer-contact {
  color: #ffffff;
}

.footer-info p {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-contact a:hover {
  color: #FFC107;
  text-decoration: underline;
}

.footer-contact strong {
  font-weight: 700;
}

/* Email Highlight */
.email-highlight {
  color: #FFC107 !important;
  font-weight: 600;
}

.email-highlight:hover {
  color: #FFD54F !important;
  text-decoration: underline;
}

/* Social Media Column */
.footer-social {
  color: #ffffff;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  background-color: var(--green);
  transform: scale(1.1);
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 116, 153, 0.4);
  border-color: var(--green);
}

/* Footer Navigation Menu */
.footer-menu-section {
  color: #ffffff;
}

.footer-navigation {
  margin-top: 0;
}

.footer-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px 20px;
}

.footer-nav-menu li {
  margin: 0;
}

.footer-nav-menu a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 4px 0;
  position: relative;
}

.footer-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #FFC107;
  transition: width 0.3s ease;
}

.footer-nav-menu a:hover {
  color: #FFC107;
  text-decoration: none;
}

.footer-nav-menu a:hover::after {
  width: 100%;
}

/* Footer Bottom */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  color: #ffffff;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #FFC107;
  text-decoration: none;
}

/* Back to Top Button */
#backToTop {
  border-radius: 50%;
  width: 55px;
  height: 55px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--green);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 116, 153, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.9;
  bottom: 30px !important;
  right: 30px !important;
}

#backToTop:hover {
  background-color: var(--purpple);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(116, 46, 136, 0.5);
  opacity: 1;
}

#backToTop i {
  font-size: 1.2rem;
  color: #ffffff;
  transition: transform 0.3s ease;
}

#backToTop:hover i {
  transform: translateY(-2px);
}

/* Responsive Footer Styles */
@media (max-width: 991px) {
  .footer-main {
    padding: 40px 0 30px;
  }
  
  .footer-contact,
  .footer-social,
  .footer-menu-section {
    margin-bottom: 40px;
  }
  
  .footer-contact:last-child,
  .footer-social:last-child,
  .footer-menu-section:last-child {
    margin-bottom: 0;
  }
  
  .footer-heading {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 35px 0 25px;
  }
  
  .footer-heading {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 16px;
  }
  
  .footer-contact,
  .footer-social,
  .footer-menu-section {
    text-align: center;
    margin-bottom: 35px;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-nav-menu {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  #backToTop {
    width: 48px;
    height: 48px;
    bottom: 20px !important;
    right: 20px !important;
  }
  
  #backToTop i {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .footer-main {
    padding: 30px 0 20px;
  }
  
  .footer-heading {
    font-size: 1.1rem;
  }
  
  .footer-info p {
    font-size: 0.9rem;
  }
  
  .social-icons {
    gap: 10px;
  }
  
  .social-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  
  .footer-nav-menu {
    gap: 8px 15px;
  }
  
  .footer-nav-menu a {
    font-size: 0.9rem;
  }
  
  .footer-bottom p {
    font-size: 0.75rem;
  }
}

/* ==================================================
   CONTACT FORM 7 GLOBAL FORM STYLING
   ================================================== */

/* Light gray placeholders (WPForms-style) */
.wpcf7-form ::placeholder {
    color: #b0b0b0 !important;
    opacity: 1;
}

/* Increase vertical spacing between form fields */
.wpcf7-form .row {
    --bs-gutter-y: 2rem;
}

/* Add spacing between checkbox and label text */
.wpcf7-form .wpcf7-list-item-label {
    margin-left: 6px;
}

/* Stack checkbox options on mobile */
.wpcf7-form .wpcf7-list-item {
    display: block;
    margin-bottom: 0.5rem;
}

/* Inline checkbox layout on tablets and larger */
@media (min-width: 768px) {
    .wpcf7-form .wpcf7-list-item {
        display: inline-block;
        margin-bottom: 0;
    }
}

/* Submit button styling */
.wpcf7-form .btn-primary,
.wpcf7-form .wpcf7-submit {
    background-color: #007499;
    border-color: #007499;
    color: #ffffff;
    font-weight: 700;
    width: 500px;
    max-width: 100%;
    height: 48px;
    border-radius: 4px;
    padding: 0;
}

/* Keep same color on hover/focus */
.wpcf7-form .btn-primary:hover,
.wpcf7-form .btn-primary:focus,
.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form .wpcf7-submit:focus {
    background-color: #007499;
    border-color: #007499;
    color: #ffffff;
}

/* Match WPForms labels and option text */
.wpcf7-form .form-label,
.wpcf7-form .wpcf7-list-item-label,
.wpcf7-form label {
    color: rgb(25, 40, 69);
}

/* Callback form card */
.cf7-callback-form.wpcf7-form {
    background: #ffffff;
    padding: 3rem 2rem 2rem 2rem;
    border-radius: 1rem;
}

/* CF7 response output spacing */
.wpcf7 form .wpcf7-response-output {
	margin: 1em 0.5em 1em;
}

/* CF7 spinner centered below submit button */
.wpcf7 .wpcf7-spinner {
    display: block;
    width: 24px;
    margin: 0 auto;
}

/* ========================================
   SERVICES LIST COMPONENT
======================================== */

.trucare-service-list {
  background: #E8EDF2;
  border-radius: 12px;
  padding: 30px;
  max-width: 400px;
}

.service-list-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  text-align: left;
}

.service-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list-item {
  margin: 0;
  padding: 0;
}

.service-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 2px solid #CBD5E1;
  border-radius: 8px;
  padding: 16px 20px;
  text-decoration: none;
  color: #1e293b;
  font-family: 'Raleway', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-list-link:hover {
  background: #F8FAFC;
  border-color: var(--purpple);
  color: var(--purpple);
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(116, 46, 136, 0.15);
}

.service-list-name {
  flex: 1;
}

.service-list-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purpple);
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.service-list-link:hover .service-list-arrow {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
  .trucare-service-list {
    padding: 20px;
    max-width: 100%;
  }
  
  .service-list-title {
    font-size: 1.5rem;
  }
  
  .service-list-link {
    padding: 14px 16px;
    font-size: 1rem;
  }
}

/* ========================================
   SERVICES TABS COMPONENT
======================================== */

.trucare-services-tabs {
  width: 100%;
  margin: 40px 0;
}

.services-tabs-wrapper {
  display: flex;
  gap: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-height: 500px;
}

/* Tabs Navigation (Left Side) */
.tabs-nav {
  flex: 0 0 380px;
  background: #F8F9FA;
  border-right: 1px solid #E8EAED;
}

.tabs-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tab-nav-item {
  border-bottom: 1px solid #E8EAED;
}

.tab-nav-item:last-child {
  border-bottom: none;
}

.tab-nav-link {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  border-left: 4px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.tab-nav-link:hover {
  background: #fff;
  border-left-color: var(--light-blue);
}

.tab-nav-item.active .tab-nav-link {
  background: #fff;
  border-left-color: var(--green);
}

.tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  color: var(--green);
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.tab-nav-item.active .tab-icon {
  background: var(--green);
  color: #fff;
  transform: scale(1.05);
}

.tab-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.tab-title {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.tab-nav-item.active .tab-title {
  color: var(--green);
}

.tab-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  line-height: 1.4;
}

/* Tabs Content (Right Side) */
.tabs-content {
  flex: 1;
  position: relative;
  padding: 40px;
  overflow: hidden;
}

.tab-content-panel {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tab-content-panel.active {
  opacity: 1;
  visibility: visible;
}

.tab-content-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.tab-content-header {
  margin-bottom: 8px;
}

.tab-content-title {
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--green);
  margin: 0;
  line-height: 1.2;
}

.tab-content-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tab-description {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
}

.tab-description p {
  margin-bottom: 12px;
}

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

.tab-description ul,
.tab-description ol {
  margin: 12px 0;
  padding-left: 24px;
}

.tab-description li {
  margin-bottom: 8px;
}

.tab-cta {
  margin-top: 8px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--green);
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 116, 153, 0.2);
}

.btn-cta:hover {
  background: #005f7a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 116, 153, 0.3);
}

.btn-cta i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-cta:hover i {
  transform: translateX(4px);
}

.tab-image {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tab-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tabs-nav {
    flex: 0 0 320px;
  }
  
  .tab-nav-link {
    padding: 20px 24px;
    gap: 16px;
  }
  
  .tab-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  
  .tab-title {
    font-size: 16px;
  }
  
  .tab-subtitle {
    font-size: 12px;
  }
  
  .tabs-content {
    padding: 32px;
  }
  
  .tab-content-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .services-tabs-wrapper {
    flex-direction: column;
    min-height: auto;
  }
  
  .tabs-nav {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #E8EAED;
  }
  
  .tab-nav-link {
    padding: 18px 20px;
    gap: 14px;
  }
  
  .tab-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .tab-title {
    font-size: 15px;
  }
  
  .tab-subtitle {
    font-size: 11px;
  }
  
  .tabs-content {
    padding: 28px 24px;
  }
  
  .tab-content-title {
    font-size: 24px;
  }
  
  .tab-description {
    font-size: 15px;
  }
  
  .btn-cta {
    padding: 12px 28px;
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .trucare-services-tabs {
    margin: 20px 0;
  }
  
  .services-tabs-wrapper {
    border-radius: 8px;
  }
  
  .tab-nav-link {
    padding: 16px;
    gap: 12px;
  }
  
  .tab-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .tab-title {
    font-size: 14px;
  }
  
  .tab-subtitle {
    font-size: 11px;
  }
  
  .tabs-content {
    padding: 20px 16px;
  }
  
  .tab-content-title {
    font-size: 22px;
  }
  
  .tab-description {
    font-size: 14px;
  }
  
  .btn-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ============================================================
   LEADERSHIP TEAM SHORTCODE — [leadership_team]
   ============================================================ */

/* Grid */
.tc-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 991px) {
  .tc-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 575px) {
  .tc-team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── Card shell ─────────────────────────────────────── */
.tc-team-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  outline: none;
  display: flex;
  flex-direction: column;
  border-bottom: 3px solid transparent;
}

.tc-team-card:hover,
.tc-team-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
  border-bottom-color: var(--green);
}

.tc-team-card:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.tc-team-card__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ── Photo ─────────────────────────────────────────── */
.tc-team-card__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 3.2;
  background: #e4edf3;
}

.tc-team-card__photo img{
     height: 100%!important;
}

.tc-team-card__img {
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.tc-team-card:hover .tc-team-card__img,
.tc-team-card:focus .tc-team-card__img {
  transform: scale(1.04);
}

.tc-team-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 52px;
  color: #93afc4;
}

/* ── Hover overlay ────────────────────────────────── */
.tc-team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 116, 153, 0.78) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tc-team-card:hover .tc-team-card__overlay,
.tc-team-card:focus .tc-team-card__overlay {
  opacity: 1;
}

.tc-team-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 40px;
  transition: background 0.2s ease;
}

.tc-team-card:hover .tc-team-card__cta {
  background: rgba(255, 255, 255, 0.28);
}

/* ── Body ────────────────────────────────────────────── */
.tc-team-card__body {
  padding: 20px 22px 22px;
  border-left: 3px solid var(--green);
}

.tc-team-card__name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 5px;
  line-height: 1.3;
}

.tc-team-card__position {
  font-family: 'Rubik', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.4;
}

/* ── Remove old elements no longer used ─────────────── */
.tc-team-card__top,
.tc-team-card__avatar,
.tc-team-card__footer,
.tc-team-card__wave {
  display: none;
}

/* ============================================================
   BIO MODAL
   ============================================================ */
.tc-bio-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.tc-bio-modal.is-open {
  display: flex;
}

/* Backdrop */
.tc-bio-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  animation: tcFadeIn 0.25s ease;
}

/* Dialog */
.tc-bio-modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  max-width: 640px;
  width: calc(100% - 32px);
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  animation: tcSlideUp 0.3s ease;
}

@keyframes tcFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

/* Close button */
.tc-bio-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  color: #555;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 2;
}

.tc-bio-modal__close:hover {
  background: var(--purpple);
  color: #fff;
}

/* Modal header */
.tc-bio-modal__header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 32px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.tc-bio-modal__img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--purpple);
  flex-shrink: 0;
}

.tc-bio-modal__img--placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--purpple);
  background: #f0e5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--purpple);
  flex-shrink: 0;
}

.tc-bio-modal__meta {
  flex: 1;
}

.tc-bio-modal__name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 6px;
}

.tc-bio-modal__position {
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--purpple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* Modal bio text */
.tc-bio-modal__bio {
  padding: 24px 32px 32px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
}

.tc-bio-modal__bio p {
  margin-bottom: 1em;
}

/* Responsive modal */
@media (max-width: 575px) {
  .tc-bio-modal__header {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px 16px;
    gap: 16px;
  }

  .tc-bio-modal__bio {
    padding: 16px 20px 24px;
  }

  .tc-bio-modal__name {
    font-size: 1.2rem;
  }
}

/* Prevent body scroll when modal open */
body.tc-modal-open {
  overflow: hidden;
}

/* ============================================================
   EVENTS SHORTCODE — [events]
   ============================================================ */

/* Wrapper */
/* ═══════════════════════════════════════════════════
   TRU EVENTS - Magazine Style Layout
   ═══════════════════════════════════════════════════ */

.tc-events-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ── Main Title ─────────────────────────────────────── */
.tc-events-main-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 40px 0;
  text-align: left;
  letter-spacing: -0.02em;
}

/* ── Section ─────────────────────────────────────────── */
.tc-events-section {
  margin-bottom: 60px;
}

.tc-events-section-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purpple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 30px 0;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--purpple);
}

/* ── Events List ─────────────────────────────────────── */
.tc-events-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ── Event Item (Horizontal Layout) ──────────────────── */
.tc-event-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  border-radius: 0;
  overflow: visible;
  padding: 0;
  transition: transform 0.3s ease;
}

.tc-event-item:hover {
  transform: translateX(5px);
}

/* ── Event Image ─────────────────────────────────────── */
.tc-event-item__image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-event-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ── Event Content ───────────────────────────────────── */
.tc-event-item__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 0;
}

/* ── Event Title ─────────────────────────────────────── */
.tc-event-item__title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--purpple);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ── Event Meta ──────────────────────────────────────── */
.tc-event-item__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tc-event-item__datetime {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.tc-event-item__datetime strong {
  font-weight: 500;
  color: #000;
}

/* ── Event Description ────────────────────────────────── */
.tc-event-item__description {
  font-family: 'Rubik', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-top: 8px;
}

.tc-event-item__description p {
  margin: 0 0 12px 0;
}

.tc-event-item__description p:last-child {
  margin-bottom: 0;
}

/* ── Event Actions ────────────────────────────────────── */
.tc-event-item__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ── Empty State ─────────────────────────────────────── */
.tc-events-empty {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  padding: 60px 20px;
  margin: 0;
}

/* ── Buttons ─────────────────────────────────────────── */
.tc-event-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

/* Primary Button */
.tc-event-btn--primary {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.tc-event-btn--primary:hover {
  background: #005f7a;
  border-color: #005f7a;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 116, 153, 0.25);
}

/* Outline Button */
.tc-event-btn--outline {
  background: transparent;
  color: var(--purpple);
  border-color: var(--purpple);
}

.tc-event-btn--outline:hover {
  background: var(--purpple);
  border-color: var(--purpple);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(116, 46, 136, 0.25);
}

/* ── Responsive Styles ───────────────────────────────── */
@media (max-width: 992px) {
  .tc-event-item {
    grid-template-columns: 250px 1fr;
    gap: 24px;
  }
  
  .tc-event-item__image {
    min-height: 200px;
  }
  
  .tc-event-item__title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .tc-events-main-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .tc-events-section-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
  }
  
  .tc-event-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tc-event-item__image {
    min-height: 250px;
    max-height: 300px;
  }
  
  .tc-event-item__title {
    font-size: 1.5rem;
  }
  
  .tc-event-item__datetime {
    font-size: 0.95rem;
  }
  
  .tc-event-item__actions {
    flex-direction: column;
  }
  
  .tc-event-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .tc-events-wrapper {
    padding: 30px 15px;
  }
  
  .tc-events-main-title {
    font-size: 1.75rem;
  }
  
  .tc-event-item__title {
    font-size: 1.35rem;
  }
}
