/* ===================================
   GLOBAL & TYPOGRAPHY - PREMIUM FEEL
=================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: #333;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 15px;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   NAVBAR FIX - ZERO GAP
=================================== */
header, 
.header, 
.navbar, 
.main-header,
nav {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 9999;
  margin: 0 !important;
}

/* ===================================
   PAGE BANNER - WHITE GAP REMOVE (NO OTHER CHANGES)
=================================== */
.page-bannera {
  position: relative;
  width: 100%;
  height: 10vh;
  min-height: 420px;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.6)), url("img/img/bnner.png") center / cover no-repeat;
  background-attachment: fixed;
  margin: 0 !important;
  padding: 0 !important;
  top: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-bannera::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(transparent, #f9f9f9);
  pointer-events: none;
}

/* ===================================
   DEALERSHIP INTRO SECTION - PREMIUM
=================================== */
.dealership-intro {
  padding: 120px 0 100px;
  background: #f9f9f9;
  position: relative;
}

.dealership-title {
  font-size: 52px;
  font-weight: 800;
  color: #111;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.dealership-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: #d22f26;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.dealership-description {
  max-width: 1000px;
  font-size: 19px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 50px;
  text-align: justify;
  hyphens: auto;
}

.dealership-points {
  max-width: 1000px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dealership-points li {
  font-size: 18px;
  padding-left: 42px;
  margin-bottom: 22px;
  position: relative;
  color: #333;
  font-weight: 500;
}

.dealership-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #d22f26;
  font-weight: bold;
  font-size: 24px;
  line-height: 1;
}

/* ===================================
   PARTNER BENEFITS - BLACK LUXURY SECTION
=================================== */
.partner-benefits {
  padding: 140px 0;
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.partner-benefits::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(212, 47, 38, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.partner-benefits .container {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.partner-img {
  flex: 1 1 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateX(-80px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.partner-img.active {
  opacity: 1;
  transform: translateX(0);
}

.partner-img img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.partner-img:hover img {
  transform: scale(1.05);
}

.partner-content {
  flex: 1 1 500px;
  opacity: 0;
  transform: translateX(80px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.partner-content.active {
  opacity: 1;
  transform: translateX(0);
}

.partner-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.partner-subtitle {
  font-size: 26px;
  font-weight: 600;
  color: #ffcc00;
  margin-bottom: 30px;
}

.partner-description {
  font-size: 18px;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 50px;
}

.benefit-block {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.benefit-block.active {
  opacity: 1;
  transform: translateY(0);
}

.benefit-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(212, 47, 38, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.benefit-text h4 {
  font-size: 23px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.benefit-text p {
  font-size: 17px;
  color: #ddd;
  line-height: 1.7;
}

/* ===================================
   PRODUCTS SECTION - 3 BOXES PER ROW
=================================== */
.products-section {
  padding: 140px 0;
  background: #ffffff;
}

.products-header {
  text-align: center;
  margin-bottom: 80px;
}

.products-header h2 {
  font-size: 20px;
  color: #d22f26;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.products-header h3 {
  font-size: 44px;
  font-weight: 800;
  color: #111;
  letter-spacing: -1px;
}

.products-header p {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 18px;
  color: #666;
  line-height: 1.7;
}

/* BOOTSTRAP ROW OVERRIDE FOR 3 COLUMNS */
.products-section .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.products-section .col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
  margin-bottom: 40px;
}

.product-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  border-color: #d22f26;
}

/* IMAGE PERFECTLY CENTERED */
.product-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  min-height: 320px;
}

.product-icon img {
  max-width: 80%;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-icon img {
  transform: scale(1.15) rotate(3deg);
}

/* CONTENT AT BOTTOM */
.product-card h4 {
  padding: 30px 25px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  background: #fff;
  border-top: 1px solid #f5f5f5;
  transition: color 0.3s ease;
}

.product-card:hover h4 {
  color: #d22f26;
}

/* ===================================
   APPLICATION PROCESS SECTION
=================================== */
.application-section {
  padding: 140px 0;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  color: #fff;
}

.application-container {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  flex-wrap: wrap;
}

.application-left {
  flex: 1 1 400px;
}

.application-left h2 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.application-left h3 {
  font-size: 28px;
  font-weight: 500;
  color: #ffcc00;
}

.application-right {
  flex: 2 1 600px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 50px;
  border-radius: 20px;
}

.app-step {
  display: flex;
  gap: 30px;
  margin-bottom: 45px;
  align-items: flex-start;
}

.step-number {
  font-size: 56px;
  font-weight: 800;
  color: #00d4ff;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
}

.step-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 17px;
  color: #cccccc;
  line-height: 1.75;
}

/* ===================================
   RESPONSIVE – PERFECT ON ALL DEVICES
=================================== */
@media (max-width: 1200px) {
  .dealership-title { font-size: 46px; }
  .partner-title { font-size: 42px; }
  .products-header h3 { font-size: 40px; }
}

@media (max-width: 992px) {
  .page-bannera { 
    height: 70vh; 
    background-attachment: scroll; 
  }
  
  .partner-benefits .container,
  .application-container { 
    flex-direction: column; 
    gap: 60px; 
  }
  
  .partner-img img { height: 500px; }
  .dealership-intro { padding: 100px 0; }
  .partner-benefits { padding: 100px 0; }
  .products-section, .application-section { padding: 100px 0; }
  
  /* 2 COLUMNS ON TABLETS */
  .products-section .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .dealership-title { font-size: 40px; }
  .dealership-subtitle { font-size: 22px; }
  .partner-title { font-size: 38px; }
  .products-header h3 { font-size: 36px; }
  .application-left h2 { font-size: 40px; }
  .partner-img img { height: 400px; }
  
  /* 1 COLUMN ON MOBILE */
  .products-section .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .product-icon {
    min-height: 280px;
    padding: 50px 30px;
  }
  
  .product-icon img {
    max-height: 170px;
  }
}

@media (max-width: 576px) {
  .container { padding: 0 20px; }
  .dealership-title { font-size: 34px; }
  .dealership-subtitle { font-size: 20px; }
  .dealership-description,
  .dealership-points li { font-size: 16px; }
  .partner-title { font-size: 34px; }
  .partner-subtitle { font-size: 22px; }
  .application-left h2 { font-size: 36px; }
  .app-step { gap: 20px; }
  .step-number { font-size: 46px; }
  .application-right { padding: 35px 25px; }
  
  .product-icon {
    min-height: 240px;
    padding: 40px 25px;
  }
  
  .product-icon img {
    max-height: 150px;
  }
  
  .product-card h4 {
    padding: 25px 20px;
    font-size: 20px;
  }
}


/* ==========================================================================
   PAGE BANNER - ABOUT US STYLE (PERFECTED FOR DEALERSHIP)
   ========================================================================== */

.page-bannera {
  position: relative;
  height: 70vh;
  min-height: 450px;
  background: url("img/img/bnner.png") center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  margin-top: -90px !important; /* Navbar height pramane adjust kara */
  padding-top: 90px !important;

  /* Text la khali align karnyasathi */
  display: flex;
  justify-content: center;
  align-items: flex-end;   
}

/* Overlay - No changes needed */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 86, 50, 0.9) 0%,
    rgba(10, 40, 25, 0.85) 100%
  );
  z-index: 2;
}

/* Content wrapper */
.banner-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  text-align: center;
  animation: fadeInUp 1s ease-out;

  /* Text la khali pasun thoda var thevto */
  padding-bottom: 5vh; 
}

/* Title (Professional Font Size) */
.banner-title {
  font-size: clamp(28px, 3.5vw, 36px); 
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  line-height: 1.25;
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.35);
}

.banner-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold, #d4af37), var(--accent-gold-dark, #b8962c));
  margin: 18px auto 0;
  border-radius: 2px;
}

/* Subtitle (Professional Font Size) */
.banner-subtitle {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 25px auto 35px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb */
.banner-breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 11px 25px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-size: 13px !important;
  display: inline-flex !important;
  gap: 12px;
  align-items: center;
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.banner-breadcrumb a,
.banner-breadcrumb span {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.banner-breadcrumb a:hover {
    color: var(--accent-gold, #d4af37) !important;
}

.banner-breadcrumb span.active {
    color: var(--accent-gold, #d4af37) !important;
    font-weight: 600 !important;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE - Only banner related */
@media (max-width: 992px) {
  .page-bannera { 
    height: 70vh; 
    background-attachment: scroll; 
  }
}

@media (max-width: 768px) {
    .page-bannera {
        margin-top: -70px !important;
        padding-top: 70px !important;
        min-height: 400px;
        height: 60vh;
    }
}