/* =============================================
   Shree Krishna Granites — Modern Home UI
   2026 redesign
============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #070d1a;
  color: #e5e7eb;
  line-height: 1.6;
}

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

a { text-decoration: none; color: inherit; }

/* ---- Shared Buttons ---- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #b68b2c, #d4af37);
  color: #111827;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(212,175,55,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(212,175,55,0.5);
}

.btn-outline {
  display: inline-block;
  border: 2px solid #d4af37;
  color: #f8e5ad;
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover {
  background: #d4af37;
  color: #111827;
}

/* ---- Section shared ---- */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: #f0d98a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  color: #f8fafc;
  margin-bottom: 12px;
}

.section-head p {
  font-size: 16px;
  color: #9ca3af;
  max-width: 580px;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* =============================================
   TOP BAR
============================================= */
.topbar {
  background: #0f172a;
  padding: 8px 0;
  font-size: 13px;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-left { display: flex; gap: 20px; color: #94a3b8; }
.topbar-left a { color: #94a3b8; }
.topbar-left a:hover { color: #fff; }
.topbar-right { display: flex; gap: 16px; }
.topbar-right a { color: #94a3b8; font-weight: 500; }
.topbar-right a:hover { color: #fff; }

/* =============================================
   HEADER
============================================= */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(15,23,42,0.10);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo-wrap {
  flex: 0 0 auto;
  min-width: 320px;
  display: flex;
  align-items: center;
}

.logo-wrap a {
  display: inline-flex;
  align-items: center;
}

.logo-wrap img {
  height: 64px !important;
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.main-nav a {
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  background: #eff6ff;
  color: #2563eb;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #1e293b;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 10px 20px 16px;
}
.mobile-nav a {
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-nav.open { display: flex; }

/* =============================================
   HERO
============================================= */
.hero-section {
  position: relative;
  background: #0f172a;
  overflow: hidden;
  min-height: 420px;
}

.hero-slider { position: relative; z-index: 1; }
.hero-slider .flex-control-nav,
.hero-slider .flex-pauseplay,
.hero-slider .flex-direction-nav {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Custom left/right slide arrows — icon only, no background */
.hero-section .hero-arrow {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  pointer-events: auto;
  width: auto;
  height: auto;
  padding: 4px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.hero-section .hero-arrow:hover {
  background: transparent;
  color: #f5c842;
  transform: translateY(-50%) scale(1.12);
  opacity: 1;
}

.hero-section .hero-arrow-prev { left: 20px; }
.hero-section .hero-arrow-next { right: 20px; }

@media (max-width: 768px) {
  .hero-section .hero-arrow {
    font-size: 26px;
    padding: 4px;
  }
  .hero-section .hero-arrow-prev { left: 10px; }
  .hero-section .hero-arrow-next { right: 10px; }
}

.hero-slider .slides li img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  opacity: 0.55;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  text-align: center;
  color: #fff;
  pointer-events: all;
  padding: 20px;
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  background: rgba(37,99,235,0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   STATS BAR
============================================= */
.stats-bar {
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.2), transparent 50%), linear-gradient(135deg, #0b1220, #111a2e);
  padding: 36px 20px;
}

.partners-section {
  background: #0b1220;
  padding: 56px 20px 30px;
  text-align: center;
}

.partners-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #f8fafc;
  font-size: 34px;
  margin: 10px 0 22px;
}

.partners-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.partner-pill {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: #f0d98a;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item { color: #fff; }

.stat-num {
  font-size: 46px;
  font-weight: 700;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1;
  display: inline;
}
.stat-plus {
  font-size: 30px;
  font-weight: 700;
  display: inline;
  vertical-align: top;
  margin-top: 8px;
  opacity: 0.85;
}
.stat-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* =============================================
   WELCOME SECTION
============================================= */
.welcome-section {
  padding: 80px 20px;
  background: #0b1220;
}

.welcome-text .section-tag { margin-bottom: 10px; }

.welcome-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  color: #f8fafc;
  margin-bottom: 18px;
  line-height: 1.25;
}

.welcome-text p {
  font-size: 15px;
  color: #cbd5e1;
  margin-bottom: 14px;
  line-height: 1.8;
}

.welcome-text .btn-primary {
  display: inline-block;
  margin-top: 16px;
  margin-left: 0;
  margin-right: auto;
}

.welcome-img {
  position: relative;
}
.welcome-img img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.15);
  object-fit: cover;
  height: 420px;
}
.welcome-badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background: linear-gradient(135deg, #1e3a6e, #2563eb);
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
  font-weight: 700;
}
.welcome-badge span { font-size: 18px; }
.welcome-badge small { font-size: 11px; opacity: 0.9; }

/* =============================================
   FEATURES / WHY CHOOSE US
============================================= */
.features-section {
  padding: 80px 20px;
  background: #070d1a;
}

.services-section {
  padding: 72px 20px;
  background: linear-gradient(180deg, #f4f7fd 0%, #eef3fb 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #d7e0ef;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(31, 63, 122, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1f3f7a, #d59b2d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 63, 122, 0.3);
  box-shadow: 0 16px 32px rgba(31, 63, 122, 0.14);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 0;
  background: rgba(31, 63, 122, 0.1);
  color: #1f3f7a;
  flex: 0 0 auto;
}

.service-card h3 {
  color: var(--kg-blue-dark);
  margin-bottom: 0;
  font-size: 19px;
  font-weight: bold;
  text-align: start;
}

.service-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

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

.feature-card {
  background: #111a2e;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(15,23,42,0.07);
  border: 1px solid rgba(212, 175, 55, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.12);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1px solid rgba(31, 63, 122, 0.25);
  background: rgba(31, 63, 122, 0.06);
  color: #1f3f7a;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.feature-icon i {
  font-size: 18px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
}

/* =============================================
   PRODUCTS PREVIEW
============================================= */
.products-section {
  padding: 80px 20px 36px;
  background: #0b1220;
}

.products-section-cta {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 0;
}

.category-section {
  padding: 72px 20px;
  background: #070d1a;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-card {
  display: block;
  background: #111a2e;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  padding: 20px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.category-card span {
  display: block;
  color: #f8fafc;
  font-size: 22px;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 6px;
}

.category-card small {
  color: #94a3b8;
  font-size: 13px;
}

.gallery-section {
  padding: 48px 20px 72px;
  background: #ffffff;
}

/* Less gap between products CTA and gallery */
.products-section + .gallery-section {
  padding-top: 40px;
}

body.cms-home .products-section {
  padding-bottom: 28px;
}

body.cms-home .gallery-section {
  padding-top: 40px;
}

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

.gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dce3f0;
  box-shadow: 0 8px 16px rgba(31, 63, 122, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: #111a2e;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15,23,42,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(212, 175, 55, 0.18);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(15,23,42,0.14);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay a {
  border: 2px solid #fff;
  color: #fff;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}
.product-overlay a:hover {
  background: #fff;
  color: #1e3a6e;
}

.product-info {
  padding: 16px;
}
.product-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
}
.product-info p {
  font-size: 13px;
  color: #94a3b8;
}

/* =============================================
   CTA BANNER
============================================= */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a6e 50%, #2563eb 100%);
  padding: 64px 20px;
}
.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 10px;
}
.cta-text p {
  font-size: 16px;
  color: #bfdbfe;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-cta-white {
  display: inline-block;
  background: #fff;
  color: #1e3a6e;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255,255,255,0.25);
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.35);
}

.btn-cta-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}
.btn-cta-outline:hover {
  background: #fff;
  color: #1e3a6e;
}

/* =============================================
   CONTACT SECTION
============================================= */
.contact-section {
  padding: 80px 20px;
  background: #070d1a;
}

.testimonial-section {
  padding: 64px 20px 32px;
  background: linear-gradient(180deg, #0f1a31 0%, #111d38 100%);
}

.testimonial-section .section-head h2 {
  color: #ffffff;
}

.testimonial-section .section-head p {
  color: #cbd5e1;
}

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

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #dce3f0;
  box-shadow: 0 12px 28px rgba(31, 63, 122, 0.12);
  background: #ffffff;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-card {
  min-width: 100%;
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding: 42px 64px 34px;
  position: relative;
}

.testimonial-card:before {
  content: "\201C";
  position: absolute;
  left: 28px;
  top: 18px;
  font-size: 64px;
  line-height: 1;
  color: rgba(213, 155, 45, 0.32);
  font-family: Georgia, serif;
}

.testimonial-card p {
  color: #334155;
  line-height: 1.9;
  font-size: 17px;
  margin-bottom: 16px;
  max-width: 900px;
}

.testimonial-card h4 {
  color: #1f3f7a;
  font-size: 18px;
  margin-bottom: 4px;
}

.testimonial-card small {
  color: #64748b;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: #1f3f7a;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.testimonial-nav:hover {
  background: #2b57a8;
  transform: translateY(-50%) scale(1.05);
}

.testimonial-nav.prev { left: 14px; }
.testimonial-nav.next { right: 14px; }

.testimonial-dots {
  display: none;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
}

.testimonial-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(31, 63, 122, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.testimonial-dots .dot.active {
  background: #1f3f7a;
  transform: scale(1.15);
}

.process-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #eef3fb 0%, #f8fbff 100%);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1f3f7a, #d59b2d, #1f3f7a);
}

.process-grid-home {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.process-grid-home::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(31, 63, 122, 0.12), rgba(213, 155, 45, 0.45), rgba(31, 63, 122, 0.12));
  z-index: 0;
  pointer-events: none;
}

.process-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid #d8e2f0;
  border-radius: 16px;
  padding: 28px 20px 22px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(31, 63, 122, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #1f3f7a, #d59b2d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 63, 122, 0.25);
  box-shadow: 0 16px 32px rgba(31, 63, 122, 0.14);
}

.process-card:hover::before {
  transform: scaleX(1);
}

.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f3f7a, #2b57a8);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(31, 63, 122, 0.25);
}

.process-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31, 63, 122, 0.08), rgba(213, 155, 45, 0.15));
  color: #1f3f7a;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card h3 {
  color: #1f3f7a;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
}

.process-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.faq-section {
  padding: 40px 20px 72px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.testimonial-section + .faq-section {
  padding-top: 40px;
}

body.cms-home .testimonial-section {
  padding-bottom: 28px;
}

body.cms-home .faq-section {
  padding-top: 40px;
}

.faq-list {
  max-width: 940px;
  margin: 0 auto;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.faq-item {
  border: 1px solid #d5dff0;
  border-radius: 14px;
  padding: 0;
  margin-bottom: 12px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(31, 63, 122, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item summary {
  cursor: pointer;
  color: #1f3f7a;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding: 16px 52px 16px 18px;
  background: #ffffff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 63, 122, 0.08);
  color: #1f3f7a;
  font-size: 18px;
  font-weight: 700;
}

.faq-item[open] {
  border-color: rgba(31, 63, 122, 0.3);
  box-shadow: 0 12px 24px rgba(31, 63, 122, 0.1);
}

.faq-item[open] summary {
  background: rgba(31, 63, 122, 0.05);
}

.faq-item[open] summary::after {
  content: "-";
  background: #1f3f7a;
  color: #ffffff;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: #475569;
  line-height: 1.75;
}

.faq-image-panel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 10px 24px rgba(31, 63, 122, 0.12);
}

.faq-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.faq-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.05), rgba(10, 20, 40, 0.78));
}

.faq-image-overlay h3 {
  font-size: 30px;
  margin-bottom: 8px;
  color: #ffffff;
}

.faq-image-overlay p {
  color: #dbeafe;
  margin-bottom: 14px;
  line-height: 1.7;
}

.blogs-section {
  padding: 72px 20px;
  background: #f3f6fc;
}

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

.blog-card {
  background: #ffffff;
  border: 1px solid #dce3f0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(31, 63, 122, 0.07);
}

.blog-card h3 {
  color: var(--kg-blue-dark);
  font-size: 19px;
  margin-bottom: 10px;
}

.blog-card p {
  color: #475569;
  margin-bottom: 12px;
}

.blog-card a {
  color: var(--kg-blue);
  font-weight: 700;
}

.contact-info .section-tag { margin-bottom: 10px; }

.contact-info h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  color: #f8fafc;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  color: #f0d98a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 15px;
  color: #cbd5e1;
}
.contact-item a { color: #f0d98a; }
.contact-item a:hover { text-decoration: underline; }

.contact-map {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15,23,42,0.12);
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.15fr 1.35fr;
  gap: 32px;
  padding: 52px 40px 36px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.footer-col h4 {
  color: #f0d98a;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
}

.footer-brand-title {
  color: #f0d98a;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-brand-contact {
  margin: 14px 0 16px;
}

.footer-brand-contact.footer-contact-items {
  gap: 16px;
}

.footer-brand a.footer-contact-value {
  color: #d59b2d !important;
}

.footer-about {
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
  color: #94a3b8;
  text-align: left;
}

.footer-col.footer-contact {
  margin-left: -91px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 12px;
  align-items: start;
}

.footer-contact-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: #d59b2d;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.footer-contact-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.footer-contact-body {
  display: contents;
}

.footer-contact-label {
  grid-column: 2;
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 3px;
  letter-spacing: 0.2px;
  line-height: 1.3;
  text-align: left;
}

.footer-contact-value {
  grid-column: 2;
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #d59b2d !important;
  font-weight: 500;
  word-break: break-word;
  text-align: left;
}

.footer-contact a.footer-contact-value {
  color: #d59b2d !important;
  text-decoration: none;
}

.footer-contact a.footer-contact-value:hover {
  color: #f0d48d !important;
}

.footer-contact span.footer-contact-value {
  color: #d59b2d !important;
}

.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links ul li a:hover { color: #fff; }

.footer-inquiry-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c2861f, #d59b2d);
  color: #1b2740 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-inquiry-btn:hover {
  filter: brightness(1.08);
  color: #1b2740 !important;
}

.footer-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-col ul {
  list-style: none;
  text-align: left;
  margin: 0;
  padding: 0;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-links a {
  color: inherit;
}
.footer-col:not(.footer-contact) a { color: #60a5fa; }
.footer-col:not(.footer-contact) a:hover { color: #93c5fd; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #ffffff;
}

.footer-bottom p {
  margin: 0;
  color: #ffffff;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 40px 24px 28px;
  }

  .footer-col.footer-contact {
    margin-left: 0;
  }

  .footer-map-col {
    grid-column: 1 / -1;
  }

  .footer-map iframe {
    height: 220px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .process-grid-home,
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid-home::before {
    display: none;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .logo-wrap {
    min-width: auto;
    max-width: 78%;
  }
  .logo-wrap img {
    height: 52px !important;
  }

  .hero-content h1 { font-size: 34px; }
  .hero-sub { font-size: 15px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 36px; }

  .two-col { grid-template-columns: 1fr; gap: 32px; }

  .welcome-img img { height: 280px; }
  .welcome-badge { display: none; }

  .section-head h2,
  .welcome-text h2,
  .contact-info h2,
  .cta-text h2 { font-size: 26px; }

  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .process-grid-home { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .blogs-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 34px 20px 28px; }
  .testimonial-card:before { left: 16px; top: 10px; font-size: 46px; }
  .testimonial-card p { font-size: 15px; }
  .testimonial-nav { width: 38px; height: 38px; }
  .testimonial-nav.prev { left: 8px; }
  .testimonial-nav.next { right: 8px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-image-panel { min-height: 280px; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 28px;
  }

  .topbar-left,
  .topbar-right { font-size: 12px; gap: 10px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}

/* Final refinement pass */
.hero-content {
  animation: fadeUp 0.55s ease both;
}

.feature-card,
.product-card,
.contact-map {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.product-card:hover,
.contact-map:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.welcome-section,
.features-section,
.products-section,
.contact-section {
  position: relative;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FINAL HOME REDESIGN - LOGO BASED THEME
   Primary: #1f3f7a (logo blue)
   Accent:  #d59b2d (logo gold)
============================================================ */
:root {
  --kg-blue: #1f3f7a;
  --kg-blue-dark: #162d58;
  --kg-gold: #d59b2d;
  --kg-gold-soft: #f0d48d;
  --kg-bg: #f6f8fc;
  --kg-text: #1f2937;
}

body.cms-home {
  background: var(--kg-bg);
  color: var(--kg-text);
}

body.cms-home .site-header {
  background: #ffffff;
  border-bottom: 1px solid #dbe2ef;
  box-shadow: 0 8px 22px rgba(31, 63, 122, 0.12);
}

body.cms-home .main-nav a {
  color: var(--kg-blue-dark);
}

body.cms-home .main-nav a:hover,
body.cms-home .main-nav a.active {
  background: rgba(31, 63, 122, 0.08);
  color: var(--kg-blue);
}

body.cms-home .main-nav a::after {
  background: var(--kg-gold);
}

body.cms-home .hero-section {
  min-height: 600px;
  background: linear-gradient(135deg, #0c1b37, #1f3f7a);
}

body.cms-home .hero-slider {
  max-width: 1425px;
  margin: 0 auto;
}

body.cms-home .hero-slider .slides li img {
  width: 100%;
  height: 600px;
  max-height: 600px;
  opacity: 0.38;
  object-fit: cover;
}

body.cms-home .hero-content h1 {
  font-size: 60px;
  color: #ffffff;
  white-space: nowrap;
}

body.cms-home .hero-content {
  max-width: 1100px;
}

body.cms-home .hero-sub {
  color: #eaf0ff;
  font-size: 19px;
}

body.cms-home .hero-tag {
  background: rgba(213, 155, 45, 0.9);
  color: #1b2740;
}

body.cms-home .btn-primary {
  background: linear-gradient(135deg, #c2861f, #d59b2d);
  color: #1a2236;
  box-shadow: 0 10px 24px rgba(213, 155, 45, 0.35);
}

body.cms-home .btn-primary:hover {
  box-shadow: 0 12px 28px rgba(213, 155, 45, 0.45);
}

body.cms-home .btn-outline {
  border-color: rgba(255, 255, 255, 0.88);
  color: #ffffff;
}

body.cms-home .btn-outline:hover {
  background: #ffffff;
  color: var(--kg-blue-dark);
}

body.cms-home .stats-bar {
  background: linear-gradient(135deg, #1a335f, #254a8f);
  border-top: 3px solid rgba(213, 155, 45, 0.65);
  margin-bottom: 26px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 22px rgba(31, 63, 122, 0.2);
}

body.cms-home .stat-num,
body.cms-home .stat-plus {
  color: #ffffff;
}

body.cms-home .stat-label {
  color: #d9e3ff;
}

body.cms-home .partners-section,
body.cms-home .welcome-section,
body.cms-home .products-section,
body.cms-home .testimonial-section {
  background: #ffffff;
}

body.cms-home .features-section,
body.cms-home .category-section,
body.cms-home .contact-section {
  background: #f3f6fc;
}

body.cms-home .process-section {
  background: linear-gradient(180deg, #eef3fb 0%, #f8fbff 100%);
}

body.cms-home .process-card h3 {
  color: var(--kg-blue-dark);
}

body.cms-home .section-tag {
  background: rgba(31, 63, 122, 0.1);
  color: var(--kg-blue);
}

body.cms-home .section-head h2,
body.cms-home .welcome-text h2,
body.cms-home .contact-info h2,
body.cms-home .partners-section h2 {
  color: var(--kg-blue-dark);
}

body.cms-home .section-head p,
body.cms-home .welcome-text p,
body.cms-home .contact-item p,
body.cms-home .testimonial-card p {
  color: #4b5563;
}

body.cms-home .welcome-text p {
  text-align: justify;
  text-align-last: left;
}

body.cms-home .welcome-text {
  text-align: left !important;
}

body.cms-home .welcome-text .btn-primary {
  display: inline-block;
  margin-left: 0 !important;
  margin-right: auto !important;
}

body.cms-home .feature-card,
body.cms-home .product-card,
body.cms-home .category-card,
body.cms-home .testimonial-card {
  background: #ffffff;
  border: 1px solid #dce3f0;
  box-shadow: 0 8px 20px rgba(31, 63, 122, 0.08);
}

body.cms-home .feature-card h3,
body.cms-home .product-info h4,
body.cms-home .category-card span,
body.cms-home .testimonial-card h4 {
  color: var(--kg-blue-dark);
}

body.cms-home .feature-icon,
body.cms-home .contact-icon {
  color: var(--kg-gold);
}

body.cms-home .partner-pill {
  background: rgba(31, 63, 122, 0.07);
  border: 1px solid rgba(31, 63, 122, 0.18);
  color: var(--kg-blue);
}

body.cms-home .cta-section {
  background: linear-gradient(135deg, #1b3464, #1f3f7a);
}

body.cms-home .btn-cta-white {
  background: var(--kg-gold);
  color: #1f2a44;
  box-shadow: 0 8px 24px rgba(213, 155, 45, 0.35);
}

body.cms-home .btn-cta-outline {
  border-color: rgba(240, 212, 141, 0.8);
  color: var(--kg-gold-soft);
}

body.cms-home .btn-cta-outline:hover {
  background: var(--kg-gold);
  color: #1f2a44;
}

body.cms-home .contact-map {
  box-shadow: 0 12px 30px rgba(31, 63, 122, 0.16);
}

@media (max-width: 768px) {
  body.cms-home .hero-content h1 {
    font-size: 38px;
    white-space: normal;
  }

  body.cms-home .hero-sub {
    font-size: 16px;
  }

  body.cms-home .hero-section {
    min-height: 430px;
  }

  body.cms-home .hero-slider .slides li img {
    height: 430px;
    max-height: 430px;
  }
}
