/* ==========================================
   CNG PUMP DEALERSHIP – MAIN STYLESHEET
   ========================================== */

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

:root {
  --red: #e63946;
  --dark-blue: #1a2a6c;
  --mid-blue: #2a5298;
  --light-blue: #4a90d9;
  --green: #27ae60;
  --dark: #1c1c1e;
  --gray: #6c757d;
  --light-gray: #f4f6f9;
  --white: #ffffff;
  --font: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.btn-primary-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary-red:hover {
  background: #c0392b;
  border-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230,57,70,0.35);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.btn-large {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ===== SECTION HEADERS ===== */
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-header h2 span {
  color: var(--red);
}
.section-header p {
  color: var(--gray);
  font-size: 1rem;
  max-width: 550px;
}
.section-header.center {
  text-align: center;
}
.section-header.center p {
  margin: 0 auto;
}
.section-header.light h2 {
  color: var(--white);
}
.section-header.light p {
  color: rgba(255,255,255,0.8);
}
.tag-label {
  display: inline-block;
  background: rgba(230,57,70,0.12);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.tag-label-white {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.red-text { color: var(--red); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: rgb(255 255 255 / 0%);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  background: var(--dark-blue);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img {
  height: 48px;
  object-fit: contain;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
}
.main-nav ul li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}
.main-nav ul li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.header-cta .btn {
  padding: 9px 22px;
  font-size: 0.88rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('home\ banner.jpg') center center / cover no-repeat;
  padding-top: 80px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,42,108,0.85) 0%, rgba(42,82,152,0.7) 60%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-text {
  max-width: 640px;
  color: var(--white);
}
.hero-top-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
}
.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-text h1 span {
  color: #ff6b7a;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== APPLY FORM ===== */
.apply-section {
  padding: 80px 0;
  background: var(--white);
}
.apply-section .section-header {
  margin-bottom: 44px;
}
.form-wrapper {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.1);
  padding: 40px;
  border: 1px solid #e9ecef;
}
.alert-success, .alert-error {
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.apply-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 7px;
}
.form-group label span {
  color: var(--red);
}
.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid #dde2ea;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--dark);
  background: #fafbfc;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--mid-blue);
  box-shadow: 0 0 0 3px rgba(42,82,152,0.12);
  background: var(--white);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-submit {
  text-align: center;
  margin-top: 10px;
}

/* ===== STATS ===== */
.stats-section {
  background: var(--light-gray);
  padding: 50px 0;
  border-top: 1px solid #e8ecf0;
  border-bottom: 1px solid #e8ecf0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.stat-item:hover { transform: translateY(-4px); }
.stat-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.stat-item h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--red);
}
.stat-item p {
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 500;
}

/* ===== BENEFITS ===== */
.benefits-section {
  padding: 90px 0;
  background: var(--white);
}
.benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.benefits-image img {
  width: 100%;
  max-width: 420px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.benefits-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.3;
  margin-bottom: 14px;
}
.benefits-content h2 span { color: var(--red); }
.benefits-desc {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.benefits-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-item i {
  color: var(--green);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 3px;
}
.feature-item p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ===== WHY SECTION ===== */
.why-section {
  padding: 90px 0;
  background: #f0f4ff;
}
.why-section .section-header {
  margin-bottom: 50px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.why-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.why-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.why-icon.green  { background: rgba(39,174,96,0.12); }
.why-icon.blue   { background: rgba(42,82,152,0.12); }
.why-icon.red    { background: rgba(230,57,70,0.12); }
.why-icon.orange { background: rgba(230,126,34,0.12); }
.why-icon.purple { background: rgba(142,68,173,0.12); }
.why-icon.teal   { background: rgba(26,188,156,0.12); }
.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== PROCESS ===== */
.process-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--mid-blue) 100%);
}
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.step-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  color: var(--white);
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  position: relative;
  transition: background 0.3s;
}
.step-card:hover {
  background: rgba(255,255,255,0.18);
}
.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.step-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.9);
}
.step-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.step-arrow {
  color: rgba(255,255,255,0.4);
  font-size: 1.4rem;
}

/* ===== GALLERY ===== */
.gallery-section {
  padding: 90px 0;
  background: var(--white);
}
.gallery-section .section-header {
  margin-bottom: 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  height: 380px;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 20px 16px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* ===== ELIGIBILITY ===== */
.eligibility-section {
  padding: 90px 0;
  background: #fff8f8;
}
.eligibility-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.eligibility-image {
  position: relative;
}
.eligibility-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.elig-badge {
  position: absolute;
  bottom: 20px;
  right: -16px;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(230,57,70,0.4);
}
.eligibility-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 14px;
}
.eligibility-content h2 span { color: var(--red); }
.eligibility-content > p {
  color: var(--gray);
  margin-bottom: 24px;
}
.elig-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}
.elig-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--dark);
}
.elig-list li i {
  width: 22px;
  height: 22px;
  background: rgba(39,174,96,0.15);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #e63946 0%, #a3001a 100%);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}
.cta-image img {
  width: 100%;
  max-width: 280px;
  object-fit: contain;
  animation: float 4s ease-in-out infinite;
}
.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-content h2 span {
  color: rgba(255,255,255,0.8);
}
.cta-content > p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-btns .btn-primary-red {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.cta-btns .btn-primary-red:hover {
  background: rgba(255,255,255,0.9);
}

/* ===== FOOTER ===== */
.site-footer-bottom {
  background: var(--dark-blue);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr ;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo {
  height: 50px;
  object-fit: contain;
  margin-bottom: 16px;
  /*filter: brightness(0) invert(1);*/
}
.brand-col p {
  font-size: 0.87rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.social-icons {
  display: flex;
  gap: 10px;
}
.social-icons a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.3s;
}
.social-icons a:hover {
  background: var(--red);
}
.footer-col h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--white);
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.75);
}
.contact-list li i {
  color: var(--red);
  margin-top: 3px;
  flex-shrink: 0;
}
.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.newsletter input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.85rem;
  outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter input:focus {
  border-color: var(--red);
}
.newsletter .btn {
  padding: 10px 16px;
  font-size: 0.82rem;
}
.footer-bottom-bar {
  text-align: center;
  padding: 18px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom-bar a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.footer-bottom-bar a:hover { color: var(--white); }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(230,57,70,0.4);
  transition: transform 0.3s;
  z-index: 999;
}
#scrollTop:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .gallery-item.large { grid-column: span 2; height: 300px; }
  .gallery-item { height: 220px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    padding: 20px;
    transform: translateY(-110%);
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 999;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .main-nav ul li a {
    display: block;
    padding: 12px 16px;
  }
  .header-cta { display: none; }

  .hero-text h1 { font-size: 2.2rem; }
  .benefits-inner { grid-template-columns: 1fr; }
  .benefits-image { text-align: center; }
  .apply-form .form-row { grid-template-columns: 1fr; }
  .eligibility-inner { grid-template-columns: 1fr; }
  .elig-badge { right: 0; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-image { display: none; }
  .cta-btns { justify-content: center; }
  .process-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.8rem; }
  .section-header h2 { font-size: 1.6rem; }
  .form-wrapper { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; height: auto; }
  .gallery-item.large { grid-column: span 1; height: 220px; }
  .gallery-item { height: 200px; }
}
