/* ===================================================
   Choudhary & Choudhary Infratech - Main Stylesheet
   Design: Green (#539E44) + Yellow (#F5A623) + White
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&family=Exo+2:wght@600;700;800&display=swap');

/* Eurostile Bold Extended — uses system font if installed, Exo 2 as web fallback */
@font-face {
  font-family: 'EurostileBoldExt';
  src: local('Eurostile Bold Extended'), local('Eurostile-BoldExtended'), local('EurostileBoldExtended');
  font-weight: bold;
  font-style: normal;
}

/* ---- CSS Variables ---- */
:root {
  --primary: #539E44;
  --primary-dark: #013318;
  --accent: #F5A623;
  --accent-dark: #D48C18;
  --text-dark: #222222;
  --text-muted: #666666;
  --light-bg: #f4f7f4;
  --white: #ffffff;
  --border: #e0e0e0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
}

/* ---- Reset ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Utility ---- */
.container { width: 92%; max-width: 1600px; margin: 0 auto; }
.section-padding { padding: 60px 0; }
.text-center { text-align: center; }
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-badge {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.underline-accent {
  display: inline-block;
  position: relative;
}
.underline-accent::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-primary-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-primary-dark:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,59,140,0.35);
}

/* ============ NAVBAR ============ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar-top {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
}
.navbar-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.navbar-top a { color: rgba(255,255,255,0.85); transition: var(--transition); }
.navbar-top a:hover { color: var(--accent); }
.navbar-top .top-contact { display: flex; gap: 20px; }
.navbar-top .top-contact span { display: flex; align-items: center; gap: 6px; }
.navbar-main {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(13,59,140,0.1);
  padding: 0;
}
.navbar-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
}
.brand-text .brand-name {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.brand-text .brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}
/* Real Logo Image */
.navbar-logo {
  height: 80px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
}
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  font-family: 'EurostileBoldExt', 'Exo 2', 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.nav-cta::after { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 25px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
#navbar.scrolled .navbar-main { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

/* ============ HERO ============ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a52b8 100%);
  padding-top: 110px;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_banner.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,41,105,0.9) 0%, rgba(13,59,140,0.75) 60%, rgba(26,82,184,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.2);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
  animation: fadeInDown 0.6s ease;
}
.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-title .accent-text { color: var(--accent); }
.hero-description {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 32px;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-stat { text-align: center; }
.hero-stat .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.hero-image-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.2s both;
}
.hero-image-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 420px;
}
.hero-img-main {
  border-radius: 14px;
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  animation: floatCard 3s ease-in-out infinite;
}
.hero-floating-card.card-1 { bottom: -20px; left: -20px; }
.hero-floating-card.card-2 { top: -15px; right: -15px; animation-delay: 1.5s; }
.hero-floating-card .card-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary-dark);
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll span { font-size: 1.2rem; }


/* ============ ABOUT SECTION ============ */
#about { 
  background: var(--white); 
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(83,158,68,0.05) 0%, transparent 70%);
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-img-wrap {
  position: relative;
  padding: 20px;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  background: var(--accent);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.15;
  transform: translate(-20px, -20px);
}

.about-img-main {
  border-radius: 24px;
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-badge-float {
  position: absolute;
  bottom: 40px;
  right: -10px;
  background: rgba(1, 51, 24, 0.95);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-radius: 20px;
  padding: 24px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.1);
  animation: floatCard 4s ease-in-out infinite;
}
.about-badge-float .float-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.about-badge-float .float-text {
  font-size: 0.85rem;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  opacity: 0.9;
}

.about-content {
  padding: 20px;
}
.about-content .section-title { 
  font-size: 2.8rem;
  text-align: left; 
  margin-bottom: 24px;
  color: var(--primary-dark);
}
.about-content .section-subtitle { 
  text-align: left; 
  margin-left: 0; 
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.about-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1.1rem;
}
.about-feature-item i {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.about-actions { 
  display: flex; 
  gap: 20px; 
  margin-top: 20px; 
}
.btn-premium {
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(83, 158, 68, 0.2);
}

/* ============ SERVICES ============ */
#services { background: var(--light-bg); }
#services { 
  background: #fdfdfd; 
  position: relative;
  overflow: hidden;
}
#services::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.05) 0%, transparent 70%);
  z-index: 0;
}

/* ============ SERVICES GRID (ATTRACTIVE CLASSIC) ============ */
#services { 
  background: linear-gradient(to bottom, #FFFFFF 0%, #F4F8F3 100%); 
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(83, 158, 68, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

/* ============ ELECTRIC RUNNING CURRENT ============ */
.electric-divider {
  width: 250px;
  height: 2px;
  background: rgba(83, 158, 68, 0.1);
  margin: 0 auto 30px;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
}

.electric-divider::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100px;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  animation: run-current 3s infinite linear;
}

@keyframes run-current {
  0% { left: -100%; }
  100% { left: 100%; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
  padding: 50px 40px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  border: 1px solid rgba(83, 158, 68, 0.08); /* Silk-line border */
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none !important;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(83,158,68,0.05) 0%, transparent 70%);
  z-index: 1;
  transition: all 0.5s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(83,158,68,0.12);
  border-color: rgba(83, 158, 68, 0.3);
  background: var(--white);
}

.service-card:hover::after {
  transform: scale(1.5);
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.2;
}

.service-card-content {
  position: relative;
  z-index: 2;
}

.service-card .service-icon {
  width: 70px;
  height: 70px;
  background: rgba(83, 158, 68, 0.05); /* Soft mint glow */
  color: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  transition: all 0.5s ease;
  border: 1px solid rgba(83, 158, 68, 0.1);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(10deg);
  box-shadow: 0 15px 30px rgba(83, 158, 68, 0.3);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--primary-dark);
  line-height: 1.2;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ============ ABOUT SECTION ============ */
#about {
  background: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: 10%; right: -5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(83, 158, 68, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-img-container {
  position: relative;
  padding-right: 30px;
  padding-bottom: 30px;
}

.about-img-container::before {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 80%; height: 80%;
  border: 4px solid var(--accent);
  border-radius: 20px;
  z-index: 0;
}

.about-img-container img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.about-badge {
  position: absolute;
  top: 10%; left: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(83, 158, 68, 0.3);
  z-index: 2;
  animation: floatCard 4s ease-in-out infinite;
}

.about-badge .num { font-size: 2rem; font-weight: 800; display: block; line-height: 1; margin-bottom: 5px; color: var(--accent); }
.about-badge .txt { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.about-content { position: relative; z-index: 1; }
.about-content .section-badge { display: inline-block; margin-bottom: 20px; }
.about-content h2 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 25px; color: var(--primary-dark); }
.about-content p { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 30px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.about-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--primary-dark);
}

.about-feat-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ============ PRODUCTS ============ */
#featured-products { background: var(--white); }
/* ============ FEATURED PRODUCTS GRID ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: var(--accent);
}

.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 15px;
  background: #f9fbfb;
  transition: all 0.4s ease;
}

.product-card-body { padding: 16px; }
.product-card-body h3 { font-size: 0.92rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.product-card-body p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }
.product-card-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(13,59,140,0.08);
  padding: 4px 10px;
  border-radius: 50px;
}
.product-inquiry-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.product-inquiry-btn:hover { color: var(--primary); gap: 8px; }

#why-us {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

#why-us::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(245,166,35,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
}

#why-us .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.why-intro {
  text-align: left;
}
.why-intro .section-badge {
  background: rgba(245,166,35,0.15);
  color: var(--accent);
}
.why-intro .section-title {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 24px;
}
.why-intro .section-subtitle {
  color: rgba(255,255,255,0.7);
  margin-left: 0;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ============ WHY CHOOSE US ============ */
#why-us {
  background: #013318;
  padding: 120px 0 160px;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 93% 98%, 85% 92%, 78% 100%, 65% 90%, 55% 98%, 45% 92%, 35% 100%, 25% 94%, 12% 100%, 0 92%);
}

#why-us::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(83, 158, 68, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Electric Spark Layer */
#why-us::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(transparent 90%, rgba(245, 166, 35, 0.4) 95%, var(--accent) 100%);
  pointer-events: none;
  opacity: 0.6;
  animation: electric-flicker 3s infinite alternate;
  z-index: 0;
}

@keyframes electric-flicker {
  0%, 100% { opacity: 0.3; filter: brightness(1); }
  10%, 30%, 50%, 70%, 90% { opacity: 0.7; filter: brightness(1.5) drop-shadow(0 -5px 15px var(--accent)); }
  20%, 40%, 60%, 80% { opacity: 0.4; }
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.why-card {
  padding: 45px 35px;
  border-radius: 60px 5px 60px 5px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.why-card:nth-child(even) { margin-top: 40px; }

.why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-12px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.why-icon {
  width: 65px; height: 65px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 28px;
  transition: all 0.5s ease;
}

.why-card:hover .why-icon {
  transform: rotate(15deg) scale(1.15);
  box-shadow: 0 0 25px rgba(245, 166, 35, 0.5);
}

.why-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--white);
}

.why-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

#counters { background: var(--light-bg); }
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.counter-item {
  background: var(--white);
  padding: 40px 20px;
  text-align: center;
}
.counter-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.counter-num .counter-suffix { font-size: 1.8rem; color: var(--accent); }
.counter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ============ STRATEGIC PARTNERS HUB ============ */
.strategic-partners-hub {
  background: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)), url('../images/product_transformer.png');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding: 85px 0;
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.strategic-partners-hub .section-title { color: var(--primary-dark); margin-bottom: 10px; }
.strategic-partners-hub p { color: var(--text-dark) !important; max-width: 700px; margin: 0 auto 50px; opacity: 0.8; font-weight: 500; }

.client-logo-box {
  background: var(--white);
  height: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 800;
  color: #013318;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 2px solid rgba(0,0,0,0.1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  text-transform: uppercase;
  z-index: 2;
}

.clients-swiper .swiper-slide-active .client-logo-box,
.client-logo-box:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}


/* ============ TESTIMONIALS ============ */
#testimonials { background: #f9fbf8; padding: 100px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0; width: 100%; height: 0;
  background: var(--accent);
  transition: all 0.4s ease;
  border-radius: 0 0 20px 20px;
}
.testimonial-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.06); border-color: rgba(245, 166, 35, 0.2); }
.testimonial-card:hover::before { height: 5px; }

.testimonial-quote {
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  font-family: 'Times New Roman', serif;
  margin-bottom: 20px;
  opacity: 0.3;
}
.testimonial-text {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 30px;
  flex-grow: 1;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(0,0,0,0.03);
  padding-top: 20px;
}
.testimonial-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  background: #eee;
}
.testimonial-user-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.testimonial-user-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============ CTA SECTION ============ */
#cta-section {
  background: linear-gradient(rgba(245, 166, 35, 0.9), rgba(245, 166, 35, 0.95)), url('../images/product_transformer.png');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding: 150px 0 100px;
  position: relative;
  margin-top: -60px; /* Slight overlap for better transition */
  clip-path: polygon(0 8%, 10% 0, 25% 10%, 40% 0, 55% 12%, 70% 3%, 85% 15%, 100% 5%, 100% 100%, 0% 100%);
}

#cta-section .container { position: relative; z-index: 1; text-align: center; }
#cta-section h2 { color: var(--primary-dark); font-weight: 800; font-size: 2.8rem; margin-bottom: 20px; }
#cta-section p { color: rgba(1, 51, 24, 0.85); font-size: 1.2rem; max-width: 700px; margin: 0 auto 50px; font-weight: 600; line-height: 1.6; }

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--primary);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.4s ease;
}

.btn-cta-primary:hover { background: var(--primary-dark); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.btn-cta-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.4s ease;
}

.btn-cta-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* ============ FOOTER ============ */
#footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.75; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}
.social-btn:hover { background: var(--accent); color: var(--primary-dark); }
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.84rem;
}
.footer-contact-item .icon { font-size: 1rem; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--accent); }

/* ============ FLOATING BUTTONS ============ */
.float-buttons {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: var(--transition);
  animation: pulse 2.5s ease-in-out infinite;
}
.float-btn:hover { transform: scale(1.1); animation: none; }
.float-wa { background: #25D366; color: var(--white); }
.float-call { background: var(--accent); color: var(--primary-dark); animation-delay: 1s; }

/* ============ PAGE HERO ============ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 160px 0 45px;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { 
  font-size: 3.2rem; 
  font-weight: 800; 
  margin-bottom: 12px; 
  letter-spacing: -1px;
}
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.8); }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-top: 25px;
  color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: var(--accent); }

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.contact-info-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: var(--accent); }
.contact-info-card > p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-bottom: 30px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-detail .det-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08); /* Minimalist dark icon holder */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-detail h4 { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.contact-detail p, .contact-detail a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}
.contact-detail a:hover { color: var(--accent); }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 575px) {
  .contact-form-card { padding: 30px 20px; }
}
.contact-form-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.contact-form-card > p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,59,140,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.alert-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-top: 16px;
  display: none;
}

/* ============ PRODUCTS PAGE ============ */
.products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-page-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.product-page-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-page-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--light-bg);
}
.product-page-body { padding: 22px; }
.product-page-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.product-page-body p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.product-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.feat-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(13,59,140,0.08);
  color: var(--primary);
}

/* ============ ABOUT PAGE ============ */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 16px; height: 16px;
  background: var(--accent);
  border: 3px solid var(--primary);
  border-radius: 50%;
}
.timeline-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--primary); }
.timeline-item p { font-size: 0.84rem; color: var(--text-muted); margin-top: 4px; }
.timeline-year {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

/* ---- About Page Grids ---- */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}
.mission-card, .vision-card {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 40px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.05);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}
.mission-card { border-top: 6px solid var(--primary); }
.vision-card { border-top: 6px solid var(--accent); }

.excellence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.excellence-card {
  text-align: center;
  padding: 30px;
  background: #f9fbf8;
  border-radius: 20px;
  transition: 0.4s ease;
}
.excellence-accent { border-bottom: 4px solid var(--accent); }
.excellence-primary { border-bottom: 4px solid var(--primary); }

@media (max-width: 991px) {
  .mission-vision-grid, .excellence-grid { grid-template-columns: 1fr; }
  .mission-card, .vision-card { padding: 40px 30px; border-radius: 30px; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
  50% { transform: scale(1.06); box-shadow: 0 6px 22px rgba(0,0,0,0.3); }
}

/* Universal Boundary Enforcement */
.container, .container-fluid {
  overflow-x: clip;
}
img, iframe, video {
  max-width: 100%;
}
.map-container {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
/* ============ FOUNDER SECTION ============ */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.founder-img-box {
  position: relative;
}

.founder-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 2;
}

.founder-experience-badge .num { font-size: 1.8rem; font-weight: 800; display: block; line-height: 1; }
.founder-experience-badge .txt { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.founder-content {
  padding-left: 20px;
}

/* ============ COMPREHENSIVE RESPONSIVE SYSTEM ============ */

/* Desktop & Large Tablets (992px to 1200px) */
@media (max-width: 1200px) {
  .hero-title { font-size: 3rem; }
  .about-grid, .founder-grid { gap: 40px; }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
  #hero { padding-top: 130px; min-height: auto; padding-bottom: 80px; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-title { font-size: 2.8rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-description { color: rgba(255,255,255,0.7); max-width: 600px; margin-left: auto; margin-right: auto; }
  .hero-image-box { max-width: 500px; margin: 0 auto; order: -1; }
  .hero-image-card { max-width: 100%; padding: 20px; }
  .hero-img-main { height: 240px; }

  .about-grid, .founder-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-content, .founder-content { text-align: center; }
  .about-features { justify-items: center; }
  .cta-actions, .about-actions { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  
  .services-grid, .products-grid, .products-page-grid, .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* Large Phones to Small Tablets (576px to 767px) */
@media (max-width: 767px) {
  .navbar-top { display: none; }
  .navbar-main .container { height: 75px; }
  .navbar-logo { height: 60px; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    gap: 15px;
    border-top: 1px solid #f1f5f9;
  }
  .nav-menu.open { display: flex; animation: fadeInDown 0.4s ease; }
  .nav-link { width: 100%; padding: 12px 20px; text-align: center; border-radius: 12px; border: 1px solid #f1f5f9; }
  .nav-link::after { display: none; }
  .nav-cta { margin-left: 0; margin-top: 10px; width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }

  .section-padding { padding: 60px 0; }
  .section-title { font-size: 2.2rem; }
  
  .hero-title { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); display: grid; gap: 20px; }
  
  .why-grid { grid-template-columns: 1fr; }
  .why-card:nth-child(even) { margin-top: 0; }
  
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* Smartphones (Up to 575px) */
@media (max-width: 575px) {
  .section-title { font-size: 1.8rem; }
  .hero-title { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: 1fr; }
  
  .services-grid, .products-grid, .products-page-grid, .footer-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  
  .about-badge-float { padding: 15px 20px; }
  .about-badge-float .float-num { font-size: 2rem; }
  
  .footer-grid { text-align: center; }
  .footer-heading::after { left: 50%; transform: translateX(-50%); }
  .footer-contact-item { justify-content: center; }
  .footer-social { justify-content: center; }
  
  .float-buttons { bottom: 20px; right: 15px; }
  .float-btn { width: 48px; height: 48px; font-size: 1.2rem; }
}

/* ============ SERVICES PAGE DETAILED ============ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-content h2 { font-size: 1.7rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.service-detail-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; font-size: 0.92rem; }
.service-feature-list { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.service-feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: var(--text-dark);
}
.service-feature-list li::before {
  content: '✓';
  background: var(--accent);
  color: var(--primary-dark);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}
.service-visual {
  background: linear-gradient(135deg, var(--light-bg) 0%, rgba(245,166,35,0.08) 100%);
  border-radius: var(--radius);
  padding: 50px 40px;
  text-align: center;
  border: 1px solid var(--border);
}
.service-visual .big-icon { font-size: 5rem; margin-bottom: 20px; line-height: 1; }
.service-visual h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.service-visual p { font-size: 0.84rem; color: var(--text-muted); }

/* ============ GALLERY / LIGHTBOX ============ */
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 22px; border-radius: 50px; border: 2px solid var(--border);
  background: var(--white); color: var(--text-muted); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.gallery-grid { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 18px; 
}
.gallery-item {
  width: calc(25% - 14px); /* 4 items per row */
  border-radius: var(--radius);
  overflow: hidden; 
  position: relative; 
  cursor: pointer; 
  display: block;
  margin-bottom: 0; /* Gap handles spacing now */
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,41,105,0.85) 0%, rgba(8,41,105,0.2) 50%, transparent 100%);
  opacity: 0; transition: opacity 0.3s ease; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item.hidden { display: none; }
.gallery-overlay h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.gallery-overlay p { font-size: 0.76rem; color: rgba(255,255,255,0.78); }
.zoom-icon { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; background: rgba(255,255,255,0.2); backdrop-filter: blur(6px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.85rem; }

.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 9999;
  align-items: center; justify-content: center; animation: fadeIn 0.2s ease;
}
.lightbox.open { display: flex; }
.lightbox-inner img { max-width: 90vw; max-height: 85vh; border-radius: 12px; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close { position: fixed; top: 20px; right: 24px; width: 44px; height: 44px; background: rgba(255,255,255,0.15); border: none; border-radius: 50%; color: #fff; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(255,255,255,0.15); border: none; border-radius: 50%; color: #fff; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }
.lightbox-caption { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.85); font-size: 0.88rem; text-align: center; background: rgba(0,0,0,0.5); padding: 8px 20px; border-radius: 50px; }

/* ============ BLOG PAGE ============ */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 45px; align-items: start; }
.blog-card {
  background: var(--white); border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  overflow: hidden; transition: all 0.5s ease; border: 1px solid var(--border); display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-12px); box-shadow: 0 30px 60px rgba(83, 158, 68, 0.1); border-color: var(--primary); }
.blog-card-img-wrap { width: 100%; height: 220px; overflow: hidden; position: relative; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.1); }
.blog-card-body { padding: 30px; flex-grow: 1; }
.blog-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.blog-tag { font-size: 0.7rem; font-weight: 800; padding: 5px 14px; border-radius: 50px; background: rgba(83, 158, 68, 0.08); color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.blog-date { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
/* ============ BLOG PAGE ============ */
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
@media (max-width: 991px) { .blog-layout { grid-template-columns: 1fr; } }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
@media (max-width: 767px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--white); border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); overflow: hidden; border: 1px solid var(--border); transition: all 0.4s ease; display: flex; flex-direction: column; height: 100%; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-color: rgba(83,158,68,0.3); }
.blog-card-img-wrap { width: 100%; height: 250px; overflow: hidden; position: relative; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.08); }
.blog-card-body { padding: 30px; flex-grow: 1; }
.blog-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.blog-tag { background: rgba(83,158,68,0.1); color: var(--primary); padding: 6px 14px; border-radius: 8px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.blog-date { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.blog-card-body h3 { font-size: 1.25rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 14px; line-height: 1.4; }
.blog-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }
.blog-read-more { font-size: 0.85rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; text-decoration: none; }
.blog-read-more:hover { gap: 12px; transform: translateX(5px); }
.blog-card-footer { padding: 18px 30px; border-top: 1px solid #f8f9f8; display: flex; align-items: center; justify-content: space-between; background: #fafbfa; }
.blog-author { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; color: var(--primary-dark); }
.author-pic { width: 32px; height: 32px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.75rem; }

.sidebar-widget { background: linear-gradient(180deg, #ffffff 0%, #f9fbfb 100%); border-radius: 24px; box-shadow: 0 15px 35px rgba(0,0,0,0.03); padding: 30px; margin-bottom: 30px; border: 1px solid var(--border); }
.widget-title { font-size: 1.1rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.widget-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--accent); border-radius: 50px; }
.category-link { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--white); font-size: 0.88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; transition: all 0.3s ease; border: 1px solid transparent; text-decoration: none; }
.category-link:hover { background: var(--primary); color: var(--white); transform: translateX(8px); }
.category-link .count { background: #f0f4f0; color: var(--primary); font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 50px; }
.category-link:hover .count { background: rgba(255,255,255,0.2); color: #fff; }

/* ============ CONTACT PAGE ============ */
.contact-info-card { background: var(--primary-dark); color: var(--white); padding: 40px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.contact-info-card h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 15px; color: var(--accent); }
.contact-info-card p { color: rgba(255,255,255,0.7); margin-bottom: 35px; line-height: 1.7; }
.contact-detail { display: flex; gap: 20px; margin-bottom: 30px; }
.det-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; }
.contact-detail h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; color: var(--white); }
.contact-detail p, .contact-detail a { font-size: 0.92rem; color: rgba(255,255,255,0.8); text-decoration: none; line-height: 1.6; }

.contact-form-card { background: var(--white); padding: 50px; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,0.02); }
.contact-form-card h3 { font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; }
.contact-form-card p { color: var(--text-muted); margin-bottom: 35px; }

/* ============ HERO SLIDER (TRANSITIONED FROM INLINE) ============ */
.hero-slider-main {
  padding: 0 !important; 
  position: relative; 
  height: 80vh !important; 
  min-height: 750px !important; 
  overflow: hidden; 
  background: #000 !important;
}

.hero-slider-main .swiper, 
.hero-slider-main .swiper-container {
  height: 100% !important;
  width: 100% !important;
}

@media (max-width: 991px) {
  .hero-slider-main { height: 60vh !important; min-height: 400px !important; }
}

@media (max-width: 767px) {
  .hero-slider-main { height: 50vh !important; min-height: 350px !important; }
}

/* ============ RESPONSIVE INDUSTRIAL ENGINE ============ */

/* Tablet & Smaller Laptops */
@media (max-width: 1200px) {
  .about-grid { gap: 40px !important; }
  #why-us-modern .container { height: auto !important; padding: 100px 0 !important; }
}

/* Mobile & Large Tables */
@media (max-width: 991px) {
  .about-grid { display: flex !important; flex-direction: column-reverse !important; gap: 40px !important; }
  .about-content { text-align: left !important; }
  .about-content div { justify-content: flex-start !important; }
  .about-img-container { margin-top: 20px !important; }
  
  #hero { min-height: 450px !important; }
  
  #why-us-modern { min-height: auto !important; }
  #why-us-modern > div:first-child { width: 100% !important; position: relative !important; height: auto !important; padding: 40px 0; }
  #why-us-modern > div:nth-child(2) { display: none !important; } /* Hide raw background on mobile for clarity */
  #why-us-modern .container { padding: 40px 0 !important; }
  #why-us-modern .reveal { width: 100% !important; margin: 0 !important; padding: 40px 30px !important; }
  #why-us-modern h2 { font-size: 2.5rem !important; }
  
  .products-full-width { padding: 0 20px !important; }
}

/* Phones */
@media (max-width: 767px) {
  .section-padding { padding: 40px 0; }
  .section-title { font-size: 2.2rem !important; }
  
  .swiper-pagination-hero { bottom: 30px !important; }
  .hero-scroll-indicator { bottom: 10px !important; }
  
  .scroll-track-responsive div { width: 300px !important; height: 200px !important; }
}

@media (max-width: 991px) {
  .gallery-item { width: calc(33.333% - 12px); }
}
@media (max-width: 767px) {
  .gallery-item { width: calc(50% - 9px); }
}
@media (max-width: 480px) {
  .gallery-item { width: 100%; }
}
