/*
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;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* Typography */
body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #F6F7F8;
}

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: #007bff;
  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 24px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  height: 100%;
  min-height: 48px;
}

.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 */
@media (max-width: 991px) {
  .top-bar-wrapper {
    font-size: 12px;
  }
  
  .top-bar-info .col-lg-8 {
    padding: 10px 20px;
  }
  
  .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;
  }
}

@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;
}

/* ========================================
   MAIN NAVIGATION / HEADER
======================================== */

/* Navigation Container */
.main-navigation {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1000;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

/* Site Branding */
.site-branding {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 15px;
}

.brand-content {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-tagline {
  font-size: 0.875rem;
  color: #666;
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
  font-style: italic;
  margin: 2px 0 0 0;
  line-height: 1.2;
}

.custom-logo-link {
  display: inline-block;
}

.custom-logo {
  max-height: 60px;
  width: auto;
  display: block;
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
  flex: 1;
  justify-content: flex-end;
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-menu > .menu-item {
  position: relative;
}

.main-menu .menu-link {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  color: #333;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.main-menu .menu-link:hover {
  color: var(--purpple);
}

.main-menu .dropdown-icon {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Dropdown Menu */
.main-menu .menu-item.has-dropdown > .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.main-menu .menu-item.has-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu .menu-item {
  position: relative;
}

.dropdown-menu .menu-link {
  padding: 10px 20px;
  color: #333;
  display: block;
  font-size: 14px;
}

.dropdown-menu .menu-link:hover {
  background: rgba(116, 46, 136, 0.1);
  color: var(--purpple);
}

/* Nested Dropdowns (Third Level) */
.dropdown-menu .menu-item.has-dropdown > .dropdown-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 0;
  margin-left: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.dropdown-menu .menu-item.has-dropdown:hover > .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 28px;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--purpple);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Off-Canvas Menu */
.offcanvas-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}

.offcanvas-menu.active {
  pointer-events: all;
}

.offcanvas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offcanvas-menu.active .offcanvas-overlay {
  opacity: 1;
}

.offcanvas-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 350px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 20px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.offcanvas-menu.active .offcanvas-panel {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
  background: var(--purpple);
  color: #fff;
}

.offcanvas-logo .custom-logo {
  max-height: 40px;
}

.offcanvas-site-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.offcanvas-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.offcanvas-body {
  padding: 20px 0;
}

/* Mobile Menu Styles */
.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu .menu-item {
  border-bottom: 1px solid #eee;
}

.mobile-menu .menu-item-wrapper {
  display: flex;
  align-items: center;
}

.mobile-menu .menu-link {
  flex: 1;
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.mobile-menu .menu-link:hover {
  color: var(--purpple);
  background: rgba(116, 46, 136, 0.05);
}

.mobile-menu .submenu-toggle {
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu .submenu-toggle i {
  transition: transform 0.3s ease;
}

.mobile-menu .menu-item.active > .menu-item-wrapper .submenu-toggle i {
  transform: rotate(180deg);
}

.mobile-menu .submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8f8f8;
  display: none;
}

.mobile-menu .submenu .menu-link {
  padding-left: 40px;
  font-size: 15px;
}

.mobile-menu .submenu .submenu .menu-link {
  padding-left: 60px;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .desktop-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-container {
    padding: 0 20px;
  }
  
  .nav-inner {
    padding: 12px 0;
  }
  
  .site-title {
    font-size: 1.4rem;
  }
  
  .site-tagline {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 15px;
  }
  
  .site-title {
    font-size: 1.2rem;
  }
  
  .custom-logo {
    max-height: 45px;
  }
}

/* ========================================
   STICKY HEADER & ANIMATIONS
======================================== */

/* Sticky Header */
.main-navigation.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.3s ease;
}

.main-navigation.header-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Active Menu States */
.main-menu .menu-item.current-menu-item > .menu-link,
.main-menu .menu-item.current-page-ancestor > .menu-link,
.main-menu .menu-link.active {
  color: var(--purpple);
  position: relative;
}

.main-menu .menu-item.current-menu-item > .menu-link::after,
.main-menu .menu-item.current-page-ancestor > .menu-link::after,
.main-menu .menu-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--purpple);
  border-radius: 2px;
}

.mobile-menu .menu-item.current-menu-item > .menu-item-wrapper .menu-link,
.mobile-menu .menu-item.current-page-ancestor > .menu-item-wrapper .menu-link,
.mobile-menu .menu-link.active {
  color: var(--purpple);
  font-weight: 600;
}

/* Body Lock when Menu Open */
body.menu-open {
  overflow: hidden;
}

/* Focus States for Accessibility */
.menu-link:focus,
.mobile-menu-toggle:focus,
.offcanvas-close:focus,
.submenu-toggle:focus {
  outline: 2px solid var(--purpple);
  outline-offset: 2px;
}

/* Smooth Transitions */
.main-navigation,
.desktop-menu,
.mobile-menu-toggle,
.offcanvas-panel,
.offcanvas-overlay {
  transition: all 0.3s ease;
}

/* Print Styles */
@media print {
  .top-bar-wrapper,
  .mobile-menu-toggle,
  .offcanvas-menu,
  #backToTop {
    display: none !important;
  }
  
  .main-navigation {
    position: relative !important;
    box-shadow: none !important;
  }
}

/*** 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.png');
  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;
}

/* Language Assistance Section */
.language-assistance {
  padding: 20px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.language-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: #ffffff;
}

.language-list {
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.8;
  color: #ffffff;
}

/* Logo Section */
.footer-logo-wrapper {
  padding: 40px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-section {
  margin-bottom: 0;
}

.footer-logo {
  max-width: 300px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.footer-tagline {
  font-size: 1rem;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 0;
}

/* Main Footer Content */
.footer-main {
  padding: 60px 0 40px;
}

.footer-main .row {
  align-items: flex-start;
}

/* Footer Columns */
.footer-contact h4,
.footer-social h4,
.footer-menu-section h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-contact p,
.footer-contact a,
.footer-social p,
.footer-social a {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Email Highlight */
.email-highlight {
  color: #FFC107 !important;
}

.email-highlight:hover {
  color: #FFD54F !important;
  text-decoration: underline;
}

/* Social Icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 30px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(5px);
}

.social-icon:hover {
  background-color: #FFC107;
  transform: scale(1.1) rotate(5deg);
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.footer-address-center {
  margin-top: 0;
}

.footer-address-center p {
  line-height: 2;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.footer-address-center p strong {
  font-weight: 700;
  font-size: 1.15rem;
}

/* Footer Menu */
.footer-menu-section .footer-navigation {
  margin-top: 0;
}

.footer-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.footer-nav-menu li {
  margin: 0;
}

.footer-nav-menu a {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  line-height: 1.8;
}

.footer-nav-menu a:hover {
  color: #ffffff;
  text-decoration: underline;
  padding-left: 5px;
}

/* Footer Bottom */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  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: #ffffff;
  text-decoration: none;
}

/* Back to Top Button */
#backToTop {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #007499;
  border: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .footer-main {
    padding: 40px 0 30px;
  }
  
  .footer-contact,
  .footer-social,
  .footer-menu-section {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-nav-menu {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-contact h4,
  .footer-menu-section h4 {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .language-title {
    font-size: 1.2rem;
  }
  
  .language-list {
    font-size: 0.85rem;
  }
  
  .footer-logo {
    max-width: 250px;
  }
  
  .footer-tagline {
    font-size: 0.9rem;
  }
  
  .footer-main {
    padding: 30px 0 20px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .top-bar-wrapper {
    font-size: 12px;
  }
  
  .contact-info .contact-item span {
    font-size: 12px;
  }
  
  .contact-info .contact-item i {
    font-size: 12px;
  }
  
  .top-bar-actions a {
    padding: 10px 15px;
    font-size: 12px;
  }
  
  .top-bar-actions a i {
    font-size: 12px;
  }
  
  .language-list {
    font-size: 0.75rem;
  }
  
  .footer-logo {
    max-width: 200px;
  }
  
  .social-icons {
    gap: 10px;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

/* ========================================
   WPFORMS CUSTOMIZATION
======================================== */

/* Submit Button Styling */
.wpforms-submit-container {
  text-align: center !important;
}

.wpforms-submit {
  width: 70% !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  padding: 15px 30px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 5px !important;
  transition: all 0.3s ease !important;
}

@media (max-width: 768px) {
  .wpforms-submit {
    width: 85% !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 576px) {
  .wpforms-submit {
    width: 90% !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
}

/* ========================================
   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;
  }
}

