/* ============================================
   Tumuruu BESS & Solar — Global Stylesheet
   Brand Colours: Navy #1B3564, Gold #E5A817, Green #2E7D32, White
   ============================================ */

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

:root {
  --navy: #1B3564;
  --navy-dark: #0F2240;
  --gold: #E5A817;
  --gold-light: #F5C842;
  --green: #2E7D32;
  --green-light: #4CAF50;
  --green-dark: #1B5E20;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-grey: #E9ECEF;
  --mid-grey: #6C757D;
  --dark-grey: #343A40;
  --text: #2D3436;
  --text-light: #636E72;
  --shadow: 0 2px 16px rgba(27,53,100,0.08);
  --shadow-lg: 0 8px 32px rgba(27,53,100,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --nav-height: 80px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { max-width: 72ch; }

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }

img { max-width: 100%; height: auto; display: block; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-green { color: var(--green); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(27,53,100,0.08);
  z-index: 10000;
  transition: box-shadow var(--transition);
}
@media (min-width: 1025px) {
  .nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.nav.scrolled { box-shadow: 0 2px 20px rgba(27,53,100,0.1); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 72px; width: auto; }
.nav-logo span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  background: rgba(46,125,50,0.06);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; z-index: 10001; position: relative; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a3a8a;
    flex-direction: column;
    padding: 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 10001;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links li {
    width: 100%;
    list-style: none;
  }
  .nav-links a {
    font-size: 1.15rem;
    padding: 18px 20px;
    width: 100%;
    color: #FFFFFF !important;
    background: transparent !important;
    border-radius: 0;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    font-weight: 600;
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: #FFFFFF !important;
    background: rgba(255,255,255,0.15) !important;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(15,34,64,0.85) 0%, rgba(27,53,100,0.7) 40%, rgba(46,125,50,0.5) 100%);
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(229,168,23,0.2);
  border: 1px solid rgba(229,168,23,0.4);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  max-width: 700px;
  margin-bottom: 20px;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229,168,23,0.3);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}

.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.8); }

.section-grey { background: var(--off-white); }

.section-header {
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 12px;
}

.section-header h2 { margin-bottom: 16px; }

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
}
.section-header.text-center p { margin: 0 auto; }

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(46,125,50,0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.card-icon-green { background: rgba(46,125,50,0.1); color: var(--green); }
.card-icon-gold { background: rgba(229,168,23,0.12); color: var(--gold); }
.card-icon-navy { background: rgba(27,53,100,0.08); color: var(--navy); }

.card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* --- Feature Grid (two col) --- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.feature-content h2 { margin-bottom: 20px; }
.feature-content p { margin-bottom: 16px; color: var(--text-light); }

.feature-list {
  list-style: none;
  margin-top: 24px;
}
.feature-list li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .feature-grid, .feature-grid.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }
}

/* --- Page Header (interior pages) --- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229,168,23,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 600px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold); }

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--light-grey);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 48px 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  font-family: inherit;
  line-height: 1.4;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--green);
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
}

.contact-info-card {
  padding: 36px;
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 16px; }
.contact-info-card p { color: rgba(255,255,255,0.75); margin-bottom: 32px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(229,168,23,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail-text strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.contact-detail-text span, .contact-detail-text a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.contact-detail-text a:hover { color: var(--gold); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

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

/* --- Timeline --- */
.timeline-image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.timeline-image img { width: 100%; }

/* --- Documents List --- */
.doc-list { list-style: none; max-width: 700px; }

.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  margin-bottom: 8px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-grey);
  transition: all var(--transition);
}
.doc-item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.doc-icon {
  width: 42px;
  height: 42px;
  background: rgba(46,125,50,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.doc-info { flex: 1; }
.doc-info strong { font-size: 0.95rem; color: var(--navy); display: block; }
.doc-info span { font-size: 0.8rem; color: var(--text-light); }

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { font-size: 0.9rem; margin-top: 16px; line-height: 1.7; }
.footer-brand img { height: 48px; margin-bottom: 8px; }

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.acknowledgment {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 32px;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  border-left: 3px solid var(--gold);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* --- Timeline mobile --- */
@media (max-width: 768px) {
  .timeline-mobile { display: block !important; }
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Misc --- */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 2px;
  margin: 16px 0;
}
.divider-center { margin: 16px auto; }

.highlight-box {
  background: linear-gradient(135deg, rgba(46,125,50,0.06), rgba(229,168,23,0.06));
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px;
  margin: 24px 0;
}
.highlight-box p { color: var(--text); }

/* Google fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');
