/* =============================================
   HOME.CSS — Homepage Styles for Laxmi Narayan Traders
   This file adds to style.css — do NOT replace style.css
   ============================================= */

/* ---- GLOBAL RESETS FOR HOME SECTIONS ---- */
*, *::before, *::after { box-sizing: border-box; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- SECTION COMMON ---- */
.section-tag {
  display: inline-block;
  background: #e8f0fe;
  color: #003366;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.section-tag.center { display: block; text-align: center; width: fit-content; margin: 0 auto 10px; }

.section-title {
  font-size: 1.8rem;
  color: #003366;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}
.section-subtitle {
  text-align: center;
  color: #555;
  max-width: 700px;
  margin: 0 auto 35px;
  font-size: 1rem;
  line-height: 1.6;
}

.section-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 35px;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: #007bff;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,123,255,0.3);
}
.btn-primary:hover { background: #0056b3; transform: translateY(-2px); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-outline-dark {
  background: transparent;
  color: #003366;
  border: 2px solid #003366;
}
.btn-outline-dark:hover { background: #003366; color: #fff; }

.btn-product {
  background: #003366;
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.btn-product:hover { background: #007bff; }

/* ---- PROMO BAR ---- */
.promo-bar {
  background: #003366;
  color: #fff;
  padding: 8px 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.promo-bar a { color: #ffd700; text-decoration: none; }
.promo-bar a:hover { text-decoration: underline; }

/* ---- HERO SECTION ---- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #002855 0%, #003d80 40%, #005bb5 100%);
  color: #fff;
  padding: 60px 20px 55px;
  overflow: hidden;
  text-align: center;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(0,123,255,0.15) 0%, transparent 40%);
  pointer-events: none;
}
.hero-container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.4);
  color: #ffd700;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.25;
  color: #fff;
  text-align: center;
}
.hero-highlight {
  color: #ffd700;
  display: inline;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin: 0 auto 8px;
  line-height: 1.7;
}
.hero-section .hindi-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 16px 24px;
  margin: 28px auto 28px;
  max-width: 600px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 20px;
}
.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Hero CTA */
.hero-section .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Brand logos */
.hero-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.brand-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.brand-logos { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.brand-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Desktop hero */
@media (min-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .hero-section { padding: 80px 20px 70px; }
}

/* ---- ABOUT SECTION ---- */
.about-section {
  background: #f8fbff;
  padding: 60px 20px;
  border-bottom: 1px solid #e8edf5;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
}
.about-text h2 {
  font-size: 1.7rem;
  color: #003366;
  margin-bottom: 16px;
  line-height: 1.3;
  font-weight: 700;
}
.about-text p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.97rem;
}
.about-text .hindi-text { color: #666; font-style: italic; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0 24px;
}
.highlight-item {
  font-size: 0.88rem;
  color: #003366;
  font-weight: 600;
  background: #e8f0fe;
  padding: 6px 12px;
  border-radius: 6px;
}

/* About cards */
.about-card-stack { display: flex; flex-direction: column; gap: 14px; }
.about-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.about-info-card:hover { transform: translateY(-2px); }
.about-info-card.accent-card {
  background: linear-gradient(135deg, #003366, #0056b3);
  border-color: transparent;
  color: #fff;
}
.about-info-card.accent-card p, .about-info-card.accent-card strong { color: #fff; }
.info-card-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.about-info-card strong { display: block; font-size: 0.95rem; color: #003366; margin-bottom: 3px; }
.about-info-card p { font-size: 0.85rem; color: #555; margin: 0; line-height: 1.5; }
.about-info-card a { color: #007bff; text-decoration: none; font-weight: 600; }

/* ---- SERVICES SECTION ---- */
.services-section {
  background: #fff;
  padding: 60px 20px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.service-card {
  background: #f8fbff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 20px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,51,102,0.12);
  border-color: #007bff;
}
.featured-service {
  background: linear-gradient(135deg, #003366, #0056b3);
  border-color: transparent;
  color: #fff;
}
.featured-service h3, .featured-service p { color: #fff; }
.service-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: #ffd700;
  color: #003366;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.service-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.service-card h3 { font-size: 1rem; color: #003366; margin-bottom: 8px; font-weight: 700; }
.service-card p { font-size: 0.88rem; color: #555; line-height: 1.6; margin-bottom: 14px; }
.service-link {
  font-size: 0.85rem;
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
}
.service-link:hover { text-decoration: underline; }
.featured-service .service-link { color: #ffd700; }

/* ---- PRODUCTS SECTION ---- */
.products-section {
  background: #f4f7fb;
  padding: 60px 20px;
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 560px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: all 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: #007bff;
}
.product-badge-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: #ff4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.product-badge-tag.popular { background: #007bff; }
.product-icon { font-size: 2.4rem; }
.product-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: #007bff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-name { font-size: 1rem; color: #003366; font-weight: 700; margin: 0; }
.product-desc { font-size: 0.84rem; color: #666; line-height: 1.5; }
.product-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-features li { font-size: 0.82rem; color: #444; }
.product-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}
.price-label { font-size: 0.75rem; color: #888; }
.price-amount { font-size: 1.5rem; font-weight: 800; color: #003366; }
.price-note { font-size: 0.75rem; color: #25d366; font-weight: 600; }
.products-note {
  text-align: center;
  font-size: 0.82rem;
  color: #888;
  margin-top: 20px;
}
.products-note a { color: #007bff; }

/* ---- WHY US SECTION ---- */
.why-section {
  background: #fff;
  padding: 60px 20px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr 1fr; } }

.why-card {
  background: #f8fbff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.25s;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,51,102,0.1);
  border-color: #007bff;
}
.why-card.highlight-card {
  background: linear-gradient(135deg, #003366, #007bff);
  border-color: transparent;
  color: #fff;
}
.why-card.highlight-card h3,
.why-card.highlight-card p { color: #fff; }
.why-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.why-card h3 { font-size: 1.05rem; color: #003366; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: #555; line-height: 1.6; margin: 0; }

/* ---- REVIEWS SECTION ---- */
.reviews-section {
  background: #f4f7fb;
  padding: 60px 20px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: 1fr 1fr 1fr; } }

.review-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.featured-review {
  background: linear-gradient(135deg, #003366, #0056b3);
  border-color: transparent;
  color: #fff;
}
.featured-review .review-text,
.featured-review .reviewer strong,
.featured-review .reviewer span { color: #fff; }

.review-stars { font-size: 1rem; }
.review-text {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #003366);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 0.9rem; color: #003366; }
.reviewer span { font-size: 0.78rem; color: #888; }

.google-rating-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.google-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4285F4;
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.google-rating-box strong { display: block; font-size: 1rem; color: #003366; }
.google-rating-box span { font-size: 0.85rem; color: #777; }

/* ---- FAQ SECTION ---- */
.faq-section {
  background: #fff;
  padding: 60px 20px;
}
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: 0 4px 16px rgba(0,51,102,0.1); border-color: #007bff; }
.faq-question {
  width: 100%;
  background: #f8fbff;
  border: none;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #003366;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: background 0.2s;
}
.faq-question:hover { background: #e8f0fe; }
.faq-item.open .faq-question { background: #003366; color: #fff; }
.faq-arrow {
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 18px 20px;
  background: #fff;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
.faq-cta {
  text-align: center;
  margin-top: 35px;
}
.faq-cta p {
  color: #555;
  margin-bottom: 16px;
  font-size: 1rem;
}
.faq-cta .cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---- HINDI TEXT ---- */
.hindi-text {
  font-size: 0.92rem;
  color: #666;
  font-style: italic;
  margin-top: 4px;
}

/* ---- CONTACT SECTION (override for homepage) ---- */
.contact-section {
  background: #f4f7fb;
  padding: 40px 20px;
}
.contact-title {
  text-align: center;
  font-size: 1.6rem;
  color: #003366;
  margin-bottom: 8px;
}
#inline-quote-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#inline-quote-form input,
#inline-quote-form select,
#inline-quote-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
#inline-quote-form input:focus,
#inline-quote-form select:focus,
#inline-quote-form textarea:focus {
  border-color: #007bff;
  outline: none;
}
.submit-btn {
  padding: 14px;
  background: #003366;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
.submit-btn:hover { background: #007bff; }

/* ---- MOBILE RESPONSIVENESS ---- */
@media (max-width: 560px) {
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.4rem; }
  .stat-item { padding: 6px 12px; }
  .stat-number { font-size: 1.3rem; }
  .about-highlights { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 8px; }
  .stat-divider { display: none; }
  .google-rating-box { flex-direction: column; text-align: center; }
}

@media (min-width: 900px) {
  .services-section,
  .products-section,
  .why-section,
  .reviews-section,
  .faq-section,
  .about-section { padding: 80px 20px; }
  .hero-section { padding: 100px 20px 90px; }
}
