/* ===================================================
   AALOKIS RENEWABLES – Premium Corporate Stylesheet
   Color Palette: Dark Green #0D2B1D | Gold #C9A84C | White #F5F5F0
   =================================================== */

/* ---- CSS Variables ---- */
:root {
  --green-dark: #0D2B1D;
  --green-mid: #1A4332;
  --green-light: #2D6A4F;
  --green-accent: #40916C;
  --gold: #C9A84C;
  --gold-light: #E0C472;
  --gold-dark: #A8893A;
  --white: #FFFFFF;
  --off-white: #F5F5F0;
  --light-gray: #E8E8E3;
  --mid-gray: #9A9A8E;
  --dark-gray: #3A3A30;
  --text-primary: #1A1A14;
  --text-secondary: #5A5A4E;
  --shadow-sm: 0 2px 8px rgba(13, 43, 29, 0.08);
  --shadow-md: 0 8px 32px rgba(13, 43, 29, 0.12);
  --shadow-lg: 0 20px 60px rgba(13, 43, 29, 0.18);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--navbar-h);
}

section[id] {
  scroll-margin-top: var(--navbar-h);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

/* ---- Utility ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.gold-text {
  color: var(--gold);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-tag.light {
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.25);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  border-radius: 100px;
  line-height: 1;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  line-height: 1;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  height: var(--navbar-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 43, 29, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-primary {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-secondary {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.nav-cta {
  background: var(--gold);
  color: var(--green-dark) !important;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 100px;
  margin-left: 8px;
}

.nav-link.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  z-index: 1200;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.hamburger .bar {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
  pointer-events: none;
}

.hamburger.open .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile nav backdrop - MUST use pointer-events:none when closed */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1049;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
  padding-top: var(--navbar-h);
  padding-bottom: 0;
  box-sizing: border-box;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(13, 43, 29, 0.92) 0%,
      rgba(13, 43, 29, 0.75) 50%,
      rgba(13, 43, 29, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 36px 48px 28px;
  margin-top: auto;
  margin-bottom: auto;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeUp 1s 0.1s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp 1s 0.2s ease both;
}

.hero-accent {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 28px;
  animation: fadeUp 1s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.4s ease both;
}

.hero-stats {
  position: relative;
  width: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  background: rgba(13, 43, 29, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 20px 48px;
  gap: 0;
  margin-top: auto;
  box-sizing: border-box;
  animation: fadeUp 1s 0.5s ease both;
}

.stat-card {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  height: 32px;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

.scroll-indicator {
  display: none !important;
}

/* ===================================================
   ABOUT
   =================================================== */
.about-section {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-block {
  position: relative;
  min-height: 480px;
}

.about-img-main {
  width: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-img-main:hover img {
  transform: scale(1.05);
}

.about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--off-white);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-img-accent:hover img {
  transform: scale(1.05);
}

.about-badge-float {
  position: absolute;
  top: 32px;
  right: 0;
  background: var(--green-dark);
  color: var(--gold);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge-float span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.about-badge-float strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.about-heading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.vm-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.vm-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.vm-icon {
  display: flex;
  align-items: center;
  height: 36px;
  margin-bottom: 10px;
}

.vm-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.vm-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 8px 16px;
  border-radius: 100px;
}

.value-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* ===================================================
   SOLAR PLANT
   =================================================== */
.plant-section {
  background: var(--green-dark);
  color: var(--white);
}

.plant-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(64, 145, 108, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
}

.plant-gallery {
  margin-bottom: 40px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 20px;
  background: linear-gradient(to top, rgba(13, 43, 29, 0.9), transparent);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

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

.gallery-thumb {
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: var(--transition);
  border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--gold);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plant-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.spec-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.spec-card:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-bottom: 12px;
}

.spec-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.placeholder-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

/* ===================================================
   POWER GENERATION
   =================================================== */
.power-section {
  background: var(--white);
}

.power-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.power-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.power-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.power-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(13, 43, 29, 0.2));
}

.power-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}

.power-step:last-child {
  border-bottom: none;
}

.power-step:hover {
  transform: translateX(6px);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  min-width: 48px;
  transition: var(--transition);
}

.power-step:hover .step-number {
  opacity: 1;
}

.step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.power-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.highlight-card:hover {
  border-bottom-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.highlight-icon {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 14px;
}

.highlight-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================
   SUSTAINABILITY
   =================================================== */
.sustain-section {
  position: relative;
  overflow: hidden;
}

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

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

.sustain-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(13, 43, 29, 0.95) 0%,
      rgba(26, 67, 50, 0.88) 100%);
}

.sustain-section .container {
  position: relative;
  z-index: 1;
}

.sustain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.sustain-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.sustain-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.sustain-card-icon {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 14px;
}

.sustain-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.sustain-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.sustain-quote {
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding-top: 48px;
}

.sustain-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto 16px;
  font-style: italic;
}

.sustain-quote cite {
  font-size: 0.875rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ===================================================
   CORPORATE
   =================================================== */
.corporate-section {
  background: var(--off-white);
}

.corporate-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.corporate-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.corp-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 28px;
}

.corp-logo-placeholder {
  width: 72px;
  height: 72px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.corp-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.corp-status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.corp-status.active {
  background: rgba(40, 167, 69, 0.1);
  color: #1a7c35;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.corp-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.corp-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.corp-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.corp-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
}

.corporate-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.corp-info-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.corp-info-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateX(4px);
}

.corp-info-icon {
  display: flex;
  align-items: center;
  height: 36px;
  margin-bottom: 10px;
}

.corp-info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.corp-info-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3,
.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
}

.contact-detail:last-of-type {
  border-bottom: none;
}

.contact-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 28px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-accent);
}

.contact-detail strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 4px;
}

.contact-detail span {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.contact-map-placeholder {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
}

.contact-map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 43, 29, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

/* ---- Form ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1/-1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5A4E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.submit-btn {
  align-self: flex-start;
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #1a7c35;
  font-weight: 500;
}

.form-success.show {
  display: flex;
  animation: fadeUp 0.4s ease;
}

.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #c82333;
  font-weight: 500;
}

.form-error.show {
  display: flex;
  animation: fadeUp 0.4s ease;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer-top {
  padding: 72px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  font-style: italic;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col li {
  font-size: 0.875rem;
}

.footer-links-col a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links-col a:hover {
  color: var(--gold);
}

.footer-label {
  color: var(--gold);
  font-weight: 600;
  margin-right: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: var(--green-dark);
  color: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--green-dark);
  transform: translateY(-4px);
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  :root {
    --navbar-h: 68px;
  }

  .navbar {
    background: rgba(13, 43, 29, 0.98) !important;
    backdrop-filter: blur(16px);
  }

  /* Hamburger – visible on tablets and mobile (<= 1024px) */
  .hamburger {
    display: flex;
  }

  /* Nav panel – slides DOWN smoothly from the navbar */
  .nav-links {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: var(--green-dark);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    border-bottom: 3px solid var(--gold);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    transform: translateY(-110%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    z-index: 1201;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 18px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link:last-of-type {
    border-bottom: none;
  }

  .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }

  .nav-link.nav-cta {
    background: var(--gold);
    color: var(--green-dark) !important;
    text-align: center;
    margin-top: 8px;
    border-bottom: none;
    font-weight: 700;
  }

  .nav-backdrop {
    z-index: 1050;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .corporate-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .power-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .plant-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .sustain-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }
}

/* Laptop short screen height optimization (prevents overlap on 1280x600/700) */
@media (min-width: 769px) and (max-height: 720px) {
  .hero-content {
    padding: 24px 48px 16px;
  }

  .hero-badge {
    margin-bottom: 14px;
    padding: 4px 12px;
  }

  .hero-title {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .hero-actions {
    margin-bottom: 12px;
  }

  .hero-stats {
    padding: 14px 48px;
  }

  .stat-card {
    padding: 6px 12px;
  }

  .stat-icon {
    height: 24px;
    margin-bottom: 4px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    align-items: center;
    padding-top: var(--navbar-h);
    padding-bottom: 0;
    min-height: 100svh;
  }

  .hero-content {
    padding: 24px 20px 20px;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.8vw, 2.35rem);
    line-height: 1.18;
    margin-bottom: 12px;
    word-break: break-word;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    margin-bottom: 16px;
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    position: relative;
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 0;
    box-sizing: border-box;
  }

  .stat-card {
    flex: 1 0 45%;
    padding: 8px 10px;
  }

  .stat-icon {
    height: 26px;
    margin-bottom: 4px;
  }

  .stat-value {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.68rem;
  }

  .stat-divider {
    display: none;
  }

  /* About us mobile overhaul: sleek single hero image with clean floating badge */
  .about-image-block {
    min-height: auto;
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .about-img-main {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
  }

  .about-img-accent {
    display: none;
  }

  .about-badge-float {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    z-index: 3;
    box-shadow: var(--shadow-md);
  }

  .about-badge-float strong {
    font-size: 1.5rem;
  }

  .about-badge-float span {
    font-size: 0.65rem;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .plant-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .spec-card {
    padding: 16px 12px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .spec-value {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .power-highlights {
    grid-template-columns: 1fr;
  }

  .sustain-cards {
    grid-template-columns: 1fr;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .corp-details-grid {
    grid-template-columns: 1fr;
  }

  .corp-value {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom-content {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 20px 16px 16px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.18;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    display: inline-flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 48px;
    line-height: 1;
    padding: 0 20px;
    font-size: 0.92rem;
  }

  .hero-stats {
    padding: 12px 10px;
  }

  .stat-card {
    padding: 6px 8px;
  }

  .stat-value {
    font-size: 0.95rem;
  }

  .spec-card {
    padding: 14px 10px;
    min-height: 120px;
  }

  .spec-icon svg {
    width: 26px;
    height: 26px;
  }

  .spec-value {
    font-size: 0.82rem;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}