/* ============================================================
   CTK Logistics — Main Stylesheet
   ============================================================
   Table of Contents:
   1.  CSS Variables (Custom Properties)
   2.  Global & Base Styles
   3.  Navbar
   4.  Hero / Carousel
   5.  Buttons
   6.  Typography & Section Titles
   7.  Cards
   8.  Service Images & Reveal
   9.  Page Header
   10. Image Placeholder
   11. Contact CTA Sections
   12. Parallax Section
   13. Accordion (FAQ)
   14. Forms
   15. Footer
   16. Glassmorphism & Backdrop Utilities
   17. Animations & Transitions
   18. Responsive Breakpoints
   ============================================================ */

/* ============================================================
   1.  CSS VARIABLES
   ============================================================
   Edit this section to customize the entire site appearance.
   ============================================================ */
:root {
  /* --- Brand Colors --- */
  --color-primary:         #e8852e;
  --color-primary-dark:    #d4701a;
  --color-primary-light:   #f5a623;

  /* --- Neutral Colors --- */
  --color-dark:            #1a1a1a;
  --color-dark-alt:        #2c1810;
  --color-text:            #2d2d2d;
  --color-text-muted:      #6c757d;
  --color-bg:              #ffffff;
  --color-bg-light:        #f8f9fa;
  --color-bg-warm:         #faf7f5;
  --color-border:          rgba(0,0,0,0.06);
  --color-overlay:         rgba(0,0,0,0.55);

  /* --- Shadows --- */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);

  /* --- Glassmorphism --- */
  --glass-bg:         rgba(255,255,255,0.65);
  --glass-border:     rgba(255,255,255,0.35);
  --glass-shadow:     0 8px 32px rgba(0,0,0,0.08);
  --glass-blur:       16px;

  /* --- Border Radius --- */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 50px;

  /* --- Transitions --- */
  --transition-fast: 0.2s cubic-bezier(.4,0,.2,1);
  --transition:      0.35s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.6s cubic-bezier(.4,0,.2,1);

  /* --- Typography --- */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-base: 1rem;
  --line-height: 1.75;
  --letter-spacing: 0.01em;

  /* --- Spacing --- */
  --section-padding: 5.5rem 1.5rem;
}

/* --- Mobile-safe tap targets --- */
@media (pointer: coarse) {
  a, button, .btn, .nav-link, .dropdown-item, .accordion-button, .service-tab,
  .back-to-top, #ctk-chat-bubble, #ctk-chat-send, #ctk-form-submit,
  .navbar-toggler, .contact-btn, input, select, textarea {
    min-height: 44px;
  }
}


/* ============================================================
   2.  GLOBAL & BASE STYLES
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  letter-spacing: var(--letter-spacing);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(232,133,46,0.035) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(245,166,35,0.025) 0%, transparent 50%);
  color: var(--color-text);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Containers for content sections */
section.container {
  max-width: 1140px;
}

section p {
  line-height: var(--line-height);
  font-size: 1.05rem;
}


/* ============================================================
   3.  NAVBAR
   ============================================================ */
.navbar {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

/* Brand / logo */
.navbar-brand {
  font-weight: 700;
  color: var(--color-dark) !important;
  letter-spacing: -0.02em;
}

.navbar-brand .logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.navbar-brand .brand-text {
  font-size: 2rem;
  color: var(--color-dark);
  font-weight: 700;
}

/* Nav links */
.nav-item {
  font-size: 1rem;
}

.navbar-nav .nav-item {
  position: relative;
  margin: 0 12px;
}

.navbar-nav .nav-link {
  color: var(--color-text) !important;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color var(--transition);
}

/* Underline hover effect */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition);
  transform: translateX(-50%);
  border-radius: 1px;
}

.navbar-nav .nav-link:hover {
  color: var(--color-primary) !important;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Active page indicator */
.navbar-nav .nav-link.active::after {
  width: 100%;
  background-color: var(--color-primary);
}

/* Toggler (hamburger) */
.navbar-toggler {
  border: none;
  padding: 0.4rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.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='rgba%280,0,0,0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown menu — glass */
.navbar .dropdown-menu {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease-out;
}

.navbar .dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
}

.navbar .dropdown-item {
  color: var(--color-text);
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  transition: background var(--transition), padding-left var(--transition);
  border-radius: var(--radius-sm);
}

.navbar .dropdown-item:hover {
  background: rgba(232, 133, 46, 0.08);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

.navbar .dropdown-item:active {
  background: rgba(232, 133, 46, 0.12);
  color: var(--color-primary-dark);
}


/* ============================================================
   4.  HERO / CAROUSEL
   ============================================================ */
#heroCarousel {
  position: relative;
}

.hero-img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.2s ease;
}

.carousel-item {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.carousel-item.active .hero-img {
  transform: scale(1.03);
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(30, 30, 47, 0.7),
    rgba(44, 24, 16, 0.5));
  z-index: 1;
  pointer-events: none;
}

/* Caption centered on hero */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: var(--color-bg);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
  padding: 0 1.5rem;
  width: 100%;
  max-width: 800px;
}

.carousel-caption h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.carousel-caption p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 650px;
  margin: 0 auto;
}

/* Carousel arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--color-primary);
  border-radius: 50%;
  padding: 1.2rem;
  transition: all var(--transition);
  box-shadow: 0 3px 10px rgba(232, 133, 46, 0.3);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.12);
  box-shadow: 0 5px 16px rgba(232, 133, 46, 0.45);
}

/* Dots / indicators */
.carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.6);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  transition: all var(--transition);
}

.carousel-indicators .active {
  background-color: var(--color-primary);
  transform: scale(1.25);
}


/* ============================================================
   5.  BUTTONS
   ============================================================ */

/* Primary button — orange */
.btn-ctk {
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--color-bg);
  border-radius: var(--radius-pill);
  padding: 0.75rem 2.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(232, 133, 46, 0.25);
}

.btn-ctk:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 133, 46, 0.3);
}

/* White outline button (for dark backgrounds) */
.btn-ctk-outline {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid var(--glass-border);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  padding: 0.75rem 2.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-ctk-outline:hover {
  background: var(--color-bg);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Bootstrap btn-warning override */
.btn-warning {
  background-color: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  color: var(--color-bg) !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.75rem 2.2rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: all var(--transition) !important;
  box-shadow: 0 4px 12px rgba(232, 133, 46, 0.25) !important;
}

.btn-warning:hover {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  color: var(--color-bg) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(232, 133, 46, 0.3) !important;
}


/* ============================================================
   6.  TYPOGRAPHY & SECTION TITLES
   ============================================================ */
.section-title {
  font-weight: 700;
  color: var(--color-dark-alt);
  position: relative;
  display: inline-block;
  letter-spacing: -0.01em;
}

/* Orange underline bar */
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  margin: 10px auto 0;
  border-radius: 2px;
}


/* ============================================================
   7.  CARDS — Glassmorphic
   ============================================================ */
.info-card {
  background: #fef7f0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(232, 133, 46, 0.12);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 133, 46, 0.2);
}


/* ============================================================
   8.  SERVICE IMAGES & REVEAL
   ============================================================ */
.service-image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;

  /* Hidden state — starts blurry/pixelated */
  opacity: 0;
  filter: blur(6px);
  image-rendering: pixelated;
  transform: scale(1.03);

  /* Smooth reveal transition */
  transition:
    opacity 0.6s ease-out,
    filter 0.8s ease-out,
    transform 0.8s ease-out;
}

/* Visible state — triggered by IntersectionObserver */
.service-image.visible {
  opacity: 1;
  filter: blur(0);
  image-rendering: auto;
  transform: scale(1);
}


/* ============================================================
   9.  PAGE HEADER
   ============================================================
   Used on about, services, contact, FAQ, etc.
   ============================================================ */
.page-header {
  min-height: 50vh;
  background: linear-gradient(135deg, var(--color-primary), #c96a18);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.page-header .other-header,
.page-header .container {
  z-index: 2;
  color: var(--color-bg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}


/* ============================================================
   10.  IMAGE PLACEHOLDER
   ============================================================ */
.image-placeholder {
  background: linear-gradient(135deg, #ececec, #f5f5f5);
  height: 340px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background-image: url('../images/truck2.jpeg');
  background-size: cover;
  background-position: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.image-placeholder:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* --- About section logo wrapper --- */
.about-logo-wrapper {
  background: #fef7f0;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 300px;
}

.about-logo-wrapper img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
}


/* ============================================================
   11.  CONTACT CTA SECTIONS
   ============================================================ */
.call {
  text-decoration: none;
  color: var(--color-text);
}

.contact-cta {
  background: linear-gradient(135deg, var(--color-primary), #b85e10);
  color: var(--color-bg);
  text-align: center;
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.contact-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-bg);
  margin-bottom: 1rem;
}

.contact-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Subtle animated background glow */
.contact-cta::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center,
    rgba(255, 255, 255, 0.1),
    transparent 70%);
  transform: rotate(25deg);
  animation: glowMove 10s linear infinite;
  z-index: 0;
}

@keyframes glowMove {
  0%   { transform: translate(-20%, -20%) rotate(25deg); }
  50%  { transform: translate(20%, 20%) rotate(25deg); }
  100% { transform: translate(-20%, -20%) rotate(25deg); }
}

.contact-cta .container {
  position: relative;
  z-index: 1;
}

/* CTA buttons (white on orange) */
.contact-btn {
  background-color: var(--color-bg);
  color: var(--color-primary);
  border: 2px solid var(--color-bg);
  font-weight: 600;
  padding: 0.8rem 2.5rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
  margin: 0.5rem;
}

.contact-btn:hover {
  background-color: transparent;
  color: var(--color-bg);
  border-color: var(--color-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}


/* ============================================================
   12.  PARALLAX SECTION
   ============================================================ */
.join {
  background-image: url('../images/team/rumit.jpeg');
  min-height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Dark overlay */
.join::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.join .container {
  position: relative;
  z-index: 1;
}

.join button {
  margin: 10px;
}


/* ============================================================
   13.  ACCORDION (FAQ) — Glassmorphic
   ============================================================ */
.accordion-button:not(.collapsed) {
  color: var(--color-bg);
  background-color: var(--color-primary);
}

.accordion-button.collapsed:hover {
  background-color: rgba(232, 133, 46, 0.1);
}

.accordion-button {
  transition: background-color var(--transition), color var(--transition);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.2rem 1.4rem;
  background: transparent;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(232, 133, 46, 0.3);
}

.accordion-item {
  background: #fef7f0;
  border: 1px solid rgba(232, 133, 46, 0.12);
  border-radius: var(--radius-lg) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.accordion-item:hover {
  box-shadow: var(--shadow-md);
}

.accordion-body {
  border-top: 1px solid rgba(232, 133, 46, 0.2);
  padding: 1.3rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
}

.accordion-body a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.accordion-body a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}


/* ============================================================
   14.  FORMS
   ============================================================ */
.form-control {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232, 133, 46, 0.15);
  background: rgba(255, 255, 255, 0.85);
}

.form-label {
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}


/* ============================================================
   15.  FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

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

.footer a:hover {
  color: var(--color-primary) !important;
}

.footer h5 {
  letter-spacing: 0.3px;
}


/* ============================================================
   16.  GLASSMORPHISM & BACKDROP UTILITIES
   ============================================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
}


/* ============================================================
   17.  ANIMATIONS & TRANSITIONS
   ============================================================ */

/* --- Fade-in on scroll --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.21, .8, .41, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Card left/right slide-in --- */
.info-card {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.info-card.left {
  transform: translateX(-30px);
}

.info-card.right {
  transform: translateX(30px);
}

.info-card.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Hero pixel reveal --- */
.carousel-item.active .hero-img {
  animation: pixelReveal 1.2s ease forwards;
}

@keyframes pixelReveal {
  0% {
    image-rendering: pixelated;
    filter: blur(4px) brightness(0.7);
    transform: scale(1.05);
  }
  40% {
    image-rendering: pixelated;
    filter: blur(2px) brightness(0.85);
    transform: scale(1.03);
  }
  100% {
    image-rendering: auto;
    filter: blur(0) brightness(1);
    transform: scale(1);
  }
}

/* --- Hero caption fade-up --- */
.carousel-caption h1,
.carousel-caption p {
  opacity: 0;
  transform: translateY(25px);
  animation: captionFade 1s ease forwards;
}

.carousel-caption h1 {
  animation-delay: 0.4s;
}

.carousel-caption p {
  animation-delay: 0.7s;
}

@keyframes captionFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Section title bar animation --- */
@keyframes titleBar {
  0%   { width: 0; }
  100% { width: 60px; }
}

/* --- Thankyou page spacing --- */
.thankyou {
  margin-top: 2rem;
}


/* ============================================================
   18.  STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: block;
  line-height: 1;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-dark-alt);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}


/* ============================================================
   19.  FEATURED SERVICES (Homepage)
   ============================================================ */
.featured-service-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
  height: 100%;
}

.featured-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 133, 46, 0.15);
}

.featured-service-card .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.featured-service-card .card-body {
  padding: 1.5rem;
}

.featured-service-card .card-body h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.featured-service-card .card-body p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.featured-service-card .service-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}

.featured-service-card .service-link:hover {
  gap: 0.7rem;
}


/* ============================================================
   20.  SERVICES PAGE — HIERARCHY & ICONS
   ============================================================ */
.service-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
  height: 100%;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 133, 46, 0.15);
}

.service-card .card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transition: transform 0.6s ease;
}

.service-card:hover .card-img-top {
  transform: scale(1.04);
}

.service-card .card-body {
  padding: 1.25rem;
}

.service-card .card-body h5 {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.service-card .card-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.service-card .service-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
}

.service-card .service-link:hover {
  gap: 0.6rem;
}

/* Category badge */
.service-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(232, 133, 46, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* Service icon above image */
.service-icon-wrap {
  position: absolute;
  bottom: -1.25rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(232, 133, 46, 0.3);
  z-index: 2;
}

/* Featured (large) service on services page */
.featured-service {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.featured-service .featured-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.featured-service .featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-service .featured-body h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-dark-alt);
}

.featured-service .featured-body p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Category filter tabs */
.service-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.service-tab {
  background: transparent;
  border: 2px solid rgba(232, 133, 46, 0.2);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
}

.service-tab:hover,
.service-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}


/* ============================================================
   21.  HOW IT WORKS (Steps)
   ============================================================ */
.steps {
  position: relative;
}

.step {
  text-align: center;
  position: relative;
  padding: 1.5rem;
}

.step::after {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 60%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  pointer-events: none;
}

.step:last-child::after {
  display: none;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h5 {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 260px;
  margin: 0 auto;
}


/* ============================================================
   22.  TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--color-bg-warm);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "\201C";
  position: absolute;
  top: -1rem;
  left: 2rem;
  font-size: 12rem;
  color: rgba(232, 133, 46, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card .quote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-card .author-info strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-card .author-info span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}


/* ============================================================
   23.  BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(232, 133, 46, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 133, 46, 0.4);
}


/* ============================================================
   24.  CONTACT PAGE — SPLIT LAYOUT
   ============================================================ */
.contact-sidebar {
  background: var(--color-bg-warm);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--color-border);
  height: 100%;
}

.contact-sidebar .info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-sidebar .info-item:last-child {
  margin-bottom: 0;
}

.contact-sidebar .info-icon {
  width: 40px;
  height: 40px;
  background: rgba(232, 133, 46, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-sidebar .info-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.contact-sidebar .info-text span,
.contact-sidebar .info-text a {
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-sidebar .info-text a {
  text-decoration: none;
  font-weight: 500;
}

.contact-sidebar .info-text a:hover {
  color: var(--color-primary);
}

/* Form row for inline fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}


/* ============================================================
   25.  TEAM PAGE — FEATURED MEMBER
   ============================================================ */
.featured-member {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.featured-member .featured-image-wrap {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-member .featured-image-wrap img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.featured-member .featured-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-member .featured-body h3 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-dark-alt);
}

.featured-member .featured-body .title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.featured-member .featured-body p {
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Team member card (COO, CFO) */
.member-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  height: 100%;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.member-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.member-card h5 {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.member-card .title {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.member-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}


/* ============================================================
   26.  SECTION ALTERNATING PATTERN
   ============================================================ */
.section-warm {
  background: var(--color-bg-warm);
}

.section-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 0;
}


/* ============================================================
   27.  FOOTER ENHANCEMENTS
   ============================================================ */
.footer {
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), transparent);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer h5 {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.footer ul li {
  transition: padding-left var(--transition);
}

.footer ul li:hover {
  padding-left: 4px;
}


/* ============================================================
   28.  BREADCRUMBS
   ============================================================ */
.breadcrumb-wrap {
  padding: 0.75rem 0;
  background: transparent;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.breadcrumb-wrap .breadcrumb {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.breadcrumb-wrap .breadcrumb-item a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb-wrap .breadcrumb-item a:hover {
  color: var(--color-primary);
}

.breadcrumb-wrap .breadcrumb-item.active {
  color: var(--color-text);
}


/* ============================================================
   29.  PAGE HEADER VARIATIONS
   ============================================================ */
.page-header {
  min-height: 40vh;
}

.page-header-compact {
  min-height: 25vh;
  background: linear-gradient(135deg, var(--color-primary), #c96a18);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-header-compact .container {
  z-index: 2;
  color: var(--color-bg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-header-compact h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.page-header-compact p {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.9;
}


/* ============================================================
   30.  OVERRIDE: Team images — clean fade, no blur
   ============================================================ */
.member-card img,
.featured-member .featured-image-wrap img {
  opacity: 0;
  animation: teamFadeIn 0.8s ease forwards;
}

@keyframes teamFadeIn {
  to {
    opacity: 1;
  }
}


/* ============================================================
   31.  FORM CONTAINER
   ============================================================ */
.form-container {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}


/* ============================================================
   32.  FAQ CTA
   ============================================================ */
.faq-cta {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--color-bg-warm);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}





/* ============================================================
   34.  NAVBAR SHRINK ON SCROLL
   ============================================================ */
.navbar.navbar-scrolled {
  padding: 0.35rem 0;
  box-shadow: var(--shadow-md);
}

.navbar.navbar-scrolled .logo-img {
  height: 52px;
}

.navbar.navbar-scrolled .brand-text {
  font-size: 1.4rem;
}


/* ============================================================
   18 (cont).  RESPONSIVE BREAKPOINTS
   ============================================================
   Mobile-first responsive enhancements. Progressive enhancement
   across tablet (992px), mobile (768px), and small phones (576px).
   ============================================================ */

/* ===== PREVENT HORIZONTAL OVERFLOW ===== */
img, video, iframe, table, .container, .row {
  max-width: 100%;
}

/* ===== TABLET & BELOW (max-width: 992px) ===== */
@media (max-width: 992px) {
  .navbar {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .navbar-brand .logo-img {
    height: 48px;
  }

  .navbar-brand .brand-text {
    font-size: 1.3rem;
  }

  .navbar-nav .nav-item {
    margin: 0;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0;
  }

  .navbar .dropdown-menu {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    opacity: 1;
    transform: none;
  }

  .navbar .dropdown-item {
    padding: 0.4rem 1rem;
  }

  .info-card.left,
  .info-card.right {
    transform: translateY(20px);
  }

  .info-card.visible {
    transform: translateY(0);
  }

  .stat-item {
    padding: 1rem 0;
  }

  .contact-sidebar {
    margin-top: 2rem;
  }

  .featured-service .featured-image {
    min-height: 200px;
  }

  .step::after {
    display: none;
  }

  .faq-search {
    margin-bottom: 1.5rem;
  }

  .hero-img, .carousel-item {
    height: 50vh;
  }

  .carousel-caption h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
  }
}

/* ===== MOBILE & BELOW (max-width: 768px) ===== */
@media (max-width: 768px) {
  .navbar.navbar-scrolled .logo-img {
    height: 40px;
  }

  .hero-img,
  .carousel-item {
    height: 55vh;
  }

  .carousel-caption h1 {
    font-size: 1.8rem;
  }

  .carousel-caption {
    padding: 0 1rem;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 0.8rem;
  }

  .page-header {
    min-height: 30vh;
  }

  .page-header-compact {
    min-height: 22vh;
    padding: 2rem 0;
  }

  .image-placeholder {
    height: 220px;
  }

  .join {
    background-attachment: scroll;
    background-position: center;
    min-height: 360px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .featured-member {
    text-align: center;
  }

  .featured-member .featured-image-wrap {
    margin-bottom: 1.5rem;
    padding: 1rem;
  }

  .featured-member .featured-image-wrap img {
    width: 160px;
    height: 160px;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-title::after {
    margin: 8px auto 0;
  }

  section.container, section .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .info-card {
    border-radius: var(--radius);
  }

  .featured-service .featured-body {
    padding: 1.5rem;
  }

  .featured-service .featured-body h3 {
    font-size: 1.3rem;
  }

  .service-card .card-body {
    padding: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-card .quote {
    font-size: 1rem;
  }

  .accordion-button {
    font-size: 1rem;
    padding: 1rem 1.1rem;
  }

  .accordion-body {
    font-size: 0.95rem;
    padding: 1rem 1.1rem;
  }

  .member-card {
    padding: 1.5rem;
  }

  .member-card img {
    width: 110px;
    height: 110px;
  }

  .form-container {
    padding: 1.5rem;
  }

  .contact-sidebar {
    padding: 1.5rem;
  }

  .faq-cta {
    padding: 2rem 1.25rem;
  }

  .step {
    padding: 1rem;
  }

  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .service-tabs {
    gap: 0.4rem;
  }

  .service-tab {
    font-size: 0.8rem;
    padding: 0.35rem 1rem;
  }

  .featured-service-card .card-body {
    padding: 1.25rem;
  }

  .featured-service-card .card-img-top {
    height: 170px;
  }

  .service-card .card-img-top {
    height: 150px;
  }

  .g-5 {
    --bs-gutter-y: 2rem;
  }

  .mt-5 {
    margin-top: 2rem !important;
  }

  .mb-5 {
    margin-bottom: 2rem !important;
  }

  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  section.container.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .contact-cta.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .lead {
    font-size: 1rem;
  }

  .display-4 {
    font-size: 2rem;
  }
}

/* ===== SMALL PHONES (max-width: 576px) ===== */
@media (max-width: 576px) {
  .navbar {
    background: rgba(255, 255, 255, 0.88) !important;
  }

  .navbar-brand .logo-img {
    height: 38px;
  }

  .navbar.navbar-scrolled .logo-img {
    height: 32px;
  }

  .navbar-brand .brand-text {
    font-size: 1rem;
  }

  .navbar.navbar-scrolled .brand-text {
    font-size: 0.85rem;
  }

  .navbar-toggler {
    padding: 0.5rem;
    font-size: 1.2rem;
  }

  .hero-img,
  .carousel-item {
    height: 45vh;
  }

  .carousel-caption h1 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 0.6rem;
  }

  .contact-btn {
    display: block;
    width: 100%;
    margin: 0.4rem 0;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-item {
    padding: 0.75rem 0.5rem;
  }

  .stat-icon {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

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

  .page-header p {
    font-size: 0.9rem;
  }

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

  .page-header-compact p {
    font-size: 0.85rem;
  }

  .btn-ctk, .btn-ctk-outline, .btn-warning {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }

  .contact-cta {
    padding: 2.5rem 1rem;
  }

  .contact-cta h2 {
    font-size: 1.4rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .image-placeholder {
    height: 180px;
  }

  .join {
    min-height: 280px;
    padding: 2rem 0;
  }

  .join .container h2 {
    font-size: 1.3rem;
  }

  .join .container p.lead {
    font-size: 0.9rem;
  }

  .footer {
    font-size: 0.85rem;
  }

  .footer h5 {
    font-size: 1rem;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .footer.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .featured-service .featured-image {
    min-height: 180px;
    height: 200px;
  }

  .service-card .card-img-top {
    height: 130px;
  }

  .service-icon-wrap {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1rem;
    bottom: -1.1rem;
  }

  .fade-in {
    transform: translateY(20px);
  }

  .info-card.p-4 {
    padding: 1.25rem !important;
  }

  .info-card p {
    font-size: 0.9rem;
  }

  .card-body h5 {
    font-size: 0.95rem;
  }

  .service-card .card-body h5 {
    font-size: 0.9rem;
  }

  .service-card .card-body p {
    font-size: 0.82rem;
  }

  .service-link {
    font-size: 0.8rem;
  }

  .member-card .title {
    font-size: 0.8rem;
  }

  .member-card p {
    font-size: 0.85rem;
  }

  .featured-member .featured-body h3 {
    font-size: 1.2rem;
  }

  .featured-member .featured-body .title {
    font-size: 0.85rem;
  }

  .featured-member .featured-body p {
    font-size: 0.88rem;
  }

  .featured-service .featured-body p {
    font-size: 0.9rem;
  }

  .testimonial-card .quote {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .testimonial-card .author-info strong {
    font-size: 0.85rem;
  }

  .testimonial-card .author-info span {
    font-size: 0.78rem;
  }

  .g-5 {
    --bs-gutter-y: 1.5rem;
  }

  .mt-5 {
    margin-top: 1.5rem !important;
  }

  .mb-5 {
    margin-bottom: 1.5rem !important;
  }

  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  section.container.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .lead {
    font-size: 0.92rem;
  }

  .display-4 {
    font-size: 1.6rem;
  }

  .step h5 {
    font-size: 0.9rem;
  }

  .step p {
    font-size: 0.82rem;
  }

  .form-label {
    font-size: 0.85rem;
  }

  .form-control {
    font-size: 0.88rem;
    padding: 0.7rem 0.9rem;
  }

  textarea.form-control {
    min-height: 80px;
  }

  .accordion-button {
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }

  .accordion-body {
    font-size: 0.88rem;
    padding: 0.85rem;
  }

  .section-warm.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .stats-bar.py-4 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
}

/* ===== VERY SMALL PHONES (max-width: 400px) ===== */
@media (max-width: 400px) {
  .navbar-brand .logo-img {
    height: 32px;
  }

  .navbar-brand .brand-text {
    font-size: 0.85rem;
  }

  .navbar-toggler {
    padding: 0.35rem;
    font-size: 1rem;
  }

  .hero-img,
  .carousel-item {
    height: 40vh;
    min-height: 240px;
  }

  .carousel-caption h1 {
    font-size: 1.2rem;
  }

  .carousel-caption p {
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .page-header-compact {
    min-height: 18vh;
    padding: 1.5rem 0;
  }

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

  .page-header-compact p {
    font-size: 0.8rem;
  }

  .btn-ctk, .btn-ctk-outline {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
  }

  .featured-service-card .card-img-top {
    height: 140px;
  }

  .service-card .card-img-top {
    height: 110px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  section.container, section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .info-card.p-4 {
    padding: 1rem !important;
  }

  .testimonial-card {
    padding: 1.25rem;
  }

  .contact-sidebar {
    padding: 1.25rem;
  }

  .form-container {
    padding: 1.25rem;
  }

  .featured-member .featured-image-wrap img {
    width: 130px;
    height: 130px;
  }

  .member-card img {
    width: 90px;
    height: 90px;
  }

  .contact-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .footer .row.g-4 {
    --bs-gutter-y: 1rem;
  }

  .g-5 {
    --bs-gutter-y: 1rem;
  }

  .display-4 {
    font-size: 1.4rem;
  }
}

/* ============================================================
   35.  CHATBOT WIDGET
   ============================================================ */
#ctk-chat-container {
  font-family: var(--font-family);
}

#ctk-chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

#ctk-chat-overlay.open {
  opacity: 1;
  visibility: visible;
}

#ctk-chat-bubble {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232,133,46,0.35);
  z-index: 10000;
  transition: all var(--transition);
}

#ctk-chat-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(232,133,46,0.45);
}

#ctk-chat-panel {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 360px;
  max-width: calc(100vw - 2rem);
  height: 520px;
  max-height: calc(100vh - 8rem);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: all var(--transition);
  overflow: hidden;
}

#ctk-chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#ctk-chat-header {
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

#ctk-chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

#ctk-chat-close:hover {
  opacity: 1;
}

#ctk-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ctk-msg {
  display: flex;
  max-width: 85%;
}

.ctk-msg-bot {
  align-self: flex-start;
}

.ctk-msg-user {
  align-self: flex-end;
}

.ctk-msg-bubble {
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.55;
  word-wrap: break-word;
}

.ctk-msg-bot .ctk-msg-bubble {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}

.ctk-msg-user .ctk-msg-bubble {
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

#ctk-chat-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-border);
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

#ctk-chat-input {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  background: #fff;
  transition: border-color var(--transition-fast);
}

#ctk-chat-input:focus {
  border-color: var(--color-primary);
}

#ctk-chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

#ctk-chat-send:hover {
  background: var(--color-primary-dark);
  transform: scale(1.06);
}

.ctk-typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.65rem 1rem !important;
}

.ctk-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-text-muted);
  animation: ctkTyping 1.2s infinite ease-in-out;
}

.ctk-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.ctk-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes ctkTyping {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

#ctk-chat-form {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  flex: 1;
}

#ctk-chat-form.visible {
  display: flex;
}

#ctk-chat-form-body {
  width: 100%;
}

#ctk-chat-form .ctk-form-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

#ctk-chat-form .ctk-form-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

#ctk-chat-form input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}

#ctk-chat-form input:focus {
  border-color: var(--color-primary);
}

#ctk-form-submit {
  width: 100%;
  padding: 0.6rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

#ctk-form-submit:hover {
  background: var(--color-primary-dark);
}

#ctk-form-skip {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.4rem;
  text-decoration: underline;
}

#ctk-form-skip:hover {
  color: var(--color-text);
}

@media (max-width: 480px) {
  #ctk-chat-panel {
    bottom: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  #ctk-chat-bubble {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }
}
