/* Theme Name: Intellection: VRex Media - Optimized */

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #14344a;
  --color-dark-gray: #444444;
  --color-light-gray: #f8f9fa;
  --color-white: #ffffff;
  --color-text: #14344a;
  
  /* Typography */
  --font-heading: 'Jost', sans-serif;
  --font-body: 'Jost', sans-serif;
  --font-serif-italic: 'Lora', serif;
  
  /* Layout */
  --nav-area-height: 70px;
  --small-header-height: 40px;
  --container-max-width: 1200px;
  --container-padding: 20px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  background-color: var(--color-white);
  font-size: 18px;
  font-weight: 400;
  padding-top: calc(var(--small-header-height) + var(--nav-area-height));
}

main {
  padding-top: 0;
  transition: padding-top 0.4s ease;
}

body.header-hidden main {
  padding-top: var(--nav-area-height);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 400;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

/* ==========================================================================
   LINKS & BUTTONS
   ========================================================================== */
a {
  text-decoration: none;
  color: var(--color-primary);
}

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

section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease-in-out;
}

.header-container.header-hidden {
  transform: translateY(calc(-1 * var(--small-header-height)));
}

/* Small Header */
.small-header {
  height: var(--small-header-height);
  background-color: #122b3c;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
}

.small-header a {
  color: var(--color-white);
}

div#smallHeader .container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

/* Navigation Area */
.navigation-area {
  height: var(--nav-area-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-primary);
}

div#navigationArea .container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.main-header {
  position: relative;
  background-color: var(--color-primary);
  z-index: 1000;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.header-main {
  height: var(--nav-area-height);
  display: flex;
  align-items: center;
  position: relative;
  padding: 0;
  background-color: var(--color-primary);
  z-index: 10000;
}

.header-main > .container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.logo img {
  height: 58px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
  z-index: 1001;
}

.burger-line {
  display: block;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.open .burger-line:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.menu-toggle.open .burger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .burger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Main Navigation */
.main-nav {
  position: relative;
  display: flex;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  align-items: stretch;
}

.main-nav li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.main-nav a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  display: block;
  transition: color 0.3s;
}

.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0 0 40px;
}

/* Dropdown Menus */
.main-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-primary);
  padding: 0px;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.main-nav .submenu .submenu {
  top: 0;
  left: 100%;
  transform: translateX(10px);
}

.has-submenu > a {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.has-submenu > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--color-white);
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.main-nav .submenu .has-submenu > a::after {
  border-left: 4px solid var(--color-white);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: none;
}

.has-submenu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

li.has-submenu li a {
  text-transform: capitalize;
  padding: 12px 20px;
  white-space: nowrap;
  font-size: 16px;
}

/* Desktop hover states */
@media (min-width: 993px) {
  .main-nav li:hover > .submenu {
	display: block;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
  }

  .main-nav .submenu li:hover > .submenu {
	display: block;
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
  }

  .main-nav .submenu .submenu .submenu {
	top: 0;
	left: 100%;
  }
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-style-section {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  padding: 80px 20px;
}

.section-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-style-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.section-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-content h1 {
  color: var(--color-white);
}

.hero {
  min-height: 68vh;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--color-white);
  white-space: nowrap;
}

.hero-title em {
  font-family: var(--font-serif-italic);
  font-weight: 400;
  font-style: italic;
}

.hero p {
  font-size: 1.4rem;
  max-width: 700px;
  margin-top: 15px;
}

/* ==========================================================================
   PAGE SECTIONS
   ========================================================================== */

/* Welcome Section */
.welcome-section {
  background-color: var(--color-white);
}

.welcome-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.welcome-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 80px;
}

.welcome-logos {
  width: 100%;
}

.welcome-logos img {
  width: 100%;
  height: auto;
}

.welcome-left h2 {
  text-align: left;
  line-height: 1.3;
  font-weight: 400;
}

.welcome-right {
  flex: 1;
}

.welcome-right .btn {
  margin-top: 30px;
}

/* Team Section (Homepage) */
.team-section {
  padding: 0;
}

.team-section .container-flex {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.team-photo {
  flex: 1 1 50%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.team-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: top center;
  object-fit: cover;
}

.team-description {
  flex: 1 1 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
}

.team-description-content {
  max-width: 600px;
}

.team-description h2 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.team-description a {
  display: inline-block;
  margin-top: 30px;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.team-description a:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Reasons Section */
.reasons-section {
  text-align: center;
}

.reasons-section h2 {
  font-size: 7.625rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}

.reasons-section p {
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.reasons-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.reasons-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.reasons-list li::before {
  content: '•';
  color: var(--color-primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Services Section */
.services-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.services-section h2 {
  color: var(--color-white);
  margin-bottom: 60px;
}

.services-grid {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  margin-bottom: 50px;
}

.service-item img {
	height: 100px;
	margin-bottom: 20px;
	filter: invert(1);
}
.service-item h3 {
  color: var(--color-white);
  font-size: 1.8rem;
  letter-spacing: 2px;
}

.services-section .btn {
  background: transparent;
  border-color: var(--color-white);
}

.services-section .btn:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* Process Section (Homepage) */
.process-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 600px;
  display: flex;
  justify-content: left;
  align-items: flex-end;
}

.process-box {
  background-color: var(--color-white);
  padding: 30px 30px 0;
  width: 100%;
  max-width: 600px;
}

.process-section > .container {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.process-box h2 {
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 30px;
}

.process-list {
  list-style-type: none;
  counter-reset: process-counter;
  text-align: left;
}

.process-list li {
  counter-increment: process-counter;
  margin-bottom: 20px;
  font-size: 1.1rem;
  position: relative;
  padding-left: 40px;
}

.process-list li::before {
  content: counter(process-counter);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1;
}

.process-box .btn {
  margin-top: 20px;
}

/* Insurance Section */
.insurance-section {
  background-color: var(--color-white);
}

.insurance-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.insurance-grid img {
  max-width: 160px;
  height: auto;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 120px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: -1;
}

.cta-section h2 {
  color: var(--color-white);
  font-size: 7.625rem;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  position: relative;
}

.cta-section .btn {
  margin-top: 30px;
  position: relative;
}

/* Page Header */
.page-header {
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.page-header h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--color-primary);
}

.page-header p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.team-section-grid {
  padding-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 30px;
}

.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.team-info .team-title {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* Team Single Page */
.team-single-section {
  padding-bottom: 80px;
}

.team-profile-container {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.team-profile-image {
  flex: 0 0 40%;
  max-width: 450px;
}

.team-profile-image img {
  width: 100%;
  height: auto;
  display: block;
}

.team-profile-details {
  flex: 1;
}

.team-profile-details h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin: 0;
}

.team-profile-details .team-profile-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 5px;
  margin-bottom: 30px;
}

.team-profile-details p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.team-profile-details blockquote {
  margin-top: 40px;
  padding-left: 25px;
  border-left: 4px solid #e0e0e0;
  font-style: italic;
  color: #555;
}

.team-profile-details blockquote p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.team-profile-details blockquote footer {
  font-style: normal;
  font-weight: 600;
  text-align: right;
}

/* Service Page Sections */
.service-hero {
  min-height: 60vh;
}

.service-hero h1 {
  font-size: 3.5rem;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 30px;
}

.service-intro {
  text-align: left;
}

.service-intro h2 {
  max-width: 900px;
  margin: 0 0 30px 0;
  line-height: 1.3;
}

.service-intro p {
  max-width: 900px;
  margin: 0 0 20px 0;
  font-size: 1.2rem;
}

.service-definition {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.service-definition h2 {
  color: var(--color-white);
  margin-bottom: 40px;
  font-size: 7.625rem;
  font-weight: 400;
  line-height: 1.1;
}

.two-col-layout {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  text-align: left;
}

.two-col-layout .col-image {
  flex: 0 0 40%;
  max-width: 400px;
}

.two-col-layout .col-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.two-col-layout .col-text {
  flex: 1;
}

.service-symptoms {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 700px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: white;
}

.symptoms-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  clip-path: inset(0 0 25% 0);
}

.symptoms-layout {
  display: flex;
  align-items: center;
  width: 100%;
  padding-bottom: 0;
}

.symptoms-box {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 50px 50px 0;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  flex: 0 0 50%;
  max-width: 550px;
  margin-top: 25%;
  margin-bottom: 0;
}

.symptoms-box h2 {
  margin-bottom: 30px;
  font-size: 5rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.1;
}

.symptoms-box ul {
  list-style: none;
  padding-left: 1.2em;
}

.symptoms-box ul li {
  margin-bottom: 15px;
  position: relative;
  font-size: 1.1rem;
}

.symptoms-box ul li::before {
  content: '•';
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: -1.2em;
  top: 0;
  font-size: 1.2rem;
}

.symptoms-image-space {
  flex: 1;
}

.service-empower-cta {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.service-empower-cta p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.service-empower-cta h2 {
  color: var(--color-white);
  margin: 0 auto 20px auto;
  max-width: 900px;
  font-size: 2.25rem;
  font-weight: 400;
}

/* SimplePractice Widget Button */
.spwidget-button {
  display: inline-block;
  padding: 12px 28px !important;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border: 2px solid var(--color-primary);
  border-radius: 5px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  transition: all 0.3s ease;
  text-decoration: none !important;
  margin-top: 20px;
}

.spwidget-button:hover {
  background-color: transparent;
  color: var(--color-primary) !important;
}

.service-empower-cta .spwidget-button {
  background-color: var(--color-white);
  color: var(--color-primary) !important;
  border-color: var(--color-white);
}

.service-empower-cta .spwidget-button:hover {
  background-color: transparent;
  color: var(--color-white) !important;
}

/* ==========================================================================
   FAQ / ACCORDION
   ========================================================================== */
.faq-section {
  font-weight: 400;
  padding: 0;
}

.faq-section h2,
.faq-section h3 {
  font-weight: 400;
}

.faq-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 30px 0;
  text-align: center;
}

.faq-header h2 {
  color: var(--color-white);
  font-size: 2.25rem;
}

.accordion {
  padding: 60px 0;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 25px 0;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
}

.accordion-header h3 {
  font-size: 1.5rem;
  color: var(--color-text);
  margin: 0;
  padding-right: 20px;
  transition: color 0.3s ease;
}

.accordion-content-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
}

.accordion-item.active .accordion-content-wrapper {
  grid-template-rows: 1fr;
}

.accordion-content {
  overflow: hidden;
}

.accordion-content p {
  max-width: 900px;
  padding-bottom: 30px;
  padding-right: 10px;
}

.icon {
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid #ccc;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.icon::before,
.icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background-color: #ccc;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item.active .accordion-header h3 {
  color: var(--color-primary);
}

.accordion-item.active .icon {
  border-color: var(--color-primary);
}

.accordion-item.active .icon::before,
.accordion-item.active .icon::after {
  background-color: var(--color-primary);
}

.accordion-item.active .icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--color-dark-gray);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 0;
  font-size: 16px;
}

.footer-top-nav {
  margin-bottom: 40px;
}

.footer-top-nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
}

.footer-top-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-top-nav a:hover {
  color: var(--color-white);
}

.footer-logo-area {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo-area img {
  height: 60px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  padding-bottom: 60px;
}

.footer-main-grid p {
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-col .spwidget-button {
  padding: 12px 28px;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border: 2px solid var(--color-primary);
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  margin: 0;
}

.footer-col .spwidget-button:hover {
  background-color: var(--color-white);
  color: var(--color-primary) !important;
  border-color: var(--color-white);
}

.copyright {
  text-align: center;
  padding: 25px 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   TEAM SINGLE PAGE
   ========================================================================== */
.team-single-row {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  align-items: flex-start;
  margin: 60px 0;
}

.team-single-photo {
  flex: 0 0 40%;
  max-width: 40%;
}

.team-single-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.team-single-content {
  flex: 1;
}

.team-single-content h1 {
  font-size: 2rem;
  margin-top: 0;
}

.team-designation {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 20px;
}

.team-content blockquote {
  margin-top: 40px;
  padding-left: 25px;
  border-left: 4px solid #e0e0e0;
  font-style: italic;
  color: #555;
}

.team-content blockquote p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.team-content blockquote footer {
  font-style: normal;
  font-weight: 600;
  text-align: right;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet */
@media (max-width: 992px) {
  h1 {
	font-size: 2.8rem;
  }

  h2 {
	font-size: 2.2rem;
  }

  .hero-title {
	font-size: 2.5rem;
	white-space: normal;
  }

  .cta-section h2,
  .reasons-section h2,
  .service-definition h2 {
	font-size: 5rem;
  }

  .team-section .container-flex {
	flex-direction: column;
  }

  .team-grid {
	grid-template-columns: repeat(2, 1fr);
  }

  .team-profile-container {
	gap: 40px;
  }

  .team-profile-details h1 {
	font-size: 2.8rem;
  }

  .service-hero h1 {
	font-size: 2.8rem;
  }

  .symptoms-box h2 {
	font-size: 4rem;
  }

  /* Mobile Navigation - Tablet */
  .menu-toggle {
	display: flex;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
  }

  .header-main {
	height: 70px;
	justify-content: space-between;
	padding: 0 20px;
  }

  .main-nav {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: var(--color-primary);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-20px);
	transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
	height: calc(100vh - 117px);
	overflow-y: auto;
	z-index: 999;
	flex-direction: column;
  }

  .main-nav > ul > li > a {
	height: auto;
	padding: 15px 20px;
  }

  .main-nav.active {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
  }

  .main-nav ul {
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	gap: 0;
  }

  .main-nav li {
	width: 100%;
	display: block;
  }

  .main-nav a {
	padding: 15px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 1.1rem;
	text-transform: capitalize;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
  }

  .main-nav .submenu {
	display: none;
	position: static;
	background-color: rgba(0, 0, 0, 0.2);
	box-shadow: none;
	padding-left: 20px;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.4s ease;
  }

  .main-nav li.submenu-open > .submenu {
	display: block;
	max-height: 2000px;
	opacity: 1;
	visibility: visible;
  }

  .main-nav .submenu .submenu {
	background-color: rgba(0, 0, 0, 0.3);
	padding-left: 40px;
  }

  .main-nav .submenu .submenu .submenu {
	background-color: rgba(0, 0, 0, 0.4);
	padding-left: 60px;
  }

  .has-submenu > a::after {
	content: '';
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 6px solid var(--color-white);
	margin-left: auto;
	margin-right: 10px;
	transition: transform 0.3s ease;
	transform: rotate(0deg);
  }

  .main-nav li.submenu-open > a::after {
	transform: rotate(180deg);
  }

  .main-nav .submenu .has-submenu > a::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 6px solid var(--color-white);
	border-bottom: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  h1 {
	font-size: 2.5rem;
  }

  h2 {
	font-size: 2rem;
  }

  section {
	padding: 60px 0;
  }

  .hero-title {
	font-size: 2rem;
  }

  .cta-section h2,
  .reasons-section h2,
  .service-definition h2 {
	font-size: 3.5rem;
  }

  .small-header {
	display: none;
  }

  body.page-id-182 .hero,
  a.spwidget-button.service-intro-btn {
	display: none;
  }

  .main-nav {
	height: calc(100vh - 80px);
  }

  .header-container.header-hidden {
	transform: none;
  }

  body {
	padding-top: var(--nav-area-height);
  }

  .main-nav ul {
	padding: 20px;
  }

  .main-nav a {
	font-size: 1.2rem;
	padding: 18px 20px;
  }

  .main-nav .submenu a {
	padding: 15px 20px;
	font-size: 1.1rem;
  }

  .footer-top-nav ul {
	flex-direction: column;
	align-items: stretch;
  }

  .footer-top-nav a {
	padding: 10px 0;
  }

  .footer-top-nav li {
	text-align: center;
	width: 100%;
  }

  .insurance-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px 20px;
	justify-items: center;
  }

  .welcome-content {
	flex-direction: column;
  }

  .welcome-left {
	margin-bottom: 40px;
  }

  .services-grid {
	flex-direction: column;
	gap: 50px;
  }

  .footer-main-grid {
	grid-template-columns: 1fr;
  }

  .team-grid {
	grid-template-columns: 1fr;
  }

  .page-header h1 {
	font-size: 2.5rem;
  }

  .team-profile-container {
	flex-direction: column;
  }

  .team-profile-image {
	flex-basis: auto;
	width: 100%;
  }

  .two-col-layout {
	flex-direction: column-reverse;
  }

  .two-col-layout .col-text {
	margin-top: 40px;
  }

  .symptoms-layout {
	justify-content: center;
  }

  .symptoms-box {
	flex-basis: 90%;
	padding: 40px 30px;
  }

  .symptoms-box h2 {
	font-size: 3rem;
  }

  .symptoms-image-space {
	display: none;
  }

  .team-single-row {
	flex-direction: column;
	gap: 20px;
	margin: 20px 0 60px 0;
  }

  .team-single-photo,
  .team-single-content {
	max-width: 100%;
  }
}

/* High DPI Displays */
@media only screen and (-webkit-min-device-pixel-ratio: 3) {
  body {
	font-size: 1.4rem;
  }
}