/* ============================================================
   AMB CONTRACTING — Complete Redesign
   Bootstrap 5.3 Overrides + Custom Components
   Font: Poppins | Colors: Coral #FD715A + Blue #3C5FB1
============================================================ */

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --primary: #FD715A;
  --primary-dark: #e55a42;
  --primary-light: rgba(253, 113, 90, 0.1);
  --secondary: #3C5FB1;
  --secondary-dark: #2A4590;
  --secondary-light: rgba(60, 95, 177, 0.1);
  --dark: #1A1A1A;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --border: #DEE2E6;
  --text-body: #555555;
  --text-muted: #777777;
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  --gradient-mix: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* ── Global Reset & Base ─────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

p {
  color: var(--text-body);
  line-height: 1.8;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  padding: 12px 0;
  transition: var(--transition);
  background: var(--white);
  box-shadow: none;
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark) !important;
  letter-spacing: -0.5px;
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.navbar .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark) !important;
  padding: 8px 16px !important;
  position: relative;
  transition: var(--transition);
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary) !important;
}

.btn-get-quote {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.btn-get-quote:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(253, 113, 90, 0.4);
  color: var(--white) !important;
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ── Hero Section ────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(60, 95, 177, 0.7));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.7;
}

/* ── Page Header (Inner Pages) ───────────────────────────── */
.page-header-section {
  position: relative;
  padding: 100px 0 60px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-header-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.88), rgba(60, 95, 177, 0.75));
  z-index: 1;
}

.page-header-section .container {
  position: relative;
  z-index: 2;
}

.page-header-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.page-header-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.breadcrumb-custom a:hover {
  color: var(--primary);
}

.breadcrumb-custom .separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
}

.breadcrumb-custom .current {
  color: var(--primary);
  font-weight: 500;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(253, 113, 90, 0.4);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary-custom:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(253, 113, 90, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ── Section Headers ─────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Service Cards ───────────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.service-card .icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  transition: var(--transition);
}

.service-card:hover .icon-wrap {
  transform: scale(1.1);
}

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Service Detail Cards ────────────────────────────────── */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 35px;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-detail-card .detail-icon,
.service-detail-card .service-detail-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-detail-header .service-detail-icon {
  margin-bottom: 0;
}

.service-includes h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.service-includes ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.service-includes ul li {
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-includes ul li i {
  font-size: 0.8rem;
}

.service-expertise {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.service-detail-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-detail-card .includes-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.service-detail-card .includes-list li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail-card .includes-list li i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* ── Project Cards ───────────────────────────────────────── */
.project-card-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.project-card-wrap:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.project-card-wrap img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card-wrap:hover img {
  transform: scale(1.05);
}

.project-card-wrap .project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.project-card-wrap .project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.project-card-wrap:hover .project-overlay {
  transform: translateY(0);
}

.project-card-wrap .project-overlay h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.project-card-wrap .project-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin: 0;
}

/* ── Stats Section ───────────────────────────────────────── */
.stat-box {
  border-radius: var(--radius-md);
  padding: 35px 20px;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-box .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box .stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.95;
}

.stat-box .stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: 0.8;
}

/* ── Pillar / Value Cards ────────────────────────────────── */
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 35px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border-bottom: 3px solid transparent;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--primary);
}

.pillar-card .pillar-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section-custom {
  position: relative;
  padding: 80px 0;
  background: var(--gradient-mix);
  overflow: hidden;
}

.cta-section-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section-custom h2 {
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section-custom p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer-section {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-section h5 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 4px;
  width: 16px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 40px;
}

.footer-bottom p {
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--primary);
}

.footer-bottom a:hover {
  color: var(--primary-dark);
}

/* ── WhatsApp Button ─────────────────────────────────────── */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  animation: pulse 2s infinite;
}

.whatsapp-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-button a:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

/* ── Back To Top ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 34px;
  width: 42px;
  height: 42px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ── Alt Background ──────────────────────────────────────── */
.bg-light-custom {
  background: var(--light);
}

/* ── Contact Form ────────────────────────────────────────── */
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(253, 113, 90, 0.15);
}

.contact-form-wrap label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-form-wrap .required {
  color: #dc3545;
}

.contact-form-wrap .form-error {
  color: #dc3545;
  font-size: 0.8rem;
  display: none;
  margin-top: 4px;
}

.contact-form-wrap .form-error.show {
  display: block;
}

.contact-form-wrap .is-invalid {
  border-color: #dc3545 !important;
}

.contact-form-wrap .is-valid {
  border-color: #28a745 !important;
}

.form-success-message {
  background: #d4edda;
  color: #155724;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
  margin-top: 16px;
}

.form-success-message.show {
  display: block;
}

/* ── Contact Info Card ───────────────────────────────────── */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ── Contact Info Box (legacy) ──────────────────────────── */
.contact-info-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.contact-info-box h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-info-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
  width: 20px;
  text-align: center;
}

.contact-info-item a {
  color: var(--text-body);
  font-size: 0.95rem;
}

.contact-info-item a:hover {
  color: var(--primary);
}

.business-hours li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.business-hours li:last-child {
  border-bottom: none;
}

.business-hours .closed {
  color: #dc3545;
  font-weight: 600;
}

/* ── FAQ Accordion ───────────────────────────────────────── */
.faq-section .accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  border-radius: var(--radius-sm) !important;
  padding: 16px 20px;
}

.faq-section .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: none;
}

.faq-section .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(253, 113, 90, 0.15);
}

.faq-section .accordion-body {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* ── Map Section ─────────────────────────────────────────── */
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius-md);
}

/* ── Team Cards ──────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-card .team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--primary-light);
}

.team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .position {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.team-card .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light);
  color: var(--secondary);
  transition: var(--transition);
  margin-top: 12px;
}

.team-card .social-link:hover {
  background: var(--secondary);
  color: var(--white);
}

/* ── Timeline ────────────────────────────────────────────── */
.timeline-custom {
  position: relative;
  padding: 20px 0;
}

.timeline-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--border);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
  z-index: 2;
}

.timeline-item:nth-child(odd)::before {
  right: -8px;
}

.timeline-item:nth-child(even)::before {
  left: -8px;
}

.timeline-item .timeline-year {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.timeline-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── Expertise Grid ──────────────────────────────────────── */
.expertise-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.expertise-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.expertise-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

.expertise-item h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: var(--dark);
}

/* ── Why Service Cards ───────────────────────────────────── */
.why-service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.why-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.why-service-card .why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.why-service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.why-service-card ul {
  list-style: none;
  padding: 0;
}

.why-service-card ul li {
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-service-card ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
  font-size: 0.7rem;
}

/* ── Social Icons ────────────────────────────────────────── */
.social-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  margin-right: 8px;
}

.social-icon-circle:hover {
  background: var(--primary);
  color: var(--white);
}

/* ── Swiper Overrides ────────────────────────────────────── */
.swiper {
  padding-bottom: 50px !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
  width: 44px !important;
  height: 44px !important;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem !important;
  font-weight: 700;
}

/* ── Filter Buttons ──────────────────────────────────────── */
.filter-btn {
  padding: 8px 24px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--dark);
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-section h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  section {
    padding: 60px 0;
  }

  .timeline-custom::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    left: 0 !important;
    text-align: left !important;
  }

  .timeline-item::before {
    left: 12px !important;
    right: auto !important;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .page-header-section h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .whatsapp-button {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-button a {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .back-to-top {
    bottom: 80px;
    right: 24px;
    width: 38px;
    height: 38px;
  }

  .stat-box .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 50px 0;
  }

  .hero-section h1 {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .btn-primary-custom,
  .btn-secondary-custom,
  .btn-outline-custom,
  .btn-outline-white {
    padding: 10px 24px;
    font-size: 0.88rem;
  }
}

/* ── Char Counter ────────────────────────────────────────── */
.char-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

/* ── Privacy Note ────────────────────────────────────────── */
.privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Whatsapp Badge ──────────────────────────────────────── */
.whatsapp-badge-inline {
  display: inline-block;
  background: #25D366;
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 600;
  margin-left: 6px;
}

/* ── Overview Image ──────────────────────────────────────── */
.overview-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.overview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
}

/* ── Project Category Section ────────────────────────────── */
.project-category-section {
  padding: 60px 0;
}

.project-category-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-category-section h3 i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* ── Thumbnail Gallery Grid ────────────────────────────── */
.gallery-grid {
  margin-top: 1rem;
}

.gallery-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: #eee;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 113, 90, 0.0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.thumb-overlay i {
  font-size: 1.6rem;
  color: var(--white);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.gallery-thumb:hover .thumb-overlay {
  background: rgba(253, 113, 90, 0.35);
}

.gallery-thumb:hover .thumb-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* ── Lightbox Overlay ─────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10001;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10001;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.lightboxSwiper {
  width: 90vw;
  height: 85vh;
}

.lightboxSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightboxSwiper .swiper-slide img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 60px rgba(0,0,0,0.5);
}

.lightboxSwiper .swiper-button-next,
.lightboxSwiper .swiper-button-prev {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.lightboxSwiper .swiper-button-next::after,
.lightboxSwiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: 700;
}

.lightboxSwiper .swiper-button-next:hover,
.lightboxSwiper .swiper-button-prev:hover {
  background: var(--primary);
  box-shadow: 0 4px 25px rgba(253,113,90,0.5);
}

@media (max-width: 767px) {
  .lightboxSwiper {
    width: 96vw;
    height: 70vh;
  }
  .lightboxSwiper .swiper-button-next,
  .lightboxSwiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  .lightboxSwiper .swiper-button-next::after,
  .lightboxSwiper .swiper-button-prev::after {
    font-size: 14px;
  }
  .lightbox-close {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
    font-size: 1.1rem;
  }
}
