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

:root {
  --navy-900: #071a3d;
  --navy-800: #0d2a5c;
  --blue-600: #1558d6;
  --blue-500: #2f7bf7;
  --gold-400: #f5b942;
  --gold-500: #eea430;
  --ink-900: #0b1220;
  --ink-600: #4a5568;
  --ink-400: #8a94a6;
  --white: #ffffff;
  --off-white: #f6f8fc;
  --border: #e6eaf2;
  --radius: 16px;
  --shadow-lg: 0 20px 50px rgba(7, 26, 61, 0.15);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  box-shadow: 0 10px 25px rgba(238, 164, 48, 0.35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(238, 164, 48, 0.45); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--gold-400); }

/* ===== Brand Hero (real banner image) ===== */
.brand-hero__img {
  width: 100%;
  display: block;
}

/* ===== Info Cards (video + Solar Advancements) ===== */
.info-cards {
  padding: 90px 0;
  background: linear-gradient(180deg, #fac888 0%, #fbdcae 30%, #fff6ea 65%, #ffffff 100%);
}
.info-cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.info-card {
  border-radius: 18px;
  overflow: hidden;
}
.info-card--video {
  background: #000;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}
.info-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.info-card--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.info-card__eyebrow {
  color: var(--navy-800);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.info-card__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 22px;
}
.info-card__text {
  color: #2c5266;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.info-cards__banner {
  width: 100%;
  display: block;
  margin-top: 60px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

/* ===== Capacity Stats ===== */
.capacity-stats {
  padding: 60px 0;
  background: var(--white);
}
.capacity-stats__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
.capacity-stat__num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 10px;
}
.capacity-stat__label {
  color: var(--navy-800);
  font-size: 1.05rem;
  line-height: 1.4;
}
.capacity-stat__divider {
  width: 3px;
  height: 90px;
  background: linear-gradient(180deg, var(--blue-500), var(--white) 50%, var(--gold-500));
  border-radius: 2px;
}

/* ===== Stats ===== */
.stats {
  background: var(--navy-900);
  padding: 48px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-400);
}
.stat__label {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== Section shared ===== */
.section-tag {
  color: var(--blue-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-tag--light { color: var(--gold-400); }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--ink-900);
  max-width: 700px;
  margin-bottom: 16px;
}
.section-title--light { color: var(--white); }
.section-subtitle {
  color: var(--ink-600);
  max-width: 600px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ===== Products + Contact ===== */
.products { padding: 100px 0; background: var(--white); }
.products__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 14px;
}
.products__underline {
  display: block;
  width: 220px;
  height: 3px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #e0473e, #f5b942, #2f9e5c, var(--blue-500));
  border-radius: 2px;
}
.products__subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 10px;
}
.products__desc {
  color: var(--ink-600);
  max-width: 760px;
  margin-bottom: 44px;
}

.products__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.products__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.product-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: var(--radius);
  padding: 32px;
  min-height: 220px;
  overflow: hidden;
  background: linear-gradient(115deg, #0d9fd8 0%, #0d6d92 55%, #0a4a63 100%);
}
.product-banner__content { position: relative; z-index: 1; max-width: 60%; }
.product-banner__content h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.product-banner__content p { color: rgba(255,255,255,0.85); font-size: 0.92rem; margin-bottom: 18px; }
.product-banner__link { color: var(--white); font-weight: 600; font-size: 0.88rem; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 2px; }
.product-banner__link:hover { border-color: var(--white); }
.product-banner__img {
  position: relative;
  z-index: 1;
  max-width: 220px;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.35));
}

.products__contact {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}
.products__contact h3 { font-size: 1.3rem; margin-bottom: 6px; color: var(--ink-900); }
.products__contact > p { color: var(--ink-600); font-size: 0.92rem; margin-bottom: 24px; }
.contact-form__group { margin-bottom: 18px; }
.contact-form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.contact-form__group input,
.contact-form__group select,
.contact-form__group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink-900);
  resize: vertical;
}
.contact-form__group input:focus,
.contact-form__group select:focus,
.contact-form__group textarea:focus {
  outline: 2px solid var(--blue-500);
  border-color: transparent;
}
.contact-form .btn { width: 100%; }
.contact-form__note { margin-top: 14px; font-size: 0.88rem; color: var(--blue-600); min-height: 20px; }

/* ===== Journey Carousel ===== */
.journey { padding: 100px 0 110px; background: var(--white); overflow: hidden; }
.journey-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}
.journey-carousel__arrow {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy-800);
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  transition: var(--transition);
}
.journey-carousel__arrow:hover { background: var(--navy-800); color: var(--white); }
.journey-carousel__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 1100px;
}
.journey-slide { transition: var(--transition); }
.journey-slide--side {
  flex: 0 0 26%;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.45;
  transform: scale(0.9);
  filter: grayscale(0.25);
}
.journey-slide--side img { width: 100%; height: 260px; object-fit: cover; display: block; }
.journey-slide--active {
  flex: 0 0 46%;
  text-align: center;
}
.journey-slide__year {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-800);
}
.journey-slide__subtitle { color: var(--navy-800); font-weight: 600; margin-bottom: 16px; }
.journey-slide__img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.journey-slide__caption { color: var(--ink-600); margin-top: 18px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== News & Blogs ===== */
.news { padding: 20px 0 100px; background: var(--off-white); }
.news__tabs { display: flex; gap: 12px; margin: 28px 0 36px; }
.news__tab {
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  background: var(--border);
  color: var(--ink-600);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.news__tab--active { background: var(--blue-600); color: var(--white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.news-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.news-card h3 { font-size: 1.05rem; color: var(--navy-800); margin: 18px 20px 8px; }
.news-card p { color: var(--ink-600); font-size: 0.88rem; margin: 0 20px 18px; }
.news-card__btn { margin: 0 20px 20px; padding: 10px 22px; font-size: 0.85rem; background: var(--blue-600); color: var(--white); box-shadow: none; }

/* ===== Footer ===== */
.footer { background: var(--ink-900); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand p { margin-top: 12px; font-size: 0.9rem; max-width: 280px; }
.footer__links h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer__links a, .footer__links span { display: block; margin-bottom: 10px; font-size: 0.9rem; }
.footer__links a:hover { color: var(--gold-400); }
.footer__bottom { text-align: center; padding: 24px 0; font-size: 0.85rem; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold-400);
  color: var(--navy-900);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Success Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 61, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 44px 40px 36px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  transform: scale(0.7) translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); opacity: 1; }

.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink-400);
  cursor: pointer;
}
.modal__close:hover { color: var(--ink-900); }

.modal__icon { margin: 0 auto 20px; width: 84px; height: 84px; }
.modal__check { width: 100%; height: 100%; }
.modal__check-circle {
  stroke: var(--blue-600);
  stroke-width: 2.5;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: modalCircle 0.5s ease-out forwards;
}
.modal__check-mark {
  stroke: var(--blue-600);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: modalCheck 0.35s 0.45s ease-out forwards;
}
@keyframes modalCircle { to { stroke-dashoffset: 0; } }
@keyframes modalCheck { to { stroke-dashoffset: 0; } }

.modal__title { font-size: 1.5rem; font-weight: 800; color: var(--navy-800); margin-bottom: 10px; }
.modal__text { color: var(--ink-600); font-size: 0.95rem; margin-bottom: 28px; }
.modal .btn { padding: 12px 40px; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .info-cards__grid { grid-template-columns: 1fr; gap: 36px; }
  .products__layout { grid-template-columns: 1fr; }
  .journey-slide--side { display: none; }
  .journey-slide--active { flex: 0 0 100%; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .product-banner { flex-direction: column; text-align: center; }
  .product-banner__content { max-width: 100%; }
  .capacity-stats__grid { grid-template-columns: 1fr; text-align: center; }
  .capacity-stat__divider { width: 90px; height: 3px; margin: 0 auto; }
  .news-grid { grid-template-columns: 1fr; }
}
