/* ============================================================
   DICKENS BAIL BONDS — style.css
   Colors:
     Primary:    #d7090f  (red)
     Secondary:  #0ba5ac  (teal)
     Accent:     #fffc2c  (yellow)
     Dark:       #1a1a1a
     Mid-dark:   #2c2c2c
     Light bg:   #f4f6f8
     White:      #ffffff
   Fonts:
     Display:  Oswald (700/600/500)
     Body:     Source Sans 3 (400/600)
============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary:        #d7090f;
  --primary-dark:   #a8060b;
  --primary-hover:  #ec260e;
  --secondary:      #0ba5ac;
  --secondary-dark: #088a90;
  --accent:         #fffc2c;
  --dark:           #1a1a1a;
  --mid-dark:       #2c2c2c;
  --charcoal:       #3d3d3d;
  --light-bg:       #f4f6f8;
  --lighter-bg:     #ffffff;
  --text-main:      #2c2c2c;
  --text-muted:     #6b7280;
  --border:         #e2e8f0;
  --topbar-bg:      #ec260e;
  --nav-bg:         #ffffff;
  --footer-bg:      #111111;
  --footer-bottom:  #0a0a0a;

  --font-display:   'Oswald', sans-serif;
  --font-body:      'Source Sans 3', sans-serif;

  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      16px;
  --radius-pill:    50px;

  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:      0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:      0 16px 48px rgba(0,0,0,0.18);
  --shadow-red:     0 8px 32px rgba(215,9,15,0.35);

  --transition:     0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

p { margin-bottom: 1rem; }

/* ===== UTILITY CLASSES ===== */
.text-accent   { color: var(--primary) !important; }
.text-accent-teal   { color: var(--secondary) !important; }
.text-accent-yellow { color: var(--accent) !important; }
.bg-primary-custom { background-color: var(--primary); }
.bg-secondary-custom { background-color: var(--secondary); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(215,9,15,0.08);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.section-eyebrow-light {
  color: var(--accent);
  background: rgba(255,252,44,0.1);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 1rem;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--primary);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-outline-light-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.7);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.btn-cta-nav {
  background: var(--primary);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-cta-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

/* ===== TOP BAR ===== */
#topbar {
  background: var(--topbar-bg);
  padding: 9px 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 1050;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
}
.topbar-item a { color: #fff; }
.topbar-item a:hover { color: var(--accent); }

.topbar-phone {
  font-weight: 700;
  font-size: 0.88rem;
}
.topbar-phone:hover { color: var(--accent); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 18px; }

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid rgba(255,255,255,0.3);
  padding-left: 14px;
  margin-left: 4px;
}
.topbar-socials a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  transition: color var(--transition), transform var(--transition);
}
.topbar-socials a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* ===== NAVBAR ===== */
#mainNav {
  background: var(--nav-bg);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 0;
  transition: all var(--transition);
  position: relative;
  z-index: 1040;
}

#mainNav.sticky-active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
  animation: slideDownNav 0.35s ease forwards;
}

@keyframes slideDownNav {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* body offset when nav becomes sticky */
body.nav-sticky-offset { padding-top: var(--nav-height, 0px); }

.nav-logo {
  height: 90px;
  width: auto;
  display: block;
  transition: height var(--transition);
}

#mainNav.sticky-active .nav-logo { height: 56px; }

#mainNav .navbar-nav .nav-link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 8px 9px !important;
  position: relative;
  transition: color var(--transition);
}
#mainNav .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}
#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link.active {
  color: var(--primary);
}
#mainNav .navbar-nav .nav-link:hover::after,
#mainNav .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown - kept minimal in case Bootstrap adds it internally */
.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  min-width: 200px;
  margin-top: 4px;
}
.dropdown-item {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 9px 20px;
  transition: all var(--transition);
}
.dropdown-item:hover {
  background: rgba(215,9,15,0.07);
  color: var(--primary);
  padding-left: 26px;
}

/* Toggler */
.navbar-toggler {
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d7090f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop logo sizing */
/*@media (min-width: 993px) {
  .nav-logo { height: 90px; }
  #mainNav.sticky-active .nav-logo { height: 56px; }
}
@media (min-width: 992px) {
  .nav-logo { height: 60px; }
  #mainNav.sticky-active .nav-logo { height: 56px; }
}*/
@media (max-width: 1400px) {
  .nav-logo { height: 60px; }
  #mainNav.sticky-active .nav-logo { height: 56px; }
}
@media (max-width: 991.98px) {
  .nav-logo { height: 60px; }
  #mainNav .navbar-collapse { padding: 12px 0 16px; }
  #mainNav .navbar-nav .nav-link::after { display: none; }
  #mainNav .navbar-nav .nav-link { padding: 10px 4px !important; }
  .btn-cta-nav { margin: 12px 0 4px; align-self: flex-start; }
}
@media (max-width: 575.98px) {
  .nav-logo { height: 56px; }
}
/*@media (min-width: 1399px) {
  .nav-logo { height: 60px; }
}*/

/* ===== HERO SLIDER ===== */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--dark);
}

.hero-slider {
  position: relative;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15,10,10,0.82) 0%,
    rgba(15,10,10,0.55) 55%,
    rgba(15,10,10,0.25) 100%
  );
}

.hero-slide .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 640px;
  padding: 100px 0 80px;
  color: #fff;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,252,44,0.12);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  border: 1px solid rgba(255,252,44,0.25);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-accent { color: var(--primary); }

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(215,9,15,0.75);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.hero-arrow:hover { background: var(--primary); transform: translateY(-50%) scale(1.1); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.hero-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.3);
}

@media (max-width: 767.98px) {
  .hero-slide { height: 90vh; min-height: 520px; }
  .hero-content { padding: 80px 0 60px; }
  .hero-arrow { width: 38px; height: 38px; font-size: 0.85rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary-custom,
  .btn-outline-light-custom { width: 100%; justify-content: center; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--dark);
  padding: 0;
}
.trust-bar-inner {
  border-top: 3px solid var(--primary);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 10px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(215,9,15,0.12); }
.trust-item i {
  font-size: 1.6rem;
  color: var(--primary);
}
.trust-item span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 575.98px) {
  .trust-item { padding: 18px 6px; }
  .trust-item i { font-size: 1.3rem; }
  .trust-item span { font-size: 0.72rem; }
}

/* ===== ABOUT SECTION ===== */
.section-about {
  padding: 100px 0;
  background: #fff;
  overflow: hidden;
}

.about-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}
.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow-red);
  border: 4px solid #fff;
}
.about-badge i { font-size: 1.3rem; }

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}

.about-stats { margin-top: 20px; }
.stat-box {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-bottom: 3px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

@media (max-width: 991.98px) {
  .section-about { padding: 70px 0; }
  .about-img { height: 360px; }
  .about-badge { right: 10px; bottom: 10px; }
}
@media (max-width: 575.98px) {
  .about-img { height: 260px; }
  .about-badge { width: 80px; height: 80px; font-size: 0.68rem; }
}

/* ===== SERVICES HEADING ===== */
.services-heading-section {
  padding: 80px 0 40px;
  background: var(--light-bg);
}

/* ===== SERVICE SECTIONS ===== */
.service-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.service-dark { background: var(--mid-dark); }
.service-light { background: var(--light-bg); }

.service-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
}
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,20,20,0.97) 0%, rgba(40,40,40,0.90) 100%);
}

/* --- Service Content Block (dark sections) --- */
.service-content-block { max-width: 560px; }

.service-content-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.service-card-sub {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  display: block;
}
.service-content-block p {
  color: rgba(255,255,255,0.78);
  font-size: 0.97rem;
  line-height: 1.75;
}

/* --- Service Content Block (light sections) --- */
.service-content-light h3 { color: var(--dark); }
.service-content-light .service-card-sub { color: var(--primary); }
.service-content-light p { color: var(--text-main); }

/* --- Icon --- */
.service-card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-red);
  flex-shrink: 0;
}
.service-card-icon i { font-size: 1.6rem; color: #fff; }
.service-card-icon-alt {
  background: var(--secondary);
  box-shadow: 0 8px 28px rgba(11,165,172,0.35);
}

/* --- Service image --- */
.service-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}
.service-img-wrap:hover .service-img { transform: scale(1.04); }

/* Dark section image frame accent */
.service-dark .service-img-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 3px solid var(--primary);
  border-radius: calc(var(--radius-lg) + 6px);
  z-index: -1;
  opacity: 0.5;
}

/* Light section image frame accent */
.service-light .service-img-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 3px solid var(--secondary);
  border-radius: calc(var(--radius-lg) + 6px);
  z-index: -1;
  opacity: 0.4;
}

/* --- Service list --- */
.service-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  margin-bottom: 9px;
  color: rgba(255,255,255,0.82);
}
.service-list li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.85rem;
}
/* Light section list */
.service-list-dark li { color: var(--charcoal); }
.service-list-dark li i { color: var(--secondary); }

@media (max-width: 991.98px) {
  .service-img { height: 320px; }
  .service-content-block { max-width: 100%; }
  .service-bg-img { background-attachment: scroll; }
}
@media (max-width: 767.98px) {
  .service-section { padding: 60px 0; }
  .service-img { height: 240px; }
}

/* ===== SERVICE AREAS ===== */
.section-areas {
  padding: 100px 0;
  background: #fff;
}

.area-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.area-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.area-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.area-card:hover .area-img { transform: scale(1.06); }

.area-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(215,9,15,0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.area-card:hover .area-overlay { opacity: 1; }

.area-body {
  padding: 24px;
  flex: 1;
  background: #fff;
  border-top: 3px solid var(--primary);
}
.area-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.area-body h3 i { color: var(--primary); }
.area-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ===== REVIEWS ===== */
.section-reviews {
  padding: 100px 0;
  background: var(--light-bg);
}

.reviews-slider-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -8px;
  padding: 0 8px;
}

.reviews-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.review-slide {
  flex: 0 0 50%;
  padding: 0 12px;
  box-sizing: border-box;
}

.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(215,9,15,0.07);
  line-height: 1;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.review-stars i { color: #f5a623; font-size: 0.95rem; }

.review-text {
  font-size: 0.97rem;
  color: var(--charcoal);
  line-height: 1.72;
  flex: 1;
  font-style: italic;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.review-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}
.review-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Reviews Arrows */
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.reviews-arrow:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-red);
}
.reviews-prev { left: -5px; }
.reviews-next { right: -5px; }

/* Review Dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.reviews-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.reviews-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

/* Mobile: 1 slide at a time */
@media (max-width: 767.98px) {
  .review-slide { flex: 0 0 100%; }
  .reviews-prev { left: 0; }
  .reviews-next { right: 0; }
}

/* ===== CONTACT SECTION ===== */
.section-contact {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,9,15,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.form-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(215,9,15,0.4);
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}

.form-control {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 16px;
  transition: border-color var(--transition), background var(--transition);
}
.form-control::placeholder { color: rgba(255,255,255,0.35); }
.form-control:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(215,9,15,0.2);
  color: #fff;
  outline: none;
}

.required { color: var(--primary); }

.consent-check { margin-top: 6px; }
.consent-check .form-check-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.services-checkboxes {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.checkbox-group-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 10px;
}
.services-checkboxes .form-check {
  margin-bottom: 7px;
}
.services-checkboxes .form-check-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
}

.btn-submit {
  font-size: 1rem;
  padding: 14px;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-bottom: 0;
}
.form-note i { color: var(--secondary); }

/* Contact Info Side */
.contact-info-img-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact-office-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}
.contact-info-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.88) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.contact-info-block,
.contact-areas-block {
  margin-bottom: 24px;
}
.contact-info-block h4,
.contact-areas-block h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}
.contact-info-list li i {
  color: var(--primary);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}
.contact-info-list li a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.contact-info-list li a:hover { color: var(--accent); }

.contact-areas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-areas-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.07);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.12);
}
.contact-areas-list li i { color: var(--secondary); font-size: 0.75rem; }

@media (max-width: 991.98px) {
  .contact-form-wrap { padding: 28px 22px; }
  .contact-office-img { height: 420px; }
}
@media (max-width: 575.98px) {
  .contact-office-img { height: 300px; }
  .contact-info-overlay { padding: 20px; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: #f2f3f5;
  padding: 80px 0 0;
  color: var(--charcoal);
  border-top: 4px solid var(--primary);
}

.footer-logo { height: 70px; width: auto; margin-bottom: 16px; }
.footer-logo-link:hover { opacity: 0.85; }

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 9px; }
.footer-links li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links li a::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
  line-height: 1;
}
.footer-links li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.55;
}
.footer-contact-list li i {
  color: var(--primary);
  margin-top: 2px;
  width: 14px;
  flex-shrink: 0;
}
.footer-contact-list li a {
  color: var(--charcoal);
  font-weight: 600;
}
.footer-contact-list li a:hover { color: var(--primary); }

.payment-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.payment-methods i {
  font-size: 1.5rem;
  color: var(--charcoal);
  transition: color var(--transition);
}
.payment-methods i:hover { color: var(--primary); }
.payment-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-bottom {
  background: #e4e6e9;
  margin-top: 60px;
  padding: 18px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== FLOATING CALL BUTTON ===== */
.float-call-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(215,9,15,0.55);
  animation: pulseCTA 2.2s infinite;
  transition: transform var(--transition), background var(--transition);
}
.float-call-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: scale(1.1);
}
@keyframes pulseCTA {
  0%, 100% { box-shadow: 0 6px 24px rgba(215,9,15,0.55); }
  50%       { box-shadow: 0 6px 36px rgba(215,9,15,0.85), 0 0 0 10px rgba(215,9,15,0.1); }
}

@media (max-width: 991.98px) {
  .float-call-btn { display: flex; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(11,165,172,0.45);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

/* ===== AOS OVERRIDES ===== */
[data-aos] { backface-visibility: hidden; }

/* ===== FORM VALIDATION ===== */
.form-control.is-invalid {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(215,9,15,0.15);
}
.invalid-feedback {
  color: #ff6b6b;
  font-size: 0.8rem;
}

/* ===== GENERAL SECTION SPACING ===== */
@media (max-width: 767.98px) {
  .section-about,
  .section-areas,
  .section-reviews,
  .section-contact,
  .service-section { padding: 60px 0; }
  .services-heading-section { padding: 50px 0 30px; }
  .site-footer { padding: 60px 0 0; }
  .section-title { font-size: 1.6rem; }
  .service-card { padding: 28px 22px; }
  .contact-form-wrap { padding: 24px 18px; }
}

/* ===== SCROLLBAR (webkit) ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ===== SELECTION ===== */
::selection { background: var(--primary); color: #fff; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
  .float-call-btn { animation: none; }
  .service-bg-img { background-attachment: scroll; }
}
