/* ============================================================
   R.S POWER SYSTEMS - PREMIUM SOLAR WEBSITE STYLESHEET
   Author: R.S Power Systems, Madurai
   Colors: Primary #0A5DAA | Secondary #2EAD4B
   Font: Manrope + Playfair Display
   ============================================================ */

/* ===================== CSS VARIABLES ===================== */
:root {
  --primary:        #0A5DAA;
  --primary-dark:   #084a8a;
  --primary-light:  #e8f1fb;
  --secondary:      #2EAD4B;
  --secondary-dark: #228f39;
  --secondary-light:#e8f8ed;
  --dark:           #0d1b2e;
  --gray-900:       #1a2636;
  --gray-700:       #374151;
  --gray-500:       #6b7280;
  --gray-300:       #d1d5db;
  --gray-100:       #f3f4f6;
  --white:          #ffffff;
  --bg-light:       #f7f9fc;
  --text:           #1a2636;
  --text-muted:     #6b7280;

  --font-body:      'Manrope', sans-serif;
  --font-display:   'Playfair Display', serif;

  --radius:         10px;
  --radius-lg:      18px;
  --radius-xl:      28px;
  --shadow-sm:      0 2px 8px rgba(10,93,170,0.07);
  --shadow:         0 6px 24px rgba(10,93,170,0.10);
  --shadow-lg:      0 16px 48px rgba(10,93,170,0.14);
  --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-w:          1240px;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.bg-light { background: var(--bg-light); }
.bg-blue  { background: var(--primary); }
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ===================== TYPOGRAPHY ===================== */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
  position: relative;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--secondary);
  margin-right: 8px;
  vertical-align: middle;
}
.section-label.light { color: #7ec8a0; }
.section-label.light::before { background: #7ec8a0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.white { color: var(--white); }

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,93,170,0.25);
}

.btn-green {
  background: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
}
.btn-green:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ===================== HEADER ===================== */
.header-top {
  background: var(--dark);
  padding: 8px 0;
}
.header-top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.header-top-inner i { color: var(--secondary); margin-right: 5px; }
.header-top-inner a { color: rgba(255,255,255,0.75); }
.header-top-inner a:hover { color: var(--white); }

.partner-badge {
  margin-left: auto;
  background: var(--secondary);
  color: var(--white) !important;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
}

/* Navbar */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(10,93,170,0.12); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 6px;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  min-width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}
.dropdown li a:hover { color: var(--primary); background: var(--primary-light); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================== HERO SLIDER ===================== */
.hero-slider {
  position: relative;
  height: calc(100vh - 100px);
  min-height:auto;
  overflow: hidden;
}

.slides-wrapper { height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,20,40,0.72) 0%, rgb(5 20 40 / 59%) 60%, rgb(5 20 40 / 0%) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 660px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,173,75,0.2);
  border: 1px solid rgba(46,173,75,0.5);
  color: #7ee89a;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.slide-content h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
}
.slide-content h1 span { color: var(--secondary); }

.slide-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  line-height: 1.7;
}

.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.slide-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-item strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active {
  background: var(--secondary);
  transform: scale(1.3);
}

/* ===================== TRUST BAR ===================== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item i {
  font-size: 26px;
  color: var(--primary);
}
.trust-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.trust-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===================== ABOUT SNAPSHOT ===================== */
.about-snap-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-snap-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-snap-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.experience-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(46,173,75,0.3);
}
.experience-badge strong {
  display: block;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}
.experience-badge span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

.about-snap-content { padding-bottom: 24px; }
.about-snap-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15.5px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.af-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}
.af-item i { color: var(--secondary); font-size: 16px; }

/* ===================== SERVICES ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(10,93,170,0.12);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.05); }

.service-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(10,93,170,0.3);
}

.service-body { padding: 22px; }
.service-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.service-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link:hover { gap: 10px; }

/* ===================== WHY CHOOSE US ===================== */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-content p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 15.5px;
}
.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.why-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 5px; color: var(--dark); }
.why-item p  { font-size: 14px; color: var(--text-muted); }

.why-image { position: relative; }
.why-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.why-counter-box {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.counter-item { text-align: center; }
.counter-item strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.counter-item span {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
}
.counter-item p { font-size: 12px; color: var(--text-muted); margin-top: 5px; font-weight: 600; }

/* ===================== PROJECTS ===================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.project-card.tall { grid-row: span 2; }
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.project-card.tall img { height: 100%; min-height: 220px; }
.project-card:hover img { transform: scale(1.06); }

.project-overlay {
  position: absolute;
  inset: 0;
 background: linear-gradient(
  to top,
  rgba(255,255,255,0.96) 18%,
  rgba(255,255,255,0.45) 50%,
  transparent 100%
);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #111827;
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover .project-overlay {
  opacity: 1;
  backdrop-filter: blur(2px);
}

.project-tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  width: fit-content;
}
.project-overlay h3 { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.project-overlay p  { font-size: 13px; opacity: 0.85; margin-bottom: 14px; }

/* ===================== PROCESS ===================== */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.process-step {
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.step-number {
  font-size: 48px;
  font-weight: 800;
  color:  #228f39;
  line-height: 1;
  margin-bottom: -8px;
  font-family: var(--font-display);
}
.step-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(10,93,170,0.25);
  transition: var(--transition);
}
.process-step:hover .step-icon {
  background: var(--secondary);
  transform: translateY(-4px);
}
.process-step h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.process-step p  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  color: var(--gray-300);
  font-size: 20px;
}

/* ===================== SOLAR CALCULATOR ===================== */
.calc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.calc-content p  { color: rgba(255,255,255,0.78); margin-bottom: 28px; }
.calc-benefits   { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.calc-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
}
.calc-benefits li i { color: var(--secondary); }

.calc-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.calc-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.calc-card h3 i { color: var(--primary); }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--dark);
  transition: var(--transition);
  background: var(--white);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,93,170,0.08);
}

.calc-result { margin-top: 24px; border-top: 1px solid var(--gray-100); padding-top: 24px; }
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.result-item {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  border-left: 3px solid var(--primary);
}
.result-item span { font-size: 12px; color: var(--text-muted); font-weight: 500; display: block; margin-bottom: 4px; }
.result-item strong { font-size: 16px; font-weight: 800; color: var(--primary); }

/* ===================== PRODUCTS ===================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--secondary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover img { transform: scale(1.04); }

.product-body { padding: 22px; }
.product-cat { font-size: 11px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.product-body h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.product-body p  { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
  margin-top: 16px;
}
.product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.product-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: line-through;
  margin-left: 6px;
}
.product-actions { display: flex; gap: 8px; }

/* Product Detail Page */
.product-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  padding: 80px 0;
}
.product-detail-images .main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.thumb-row {
  display: flex;
  gap: 12px;
}
.thumb-row img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--gray-100);
  cursor: pointer;
  transition: var(--transition);
}
.thumb-row img:hover,
.thumb-row img.active { border-color: var(--primary); }

.product-detail-info .product-cat { margin-bottom: 8px; }
.product-detail-info h1 { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.product-rating .stars i { color: #f59e0b; font-size: 14px; }
.product-rating span { font-size: 13px; color: var(--text-muted); }
.product-detail-price { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.product-detail-price .old { font-size: 18px; color: var(--gray-500); text-decoration: line-through; margin-left: 10px; }
.product-detail-price .saving { font-size: 14px; background: var(--secondary-light); color: var(--secondary-dark); padding: 3px 10px; border-radius: 20px; margin-left: 8px; font-weight: 700; }

.product-desc { color: var(--text-muted); font-size: 15px; margin: 20px 0; line-height: 1.7; }

.product-specs { margin: 24px 0; }
.product-specs h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.spec-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 14px; }
.spec-row span:first-child { color: var(--text-muted); }
.spec-row span:last-child  { font-weight: 600; }

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--gray-300); border-radius: var(--radius); overflow: hidden; }
.qty-control button {
  width: 38px; height: 38px;
  background: var(--gray-100);
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}
.qty-control button:hover { background: var(--primary); color: var(--white); }
.qty-control input {
  width: 52px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  outline: none;
  padding: 0;
}

.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===================== CART ===================== */
.cart-wrapper { padding: 80px 0; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: flex-start;
}
.cart-table-wrap { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--gray-100); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { background: var(--bg-light); padding: 14px 20px; font-size: 13px; font-weight: 700; color: var(--gray-700); text-align: left; border-bottom: 1px solid var(--gray-100); }
.cart-table td { padding: 18px 20px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; font-size: 14px; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product img { width: 68px; height: 68px; object-fit: cover; border-radius: var(--radius); }
.cart-product-name { font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.cart-product-sku  { font-size: 12px; color: var(--text-muted); }
.cart-remove { color: var(--gray-400); cursor: pointer; font-size: 16px; transition: var(--transition); }
.cart-remove:hover { color: #ef4444; }

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: sticky;
  top: 100px;
}
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
.summary-row.total { font-size: 18px; font-weight: 800; color: var(--dark); border-bottom: none; padding-top: 16px; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-row input { flex: 1; }
.coupon-row .btn { flex-shrink: 0; }

/* ===================== CHECKOUT ===================== */
.checkout-wrapper { padding: 80px 0; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: flex-start;
}
.checkout-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.checkout-form-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checkout-order-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: sticky;
  top: 100px;
}
.checkout-order-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.order-product-row { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
.order-product-row img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius); }
.order-product-info { flex: 1; }
.order-product-info strong { font-size: 14px; font-weight: 700; display: block; }
.order-product-info span  { font-size: 13px; color: var(--text-muted); }
.order-product-row .price { font-size: 14px; font-weight: 700; color: var(--primary); }

.payment-methods { margin: 20px 0; }
.payment-methods h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.pay-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 8px; cursor: pointer; transition: var(--transition); }
.pay-option:hover, .pay-option.selected { border-color: var(--primary); background: var(--primary-light); }
.pay-option i { font-size: 20px; color: var(--primary); }
.pay-option span { font-size: 14px; font-weight: 600; }
.razorpay-logo { height: 20px; margin-left: auto; }

/* ===================== TESTIMONIALS ===================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 72px;
  color: var(--primary-light);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card.featured {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}
.testimonial-card.featured::before { color: rgba(255,255,255,0.15); }
.testimonial-card.featured p { color: rgba(255,255,255,0.88); }

.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars i { color: #f59e0b; font-size: 14px; }
.testimonial-card.featured .stars i { color: #fcd34d; }

.testimonial-card > p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar i { font-size: 40px; color: var(--gray-300); }
.testimonial-card.featured .author-avatar i { color: rgba(255,255,255,0.5); }
.testimonial-author strong { display: block; font-size: 15px; font-weight: 700; }
.testimonial-author span  { font-size: 12px; color: var(--text-muted); }
.testimonial-card.featured .testimonial-author span { color: rgba(255,255,255,0.65); }

/* ===================== FAQ ===================== */
.faq-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: flex-start;
}
.faq-header p { color: var(--text-muted); margin-bottom: 16px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  background: none;
  cursor: pointer;
  gap: 12px;
}
.faq-item.open .faq-question { color: var(--primary); }
.faq-question i { font-size: 14px; transition: transform 0.3s ease; color: var(--text-muted); flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 22px 18px; font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }

/* ===================== BLOG ===================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover img { transform: scale(1.04); }

.blog-body { padding: 22px; }
.blog-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.blog-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-body h4 a { color: var(--dark); }
.blog-body h4 a:hover { color: var(--primary); }
.blog-body p  { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }

.blog-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.blog-meta i { margin-right: 5px; color: var(--secondary); }
.read-more { font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; }
.read-more:hover { gap: 9px; }

/* Blog Details */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 80px 0;
  align-items: flex-start;
}
.blog-detail-content { max-width: 100%; }
.blog-detail-content img { width: 100%; border-radius: var(--radius-lg); margin-bottom: 32px; height: 400px; object-fit: cover; }
.blog-detail-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.blog-detail-meta span { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.blog-detail-meta i { color: var(--secondary); }
.blog-detail-content h1 { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 20px; }
.blog-detail-content h2 { font-size: 22px; font-weight: 700; color: var(--dark); margin: 32px 0 12px; }
.blog-detail-content p  { font-size: 15.5px; color: var(--gray-700); line-height: 1.8; margin-bottom: 18px; }
.blog-detail-content ul { padding-left: 20px; margin-bottom: 18px; }
.blog-detail-content ul li { font-size: 15px; color: var(--gray-700); margin-bottom: 8px; list-style: disc; }

.blog-sidebar { position: sticky; top: 100px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--dark); padding-bottom: 12px; border-bottom: 2px solid var(--primary-light); }
.recent-post { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.recent-post img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.recent-post a { font-size: 13px; font-weight: 600; color: var(--dark); display: block; margin-bottom: 4px; }
.recent-post a:hover { color: var(--primary); }
.recent-post span { font-size: 12px; color: var(--text-muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: var(--bg-light); color: var(--gray-700); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1px solid var(--gray-200); transition: var(--transition); }
.tag-cloud a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===================== CTA BANNER ===================== */
.cta-banner {
  position: relative;
  background: url('../project2.jpg') center/cover no-repeat;
  padding: 80px 0;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,93,170,0.88);
}
.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-content h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.cta-content p  { color: rgba(255,255,255,0.8); font-size: 15px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ===================== CONTACT PAGE ===================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 80px 0; align-items: flex-start; }
.contact-info h2 { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }

.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.contact-card-icon {
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-card h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--text-muted); }
.contact-card a:hover { color: var(--primary); }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.contact-form-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--dark); }

.map-section { padding: 0 0 80px; }
.map-section iframe {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-sm);
  display: block;
}

/* ===================== ABOUT PAGE ===================== */
.about-hero-section { background: var(--dark); padding: 100px 0 80px; }
.about-hero-section h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 50px); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.about-hero-section p { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 600px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; height: 200px; object-fit: cover; }
.team-body { padding: 20px; }
.team-body h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-body span { font-size: 13px; color: var(--text-muted); }

/* Timeline */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 2px;
  background: var(--primary-light);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-year {
  flex: 1;
  text-align: right;
  padding-top: 4px;
}
.timeline-item:nth-child(even) .timeline-year { text-align: left; }
.timeline-year strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}
.timeline-dot {
  width: 18px;
  height: 18px;
  background: var(--secondary);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(46,173,75,0.2);
}
.timeline-content { flex: 1; background: var(--white); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.timeline-content h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.timeline-content p  { font-size: 14px; color: var(--text-muted); }

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../hero.jpg') center/cover no-repeat;
  opacity: 0.08;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero p { color: rgba(255,255,255,0.78); font-size: 16px; max-width: 560px; margin: 0 auto 20px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.65); }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 10px; }

/* ===================== PROJECTS PAGE ===================== */
.projects-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-full-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.project-full-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-full-card img { width: 100%; height: 230px; object-fit: cover; }
.project-card-body { padding: 22px; }
.project-card-body h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.project-card-body p  { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.project-meta { display: flex; gap: 20px; font-size: 13px; }
.project-meta span { color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.project-meta i { color: var(--secondary); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px 24px 40px;
}
.footer-logo { width: 200px; height: 80px; object-fit: contain; margin-bottom: 16px; border-radius: 8px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.65); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); }

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--secondary); padding-left: 4px; }

.footer-contact li {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact li i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }
.footer-contact li a { color: rgba(255,255,255,0.65); }
.footer-contact li a:hover { color: var(--secondary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ===================== FLOATING BUTTONS ===================== */
.floating-buttons {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transition: var(--transition);
  white-space: nowrap;
  max-width: 52px;
  overflow: hidden;
}
.float-btn:hover { max-width: 200px; transform: translateY(-3px); }
.float-btn i { font-size: 20px; flex-shrink: 0; }
.float-btn span { display: none; }
.float-btn:hover span { display: block; }

.float-btn.whatsapp { background: #25D366; }
.float-btn.whatsapp:hover { background: #1da850; }
.float-btn.call { background: var(--primary); }
.float-btn.call:hover { background: var(--primary-dark); }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===================== UTILITIES ===================== */
.divider { height: 1px; background: var(--gray-100); margin: 0; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-secondary { background: var(--secondary-light); color: var(--secondary-dark); }

/* Alert / Notice */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; font-weight: 500; }
.alert-success { background: var(--secondary-light); color: var(--secondary-dark); border: 1px solid rgba(46,173,75,0.3); }
.alert-info    { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(10,93,170,0.2); }
.alert i { margin-right: 8px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .about-snap-inner,
  .why-inner,
  .calc-inner,
  .faq-inner,
  .contact-layout,
  .checkout-layout,
  .cart-layout,
  .blog-detail-layout { grid-template-columns: 1fr; gap: 40px; }

  .why-counter-box { left: 0; bottom: -24px; }
  .experience-badge { right: -10px; }
  .about-snap-img img { height: 360px; }

  .services-grid,
  .products-grid,
  .testimonials-grid,
  .blog-grid,
  .projects-full-grid { grid-template-columns: repeat(2, 1fr); }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card.tall { grid-row: span 1; }
  .project-card.tall img { min-height: 220px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Header */
  .header-top-inner { gap: 12px; }
  .partner-badge { display: none; }

  /* Navbar mobile */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px 0 40px;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 998;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { padding: 14px 24px; border-radius: 0; font-size: 15px; }
  .dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    background: var(--bg-light);
  }
  .dropdown.open {
    display: block;
  }
  .has-dropdown:hover .dropdown {
    display: none;
  }
  .has-dropdown:hover .dropdown.open {
    display: block;
  }
  .has-dropdown.dropdown-open > a i.fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s;
  }

  .hamburger { display: flex; }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 997;
  }
  .nav-overlay.open { display: block; }

  /* Hero */
  .hero-slider { height: 80vh; min-height: 480px; }
  .slide-content h1 { font-size: 28px; }
  .slide-desc { font-size: 15px; }
  .slide-stats { gap: 20px; }
  .stat-item strong { font-size: 22px; }
  .slider-btn { width: 40px; height: 40px; }

  /* Trust */
  .trust-inner { justify-content: flex-start; gap: 20px; }

  /* Services */
  .services-grid,
  .products-grid,
  .testimonials-grid,
  .blog-grid,
  .projects-full-grid,
  .team-grid { grid-template-columns: 1fr; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }

  /* Process */
  .process-steps { flex-direction: column; align-items: center; }
  .process-connector { padding: 0; transform: rotate(90deg); }
  .process-step { max-width: 300px; }

  /* FAQ */
  .faq-header { text-align: center; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* CTA */
  .cta-content { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  /* Checkout / Cart */
  .form-row { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }

  /* Product Detail */
  .product-detail-wrapper { grid-template-columns: 1fr; padding: 40px 0; }
}

@media (max-width: 480px) {
  .hero-slider { height: 100svh; }
  .slide-actions { flex-direction: column; }
  .slide-actions .btn { text-align: center; justify-content: center; }
  .about-features { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .experience-badge { right: 8px; bottom: -16px; }
}
/* LOGO - Desktop + Mobile Responsive */

.logo-img {
  height: 60px;   /* Desktop size */
  width: 280px;
  display: block;
}

/* Mobile view */
@media (max-width: 700px) {
  .logo-img {
    height: 40px;
    width: auto;   /* VERY IMPORTANT */
  }
}
/* ===== HERO SLIDER ===== */

/* ===== TOP BAR ===== */
/* ===== TOP BAR CLEAN FIX ===== */

/* ===== TOP BAR CLEAN FINAL ===== */

/* ===== TOP BAR FINAL SCROLL FIX ===== */

/* ===== TOP BAR AUTO SCROLL ===== */

/* ===== TOP BAR AUTO SCROLL FINAL ===== */

/* TOP BAR */
.header-top {
  background: #0b2239;
  color: #fff;
  width: 100%;
  overflow: hidden;
}

/* MOBILE ONLY */
@media (max-width: 768px) {

  .header-top-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 40px;

    white-space: nowrap;

    /* IMPORTANT */
    width: max-content;

    animation: scrollLeft 15s linear infinite;
  }

  .header-top-inner span {
    display: inline-block;
    font-size: 13px;
  }

}

/* CONTINUOUS SCROLL */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* DESKTOP NORMAL */
@media (min-width: 769px) {
  .header-top-inner {
    display: flex;
    justify-content: space-between;
    animation: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .advantage-grid {
    grid-template-columns: 1fr !important;
  }
}

.container.blog-detail-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
/* FINAL CLEAN FIX */

html, body {
  overflow-x: hidden;
}

.hero-slider {
  overflow: hidden;
}

.slide {
  max-width: 100%;
}

img {
  max-width: 100%;
}
@media (max-width: 768px) {

  .nav-actions .btn-primary {
    display: none;
  }

}
/* ===== IMAGE FIX ===== */
.image-box {
  width: 100%;
  height: 620px;
  overflow: hidden;
  position: relative;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ===== GRID FIX ===== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 40px;
  align-items: center;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .image-box {
    height: 250px;
  }
}

.full-row {
  grid-column: 1 / -1;
  margin-top: 20px;
}

/* ===== POPUP GALLERY ===== */

.popup-gallery{
  position: relative;
  width: 100%;
}

.popup-gallery img{
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* ONLY LIGHTBOX BUTTONS */

.lightbox-content .popup-prev,
.lightbox-content .popup-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 45px;
  height: 45px;

  border: none;
  border-radius: 50%;

  background: rgba(255,255,255,0.9);

  cursor: pointer;
  z-index: 999;

  font-size: 18px;
}

.lightbox-content .popup-prev{
  left: 15px;
}

.lightbox-content .popup-next{
  right: 15px;
}
.proj-view-btn{
  pointer-events:none;
}
h2{
    font-size: 32px;
}

@media(max-width:2008px){
    h2{
        font-size: 20px;
    }
}
h2{
   font-size: 32px !important;
}

body{
   font-family: 'Manrope', sans-serif !important;
}

h1,h2,h3,h4,h5,h6{
   font-family: 'Manrope', sans-serif !important;
   font-weight: 800;
   line-height: 1.3;
}
.projects-grid{
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   justify-items: center;
   align-items: center;
}
@media(max-width:768px){

.projects-grid{
   grid-template-columns: 1fr;
}

.project-card,
.project-card.tall{
   width: 100%;
}

}
/* Calculator responsive */
@media (max-width: 600px) {
  #srResults > div:first-child {
    grid-template-columns: 1fr !important;
  }
}
.blog-detail-layout,
.products-layout,
.product-details-layout,
.article-wrap,
.product-wrapper{
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
@media (max-width:768px){

  #productsGrid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:20px !important;
  }

  .shop-product-card{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
    position:relative;
  }

  .shop-product-card img{
    width:100% !important;
    height:auto !important;
    display:block;
  }

  .prod-badges,
  .prod-wishlist{
    z-index:5;
  }

}


/* ===== GLOBAL MOBILE OVERFLOW FIX ===== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* Ensure container never exceeds viewport on mobile */
@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }

  /* Features bar 2-column grid on mobile */
  .features-bar-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  /* Page hero padding fix */
  .page-hero-content {
    padding: 40px 16px !important;
  }
  .page-hero h1 { font-size: 26px !important; }
  .page-hero p  { font-size: 14px !important; }
}



/* ============================================================
   MOBILE SLIDER FIX - Final
============================================================ */

@media (max-width: 768px) {
  /* Logo bigger */
  .logo-img {
    height: 62px !important;
    width: auto !important;
  }

  .navbar .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 0 !important;
    width: 100% !important;
  }

  .brand { flex-shrink: 0 !important; }

  .hamburger {
    display: flex !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }

  .nav-actions .btn-primary { display: none !important; }
}

@media (max-width: 480px) {
  .hero-slider { height: 520px !important; min-height: unset !important; }
  .slides-wrapper { height: 100% !important; }
  .slide { background-position: center center !important; align-items: center !important; }
  .slide-overlay { background: rgba(5, 20, 40, 0.68) !important; }
  .slide-content { padding: 0 20px !important; max-width: 100% !important; width: 100% !important; }
  .slide-tag { font-size: 11px !important; padding: 4px 10px !important; margin-bottom: 10px !important; }
  .slide-content h1 { font-size: 22px !important; line-height: 1.3 !important; margin-bottom: 8px !important; }
  .slide-desc { font-size: 13px !important; margin-bottom: 14px !important; color: rgba(255,255,255,0.92) !important; line-height: 1.55 !important; }
  .slide-actions { flex-direction: row !important; flex-wrap: wrap !important; gap: 8px !important; margin-bottom: 14px !important; }
  .slide-actions .btn { width: auto !important; flex: 0 0 auto !important; padding: 9px 18px !important; font-size: 13px !important; font-weight: 600 !important; border-radius: 8px !important; white-space: nowrap !important; display: inline-flex !important; justify-content: center !important; }
  .slide-stats { gap: 14px !important; flex-wrap: wrap !important; }
  .stat-item strong { font-size: 17px !important; }
  .stat-item span { font-size: 10px !important; }
  .slider-btn { display: none !important; }
  .slider-dots { bottom: 12px !important; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .hero-slider { height: 65vh !important; min-height: 400px !important; }
  .slide { background-position: center center !important; align-items: center !important; }
  .slide-overlay { background: linear-gradient(to right, rgba(5,20,40,0.75) 0%, rgba(5,20,40,0.50) 70%, rgba(5,20,40,0.25) 100%) !important; }
  .slide-content { padding: 0 20px !important; max-width: 100% !important; }
  .slide-content h1 { font-size: 28px !important; }
  .slide-desc { font-size: 14px !important; color: rgba(255,255,255,0.92) !important; }
  .slide-actions .btn { padding: 10px 20px !important; font-size: 14px !important; }
}

@media (max-width: 768px) {
  .dropdown-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    color: var(--gray-700);
  }
  .dropdown-arrow i {
    transition: transform 0.3s ease;
  }
  .dropdown-arrow.open i {
    transform: rotate(180deg);
  }
}

/* Desktop — arrow hide, only mobile JS injects it */

@media (max-width: 768px) {
  .dropdown-arrow {
    display: inline-flex !important;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 8px;
    align-items: center;
    color: var(--gray-700);
  }
}

.has-dropdown {
  display: flex !important;
  align-items: center;
}

.dropdown-arrow {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 0 4px;
  color: var(--gray-700);
}

.dropdown-arrow i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .has-dropdown {
    flex-wrap: wrap;
    position: relative;
  }
  .dropdown-arrow {
    position: absolute;
    right: 16px;
    top: 14px;
    padding: 8px;
  }
}