/* ============================================
   Rajkanya Solar Energy — Shared Stylesheet
   Used by the public site and the admin pages
   ============================================ */

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --orange: #ea580c;
  --teal: #0d9488;
  --coral: #ff6b6b;
  --deep-gold: #b8860b;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: opacity 0.12s ease;
  overflow-x: hidden;
  max-width: 100vw;
}

body.i18n-fade { opacity: 0.4; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-label {
  display: inline-block;
  color: var(--amber-dark);
  background: #fff7ed;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--navy);
}

.section-sub {
  color: var(--text-light);
  max-width: 640px;
  margin: 0 0 44px;
  font-size: 1.02rem;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- MASSIMO Partner Section ---------- */
.massimo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.massimo-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.massimo-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.massimo-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.massimo-feature h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.massimo-feature p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.massimo-visual {
  text-align: center;
}

@media (max-width: 900px) {
  .massimo-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Subsidies Section ---------- */
.subsidy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.subsidy-card {
  background: #fff;
  border: 2px solid #dbeafe;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subsidy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  border-color: var(--amber);
}

.subsidy-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.subsidy-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 12px 0;
}

.subsidy-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.subsidy-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  margin: 12px 0;
}

.subsidy-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.subsidy-info {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  color: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Solar Home Section ---------- */
.solar-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.solar-home-grid h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}

.solar-home-grid > div:first-child p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.solar-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solar-benefits li {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 12px;
  padding-left: 0;
}

.solar-home-image {
  background: #f0f9ff;
  border-radius: 16px;
  padding: 20px;
}

/* ---------- Green Mission Quotes ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.quote-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.quote-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.quote-text {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  margin: 0 0 16px;
  font-weight: 500;
}

.quote-author {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #fff;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(234, 88, 12, 0.35); }

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-outline:hover { border-color: var(--amber); color: var(--amber-dark); }

.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 0;
}

.brand-name-short { display: none; }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.nav-links a:not(.btn):hover { color: var(--navy); }

.nav-links a.btn { white-space: nowrap; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.lang-icon { font-size: 1rem; }

#langSelect {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
  max-width: 96px;
  transition: border-color 0.15s ease;
}

#langSelect:hover { border-color: var(--amber); }
#langSelect:focus { outline: 2px solid var(--amber); outline-offset: 2px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  color: #fff;
  padding: 100px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 40%),
              radial-gradient(circle at 85% 75%, rgba(255,255,255,0.14), transparent 45%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  margin: 0 0 18px;
  line-height: 1.15;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.94;
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero .btn-outline {
  background: #fff;
  color: var(--orange);
}

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
  position: relative;
}

.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; }
.hero-stat span { font-size: 0.85rem; opacity: 0.9; }

/* ---------- Cards / Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.card h3 { margin: 0 0 10px; font-size: 1.15rem; color: var(--navy); }
.card p { margin: 0; color: var(--text-light); font-size: 0.94rem; }

.why-card { text-align: center; }
.why-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}
.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

/* ---------- Service Areas ---------- */
.areas-wrap {
  background: var(--navy);
  border-radius: 24px;
  padding: 56px 40px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 32px;
  align-items: center;
}

.areas-wrap h2 { color: #fff; }
.areas-wrap .section-sub { color: #cbd5e1; }

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-question .icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff7ed;
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-light);
  font-size: 0.95rem;
}

.faq-answer p { padding: 0 24px 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-msg {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-msg.success { display: block; background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.form-msg.error { display: block; background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

.contact-info-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.contact-info-card p.lead { color: #cbd5e1; margin: 0 0 26px; font-size: 0.92rem; }

.info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.info-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-row strong { display: block; font-size: 0.95rem; }
.info-row span, .info-row a { color: #cbd5e1; font-size: 0.9rem; }

.map-embed {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.map-embed iframe { width: 100%; height: 200px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.footer h4 { color: #fff; font-size: 1rem; margin: 0 0 18px; }
.footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer ul li a:hover { color: #fff; }

.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--amber), var(--orange)); display: flex; align-items: center; justify-content: center; }
.footer-tagline { font-size: 0.88rem; color: #94a3b8; max-width: 260px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { font-weight: 700; color: #cbd5e1; }
.footer-bottom a:hover { color: #fff; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  bottom: 190px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 200;
  transition: transform 0.15s ease;
}

.wa-fab:hover { transform: scale(1.08); }

/* ---------- Offers Overlay ---------- */
.offers-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offers-overlay.show { opacity: 1; }

.offers-carousel {
  position: relative;
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  border-radius: 20px;
  padding: 32px 32px 32px;
  max-width: 500px;
  width: 90%;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.offers-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.offers-close:hover { background: rgba(255, 255, 255, 0.3); }

.offers-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.offers-content {
  margin-bottom: 24px;
}

.offers-content h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.offers-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
}

.offers-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.offers-nav {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.offers-nav:hover { background: rgba(255, 255, 255, 0.3); }

.offers-counter {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
  min-width: 60px;
}

/* ============================================
   MASSIMO Complete System Showcase
   ============================================ */

.system-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 40px;
}

.system-image {
  text-align: center;
}

.system-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.system-feature {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.system-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.feature-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .system-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .system-image {
    order: 2;
  }

  .system-details {
    order: 1;
  }
}

/* ============================================
   Products Section - MASSIMO Solar Panels
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f0f9ff, #f8fafc);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.product-specs {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--amber);
  font-weight: 600;
}

.product-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  flex-grow: 1;
}

.btn-sm {
  padding: 8px 16px !important;
  font-size: 0.9rem !important;
  width: 100%;
  text-align: center;
}

/* ============================================
   Video Gallery & Modal
   ============================================ */

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #1e293b);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-card:hover .video-play-overlay {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  background: var(--amber);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}

.video-info {
  padding: 16px;
}

.video-info h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.video-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Video Player Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-modal.show {
  opacity: 1;
}

.video-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.video-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.video-modal-header .modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.video-modal-header .modal-close:hover {
  color: var(--navy);
}

.video-player-container {
  padding: 20px 24px;
}

.video-modal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.nav-button {
  background: var(--amber);
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-button:hover {
  background: var(--amber-dark);
}

.video-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  min-width: 60px;
  text-align: center;
}

.video-description {
  padding: 16px 24px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   Awards & Recognition Section
   ============================================ */

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.award-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 14px;
  border-left: 5px solid var(--deep-gold);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.award-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.award-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.award-card p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   Upload Progress Bar
   ============================================ */

.upload-progress {
  margin: 16px 0;
  padding: 12px;
  background: #f0f9ff;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
}

.progress-bar {
  width: 0%;
  height: 8px;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  border-radius: 4px;
  transition: width 0.3s ease;
  margin-bottom: 8px;
}

#uploadPercentage {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

/* ============================================
   Admin pages (login + dashboard)
   ============================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), #1e293b);
  padding: 20px;
}

.auth-card {
  background: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: var(--shadow-lg);
}

.auth-card .brand { justify-content: center; margin-bottom: 6px; }
.auth-card .auth-sub { text-align: center; color: var(--text-light); font-size: 0.88rem; margin-bottom: 28px; }

.admin-shell { min-height: 100vh; background: var(--bg); }

.admin-nav {
  background: var(--navy);
  color: #fff;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.admin-nav .brand { color: #fff; font-size: 1.02rem; }

.admin-main { max-width: 1300px; margin: 0 auto; padding: 32px 20px 60px; }

.admin-tabs {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border);
}

.admin-tab {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.15s ease;
  margin-bottom: -18px;
}

.admin-tab:hover { color: var(--navy); }

.admin-tab.active {
  color: var(--navy);
  border-bottom-color: var(--amber);
}

.admin-section { display: none; }
.admin-section.active { display: block; }

.offers-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.offers-toolbar h2 { margin: 0; font-size: 1.2rem; color: var(--navy); }

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  border-radius: 14px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 { margin: 0; font-size: 1.1rem; color: var(--navy); }

.modal-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { color: var(--navy); }

#offerForm {
  padding: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.88rem;
  font-family: inherit;
  font-size: inherit;
}

.form-group textarea { resize: vertical; }

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.form-actions .btn { flex: 1; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.stat-card strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.stat-card span { font-size: 0.8rem; color: var(--text-light); font-weight: 600; }

.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.toolbar-left { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }

.toolbar input[type="text"],
.toolbar select {
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-family: inherit;
  background: #fff;
}

.toolbar input[type="text"] { min-width: 220px; }

.table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: auto;
  box-shadow: var(--shadow);
}

table { width: 100%; border-collapse: collapse; min-width: 900px; }

thead th {
  text-align: left;
  padding: 14px 16px;
  background: #f8fafc;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

thead th:hover { color: var(--navy); }

tbody td {
  padding: 14px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fafafa; }

.wa-link {
  color: #16a34a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  background: #fff;
}

.status-New { color: #2563eb; }
.status-Contacted { color: #d97706; }
.status-Quoted { color: #7c3aed; }
.status-Converted { color: #16a34a; }
.status-Not-Interested { color: #dc2626; }

.row-delete {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.85rem;
}
.row-delete:hover { color: var(--danger); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.config-warning {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--danger);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 20px;
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px; border-bottom: 1px solid var(--border); display: none; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .areas-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .navbar .container { padding-left: 14px; padding-right: 14px; gap: 8px; }
  .brand-name-full { display: none; }
  .brand-name-short { display: inline; }
  .brand { font-size: 1rem; gap: 6px; }
  .brand-mark { width: 32px; height: 32px; font-size: 1rem; }
  #langSelect { max-width: 78px; font-size: 0.76rem; padding: 5px 6px; }
}

