/* ======================================================================
   Deblocari Auto Iasi — Main Stylesheet
   Inspired by AutoRepair template layout / visual structure
   ====================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #f79f24;
  --secondary: #064acb;
  --dark: #202020;
  --darker: #252525;
  --black: #000;
  --white: #fff;
  --gray: #808080;
  --light-bg: #f8f9fd;
  --font: 'Poppins', Arial, sans-serif;
  --shadow-sm: 0px 10px 30px -4px rgba(0,0,0,0.15);
  --shadow-md: 0px 24px 48px -13px rgba(0,0,0,0.05);
  --shadow-md-hover: 0px 24px 48px -13px rgba(0,0,0,0.11);
  --shadow-lg: 0px 30px 33px -41px rgba(0,0,0,0.24);
  --radius: 4px;
  --radius-md: 5px;
  --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--gray);
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.5;
  color: rgba(0,0,0,0.8);
}

p {
  margin-bottom: 1rem;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-fluid {
  width: 100%;
  padding: 0 15px;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-light { background: var(--light-bg); }
.bg-dark { background: var(--dark); }
.bg-primary { background: var(--primary) !important; }
.bg-secondary { background: var(--secondary) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.pb-3 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 3rem; }
.pt-3 { padding-top: 1rem; }
.pt-5 { padding-top: 3rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.pl-3 { padding-left: 1rem; }
.pl-md-5 { padding-left: 3rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Grid System ---------- */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.row.no-gutters {
  margin-left: 0;
  margin-right: 0;
}

.row.no-gutters > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

[class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

.col { flex: 1 0 0%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }

@media (min-width: 576px) {
  .container { max-width: 540px; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

/* ---------- Flex Utilities ---------- */
.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }
.align-items-center { align-items: center; }
.align-items-start { align-items: start; }
.align-items-end { align-items: flex-end; }
.align-items-stretch { align-items: stretch; }
.align-self-stretch { align-self: stretch; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-end { justify-content: flex-end; }
.justify-content-start { justify-content: flex-start; }
.flex-wrap { flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.5;
  font-family: var(--font);
}

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

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

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

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

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1ebe59;
  color: var(--white);
  border-color: #1ebe59;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn-dark:hover {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

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

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

.btn-lg {
  padding: 16px 36px;
  font-size: 13px;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--dark);
  padding: 18px 0;
  color: rgba(255,255,255,0.7);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar .brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.top-bar .brand span {
  color: var(--primary);
}

.top-info {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-info-item .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.top-info-item .text span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.top-info-item .text span:last-child {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.top-social {
  display: flex;
  gap: 8px;
}

.top-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
}

.top-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ---------- Navigation ---------- */
.navbar {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--black);
  cursor: pointer;
  padding: 10px;
}

.navbar .mobile-brand {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu a {
  display: block;
  padding: 20px 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  position: relative;
  transition: var(--transition);
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 40px);
  height: 3px;
  background: var(--primary);
  transition: transform 0.2s ease-in-out;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  padding: 0 15px;
}

.nav-cta .btn {
  white-space: nowrap;
}

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
}

.hero-slide .content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-slide .content .container {
  max-width: 1140px;
}

.hero-slide .text {
  max-width: 600px;
}

.hero-slide .subheading {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-slide h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0px 3px 25px rgba(0,0,0,0.1);
}

.hero-slide p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 25px;
  line-height: 1.8;
}

.hero-slide .btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero-dots button.active {
  background: var(--white);
}

/* ---------- Page Header (sub-pages) ---------- */
.page-header {
  height: 450px;
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.page-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.page-header .content {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
  width: 100%;
}

.page-header .breadcrumbs {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.page-header .breadcrumbs a {
  color: rgba(255,255,255,0.7);
}

.page-header .breadcrumbs a:hover {
  color: var(--white);
}

.page-header .breadcrumbs i {
  margin-left: 6px;
  font-size: 10px;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

/* About Page Header Enhanced */
.page-header-about {
  height: 520px;
  align-items: center;
  text-align: center;
}

.page-header-about .content {
  padding-bottom: 0;
}

.page-header-about .breadcrumbs {
  margin-bottom: 20px;
}

.page-header-accent {
  width: 50px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.page-header-about h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.page-header-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.7;
  font-weight: 300;
}

.page-header-actions .btn {
  border-radius: 50px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.page-header-actions .btn i {
  margin-right: 8px;
  animation: bounce-down 2s infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.page-header-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.page-header-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ---------- Intro Bar ---------- */
.intro-bar {
  position: relative;
  z-index: 5;
  margin-top: -40px;
}

.intro-bar .inner {
  background: var(--secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.intro-bar .intro-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
}

.intro-bar .intro-content .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  flex-shrink: 0;
}

.intro-bar .intro-content h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.intro-bar .intro-content h2 span {
  display: block;
  font-weight: 400;
  font-size: 14px;
  opacity: 0.8;
}

.intro-bar .intro-cta {
  background: var(--primary);
  padding: 25px 40px;
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  white-space: nowrap;
}

.intro-bar .intro-cta:hover {
  background: #e08608;
  color: var(--white);
}

/* ---------- Section Styling ---------- */
.section {
  padding: 7em 0;
}

.section-light {
  background: var(--light-bg);
}

.section-dark {
  background: var(--dark);
}

.section-no-pt { padding-top: 0; }
.section-no-pb { padding-bottom: 0; }

.heading-section {
  margin-bottom: 30px;
}

.heading-section .subheading {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.heading-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: rgba(0,0,0,0.8);
}

.heading-section-white .subheading {
  color: var(--primary);
}

.heading-section-white h2 {
  color: var(--white);
}

/* ---------- Services ---------- */
.service-item {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
  transition: var(--transition);
}

.service-item .icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-item .icon i {
  font-size: 28px;
  color: var(--white);
}

.service-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.service-item p {
  font-size: 14px;
  margin-bottom: 8px;
}

.service-item .btn-custom {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 2px solid #e6e6e6;
  padding-bottom: 2px;
  transition: var(--transition);
}

.service-item .btn-custom:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

.service-item:hover .icon {
  background: var(--primary);
}

/* ---------- About Section ---------- */
.about-section {
  background: var(--light-bg);
}

.about-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: var(--radius);
}

.about-content {
  padding: 40px 0;
}

.about-content .subheading {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.about-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: rgba(0,0,0,0.8);
}

.about-content p {
  margin-bottom: 20px;
}

/* Credibility Badge */
.credibility-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #f0f6ff, #e8f0fe);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.credibility-badge-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.credibility-badge-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.credibility-badge-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.credibility-badge-text span {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

/* Tabs */
.tab-nav {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.tab-nav button {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  color: var(--black);
}

.tab-nav button.active,
.tab-nav button:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.tab-content {
  padding: 15px 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ---------- Counter Section ---------- */
.counter-section {
  background: var(--dark);
  padding: 4em 0;
}

.counter-block {
  text-align: center;
  padding: 20px 10px;
}

.counter-block .number {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.counter-block span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

/* ---------- Appointment / Contact Form Section ---------- */
.appointment-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.appointment-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  opacity: 0.92;
}

.appointment-section .content {
  position: relative;
  z-index: 2;
}

.appointment-section .form-wrap {
  padding: 50px 0;
}

.appointment-section .subheading {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 5px;
}

.appointment-section h2 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 25px;
}

.form-control {
  width: 100%;
  height: 52px;
  padding: 10px 18px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  font-family: var(--font);
  transition: var(--transition);
  margin-bottom: 15px;
}

.form-control:focus {
  outline: none;
  border-color: var(--black);
}

.form-control::placeholder {
  color: rgba(0,0,0,0.4);
}

textarea.form-control {
  height: auto;
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 01.753 1.659l-4.796 5.48a1 1 0 01-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: var(--light-bg);
}

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

.testimonial-card {
  background: var(--white);
  padding: 30px 25px 25px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md-hover);
}

.testimonial-card .quote-icon {
  position: absolute;
  top: -18px;
  left: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
}

.testimonial-card .quote-text {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.testimonial-card .author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
}

.testimonial-card .author-role {
  font-size: 13px;
  color: var(--gray);
}

/* ---------- FAQ Section ---------- */
.faq-item {
  border: 1px solid #e6e6e6;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question {
  width: 100%;
  padding: 18px 25px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  font-family: var(--font);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  font-size: 14px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 25px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

/* ---------- Contact Section ---------- */
.contact-wrap {
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0px 21px 41px -13px rgba(0,0,0,0.18);
}

.contact-form-side {
  flex: 1;
  padding: 40px;
  background: var(--white);
}

.contact-form-side h3 {
  font-size: 22px;
  margin-bottom: 25px;
  color: var(--black);
}

.contact-info-side {
  flex: 0 0 40%;
  max-width: 40%;
  background: var(--primary);
  padding: 40px;
  color: var(--white);
}

.contact-info-side h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-detail .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 16px;
}

.contact-detail p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
}

.contact-detail p span {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-detail a {
  color: var(--white);
}

.contact-detail a:hover {
  text-decoration: underline;
}

/* Map placeholder */
.map-container {
  width: 100%;
  height: 400px;
  background: #e9ecef;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link-wrapper {
  margin-top: 30px;
  margin-bottom: 12px;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  margin-bottom: 14px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.2s;
  box-shadow: 0 2px 10px rgba(6,74,203,0.10);
}

.maps-link:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(6,74,203,0.22);
  transform: translateY(-2px);
}

.maps-link i:first-child {
  font-size: 16px;
}

.maps-link i:last-child {
  font-size: 12px;
  opacity: 0.75;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--darker);
  padding: 5em 0 2em;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-widget h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 25px;
}

.footer-widget .logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin-bottom: 15px;
}

.footer-widget .logo span {
  color: var(--primary);
}

.footer-widget p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.8;
}

.footer-widget ul li {
  margin-bottom: 8px;
}

.footer-widget ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.footer-widget ul li a:hover {
  color: var(--primary);
}

.footer-widget ul li a i {
  color: var(--primary);
  font-size: 12px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Footer contact */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact li .icon {
  color: var(--primary);
  font-size: 15px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact li .text {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-contact li a {
  color: rgba(255,255,255,0.7);
}

.footer-contact li a:hover {
  color: var(--primary);
}

/* Footer hours */
.footer-hours h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 5px;
}

.footer-hours p {
  padding-left: 15px;
  margin-bottom: 15px;
}

.footer-hours p span {
  display: block;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: var(--primary);
}

/* ---------- Features / Advantages ---------- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

.feature-card:hover {
  box-shadow: var(--shadow-md-hover);
  transform: translateY(-5px);
}

.feature-card .icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.feature-card:hover .icon {
  background: var(--primary);
}

.feature-card .icon i {
  font-size: 32px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}

.feature-card p {
  font-size: 14px;
  color: var(--gray);
}

/* ---------- Advantages List ---------- */
.advantages-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(0,0,0,0.7);
}

.advantages-list li i {
  color: var(--primary);
  font-size: 14px;
}

/* ---------- Loader ---------- */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.page-loader .spinner {
  width: 48px;
  height: 48px;
}

.page-loader .spinner .path {
  stroke: var(--primary);
  stroke-linecap: round;
  animation: loader-dash 1.5s ease-in-out infinite, loader-rotate 2s linear infinite;
}

.page-loader .spinner .path-bg {
  stroke: #eee;
}

.page-loader .spinner {
  animation: loader-rotate 2s linear infinite;
}

@keyframes loader-rotate {
  100% { transform: rotate(360deg); }
}

@keyframes loader-dash {
  0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; }
  100% { stroke-dasharray: 89, 200; stroke-dashoffset: -136px; }
}

/* ---------- Scroll Animation ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Pulse Animation ---------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(247,159,36,0.4); }
  70% { box-shadow: 0 0 0 30px rgba(247,159,36,0); }
  100% { box-shadow: 0 0 0 0 rgba(247,159,36,0); }
}

/* ---------- Floating Call Button ---------- */
.floating-call {
  position: fixed;
  bottom: 30px;
  right: 30px;
  height: 50px;
  padding: 0 22px;
  border-radius: 50px;
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(6, 74, 203, 0.2);
  transition: var(--transition);
  text-decoration: none;
  animation: pulse-call 2s infinite;
}

.floating-call i {
  font-size: 18px;
}

.floating-call:hover {
  background: var(--secondary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(6, 74, 203, 0.35);
}

@keyframes pulse-call {
  0% { box-shadow: 0 4px 15px rgba(6, 74, 203, 0.2); }
  50% { box-shadow: 0 4px 25px rgba(6, 74, 203, 0.35); }
  100% { box-shadow: 0 4px 15px rgba(6, 74, 203, 0.2); }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary);
}

/* ---------- Why Choose Us Cards Row ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ---------- Service Cards Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 30px;
}

/* ---------- Media Queries ---------- */
@media (max-width: 1199.98px) {
  .hero-slide h1 { font-size: 36px; }
}

@media (max-width: 991.98px) {
  .top-info { display: none; }
  .top-bar .brand { display: none; }
  
  .top-bar .container {
    justify-content: center;
  }
  
  .navbar {
    background: var(--black);
    padding: 10px 0;
  }
  
  .nav-toggle {
    display: block;
    color: var(--white);
    order: -1;
  }
  
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--black);
    padding: 10px 0;
    z-index: 999;
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .nav-menu a {
    color: rgba(255,255,255,0.7);
    padding: 12px 20px;
  }
  
  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--primary);
  }
  
  .nav-menu a::before { display: none; }
  
  .nav-cta {
    display: none;
  }

  .navbar .container {
    position: relative;
    flex-wrap: wrap;
  }

  .navbar .mobile-brand {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
  }

  .navbar .mobile-brand span {
    color: var(--primary);
  }

  .intro-bar .inner {
    flex-direction: column;
  }
  
  .intro-bar .intro-content {
    width: 100%;
  }
  
  .intro-bar .intro-cta {
    width: 100%;
    justify-content: center;
    padding: 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .counter-section .row {
    flex-wrap: wrap;
  }
  
  .counter-section .col-md-3,
  .counter-section .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2em;
  }
  
  .contact-wrap {
    flex-direction: column;
  }
  
  .contact-info-side {
    flex: none;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .section { padding: 4em 0; }
  
  .hero-slider { height: 550px; }
  
  .hero-slide h1 { font-size: 28px; }
  .hero-slide p { font-size: 14px; }
  .hero-slide .subheading { font-size: 12px; }
  
  .heading-section h2 { font-size: 24px; }
  
  .page-header { height: 350px; }
  .page-header h1 { font-size: 30px; }
  .page-header-about { height: 420px; }
  .page-header-about h1 { font-size: 32px; }
  .page-header-subtitle { font-size: 15px; }
  
  .about-img { min-height: 300px; }
  
  .row.no-gutters > .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0 !important;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .map-container { height: 300px; }
  
  .hero-dots { bottom: 15px; }
  
  .counter-section .row {
    flex-direction: column;
  }
  
  .counter-section .col-md-3,
  .counter-section .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .counter-block .number { font-size: 30px; }

  .feature-card { margin-bottom: 20px; }
  
  .contact-form-side,
  .contact-info-side {
    padding: 30px 20px;
  }
  
  .appointment-section .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-slider { height: 480px; }
  .hero-slide h1 { font-size: 24px; }
  .hero-slide .btn-group { flex-direction: column; }
  .hero-slide .btn-group .btn { width: 100%; }
  
  .intro-bar .intro-content { padding: 20px; }
  .intro-bar .intro-content h2 { font-size: 16px; }
  
  .tab-nav { flex-direction: column; }
  .tab-nav button { width: 100%; }
}

/* ---------- Smooth Scroll for Anchors ---------- */
html {
  scroll-padding-top: 80px;
}


