/* =====================================================================
   SK BALHARA — Legal Services Website
   Single consolidated stylesheet (replaces 6x duplicated per-page CSS)
   ===================================================================== */

/* ---- Reset & base ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
}
:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --light: #f8f9fa;
  --dark: #343a40;
  --text-color: #555;
  --accent: #e74c3c;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { background: #fff; color: var(--text-color); line-height: 1.6; }
section { padding: 80px 5%; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 6%; }

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--secondary); transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); }
.btn2 { display: inline-block; background: transparent; color: var(--primary); padding: 10px 25px; border: 2px solid var(--primary); border-radius: 5px; font-weight: 500; }
.btn2:hover { background: var(--primary); color: white; }

.heading { text-align: center; margin-bottom: 50px; }
.heading span {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.3);
  padding: 6px 18px;
  border-radius: 999px;
}
.heading h3 { font-size: 2.5rem; margin-top: 10px; color: var(--primary); }

/* ---- Header / Nav ---- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44,62,80,0.06);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(44,62,80,0.08);
  z-index: 1000;
}
header.sticky {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(44,62,80,0.12);
}
header.shrink { padding: 12px 0; }
header.shrink .logo img { width: 70px; }
header.shrink .navbar a { padding: 6px 10px; font-size: 0.95rem; }

.appHeader .container { padding: 0 6%; }
.appHeader .header-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.appHeader,
.appHeader.sticky,
.appHeader.shrink { background: #ffffff !important; }

.logo { display: inline-flex; align-items: center; color: var(--primary); line-height: 1; }
.logo img { width: 80px; height: auto; display: block; object-fit: contain; background: transparent; }

.navbar { display: flex; align-items: center; gap: 8px; }
.navbar > a {
  color: var(--text-color);
  font-weight: 600;
  text-transform: capitalize;
  position: relative;
  padding: 8px 12px;
  letter-spacing: 0.01em;
}
.navbar > a:hover { color: var(--secondary); }
.navbar > a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--secondary);
  transform: translateX(-50%);
  transition: width 0.3s ease;
  opacity: 0;
}
.navbar > a:hover::after { width: 70%; opacity: 1; }

.nav-item.dropdown { position: relative; display: flex; align-items: center; }
.dropdown-toggle {
  color: var(--text-color);
  font-weight: 600;
  text-transform: capitalize;
  padding: 8px 0 8px 12px;
  letter-spacing: 0.01em;
}
.dropdown-toggle:hover { color: var(--secondary); }
.dropdown-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  color: var(--text-color);
  font: inherit;
}
.dropdown-caret:hover { color: var(--secondary); }
.dropdown-caret svg { width: 11px; height: 11px; display: block; transition: transform 0.2s ease; }
.nav-item.dropdown.open .dropdown-caret svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  transform: translateY(6px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(44,62,80,0.18);
  border: 1px solid rgba(44,62,80,0.08);
  padding: 10px;
  min-width: 230px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1002;
}
.nav-item.dropdown.open .dropdown-menu { display: flex; }
.dropdown-menu a { padding: 10px 14px; border-radius: 8px; color: var(--text-color); font-weight: 500; white-space: nowrap; }
.dropdown-menu a:hover { background: rgba(52,152,219,0.1); color: var(--secondary); }
.dropdown-menu .dropdown-all { border-bottom: 1px solid rgba(44,62,80,0.08); margin-bottom: 4px; padding-bottom: 12px; color: var(--secondary); font-weight: 700; }
.dropdown-menu a.current { color: var(--secondary); font-weight: 700; background: rgba(52,152,219,0.08); }

.menubtn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(44,62,80,0.15); align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(44,62,80,0.12); }
.menubtn span { display: block; width: 18px; height: 2px; border-radius: 999px; background: #2c3e50; }
.menubtn span + span { margin-top: 4px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.whatsapp-btn:hover { background: #1ebe5b; transform: translateY(-2px); }

header .btn {
  background: var(--secondary) !important;
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
  border: none;
  letter-spacing: 0.5px;
}
header .btn:hover { background: var(--primary) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(44, 62, 80, 0.25); }

/* ---- Home hero ---- */
.home {
  min-height: 100vh;
  padding: 0;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  position: relative;
  text-align: center;
}
.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-top: 139px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeIn 1.2s ease 0.2s forwards;
}
@keyframes heroFadeIn { to { opacity: 1; transform: none; } }
.hero-banner-bg {
  position: absolute;
  inset: 0;
  background: url('images/Gold Black Elegant Lawyer Presentation.png') center/cover no-repeat;
  animation: kenburns 18s ease-in-out infinite alternate;
  filter: brightness(0.55);
}
@keyframes kenburns {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.08) translateY(-2%); }
}
.hero-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.hero-banner-content { flex: 1 1 480px; text-align: left; }
.hero-eyebrow {
  display: inline-block;
  color: #fff;
  background: rgba(231, 76, 60, 0.18);
  border: 1px solid rgba(231, 76, 60, 0.45);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-banner-content h1 { color: #fff; font-size: 2.6rem; margin-bottom: 18px; text-shadow: 0 2px 12px rgba(44,62,80,0.25); font-weight: 700; line-height: 1.2; }
.hero-banner-content p { color: #f8f9fa; font-size: 1.15rem; max-width: 520px; margin: 0 0 28px; text-shadow: 0 2px 8px rgba(44,62,80,0.18); font-weight: 500; }
.hero-banner-content .buttons { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }
.hero-banner-content .btn, .hero-banner-content .btn2 {
  background: #e74c3c !important;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 13px 30px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(44,62,80,0.18);
}
.hero-banner-content .btn2 { background: rgba(44,62,80,0.85) !important; }
.hero-banner-content .btn:hover, .hero-banner-content .btn2:hover { background: #3498db !important; transform: translateY(-2px) scale(1.03); }
.hero-trust { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust-item { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid rgba(231, 76, 60, 0.7); }
.hero-trust-item strong { font-size: 1.6rem; color: #fff; line-height: 1.1; }
.hero-trust-item span { font-size: 0.82rem; color: rgba(248, 249, 250, 0.85); margin-top: 4px; }
.hero-banner-photo { flex: 0 0 auto; display: flex; justify-content: center; align-items: center; }
.hero-photo-frame {
  position: relative;
  width: 300px;
  max-width: 78vw;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}
.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.35), transparent 70%);
  z-index: -1;
  filter: blur(10px);
}
.hero-photo-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }

/* ---- About ---- */
.about { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; justify-content: center; text-align: center; }
.about .image { flex: 1; min-width: 300px; }
.about .image img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.about .content { flex: 1; min-width: 300px; text-align: left; }
.about .content span { font-size: 1.2rem; color: var(--secondary); font-weight: 500; }
.about .content h1, .about .content h2 { font-size: 2.5rem; color: var(--primary); margin: 10px 0 20px; }
.about .content p { margin-bottom: 20px; }
.about .award { display: flex; gap: 30px; margin: 30px 0; flex-wrap: wrap; justify-content: center; }
.about .award .box { text-align: center; }
.about .award .box h3 { font-size: 2rem; color: var(--secondary); }
.about-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.about-grid .image { flex: 1; min-width: 300px; max-width: 460px; display: flex; justify-content: center; }
.about-grid .image img { width: 100%; max-width: 420px; border-radius: 16px; box-shadow: 0 15px 40px rgba(44,62,80,0.18); }
.about-grid .content { flex: 1.4; min-width: 280px; max-width: 620px; text-align: left; }

/* ---- Services ---- */
.services { background: #f8f9fa; text-align: center; }
.services .box-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; justify-items: center; align-items: stretch; width: 100%; margin: 0 auto; max-width: 1200px; }
.services .box {
  background: #fff;
  border-radius: 14px;
  padding: 38px 26px 28px 26px;
  box-shadow: 0 10px 26px rgba(44,62,80,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 410px;
  width: 100%;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: box-shadow 0.25s ease, transform 0.25s ease, opacity 0.7s, filter 0.25s ease, border-color 0.25s ease;
  border: 1px solid rgba(44,62,80,0.10);
  overflow: hidden;
}
.services .box.visible { opacity: 1; transform: none; }
.services .box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--secondary), rgba(52,152,219,0.55)); }
.services .box::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 260px at 18% 6%, rgba(52,152,219,0.10), transparent 60%); opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.services .box:hover { box-shadow: 0 18px 48px rgba(44,62,80,0.14); transform: translateY(-8px); z-index: 2; filter: brightness(1.04) drop-shadow(0 8px 32px rgba(44,62,80,0.16)); border-color: rgba(52,152,219,0.35); }
.services .box:hover::after { opacity: 1; }
.services .service-icon { width: 68px; height: 68px; margin-bottom: 16px; border-radius: 18px; display: grid; place-items: center; color: var(--primary); background: rgba(52,152,219,0.12); box-shadow: 0 10px 22px rgba(44,62,80,0.10); border: 1px solid rgba(52,152,219,0.22); position: relative; z-index: 1; }
.services .service-icon svg { width: 32px; height: 32px; display: block; }
.services .box:hover .service-icon { transform: scale(1.06) rotate(-2deg); filter: brightness(1.06); }
.services .box h1 { font-size: 1.3rem; color: var(--primary); margin-bottom: 10px; font-weight: 650; letter-spacing: 0.01em; position: relative; z-index: 1; }
.services .box h1 span { color: var(--secondary); font-size: 2rem; font-weight: 700; }
.services .box p { font-size: 1.03rem; margin-bottom: 20px; color: var(--text-color); min-height: 56px; position: relative; z-index: 1; }
.services .box .btn { background: var(--primary) !important; color: #fff !important; border-radius: 10px; padding: 11px 28px; font-size: 1rem; font-weight: 600; box-shadow: 0 10px 22px rgba(44,62,80,0.14); margin-top: auto; position: relative; z-index: 1; }
.services .box .btn:hover { background: var(--secondary) !important; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(44,62,80,0.18); }

/* ---- Testimonials carousel ---- */
.testimonials .heading span {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  background: none;
  border: none;
  padding: 0;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto 8px;
}
.carousel { position: relative; max-width: 100%; margin: 0 auto; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(.77,0,.18,1); gap: 24px; scroll-behavior: smooth; }
.carousel-slide { min-width: 25%; box-sizing: border-box; padding: 0 10px; display: flex; justify-content: center; scroll-snap-align: start; }
.carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.carousel-dot { width: 12px; height: 12px; border-radius: 50%; background: #ccc; border: none; cursor: pointer; }
.carousel-dot.active { background: var(--secondary); }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(44,62,80,0.85); color: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; z-index: 2; opacity: 0.85; }
.carousel-arrow:hover { background: var(--secondary); opacity: 1; }
.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }
.blog-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 16px rgba(44,62,80,0.08); padding: 24px 18px 18px 18px; display: flex; flex-direction: column; align-items: flex-start; min-width: 220px; max-width: 340px; margin: 0 auto; height: 100%; }
.blog-card:hover { box-shadow: 0 8px 32px rgba(44,62,80,0.16); transform: translateY(-6px) scale(1.03); }
.blog-card h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 10px; font-weight: 600; }
.blog-card p { font-size: 0.98rem; color: var(--text-color); margin-bottom: 14px; }

/* ---- FAQ ---- */
.faq { background: #f8f9fa; text-align: center; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); overflow: hidden; }
.faq-question { padding: 25px 30px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; font-weight: 600; color: var(--primary); border: none; background: none; width: 100%; text-align: left; }
.faq-question:hover { background: rgba(52, 152, 219, 0.05); }
.faq-icon { font-size: 1.5rem; color: var(--secondary); transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 30px; color: var(--text-color); line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 30px 25px 30px; }

/* ---- Contact form (home + shared with inner pages) ---- */
.contact { background: #f8f9fa; text-align: center; }
.contact form { max-width: 800px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
  text-align: left;
}
.contact-grid form { max-width: none; margin: 0; }
.contact-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  min-height: 420px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-map-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(44,62,80,0.92);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.95rem;
}
.box, textarea.box, input.box, select.box {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
textarea.box { height: 150px; resize: vertical; }
.box:focus, textarea.box:focus { border-color: var(--secondary); outline: none; box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.contact-form-msg { display: none; margin: -8px 0 18px; padding: 12px 16px; border-radius: 6px; font-size: 0.95rem; font-weight: 500; text-align: left; }
.contact-form-msg.success { display: block; background: rgba(46, 204, 113, 0.12); color: #1e8449; border: 1px solid rgba(46, 204, 113, 0.35); }
.contact-form-msg.error { display: block; background: rgba(231, 76, 60, 0.12); color: #c0392b; border: 1px solid rgba(231, 76, 60, 0.35); }

/* ---- Inner page hero (service pages) ---- */
.service-hero {
  position: relative;
  min-height: 52vh;
  padding: 150px 5% 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
}
.service-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,22,30,0.88), rgba(44,62,80,0.72)); }
.service-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.service-hero h1 { font-size: 2.8rem; color: #fff; margin-bottom: 18px; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.service-hero p { font-size: 1.15rem; color: #f1f3f5; max-width: 720px; margin: 0 auto 28px; text-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.service-hero .buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.service-hero .btn, .service-hero .btn2 { background: #e74c3c !important; color: #fff !important; border: none; padding: 13px 30px; font-size: 1.02rem; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.service-hero .btn2 { background: rgba(255,255,255,0.14) !important; border: 1px solid rgba(255,255,255,0.4); }
.service-hero .btn:hover, .service-hero .btn2:hover { background: var(--secondary) !important; transform: translateY(-2px); }

.page-arbitration .service-hero { background-image: url('images/gavel-with-books-old-wooden-desk.jpg'); }
.page-civil-matters .service-hero { background-image: url('images/closeup-shot-person-holding-gavel-tabl.jpg'); }
.page-commercial-law .service-hero { background-image: url('images/FullSizeRender.jpg'); }
.page-criminal-law .service-hero { background-image: url('images/frame-with-book-handcuffs-copy-space.jpg'); }
.page-family-dispute .service-hero { background-image: url('images/home.jpg'); }
.page-land-dispute .service-hero { background-image: url('images/Gold Black Elegant Lawyer Presentation.png'); }

.service-details { background: #fff; }
.details-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
.service-info h2 { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }
.service-info h3 { font-size: 1.5rem; color: var(--secondary); margin: 30px 0 15px; }
.service-info ul { list-style: none; padding: 0; }
.service-info ul li { padding: 10px 0; border-bottom: 1px solid #eee; position: relative; padding-left: 25px; }
.service-info ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--secondary); font-weight: bold; font-size: 1.2rem; }
.service-info p { margin-bottom: 20px; }

.form-container { background: #f8f9fa; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); position: sticky; top: 110px; }
.form-container h3 { color: var(--primary); margin-bottom: 8px; text-align: center; font-size: 1.6rem; }
.form-container .form-subtitle { text-align: center; color: var(--secondary); font-weight: 600; margin-bottom: 24px; font-size: 0.95rem; }
.form-container form .box { margin-bottom: 16px; }
.submit-btn { width: 100%; padding: 15px; font-size: 1.1rem; }
.box[readonly] { background: #e9ecef; cursor: not-allowed; color: var(--text-color); }

.field-label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--primary); font-size: 0.9rem; }

.file-upload { position: relative; display: inline-block; width: 100%; margin-bottom: 16px; }
.file-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.file-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 2px dashed var(--secondary);
  border-radius: 8px;
  background: #fff;
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.92rem;
  text-align: center;
}
.file-upload-btn:hover { background: rgba(52, 152, 219, 0.08); }
.file-upload-hint { display: block; color: #888; font-size: 0.82rem; margin: -10px 0 16px; }

.why-choose { background: #f8f9fa; text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.feature-box { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.feature-box h4 { color: var(--primary); margin-bottom: 15px; font-size: 1.3rem; }

/* ---- Footer ---- */
.footer {
  background: linear-gradient(135deg, #1a2332 0%, #2c3e50 50%, #34495e 100%);
  color: #fff;
  padding: 80px 6% 50px 6%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  border-top: 3px solid var(--secondary);
  position: relative;
  overflow: hidden;
  text-align: left;
}
.footer::before { content: ""; position: absolute; top: 0; left: -50%; width: 200%; height: 100%; background: radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%); pointer-events: none; }
.footer-col { flex: 1; min-width: 260px; padding: 0 3%; position: relative; z-index: 1; }
.footer-col h3 { font-size: 1.5rem; margin-bottom: 24px; color: #fff; letter-spacing: 0.02em; font-weight: 700; position: relative; padding-bottom: 12px; }
.footer-col h3::after { content: ""; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: var(--secondary); border-radius: 2px; }
.footer-col p { margin-bottom: 24px; line-height: 1.7; color: rgba(255,255,255,0.88); max-width: 520px; font-size: 1rem; }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; color: #fff; position: relative; overflow: hidden; }
.social-links a:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3); }
.footer-links a { display: block; color: rgba(255,255,255,0.82); margin-bottom: 14px; font-weight: 500; font-size: 1rem; }
.footer-links a:hover { color: var(--secondary); transform: translateX(6px); display: inline-block; }
.contact-info { list-style: none; }
.contact-info li { display: flex; align-items: center; margin-bottom: 16px; color: rgba(255,255,255,0.82); font-size: 1rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.contact-info li:last-child { border-bottom: none; }
.contact-info li:hover { color: var(--secondary); transform: translateX(4px); }
.contact-info li img { width: 22px; margin-right: 12px; filter: invert(1); }
.contact-info li a { color: inherit; }
.copy {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #0f1921 0%, #1a2332 100%);
  color: rgba(255,255,255,0.78);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}
.copy a { color: rgba(255,255,255,0.9); font-weight: 600; }
.copy a:hover { color: var(--secondary); }
.copy img { vertical-align: middle; margin-left: 0px; }

/* ---- Back to top ---- */
.gotop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
}
.gotop:hover { background: var(--secondary); transform: translateY(-5px); }
.gotop img { width: 20px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 991px) {
  .appHeader .container { padding: 0 3%; }
  .appHeader .header-inner { gap: 16px; }
  .appHeader .menubtn {
    display: inline-flex;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 32px;
    height: 24px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .appHeader .menubtn span { width: 24px; height: 2px; margin: 0; }
  header .btn { display: none; }
  .navbar {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    box-shadow: 0 8px 32px rgba(44,62,80,0.12);
    z-index: 1001;
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(44,62,80,0.08);
    border-top: none;
  }
  .navbar.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .navbar > a { margin: 6px 0; font-size: 1.1rem; padding: 12px 0; }
  .nav-item.dropdown { width: 100%; justify-content: space-between; }
  .dropdown-toggle { flex: 1; }
  .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; background: rgba(52,152,219,0.06); margin-top: 4px; width: 100%; min-width: 0; }

  .hero-banner-inner { flex-direction: column-reverse; gap: 30px; padding: 20px 6%; }
  .hero-banner-content { text-align: center; }
  .hero-banner-content h1, .hero-banner-content p { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-banner-content .buttons, .hero-trust { justify-content: center; }
  .hero-trust-item { text-align: left; }
  .hero-photo-frame { width: 230px; }

  .about, .about-grid { flex-direction: column; gap: 24px; }
  .about .content, .about-grid .content { text-align: center; max-width: 100%; }
  .about .image, .about .image img, .about-grid .image, .about-grid .image img { max-width: 100%; }

  .services .box-container { grid-template-columns: 1fr 1fr; gap: 16px; }

  .details-container { grid-template-columns: 1fr; gap: 30px; }
  .form-container { position: static; padding: 25px; }
  .service-hero h1 { font-size: 2.2rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-map, .contact-map iframe { min-height: 280px; }

  .footer { flex-direction: column; gap: 18px; padding: 44px 0 32px 0; }
  .footer-col { min-width: 0; width: 100%; padding: 0 6%; }
}

@media (max-width: 600px) {
  .appHeader .container { padding: 0 4%; }
  .logo img { width: 78px; }
  .services .box-container { grid-template-columns: 1fr; gap: 12px; }
  .services .box { padding: 26px 14px 20px 14px; }

  .hero-banner-content h1 { font-size: 1.6rem; }
  .hero-banner-content p { font-size: 1rem; }
  .hero-banner-content .btn, .hero-banner-content .btn2 { padding: 10px 18px; font-size: 1rem; }
  .hero-photo-frame { width: 175px; }
  .hero-trust { gap: 16px; margin-top: 26px; }
  .hero-trust-item strong { font-size: 1.25rem; }
  .hero-trust-item { padding-left: 12px; }
  .hero-eyebrow { font-size: 0.72rem; padding: 5px 14px; margin-bottom: 14px; }

  .service-hero { padding: 110px 6% 40px; min-height: 42vh; }
  .service-hero h1 { font-size: 1.6rem; }
  .service-hero p { font-size: 1rem; }
  .form-container { padding: 20px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }

  .blog-img { height: 90px; }
  .footer { padding: 40px 4% 24px 4%; }
  .footer-col { text-align: center; padding: 0 2%; }
  .footer-col h3::after { left: 50%; transform: translateX(-50%); }
  .social-links { justify-content: center; }
  .gotop { width: 42px; height: 42px; bottom: 20px; right: 20px; }
}

@media (max-width: 400px) {
  .hero-banner-content h1 { font-size: 1.3rem; }
  .about .content h1, .about .content h2 { font-size: 1.3rem; }
  .service-hero h1 { font-size: 1.35rem; }
}

/* Testimonials: touch scroll on mobile */
@media (max-width: 991px) {
  .carousel { overflow: visible; }
  .carousel-track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 14px; padding: 0 6px 8px 6px; }
  .carousel-track::-webkit-scrollbar { height: 6px; }
  .carousel-track::-webkit-scrollbar-thumb { background: rgba(44,62,80,0.25); border-radius: 999px; }
  .carousel-slide { min-width: 86%; padding: 0; }
  .carousel-arrow { display: none; }
}
@media (max-width: 600px) {
  .carousel-arrow { width: 32px; height: 32px; font-size: 1.1rem; }
}
