/* ============================================
   AFFORDABLE AUTO REPAIR - CUSTOM STYLES
   Website Performance Optimized CSS
   ============================================ */

/* ============ CRITICAL CSS FOR ABOVE-THE-FOLD ============ */

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Top Header Styling */
.wrap {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  transform: translateY(0);
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 1;
  z-index: 999;
  position: relative;
}

.wrap.hide-top {
  transform: translateY(-100px);
  opacity: 0;
  pointer-events: none;
}

.wrap .row {
  padding: 6px 0;
  align-items: center;
}

/* Logo/Brand Section */
.wrap .logo-section {
  display: flex;
  align-items: center;
}

.wrap .navbar-brand {
  color: white !important;
  font-weight: 700;
  font-size: 1.0rem;
  transition: all 0.3s ease;
  margin: 0;
  letter-spacing: 1px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wrap .navbar-brand:hover {
  transform: scale(1.05);
}

.wrap .navbar-brand .brand-main {
  color: white;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.wrap .navbar-brand .brand-accent {
  color: #ffc107;
  font-weight: 900;
}

/* Contact Info Container */
.top-contact-info {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* Individual Contact Item */
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
}

.contact-item .icon-wrapper {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-item:hover .icon-wrapper {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.1);
}

.contact-item .icon-wrapper span {
  color: white;
  font-size: 18px;
}

.contact-item .info {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-item .label {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.contact-item .value {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-item a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: #ffc107;
  text-decoration: none;
}

/* ============ RESPONSIVE HEADER CSS ============ */

@media (max-width: 1200px) {
  .wrap .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .wrap .navbar-brand {
    font-size: 1rem;
  }
  
  .top-contact-info {
    gap: 1.3rem;
  }
  
  .contact-item .value {
    font-size: 0.8rem;
  }
}

@media (max-width: 992px) {
  .wrap .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .wrap .navbar-brand {
    font-size: 0.95rem;
  }
  
  .top-contact-info {
    gap: 1rem;
  }
  
  .contact-item {
    gap: 8px;
  }
  
  .contact-item .icon-wrapper {
    width: 36px;
    height: 36px;
  }
  
  .contact-item .icon-wrapper span {
    font-size: 15px;
  }
  
  .contact-item .label {
    font-size: 0.6rem;
  }
  
  .contact-item .value {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .wrap .row {
    padding: 2px 0;
  }
  
  .wrap .container-fluid {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  .wrap .logo-section {
    display: none;
  }
  
  .wrap .navbar-brand {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
  }
  
  .top-contact-info {
    display: flex;
    gap: 1rem;
    width: 100%;
    padding: 0;
    margin: 0;
    flex-direction: column;
    flex-wrap: nowrap;
  }
  
  .contact-item {
    gap: 12px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px 0;
    width: 100%;
  }
  
  .contact-item .label {
    display: block;
    font-size: 0.65rem;
  }
  
  .contact-item .info {
    align-items: flex-start;
    text-align: left;
    gap: 2px;
    flex: 1;
  }
  
  .contact-item .icon-wrapper {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
  
  .contact-item .icon-wrapper span {
    font-size: 16px;
  }
  
  .contact-item .value {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    white-space: normal;
    overflow: visible;
    max-width: 100%;
    line-height: 1.4;
    word-wrap: break-word;
  }
}

@media (max-width: 576px) {
  .wrap .row {
    padding: 2px 0;
  }
  
  .wrap .container-fluid {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }
  
  .wrap .logo-section {
    display: none;
  }
  
  .wrap .navbar-brand {
    font-size: 0.6rem;
  }
  
  .top-contact-info {
    display: flex;
    gap: 0.8rem;
    width: 100%;
    padding: 0;
    margin: 0;
    flex-direction: column;
    flex-wrap: nowrap;
  }
  
  .contact-item {
    gap: 10px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6px 0;
    width: 100%;
  }
  
  .contact-item .label {
    display: block;
    font-size: 0.6rem;
  }
  
  .contact-item .info {
    align-items: flex-start;
    text-align: left;
    gap: 1px;
    flex: 1;
  }
  
  .contact-item .icon-wrapper {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  
  .contact-item .icon-wrapper span {
    font-size: 14px;
  }
  
  .contact-item .value {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    white-space: normal;
    overflow: visible;
    max-width: 100%;
    line-height: 1.35;
    word-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .wrap {
    margin: 0 !important;
    padding: 0 !important;
  }

  .wrap .row {
    padding: 0 !important;
    margin: 0 !important;
  }

  .wrap .container-fluid {
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
    margin: 0 !important;
  }

  .top-contact-info {
    gap: 0.6rem;
    padding: 0 !important;
    margin: 0 !important;
  }

  .contact-item {
    padding: 4px 0 !important;
    margin: 0 !important;
    gap: 8px;
  }

  .contact-item .icon-wrapper {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .contact-item .icon-wrapper span {
    font-size: 12px;
  }

  .contact-item .label {
    font-size: 0.55rem;
    display: none;
  }

  .contact-item .value {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .contact-item .info {
    gap: 0;
  }
}

@media (max-width: 400px) {
  .wrap {
    margin: 0 !important;
    padding: 0 !important;
  }

  .wrap .row {
    padding: 0 !important;
    margin: 0 !important;
  }

  .wrap .container-fluid {
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
    margin: 0 !important;
  }

  .top-contact-info {
    gap: 0.5rem;
    padding: 0 !important;
    margin: 0 !important;
  }

  .contact-item {
    padding: 2px 0 !important;
    margin: 0 !important;
    gap: 6px;
  }

  .contact-item .icon-wrapper {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }

  .contact-item .icon-wrapper span {
    font-size: 11px;
  }

  .contact-item .value {
    font-size: 0.65rem;
    line-height: 1.1;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 48px;
  }
}

/* ============ NAVBAR CSS ============ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: #252525 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 0.3rem 0 !important;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
  overflow: visible !important;
}

.navbar .container > * {
  order: 1;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .navbar .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .navbar .container > * {
    flex-shrink: 1;
  }
  
  .navbar .navbar-collapse {
    flex-shrink: 1;
    min-width: 0;
  }
}

@media (min-width: 992px) {
  .navbar .navbar-brand {
    order: 1;
    margin-right: 2rem;
    display: block !important;
    font-size: 0.95rem;
    flex-shrink: 0;
  }
  
  .navbar .navbar-collapse {
    order: 2;
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    background: transparent !important;
    position: relative !important;
    top: auto !important;
    border-radius: 0;
    padding: 0 !important;
    margin-top: 0 !important;
  }
  
  .navbar-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-direction: row !important;
    gap: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
  }
  
  .navbar-nav .nav-item {
    display: inline-flex !important;
    flex-shrink: 0;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.65rem !important;
    margin-left: 0.15rem !important;
    margin-right: 0.15rem !important;
    white-space: nowrap;
  }
  
  .navbar .appointment-btn {
    order: 3;
    margin-left: auto !important;
    padding: 0.45rem 1.2rem !important;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .navbar .navbar-toggler {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .navbar .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem !important;
    margin-left: 0.2rem !important;
    margin-right: 0.2rem !important;
  }
  
  .navbar .appointment-btn {
    padding: 0.55rem 1.3rem !important;
    font-size: 0.9rem;
  }
}

body {
  padding-top: 55px;
}

.ftco_navbar {
  background: #252525 !important;
  padding: 0.25rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Navbar Container Flexible Layout */
.navbar .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  padding: 0.3rem 0.5rem !important;
  gap: 0.5rem;
  overflow: visible;
}

.navbar .navbar-brand {
  display: none;
  font-weight: 800;
  font-size: 0.9rem;
  color: white !important;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 0 !important;
  order: 1;
}

.navbar .navbar-brand span {
  color: #ffc107;
  font-weight: 800;
}

@media (min-width: 992px) {
  .navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.5rem 1rem !important;
  }

  .navbar .navbar-brand {
    display: none !important;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-right: 0;
    order: 1;
  }

  .navbar .navbar-collapse {
    display: flex !important;
    flex-grow: 0;
    flex-shrink: 0;
    min-width: 0;
    order: 2;
    width: auto;
    height: auto;
  }

  .navbar-nav {
    display: flex;
    flex-direction: row;
    width: auto;
  }

  .appointment-btn {
    display: inline-flex !important;
    flex-shrink: 0;
    order: 3;
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
    padding: 0.5rem 1rem !important;
  }

  .appointment-btn .btn-text {
    display: inline !important;
  }

  .appointment-btn .btn-mobile-text {
    display: none !important;
  }

  .appointment-btn .btn-icon {
    display: none !important;
  }

  .navbar-toggler {
    display: none !important;
  }
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 700;
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  padding: 0.5rem 0.8rem !important;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.06) !important;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #f79f24;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #f79f24 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
}

.navbar-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #f79f24 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link.active::after {
  width: 60%;
}

.navbar .btn-primary {
  background: #f79f24 !important;
  border: none;
  font-weight: 700;
  padding: 0.55rem 1.3rem !important;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(247, 159, 36, 0.3);
  font-size: 0.9rem;
  color: white !important;
}

.navbar .btn-primary i {
  color: white !important;
}

.navbar .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(247, 159, 36, 0.4);
  color: white !important;
  background: #e09020 !important;
}

/* Mobile optimized appointment button */
.appointment-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: row;
  flex-shrink: 0;
  margin-left: 0.2rem;
  margin-right: 0.2rem;
  order: 2;
}

.appointment-btn .btn-text {
  display: inline;
}

.appointment-btn .btn-mobile-text {
  display: none;
}

.appointment-btn .btn-icon {
  display: none;
  font-size: 1.1rem;
  color: white !important;
}

/* Navbar collapse when expanded on mobile */
.navbar .navbar-collapse {
  order: 4;
  width: 100%;
  display: none;
}

.navbar .navbar-collapse.show {
  display: block;
}

@media (max-width: 768px) {
  .navbar .container {
    gap: 0.2rem;
  }

  .appointment-btn {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.8rem;
    gap: 0.4rem;
    order: 2;
    flex-shrink: 0;
    margin-left: 0.1rem !important;
    margin-right: 0.1rem !important;
    min-width: 90px;
  }
  
  .appointment-btn .btn-text {
    display: none;
  }
  
  .appointment-btn .btn-mobile-text {
    display: inline;
  }
  
  .appointment-btn .btn-icon {
    display: inline-block !important;
    font-size: 1rem;
    color: white !important;
    order: 2;
  }

  .navbar-toggler {
    order: 3;
    margin-left: 0 !important;
    margin-right: 0.1rem !important;
  }
}

@media (max-width: 576px) {
  .appointment-btn {
    padding: 0.4rem 0.5rem !important;
    font-size: 0.75rem;
    gap: 0.3rem;
  }
  
  .appointment-btn .btn-icon {
    font-size: 0.9rem;
  }
}

.navbar-toggler {
  border: none;
  padding: 0.4rem 0.6rem;
  transition: all 0.3s ease;
  outline: none !important;
  display: block !important;
  position: relative;
  z-index: 1050;
}

.navbar-toggler:not(.collapsed) {
  color: #f79f24 !important;
}

.navbar-toggler span {
  color: white !important;
  font-size: 1.2rem;
  display: block !important;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none !important;
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.navbar.navbar-expand-lg .navbar-collapse {
  background: #252525;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-radius: 0 0 8px 8px;
  padding: 0.7rem 0;
  margin-top: 0 !important;
  margin-left: -1rem;
  margin-right: -1rem;
  left: 1rem;
  right: 1rem;
}

/* Blur overlay for mobile menu */
.navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 998;
  display: none;
}

.navbar-overlay.show {
  display: block;
}

@media (min-width: 992px) {
  .navbar-overlay {
    display: none !important;
  }
  
  .navbar-overlay.show {
    display: none !important;
  }
}

/* Enhanced Mobile Navbar Optimization */
@media (max-width: 768px) {
  body {
    padding-top: 50px;
  }

  .navbar {
    padding: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    padding: 0.3rem 0.5rem !important;
  }

  .ftco_navbar {
    padding: 0;
  }

  .navbar .navbar-brand {
    display: block !important;
    font-size: 0.7rem !important;
    font-weight: 800;
    white-space: nowrap;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex-shrink: 0;
  }

  .navbar-nav .nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem !important;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
  }

  .navbar .btn-primary {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.75rem;
    font-weight: 600;
  }

  .navbar-toggler {
    display: block !important;
    position: relative;
    z-index: 1050;
    padding: 0.3rem 0.5rem !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    flex-shrink: 0;
    order: 3;
  }

  .navbar-toggler span {
    font-size: 1rem;
    color: white !important;
  }

  .appointment-btn {
    order: 2;
    margin-left: 0.3rem !important;
    margin-right: 0.3rem !important;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  body {
    padding-top: 52px;
  }

  .navbar {
    padding: 0.25rem 0 !important;
  }

  .ftco_navbar {
    padding: 0.15rem 0;
  }

  .navbar .navbar-brand {
    display: block !important;
    font-size: 0.8rem !important;
    font-weight: 800;
    white-space: nowrap;
    margin-right: 1.5rem;
    flex-shrink: 0;
  }
  
  .navbar .navbar-collapse {
    background: transparent !important;
    position: relative !important;
    top: auto !important;
    padding: 0 !important;
    margin-top: 0 !important;
    flex-shrink: 1;
    min-width: 0;
  }
  
  .navbar-nav {
    flex-direction: row !important;
    gap: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  
  .navbar-nav .nav-item {
    display: inline-flex !important;
    flex-shrink: 0;
  }

  .navbar-nav .nav-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem !important;
    margin-left: 0.1rem !important;
    margin-right: 0.1rem !important;
    white-space: nowrap;
  }

  .navbar .btn-primary {
    padding: 0.35rem 0.8rem !important;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .navbar .navbar-toggler {
    display: none !important;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 48px;
  }

  .navbar {
    padding: 0 !important;
  }

  .ftco_navbar {
    padding: 0;
  }

  .navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.2rem 0.3rem !important;
    flex-wrap: nowrap;
    gap: 0.1rem;
  }

  .navbar .navbar-brand {
    display: block !important;
    font-size: 0.65rem !important;
    font-weight: 700;
    white-space: nowrap;
    margin-right: 0 !important;
    flex-shrink: 0;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0.3rem;
  }

  .navbar-nav .nav-link {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem !important;
    margin-left: 0;
    margin-right: 0;
    white-space: nowrap;
  }

  .navbar .btn-primary {
    padding: 0.35rem 0.6rem !important;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(247, 159, 36, 0.2);
  }

  .appointment-btn {
    order: 2;
    padding: 0.35rem 0.7rem !important;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-left: auto !important;
    margin-right: 0.1rem !important;
    display: inline-flex;
    align-items: center;
    min-width: 85px;
  }

  .navbar-toggler {
    display: block !important;
    z-index: 1050;
    padding: 0.3rem 0.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0;
    order: 3;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 45px;
    overflow: hidden !important;
  }
  
  body.menu-open {
    overflow: hidden !important;
  }

  .navbar {
    padding: 0 !important;
  }

  .ftco_navbar {
    padding: 0;
  }

  .navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.3rem 0.25rem !important;
    flex-wrap: nowrap;
    gap: 0.1rem;
  }

  .navbar .navbar-brand {
    display: block !important;
    font-size: 0.6rem !important;
    font-weight: 700;
    letter-spacing: 0px;
    flex-shrink: 0;
    order: 1;
  }

  .navbar-nav .nav-link {
    font-size: 0.7rem;
    padding: 0.3rem 0.4rem !important;
  }

  .navbar .btn-primary {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.65rem;
  }

  .appointment-btn {
    order: 2;
    padding: 0.3rem 0.6rem !important;
    font-size: 0.65rem;
    flex-shrink: 0;
    margin-left: auto !important;
    margin-right: 0.1rem !important;
    display: inline-flex;
    align-items: center;
    min-width: 80px;
  }

  .appointment-btn .btn-mobile-text {
    font-size: 0.65rem;
  }

  .appointment-btn .btn-icon {
    font-size: 0.8rem !important;
  }

  .navbar-toggler {
    display: block !important;
    z-index: 1050;
    padding: 0.25rem 0.4rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0;
    order: 3;
  }

  .navbar-toggler span {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .navbar {
    padding: 0 !important;
  }

  .ftco_navbar {
    padding: 0;
  }

  .navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.25rem 0.25rem !important;
    flex-wrap: nowrap;
    gap: 0.05rem;
  }

  .navbar .navbar-brand {
    display: block !important;
    font-size: 0.85rem !important;
    margin-right: 0 !important;
    flex-shrink: 0;
    order: 1;
    padding: 10px 0;
  }

  .navbar-collapse {
    max-height: none !important;
  }

  .navbar-nav .nav-link {
    font-size: 0.65rem;
    padding: 0.25rem 0.3rem !important;
  }

  .navbar .btn-primary {
    padding: 0.25rem 0.45rem !important;
    font-size: 0.6rem;
  }

  .appointment-btn {
    order: 2;
    padding: 0.25rem 0.55rem !important;
    margin-left: auto !important;
    margin-right: 0.05rem !important;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 75px;
  }

  .appointment-btn .btn-mobile-text {
    font-size: 0.6rem;
  }

  .appointment-btn .btn-icon {
    font-size: 0.75rem !important;
  }

  .navbar-toggler {
    display: block !important;
    z-index: 1050;
    padding: 0.2rem 0.3rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0;
    order: 3;
  }

  .navbar-toggler span {
    font-size: 0.85rem;
  }
}

/* ============ MODAL & FORM CSS ============ */

.modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.modal-body {
  padding: 2rem;
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-submit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-cancel {
  background: #6c757d;
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-cancel:hover {
  background: #5a6268;
  color: white;
}

@media (max-width: 576px) {
  .modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .form-group {
    margin-bottom: 1rem;
  }
}

/* Mobile Select Dropdown Responsiveness Fix */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 0 !important;
  }

  .modal-content {
    max-height: 90vh;
  }

  .modal-body {
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  select {
    font-size: 16px !important;
    background-color: white;
    position: relative;
    z-index: 1000;
  }

  .form-control {
    font-size: 16px !important;
  }

  .form-group {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 576px) {
  .modal-dialog {
    margin: 0 !important;
    max-width: 100%;
    width: 100% !important;
  }

  .modal-content {
    border-radius: 0;
    max-height: 100vh;
    height: auto;
  }

  .modal-body {
    max-height: calc(100vh - 120px);
    padding: 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-header {
    position: sticky;
    top: 0;
    z-index: 1001;
  }

  .modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 1001;
    background: white;
    padding: 1rem;
  }

  select,
  .form-control {
    font-size: 16px !important;
    width: 100%;
    position: relative;
    z-index: 999;
  }

  select {
    padding: 10px 8px !important;
    background-color: white !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem !important;
  }

  .row {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
  }

  .col-md-6,
  .col-md-4,
  .col-md-3 {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .form-group {
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 480px) {
  .modal-dialog {
    margin: 0 !important;
    max-width: 100%;
    width: 100% !important;
    overflow: visible !important;
  }

  .modal-body {
    max-height: calc(100vh - 100px);
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1000;
  }

  select,
  .form-control {
    font-size: 16px !important;
    padding: 10px 8px !important;
    position: relative;
    z-index: 1050;
  }

  select {
    padding-right: 2.5rem !important;
    overflow: visible !important;
    border: 1px solid #ddd !important;
    background-color: white !important;
  }

  .form-group {
    position: relative;
    overflow: visible !important;
    z-index: auto;
  }

  .btn-submit,
  .btn-cancel {
    padding: 0.65rem 1rem;
    font-size: 14px;
    width: 100%;
  }

  .modal-footer {
    gap: 0.5rem;
    flex-direction: column;
    position: relative;
    z-index: 999;
  }

  .modal-footer button {
    width: 100%;
  }

  /* Dropdown Overflow Fix */
  .modal-content {
    overflow: visible !important;
  }

  /* Prevent body scroll lock */
  body.modal-open {
    padding-right: 0 !important;
    overflow-y: auto !important;
  }

  /* Allow dropdown to expand beyond modal */
  .modal {
    overflow: visible !important;
  }

  /* Ensure select dropdown receives clicks */
  select:hover,
  select:focus,
  select:active {
    position: relative;
    z-index: 9999 !important;
    background-color: white !important;
    border-color: #667eea !important;
  }

  /* Fix for select opening */
  select[open] {
    z-index: 9999 !important;
  }
}

/* ============ SERVICE CARDS CSS ============ */

.service-card {
  background: white;border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin: 0 auto 1.5rem auto;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  text-align: center;
}

.service-card:hover .service-card-title {
  color: #667eea;
}

.service-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card-list li {
  color: #666;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  transition: color 0.3s ease;
}

.service-card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

.service-card:hover .service-card-list li {
  color: #333;
}

@media (max-width: 768px) {
  .service-card {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }

  .service-card-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 1rem;
  }

  .service-card-title {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .service-card-list {
    max-height: 75px;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .service-card-list.expanded {
    max-height: none;
    overflow: visible;
  }

  .service-card-list li {
    font-size: 0.65rem;
    padding: 0.2rem 0;
    padding-left: 1.1rem;
  }

  .btn-card-see-more {
    background: none;
    color: #667eea;
    border: none;
    padding: 0.5rem 0 0 0;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    display: none;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
  }

  .btn-card-see-more:hover {
    color: #764ba2;
    text-decoration: none;
  }
}

@media (min-width: 769px) {
  .btn-card-see-more {
    display: none !important;
  }

  .service-card-list {
    max-height: none !important;
  }
}

/* ============ WHY CHOOSE US CARDS CSS ============ */

.why-choose-card {
  background: white;
  border-radius: 10px;
  padding: 2rem 1.8rem;
  height: 100%;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why-choose-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.why-choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.25);
  border-left-color: #667eea;
}

.why-choose-card:hover::before {
  transform: scaleX(1);
}

.why-choose-icon {
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.why-choose-icon img.icon-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}

.why-choose-card:hover .why-choose-icon {
  transform: scale(1.15) rotate(5deg);
}

.why-choose-card:hover .why-choose-icon img.icon-img {
  filter: brightness(1.1);
}

.why-choose-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.why-choose-card:hover .why-choose-title {
  color: #667eea;
}

.why-choose-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

.why-choose-card:hover .why-choose-text {
  color: #555;
}

@media (max-width: 1200px) {
  .why-choose-card {
    padding: 1.8rem 1.5rem;
  }
  
  .why-choose-icon {
    min-height: 75px;
  }
  
  .why-choose-icon img.icon-img {
    width: 65px;
    height: 65px;
  }
  
  .why-choose-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 992px) {
  .why-choose-card {
    padding: 1.8rem 1.5rem;
  }
  
  .why-choose-icon {
    min-height: 70px;
  }
  
  .why-choose-icon img.icon-img {
    width: 60px;
    height: 60px;
  }
  
  .why-choose-title {
    font-size: 1.1rem;
  }
  
  .why-choose-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .why-choose-card {
    padding: 1.5rem 1.2rem;
  }
  
  .why-choose-icon {
    margin-bottom: 1rem;
    min-height: 65px;
  }
  
  .why-choose-icon img.icon-img {
    width: 55px;
    height: 55px;
  }
  
  .why-choose-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .why-choose-text {
    display: none;
  }
}

@media (max-width: 576px) {
  .why-choose-card {
    padding: 1.3rem 1rem;
    margin: 0 -0.25rem;
    text-align: center;
  }
  
  .why-choose-icon {
    margin-bottom: 0.8rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .why-choose-icon img.icon-img {
    width: 50px;
    height: 50px;
  }
  
  .why-choose-title {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.3;
  }
  
  .why-choose-text {
    display: none;
  }
}

/* Mobile 2-Column Optimization */
@media (max-width: 768px) {
  #why-choose-us .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  #why-choose-us .col-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .why-choose-card {
    height: 100%;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.15);
    border-radius: 8px;
  }
}

/* ============ ABOUT SECTION CSS ============ */

.about-text {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
  .about-text {
    max-height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .about-text.expanded {
    max-height: none;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .btn-see-more {
    background: none;
    color: #667eea;
    border: none;
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-decoration: underline;
    display: inline;
  }

  .btn-see-more:hover {
    transform: none;
    box-shadow: none;
    color: #764ba2;
    text-decoration: none;
  }

  .btn-see-more.expanded {
    background: none;
    color: #764ba2;
  }

  /* Tab Text Limiting */
  .tab-content-text {
    transition: max-height 0.3s ease;
  }

  .tab-content-text {
    max-height: 100px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .tab-content-text.tab-expanded {
    max-height: none;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .btn-tab-see-more {
    background: none;
    color: #667eea;
    border: none;
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.8rem;
    text-decoration: underline;
    display: inline;
  }

  .btn-tab-see-more:hover {
    transform: none;
    box-shadow: none;
    color: #764ba2;
    text-decoration: none;
  }

  .btn-tab-see-more.tab-expanded {
    color: #764ba2;
  }
}

@media (max-width: 768px) {
  .tab-content-text {
    max-height: 100px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .tab-content-text.tab-expanded {
    max-height: none;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .btn-tab-see-more {
    display: inline;
  }
}

@media (min-width: 769px) {
  .tab-content-text {
    max-height: none;
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
  }

  .btn-tab-see-more {
    display: none !important;
  }
}

/* ============ COUNTER SECTION CSS ============ */

.ftco-counter {
  padding: 3rem 0;
}

@media (max-width: 768px) {
  .ftco-counter {
    padding: 2rem 0;
  }

  .counter-wrap {
    padding: 1rem 0.5rem !important;
    margin-bottom: 0.5rem;
  }

  .block-18 .text {
    padding: 0.5rem 0;
  }

  .block-18 .text strong.number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
  }

  .block-18 .text span {
    font-size: 0.85rem;
    display: block;
  }
}

@media (max-width: 576px) {
  .ftco-counter {
    padding: 1.5rem 0;
  }

  .counter-wrap {
    padding: 0.8rem 0.3rem !important;
    margin-bottom: 0.3rem;
  }

  .block-18 .text {
    padding: 0.2rem 0;
  }

  .block-18 .text strong.number {
    font-size: 1.2rem;
  }

  .block-18 .text span {
    font-size: 0.70rem;
  }
}

/* ============ APPOINTMENT FORM CSS ============ */

.ftco-appointment .form-control,
.ftco-appointment .form-group label {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .ftco-appointment .form-group {
    margin-bottom: 1rem;
  }

  .ftco-appointment .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .ftco-appointment .col-6,
  .ftco-appointment .col-md-4,
  .ftco-appointment .col-md-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .ftco-appointment .form-control {
    font-size: 1rem;
  }

  .ftco-appointment .btn-primary {
    width: 100%;
    font-size: 1rem;
  }
}

/* ============ SELECT2 DROPDOWN CSS ============ */

.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  height: 38px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.95rem;
  background-color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  color: #666;
  padding-left: 0.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: 5px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: #667eea transparent transparent transparent;
}

.select2-container--default .select2-selection--single.select2-focused {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.select2-dropdown {
  border-color: #667eea;
}

.select2-container--default .select2-search__field {
  font-size: 0.95rem;
}

.select2-results__option--highlighted[aria-selected] {
  background-color: #667eea;
  color: white;
}

.select2-container--default .select2-results__option[role="option"][aria-selected="true"] {
  background-color: #f0f0f0;
  color: #333;
}

@media (max-width: 768px) {
  .select2-container--default .select2-selection--single {
    height: 45px;
    font-size: 1rem;
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 43px;
    font-size: 1rem;
  }

  .select2-dropdown {
    font-size: 1rem;
  }

  .select2-search__field {
    padding: 0.5rem !important;
    font-size: 1rem !important;
  }

  .select2-results__options {
    max-height: 250px;
  }
}

/* ============ TESTIMONIALS SECTION CSS ============ */

.testimony-section {
  padding: 3rem 0;
}

.carousel-testimony.owl-carousel {
  -webkit-overflow-scrolling: touch;
  overflow: visible;
  touch-action: manipulation;
}

.carousel-testimony.owl-carousel .owl-stage-outer {
  -webkit-overflow-scrolling: touch;
  overflow: visible;
  touch-action: manipulation;
}

.carousel-testimony.owl-carousel .owl-item {
  touch-action: manipulation;
}

.heading-section-white h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.heading-section-white .subheading {
  font-size: 0.95rem;
}

.testimony-wrap {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin: 0.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimony-wrap .icon {
  font-size: 2.5rem;
  color: #667eea;
  margin-bottom: 1rem;
}

.testimony-wrap .text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1.5rem;
}

.testimony-wrap .user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.testimony-wrap .name {
  font-weight: 700;
  color: #333;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.testimony-wrap .position {
  font-size: 0.85rem;
  color: #999;
}

@media (max-width: 768px) {
  .testimony-section {
    padding: 1.5rem 0;
  }

  .heading-section-white h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .heading-section-white .subheading {
    font-size: 0.85rem;
  }

  .testimony-wrap {
    padding: 1.5rem;
    margin: 0.3rem;
    min-height: auto;
  }

  .testimony-wrap .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .testimony-wrap .text p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  .testimony-wrap .user-img {
    width: 45px;
    height: 45px;
  }

  .testimony-wrap .name {
    font-size: 0.85rem;
  }

  .testimony-wrap .position {
    font-size: 0.75rem;
  }

  .carousel-testimony.owl-carousel {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .carousel-testimony.owl-carousel .owl-stage-outer {
    -webkit-overflow-scrolling: touch;
  }

  .carousel-testimony.owl-carousel .owl-item {
    touch-action: pan-y;
  }

  .owl-carousel .owl-nav {
    margin-top: 0.5rem;
  }

  .owl-carousel .owl-nav button {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }

  .owl-carousel .owl-dots {
    margin-top: 0.5rem;
  }

  .owl-carousel .owl-dots .owl-dot {
    margin: 0 0.3rem;
  }
}

@media (max-width: 576px) {
  .testimony-section {
    padding: 1rem 0;
  }

  .heading-section-white h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .heading-section-white .subheading {
    font-size: 0.75rem;
  }

  .testimony-wrap {
    padding: 1rem;
    margin: 0 0.5rem;
    border-radius: 6px;
    min-height: auto;
  }

  .testimony-wrap .icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
  }

  .testimony-wrap .text p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
  }

  .d-flex.align-items-center {
    gap: 0.5rem;
  }

  .testimony-wrap .user-img {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .testimony-wrap .pl-3 {
    padding-left: 0.5rem !important;
  }

  .testimony-wrap .name {
    font-size: 0.8rem;
    margin-bottom: 0.05rem;
  }

  .testimony-wrap .position {
    font-size: 0.7rem;
  }

  .carousel-testimony.owl-carousel {
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
  }

  .carousel-testimony.owl-carousel .owl-stage {
    padding: 0;
  }

  .carousel-testimony.owl-carousel .owl-stage-outer {
    overflow: visible;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
  }

  .carousel-testimony.owl-carousel .owl-item {
    touch-action: manipulation;
  }

  .owl-carousel .owl-dots {
    margin-top: 0.3rem;
  }

  .owl-carousel .owl-dots .owl-dot {
    margin: 0 0.25rem;
    height: 6px;
    width: 6px;
  }

  .owl-carousel .owl-nav {
    display: none;
  }
}

/* ============ CONTACT SECTION CSS ============ */

.contact-card {
  transition: all 0.3s ease;
}

@media (max-width: 1200px) {
  .contact-card {
    padding: 2rem !important;
  }

  #contact .col-md-6 {
    margin-bottom: 2rem;
  }

  #contact .col-md-6:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .contact-card {
    padding: 1.5rem !important;
  }

  .contact-card > div {
    margin-bottom: 1.2rem !important;
    padding-bottom: 1.2rem !important;
  }

  .contact-card > div:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }

  .contact-card .d-flex {
    gap: 1rem;
  }

  .contact-card div[style*="font-size: 28px"] {
    font-size: 24px !important;
    min-width: 35px !important;
  }

  .contact-card h5 {
    font-size: 0.95rem !important;
    margin-bottom: 0.3rem !important;
  }

  .contact-card p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  #contact iframe {
    min-height: 300px !important;
  }
}

@media (max-width: 576px) {
  .contact-card {
    padding: 1.2rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  .contact-card > div {
    margin-bottom: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .contact-card > div:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }

  .contact-card .d-flex {
    gap: 0.8rem;
  }

  .contact-card div[style*="font-size: 28px"] {
    font-size: 22px !important;
    min-width: 32px !important;
    margin-right: 0.8rem !important;
  }

  .contact-card h5 {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
  }

  .contact-card p {
    font-size: 0.8rem !important;
    color: #666 !important;
    line-height: 1.3 !important;
  }

  .contact-card a {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
  }

  #contact .row:last-of-type {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  #contact .col-md-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 1.5rem;
  }

  #contact .col-md-6:last-child {
    margin-bottom: 0;
  }

  #contact iframe {
    min-height: 250px !important;
  }

  #contact.ftco-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  #contact .heading-section {
    margin-bottom: 2rem;
  }

  #contact .heading-section h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.8rem !important;
  }

  #contact .heading-section .subheading {
    font-size: 0.8rem;
  }
}

/* ============ HERO CAROUSEL CSS ============ */

@media (max-width: 991.98px) {
  .owl-carousel.home-slider {
    height: 450px;
  }

  .owl-carousel.home-slider .slider-item {
    height: 450px;
  }

  .owl-carousel.home-slider .slider-item .slider-text {
    height: 450px;
  }

  .owl-carousel.home-slider .slider-item .slider-text h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .owl-carousel.home-slider .slider-item .slider-text h2 {
    font-size: 14px;
    letter-spacing: 2px;
  }
}

@media (max-width: 768px) {
  .owl-carousel.home-slider {
    height: 380px;
  }

  .owl-carousel.home-slider .slider-item {
    height: 380px;
  }

  .owl-carousel.home-slider .slider-item .slider-text {
    height: 380px;
  }

  .owl-carousel.home-slider .slider-item .slider-text h1 {
    font-size: 26px;
    letter-spacing: 1px;
    line-height: 1.3;
  }

  .owl-carousel.home-slider .slider-item .slider-text h2 {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .owl-carousel.home-slider .owl-nav .owl-prev,
  .owl-carousel.home-slider .owl-nav .owl-next {
    display: none;
  }

  .hero-wrap .text {
    padding: 15px 0;
  }

  .hero-wrap .text p {
    margin-bottom: 10px;
  }

  .hero-wrap .text button {
    padding: 8px 16px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 576px) {
  .owl-carousel.home-slider {
    height: 320px;
  }

  .owl-carousel.home-slider .slider-item {
    height: 320px;
  }

  .owl-carousel.home-slider .slider-item .slider-text {
    height: 320px;
  }

  .owl-carousel.home-slider .slider-item .slider-text h1 {
    font-size: 20px;
    letter-spacing: 0.5px;
    line-height: 1.2;
  }

  .owl-carousel.home-slider .slider-item .slider-text h2 {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .hero-wrap .text {
    padding: 10px 0;
  }

  .hero-wrap .text h2 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .hero-wrap .text p {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .hero-wrap .text button {
    padding: 7px 14px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .owl-carousel.home-slider {
    height: 280px;
  }

  .owl-carousel.home-slider .slider-item {
    height: 280px;
  }

  .owl-carousel.home-slider .slider-item .slider-text {
    height: 280px;
  }

  .owl-carousel.home-slider .slider-item .slider-text h1 {
    font-size: 18px;
    letter-spacing: 0px;
  }

  .owl-carousel.home-slider .slider-item .slider-text h2 {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .hero-wrap .text {
    padding: 8px 0;
  }

  .hero-wrap .text h2 {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .hero-wrap .text h1 {
    font-size: 16px;
    margin-bottom: 8px !important;
  }

  .hero-wrap .text p {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .hero-wrap .text button {
    padding: 6px 12px !important;
    font-size: 11px !important;
  }
}

/* ============ SECTIONS SPACING CSS ============ */

@media (max-width: 768px) {
  #services {
    padding-top: 2.5rem !important;
  }

  #why-choose-us {
    padding-top: 2.5rem !important;
  }

  #contact {
    padding-top: 2.5rem !important;
  }
}

@media (max-width: 576px) {
  #services {
    padding-top: 2rem !important;
  }

  #why-choose-us {
    padding-top: 2rem !important;
  }

  #contact {
    padding-top: 2rem !important;
  }
}

@media (max-width: 480px) {
  #services {
    padding-top: 1.5rem !important;
  }

  #why-choose-us {
    padding-top: 1.5rem !important;
  }

  #contact {
    padding-top: 1.5rem !important;
  }
}

/* ============ FOOTER CSS ============ */

@media (max-width: 768px) {
  .footer.ftco-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .footer .row.mb-5 {
    margin-bottom: 1.5rem !important;
  }

  .footer .ftco-footer-widget.mb-4 {
    margin-bottom: 1rem !important;
  }

  .footer .ftco-footer-widget.ml-md-5 {
    margin-left: 0 !important;
  }

  .footer .ftco-footer-social {
    margin-top: 1rem !important;
  }

  .footer li.py-1 {
    padding-top: 0.15rem !important;
    padding-bottom: 0.15rem !important;
  }

  .footer .block-23 {
    margin-bottom: 1rem !important;
  }

  .footer .opening-hours h4 {
    margin-bottom: 0.5rem !important;
    font-size: 0.95rem !important;
  }

  .footer .opening-hours p {
    margin-bottom: 0.5rem !important;
    display: block;
    font-size: 0.9rem !important;
  }

  .footer .opening-hours p span {
    display: block;
    line-height: 1.4;
  }
}

@media (max-width: 576px) {
  .footer.ftco-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer .row.mb-5 {
    margin-bottom: 1rem !important;
  }

  .footer .row {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
  }

  .footer .col-md-6,
  .footer .col-lg {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 1rem;
  }

  .footer .ftco-footer-widget {
    padding: 0.75rem;
  }

  .footer .ftco-footer-widget.mb-4 {
    margin-bottom: 0.75rem !important;
  }

  .footer .ftco-footer-widget.mb-4:last-child {
    margin-bottom: 0 !important;
  }

  .footer .ftco-footer-widget h2.logo {
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
  }

  .footer .ftco-footer-widget h2.ftco-heading-2 {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
  }

  .footer .ftco-footer-widget p {
    font-size: 0.9rem !important;
    line-height: 1.5;
    margin-bottom: 0.75rem !important;
  }

  .footer .ftco-footer-social.mt-4 {
    margin-top: 0.75rem !important;
  }

  .footer ul.list-unstyled li {
    margin-bottom: 0.35rem !important;
    font-size: 0.9rem !important;
  }

  .footer li.py-1 {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
  }

  .footer .block-23 ul li {
    margin-bottom: 0.5rem !important;
  }

  .footer .block-23 ul li span.text {
    font-size: 0.85rem !important;
  }

  .footer .opening-hours {
    padding: 0;
  }

  .footer .opening-hours h4 {
    font-size: 0.9rem !important;
    margin-bottom: 0.25rem !important;
    font-weight: 600;
  }

  .footer .opening-hours p {
    margin-bottom: 0.25rem !important;
    padding-left: 0.5rem !important;
    font-size: 0.85rem !important;
  }

  .footer .opening-hours p span {
    display: block;
    line-height: 1.3;
  }

  .footer .text-center {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .footer.ftco-section {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .footer .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .footer .row.mb-5 {
    margin-bottom: 0.75rem !important;
  }

  .footer .row {
    margin-right: -0.375rem;
    margin-left: -0.375rem;
  }

  .footer .col-md-6,
  .footer .col-lg {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
    margin-bottom: 0.75rem;
  }

  .footer .ftco-footer-widget {
    padding: 0.5rem;
  }

  .footer .ftco-footer-widget.mb-4 {
    margin-bottom: 0.5rem !important;
  }

  .footer .ftco-footer-widget h2.logo {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .footer .ftco-footer-widget h2.ftco-heading-2 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .footer .ftco-footer-widget p {
    font-size: 0.8rem !important;
    line-height: 1.4;
    margin-bottom: 0.5rem !important;
  }

  .footer .ftco-footer-social {
    margin-top: 0.5rem !important;
  }

  .footer .ftco-footer-social li {
    margin-right: 0.5rem !important;
  }

  .footer ul.list-unstyled li {
    margin-bottom: 0.25rem !important;
    font-size: 0.85rem !important;
  }

  .footer li.py-1 {
    padding-top: 0.08rem !important;
    padding-bottom: 0.08rem !important;
  }

  .footer .block-23 ul li {
    margin-bottom: 0.4rem !important;
  }

  .footer .block-23 ul li span.icon {
    font-size: 1rem !important;
    width: 28px !important;
    display: inline-flex;
    align-items: center;
  }

  .footer .block-23 ul li span.text {
    font-size: 0.8rem !important;
    word-wrap: break-word;
  }

  .footer .opening-hours {
    padding: 0;
  }

  .footer .opening-hours h4 {
    font-size: 0.85rem !important;
    margin-bottom: 0.2rem !important;
    font-weight: 600;
  }

  .footer .opening-hours p {
    margin-bottom: 0.2rem !important;
    padding-left: 0.3rem !important;
    font-size: 0.75rem !important;
  }

  .footer .opening-hours p span {
    display: block;
    line-height: 1.2;
  }

  .footer .text-center {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 400px) {
  .footer.ftco-section {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .footer .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .footer .row.mb-5 {
    margin-bottom: 0.5rem !important;
  }

  .footer .row {
    margin-right: -0.25rem;
    margin-left: -0.25rem;
  }

  .footer .col-md-6,
  .footer .col-lg {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    margin-bottom: 0.5rem;
  }

  .footer .ftco-footer-widget {
    padding: 0.4rem;
  }

  .footer .ftco-footer-widget.mb-4 {
    margin-bottom: 0.35rem !important;
  }

  .footer .ftco-footer-widget h2.logo {
    font-size: 1rem !important;
    margin-bottom: 0.35rem !important;
  }

  .footer .ftcofooter-widget h2.ftco-heading-2 {
    font-size: 0.9rem !important;
    margin-bottom: 0.35rem !important;
  }

  .footer .ftco-footer-widget p {
    font-size: 0.75rem !important;
    line-height: 1.3;
    margin-bottom: 0.35rem !important;
  }

  .footer .ftco-footer-social {
    margin-top: 0.35rem !important;
  }

  .footer .ftco-footer-social li {
    margin-right: 0.35rem !important;
  }

  .footer ul.list-unstyled li {
    margin-bottom: 0.2rem !important;
    font-size: 0.8rem !important;
  }

  .footer li.py-1 {
    padding-top: 0.05rem !important;
    padding-bottom: 0.05rem !important;
  }

  .footer .block-23 ul li {
    margin-bottom: 0.3rem !important;
  }

  .footer .block-23 ul li span.icon {
    font-size: 0.85rem !important;
    width: 24px !important;
    min-width: 24px !important;
  }

  .footer .block-23 ul li span.text {
    font-size: 0.75rem !important;
    word-wrap: break-word;
  }

  .footer .opening-hours h4 {
    font-size: 0.8rem !important;
    margin-bottom: 0.15rem !important;
    font-weight: 600;
  }

  .footer .opening-hours p {
    margin-bottom: 0.15rem !important;
    padding-left: 0.2rem !important;
    font-size: 0.7rem !important;
  }

  .footer .opening-hours p span {
    display: block;
    line-height: 1.2;
  }

  .footer .text-center {
    font-size: 0.7rem !important;
  }
}

/* END OF CUSTOM STYLES */
