/* ==========================================================================
   JMBL Best House Lifting India - Stylesheet
   Color theme matches the JMBL logo (vibrant blue + orange)
   ========================================================================== */

:root {
  --primary: #1e73be;
  --primary-dark: #0d2c54;
  --accent: #f7941d;
  --accent-dark: #d97a06;
  --light: #f8f9fa;
  --dark: #1a1a1a;
  --gray: #6c757d;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(13, 44, 84, 0.08);
  --shadow-lg: 0 16px 40px rgba(13, 44, 84, 0.15);
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  color: #333;
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
}

a { text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

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

.btn-primary-custom {
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 14px;
}
.btn-primary-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 30px;
  border: 2px solid var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 14px;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--accent); }
.top-bar .top-info span { margin-right: 20px; }
.top-bar .top-info i { color: var(--accent); margin-right: 6px; }
.top-bar .top-social a { margin-left: 12px; font-size: 15px; }

/* ===== NAVBAR ===== */
.navbar-custom {
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-custom .navbar-brand img { max-height: 60px; }
.navbar-custom .nav-link {
  color: var(--primary-dark) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  padding: 10px 14px !important;
  position: relative;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--accent) !important;
}
.navbar-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ===== HERO SLIDER ===== */
.hero-slider .carousel-item {
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slider .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,44,84,0.85) 0%, rgba(13,44,84,0.4) 100%);
}
.hero-slider .carousel-caption {
  text-align: left;
  left: 8%;
  right: 8%;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}
.hero-slider .hero-subtitle {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 10px;
}
.hero-slider h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-slider p.lead {
  color: #f0f0f0;
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 30px;
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 5%;
  opacity: 0.7;
}

/* ===== PAGE BANNER (inner pages) ===== */
.page-banner {
  background: linear-gradient(rgba(13,44,84,0.85), rgba(13,44,84,0.85)),
              url('../../images/hero1.jpeg') center/cover no-repeat;
  padding: 100px 0;
  text-align: center;
  color: #fff;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}
.page-banner .breadcrumb-nav a { color: var(--accent); }
.page-banner .breadcrumb-nav { color: #fff; }

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}
.section-sm { padding: 50px 0; }
.section-bg { background: var(--light); }
.section-dark { background: var(--primary-dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title .subtitle {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  display: block;
  margin-bottom: 10px;
}
.section-title h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}
.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  margin-bottom: 30px;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card .service-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.service-card .service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,44,84,0.6) 0%, transparent 50%);
}
.service-card .service-icon {
  position: absolute;
  bottom: -25px;
  left: 25px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 2;
  box-shadow: var(--shadow);
}
.service-card .service-body {
  padding: 40px 25px 25px;
}
.service-card h4 {
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 20px;
}
.service-card p {
  color: var(--gray);
  margin-bottom: 18px;
  font-size: 15px;
}
.service-card .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}
.service-card .read-more i { margin-left: 5px; transition: var(--transition); }
.service-card .read-more:hover { color: var(--accent); }
.service-card .read-more:hover i { transform: translateX(5px); }

/* ===== ABOUT SECTION ===== */
.about-img-wrap {
  position: relative;
  padding-right: 30px;
  padding-bottom: 30px;
}
.about-img-wrap img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap .experience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  padding: 25px 35px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-img-wrap .experience-badge .num {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.about-img-wrap .experience-badge .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 20px;
}
.about-content .subtitle {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  display: block;
  margin-bottom: 10px;
}
.about-features { list-style: none; padding: 0; margin: 25px 0; }
.about-features li {
  padding: 8px 0 8px 32px;
  position: relative;
  font-weight: 500;
}
.about-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  text-align: center;
  line-height: 22px;
  font-weight: 700;
}

/* ===== COUNTERS ===== */
.counter-section {
  background: linear-gradient(rgba(13,44,84,0.92), rgba(13,44,84,0.92)),
              url('../../images/hero2.jpeg') center/cover fixed no-repeat;
  padding: 70px 0;
  color: #fff;
}
.counter-box { text-align: center; padding: 20px; }
.counter-box .icon {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 26px;
}
.counter-box .num {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.counter-box .label {
  color: #ddd;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  margin-top: 8px;
}

/* ===== WHY CHOOSE US ===== */
.feature-box {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.feature-box .feature-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.feature-box h5 { margin-bottom: 8px; color: var(--primary-dark); }
.feature-box p { color: var(--gray); margin-bottom: 0; font-size: 15px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 60px 0;
  border-radius: 12px;
}
.cta-banner h3 { color: #fff; font-size: 28px; margin-bottom: 5px; }
.cta-banner p { margin-bottom: 0; opacity: 0.9; }

/* ===== GALLERY ===== */
.gallery-grid .gallery-item {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 24px;
  position: relative;
}
.gallery-grid .gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid .gallery-item:hover img { transform: scale(1.08); }
.gallery-grid .gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  background: rgba(13,44,84,0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  opacity: 0;
  transition: var(--transition);
}
.gallery-grid .gallery-item:hover::after { opacity: 1; }

/* ===== CONTACT ===== */
.contact-info-box {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  height: 100%;
  margin-bottom: 24px;
  transition: var(--transition);
}
.contact-info-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-info-box .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.contact-info-box h5 { color: var(--primary-dark); margin-bottom: 10px; }
.contact-info-box p, .contact-info-box a {
  color: var(--gray);
  margin: 0;
  font-size: 15px;
  word-break: break-word;
}
.contact-info-box a:hover { color: var(--accent); }

.contact-form-wrap {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.contact-form-wrap .form-control {
  border: 1px solid #e1e6ed;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 18px;
}
.contact-form-wrap .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,115,190,0.1);
}
.contact-form-wrap textarea.form-control { min-height: 140px; resize: vertical; }
.alert-success-custom {
  background: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid #28a745;
  margin-bottom: 20px;
}
.alert-error-custom {
  background: #f8d7da;
  color: #721c24;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid #dc3545;
  margin-bottom: 20px;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  border: none;
  box-shadow: var(--shadow);
}

/* ===== SERVICE DETAIL PAGE ===== */
.service-detail-img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
}
.service-detail h2 { margin-bottom: 20px; }
.service-detail h3 { margin-top: 35px; margin-bottom: 15px; color: var(--primary); font-size: 22px; }
.service-detail .feature-list { list-style: none; padding: 0; }
.service-detail .feature-list li {
  padding: 10px 0 10px 35px;
  position: relative;
  border-bottom: 1px dashed #e1e6ed;
}
.service-detail .feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 18px;
}
.service-detail .feature-list li:last-child { border-bottom: none; }

.sidebar-widget {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.sidebar-widget h5 {
  color: var(--primary-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget ul li {
  padding: 10px 0;
  border-bottom: 1px dashed #e1e6ed;
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a {
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}
.sidebar-widget ul li a::after {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent);
}
.sidebar-widget ul li a:hover { color: var(--accent); padding-left: 5px; }

.contact-widget {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 35px 25px;
  border-radius: 12px;
}
.contact-widget h5 { color: #fff; }
.contact-widget .phone {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin: 15px 0 5px;
}
.contact-widget p { color: rgba(255,255,255,0.85); }

/* ===== TESTIMONIAL ===== */
.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
  margin: 20px 0;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 70px;
  color: var(--accent);
  line-height: 1;
  opacity: 0.3;
  position: absolute;
  top: 10px;
  right: 25px;
}
.testimonial-card p { font-style: italic; color: var(--gray); margin-bottom: 20px; }
.testimonial-card .author { display: flex; align-items: center; gap: 15px; }
.testimonial-card .author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card .author .name { font-weight: 700; color: var(--primary-dark); }
.testimonial-card .author .role { font-size: 13px; color: var(--gray); }
.testimonial-card .stars { color: #ffc107; margin-bottom: 10px; }

/* ===== FOOTER ===== */
.footer {
  background: #0a1f3d;
  color: #cfd6e0;
  padding: 70px 0 0;
}
.footer h5 {
  color: #fff;
  margin-bottom: 22px;
  font-size: 18px;
  position: relative;
  padding-bottom: 12px;
}
.footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.footer p, .footer a { color: #cfd6e0; font-size: 15px; }
.footer a:hover { color: var(--accent); }
.footer .footer-logo { max-height: 70px; background: #fff; padding: 8px 12px; border-radius: 8px; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { padding: 7px 0; }
.footer ul li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 8px;
  color: var(--accent);
}
.footer .contact-list li {
  padding-left: 30px;
  position: relative;
}
.footer .contact-list li i {
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--accent);
}
.footer .social-icons a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: #fff;
  transition: var(--transition);
}
.footer .social-icons a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

/* ===== FLOATING WHATSAPP / CALL ===== */
.floating-btn {
  position: fixed;
  right: 25px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 999;
  transition: var(--transition);
}
.floating-btn:hover { color: #fff; transform: scale(1.1); }
.floating-whatsapp { bottom: 25px; background: #25d366; }
.floating-call { bottom: 90px; background: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .top-bar { text-align: center; font-size: 13px; }
  .top-bar .top-info span { display: inline-block; margin: 3px 8px; }
  .top-bar .top-social { margin-top: 6px; text-align: center; }
  .navbar-custom .nav-link { padding: 10px 0 !important; }
  .navbar-custom .nav-link.active::after { display: none; }
  .hero-slider .carousel-item { height: 60vh; min-height: 400px; }
  .section { padding: 60px 0; }
  .about-img-wrap { padding-right: 0; padding-bottom: 0; margin-bottom: 30px; }
  .about-img-wrap .experience-badge { position: static; display: inline-block; margin-top: -40px; }
  .contact-form-wrap { padding: 25px; }
}

@media (max-width: 575px) {
  .hero-slider .carousel-item { height: 70vh; min-height: 380px; }
  .hero-slider h1 { font-size: 1.8rem; }
  .hero-slider p.lead { font-size: 15px; }
  .page-banner { padding: 60px 0; }
  .counter-box .num { font-size: 32px; }
  .floating-btn { width: 48px; height: 48px; font-size: 20px; }
}
