/* ============================================================
   HEMATENERGI
   Modern & Premium CSS
   Bootstrap 5 + jQuery
   ============================================================ */


/* ============================================================
   1. VARIABLES
   ============================================================ */

:root {
  --green-dark: #064e3b;
  --green-deep: #065f46;
  --green: #16a34a;
  --green-mid: #22c55e;
  --green-light: #86efac;
  --green-pale: #f0fdf4;

  --yellow: #facc15;
  --yellow-light: #fef08a;

  --white: #ffffff;
  --black: #111827;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 5px 20px rgba(15, 23, 42, 0.06);
  --shadow: 0 15px 40px rgba(15, 23, 42, 0.10);
  --shadow-green: 0 15px 40px rgba(22, 163, 74, 0.18);

  --transition: all 0.35s ease;

  --font: 'Plus Jakarta Sans', sans-serif;
}


/* ============================================================
   2. RESET
   ============================================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

::selection {
  background: var(--green);
  color: white;
}


/* ============================================================
   3. NAVBAR
   ============================================================ */

.he-navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(226, 232, 240, 0.8);

  padding: 15px 0;

  transition: var(--transition);

  z-index: 1030;
}

.he-navbar.scrolled {
  padding: 10px 0;

  box-shadow:
    0 8px 30px rgba(15, 23, 42, 0.08);
}


/* Brand */

.he-brand {
  display: flex;
  align-items: center;
  gap: 9px;

  color: var(--green-dark);

  font-size: 1.25rem;
  font-weight: 800;

  letter-spacing: -0.5px;

  transition: var(--transition);
}

.he-brand:hover {
  color: var(--green);
}

.he-brand-icon {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    135deg,
    var(--yellow),
    var(--yellow-light)
  );

  border-radius: 11px;

  font-size: 1rem;

  box-shadow:
    0 5px 15px rgba(250, 204, 21, 0.25);
}


/* Nav */

.he-nav-link {
  position: relative;

  color: var(--gray-600) !important;

  font-size: 0.9rem;
  font-weight: 700;

  padding: 9px 15px !important;

  border-radius: 10px;

  transition: var(--transition);
}

.he-nav-link:hover {
  color: var(--green) !important;
  background: var(--green-pale);
}

.he-nav-link.active {
  color: var(--green) !important;
  background: var(--green-pale);
}


/* Hamburger */

.he-toggler {
  border: none;
  padding: 8px;

  display: flex;
  flex-direction: column;
  gap: 5px;

  background: transparent;
}

.he-toggler:focus {
  box-shadow: none;
}

.he-toggler-icon {
  width: 25px;
  height: 2.5px;

  display: block;

  background: var(--green-dark);

  border-radius: 10px;
}


/* ============================================================
   4. HERO
   ============================================================ */

.he-hero {
  position: relative;

  min-height: 650px;

  display: flex;
  align-items: center;

  padding: 90px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(134, 239, 172, 0.35),
      transparent 28%
    ),

    radial-gradient(
      circle at 10% 90%,
      rgba(250, 204, 21, 0.12),
      transparent 25%
    ),

    linear-gradient(
      135deg,
      #f0fdf4 0%,
      #ecfdf5 50%,
      #ffffff 100%
    );
}


/* Decorative circle */

.he-hero::before {
  content: '';

  position: absolute;

  width: 450px;
  height: 450px;

  right: -180px;
  top: -180px;

  border-radius: 50%;

  border: 80px solid rgba(34, 197, 94, 0.05);

  pointer-events: none;
}


/* Badge */

.he-badge {
  display: inline-flex;

  padding: 6px;

  background: rgba(255,255,255,0.7);

  border: 1px solid rgba(134,239,172,0.7);

  border-radius: 999px;

  box-shadow: var(--shadow-sm);
}

.he-badge span {
  padding: 7px 14px;

  border-radius: 999px;

  background: var(--green-pale);

  color: var(--green);

  font-size: 0.75rem;

  font-weight: 800;

  letter-spacing: 0.08em;
}


/* Hero title */

.he-hero-title {
  max-width: 650px;

  margin-top: 22px;
  margin-bottom: 20px;

  color: var(--gray-800);

  font-size: clamp(2.5rem, 5vw, 4.2rem);

  font-weight: 800;

  line-height: 1.08;

  letter-spacing: -0.055em;
}

.he-highlight {
  display: inline-block;

  color: var(--green);

  position: relative;
}


/* Hero description */

.he-hero-desc {
  max-width: 540px;

  color: var(--gray-600);

  font-size: 1.05rem;

  line-height: 1.8;

  margin-bottom: 30px;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */

.he-hero-btns {
  margin-top: 25px;
}

.he-btn-primary,
.he-btn-outline,
.he-btn-cta {
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 22px;

  border-radius: 12px;

  font-size: 0.9rem;
  font-weight: 800;

  transition: var(--transition);
}


/* Primary */

.he-btn-primary {
  color: white;

  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--green-deep)
    );

  border: none;

  box-shadow:
    0 10px 25px rgba(22, 163, 74, 0.25);
}

.he-btn-primary:hover {
  color: white;

  transform: translateY(-3px);

  box-shadow:
    0 15px 30px rgba(22, 163, 74, 0.32);
}


/* Outline */

.he-btn-outline {
  color: var(--green);

  background: rgba(255,255,255,0.8);

  border: 1.5px solid var(--green-light);
}

.he-btn-outline:hover {
  color: var(--green-dark);

  background: var(--green-pale);

  border-color: var(--green);

  transform: translateY(-3px);
}


/* CTA */

.he-btn-cta {
  color: var(--green-dark);

  background: var(--yellow);

  border: none;

  box-shadow:
    0 10px 25px rgba(250,204,21,0.2);
}

.he-btn-cta:hover {
  color: var(--green-dark);

  background: var(--yellow-light);

  transform: translateY(-3px);

  box-shadow:
    0 15px 30px rgba(250,204,21,0.3);
}


/* ============================================================
   6. HERO IMAGE
   ============================================================ */

.he-hero-image {
  position: relative;

  width: 100%;
  max-width: 520px;

  margin-left: auto;

  padding: 10px;

  border-radius: 32px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.9),
      rgba(220,252,231,0.8)
    );

  box-shadow:
    0 25px 70px rgba(20, 83, 45, 0.15);

  transform: rotate(2deg);

  transition: var(--transition);
}

.he-hero-image:hover {
  transform:
    rotate(0deg)
    translateY(-8px);
}

.he-hero-image::before {
  content: '';

  position: absolute;

  width: 70px;
  height: 70px;

  right: -20px;
  top: -20px;

  background: var(--yellow);

  border-radius: 50%;

  z-index: -1;

  opacity: 0.8;
}

.he-hero-image img {
  width: 100%;
  height: 410px;

  object-fit: cover;

  border-radius: 24px;
}


/* ============================================================
   7. SECTION
   ============================================================ */

.he-section {
  padding: 100px 0;
}

.he-section-light {
  background:
    linear-gradient(
      180deg,
      var(--gray-50),
      #ffffff
    );
}


/* Section header */

.he-section-header {
  max-width: 700px;

  margin-left: auto;
  margin-right: auto;
}

.he-section-label {
  display: inline-flex;

  align-items: center;

  padding: 7px 13px;

  border-radius: 999px;

  background: var(--green-pale);

  border: 1px solid #bbf7d0;

  color: var(--green);

  font-size: 0.7rem;

  font-weight: 800;

  letter-spacing: 0.12em;
}

.he-section-title {
  margin-top: 14px;

  color: var(--gray-800);

  font-size: clamp(1.8rem, 3vw, 2.6rem);

  font-weight: 800;

  letter-spacing: -0.04em;

  line-height: 1.2;
}

.he-section-desc {
  max-width: 580px;

  margin-top: 12px;

  color: var(--gray-500);

  font-size: 0.95rem;

  line-height: 1.7;
}


/* ============================================================
   8. CARDS
   ============================================================ */

.he-card {
  position: relative;

  padding: 30px;

  background: rgba(255,255,255,0.85);

  border: 1px solid var(--gray-200);

  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);

  overflow: hidden;

  transition: var(--transition);
}

.he-card::after {
  content: '';

  position: absolute;

  width: 100px;
  height: 100px;

  right: -45px;
  bottom: -45px;

  border-radius: 50%;

  background: var(--green-pale);

  transition: var(--transition);

  z-index: 0;
}

.he-card:hover {
  transform: translateY(-8px);

  border-color: #bbf7d0;

  box-shadow: var(--shadow-green);
}

.he-card:hover::after {
  transform: scale(2);
}


/* Card icon */

.he-card-icon {
  position: relative;
  z-index: 1;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  background:
    linear-gradient(
      135deg,
      #fef9c3,
      #fef08a
    );

  border-radius: 17px;

  font-size: 1.7rem;

  box-shadow:
    0 8px 20px rgba(250,204,21,0.18);
}


/* Card title */

.he-card-title {
  position: relative;
  z-index: 1;

  margin-bottom: 8px;

  color: var(--gray-800);

  font-size: 1.05rem;

  font-weight: 800;
}

.he-card-desc {
  position: relative;
  z-index: 1;

  margin: 0;

  color: var(--gray-500);

  font-size: 0.9rem;

  line-height: 1.7;
}


/* Goal number */

.he-card-number {
  margin-bottom: 20px;

  color: var(--green-light);

  font-size: 3rem;

  font-weight: 800;

  line-height: 1;
}


/* ============================================================
   9. IMAGE GALLERY
   ============================================================ */

.he-image-card {
  height: 100%;

  overflow: hidden;

  background: white;

  border: 1px solid var(--gray-200);

  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);

  transition: var(--transition);
}

.he-image-card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow);
}

.he-image-card img {
  width: 100%;
  height: 250px;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.he-image-card:hover img {
  transform: scale(1.08);
}

.he-image-content {
  padding: 22px;
}

.he-image-content h3 {
  margin-bottom: 6px;

  color: var(--gray-800);

  font-size: 1.05rem;

  font-weight: 800;
}

.he-image-content p {
  margin: 0;

  color: var(--gray-500);

  font-size: 0.88rem;

  line-height: 1.6;
}


/* ============================================================
   10. ABOUT IMAGE
   ============================================================ */

.he-about-image {
  position: relative;

  padding: 8px;

  background: white;

  border-radius: 30px;

  box-shadow: var(--shadow);
}

.he-about-image::before {
  content: '';

  position: absolute;

  width: 100px;
  height: 100px;

  left: -30px;
  bottom: -30px;

  background: var(--yellow);

  border-radius: 50%;

  z-index: -1;
}

.he-about-image img {
  width: 100%;
  height: 390px;

  object-fit: cover;

  border-radius: 24px;
}

.he-about-text {
  margin-top: 18px;

  color: var(--gray-600);

  font-size: 0.95rem;

  line-height: 1.8;
}


/* ============================================================
   11. CTA
   ============================================================ */

.he-cta {
  position: relative;

  padding: 90px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(74,222,128,0.18),
      transparent 30%
    ),

    linear-gradient(
      135deg,
      #064e3b,
      #047857,
      #15803d
    );
}

.he-cta::before {
  content: '';

  position: absolute;

  width: 350px;
  height: 350px;

  right: -100px;
  top: -150px;

  border: 70px solid rgba(255,255,255,0.04);

  border-radius: 50%;
}

.he-cta::after {
  content: '';

  position: absolute;

  width: 200px;
  height: 200px;

  left: -70px;
  bottom: -100px;

  border-radius: 50%;

  background: rgba(250,204,21,0.07);
}

.he-cta-inner {
  position: relative;
  z-index: 1;

  max-width: 650px;

  margin: auto;
}

.he-cta-icon {
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 20px;

  background: rgba(255,255,255,0.1);

  border: 1px solid rgba(255,255,255,0.15);

  border-radius: 22px;

  font-size: 2rem;

  backdrop-filter: blur(10px);
}

.he-cta-title {
  color: white;

  font-size: clamp(1.7rem, 4vw, 2.5rem);

  font-weight: 800;

  line-height: 1.2;

  letter-spacing: -0.04em;
}

.he-cta-desc {
  max-width: 500px;

  margin: 15px auto 25px;

  color: rgba(255,255,255,0.75);

  font-size: 0.95rem;
}


/* ============================================================
   12. IDENTITY CARD
   ============================================================ */

.he-identity-card {
  padding: 28px;

  background: white;

  border: 1px solid var(--gray-200);

  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.he-identity-list {
  list-style: none;

  padding: 0;
  margin: 0;
}

.he-identity-list li {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 20px;

  padding: 16px 0;

  border-bottom: 1px solid var(--gray-100);
}

.he-identity-list li:last-child {
  border-bottom: none;
}

.he-id-label {
  color: var(--gray-400);

  font-size: 0.8rem;

  font-weight: 700;

  white-space: nowrap;
}

.he-id-value {
  color: var(--gray-800);

  font-size: 0.9rem;

  font-weight: 700;

  text-align: right;
}


/* ============================================================
   13. FOOTER
   ============================================================ */

.he-footer {
  padding-top: 65px;

  background: #0f172a;

  color: white;
}

.he-footer-brand {
  display: inline-flex;

  align-items: center;
  gap: 9px;

  color: white;

  font-size: 1.15rem;

  font-weight: 800;
}

.he-footer-brand span {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--yellow);

  border-radius: 9px;

  color: var(--green-dark);

  font-size: 0.85rem;
}

.he-footer-desc {
  max-width: 300px;

  color: rgba(255,255,255,0.5);

  font-size: 0.85rem;

  line-height: 1.7;
}

.he-footer-heading {
  margin-bottom: 15px;

  color: rgba(255,255,255,0.45);

  font-size: 0.7rem;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.he-footer-nav {
  display: flex;

  flex-direction: column;

  gap: 8px;

  padding: 0;
  margin: 0;

  list-style: none;
}

.he-footer-nav a {
  color: rgba(255,255,255,0.65);

  font-size: 0.85rem;

  transition: var(--transition);
}

.he-footer-nav a:hover {
  color: var(--green-mid);

  padding-left: 4px;
}

.he-footer-bottom {
  margin-top: 50px;

  padding: 20px 0;

  border-top: 1px solid rgba(255,255,255,0.08);
}

.he-footer-bottom p {
  margin: 0;

  color: rgba(255,255,255,0.3);

  font-size: 0.75rem;

  text-align: center;
}


/* ============================================================
   14. ANIMATION
   ============================================================ */

.he-fade-in {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.he-fade-in.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ============================================================
   15. RESPONSIVE TABLET
   ============================================================ */

@media (max-width: 991px) {

  .he-hero {
    min-height: auto;

    padding: 70px 0;
  }

  .he-hero-title {
    font-size: 3rem;
  }

  .he-hero-image {
    margin: 20px auto 0;

    transform: none;
  }

  .he-hero-image:hover {
    transform: translateY(-5px);
  }

  .he-section {
    padding: 75px 0;
  }

}


/* ============================================================
   16. RESPONSIVE MOBILE
   ============================================================ */

@media (max-width: 767px) {

  .he-navbar {
    padding: 12px 0;
  }

  .he-hero {
    padding: 60px 0;

    text-align: center;
  }

  .he-hero-title {
    font-size: 2.4rem;
  }

  .he-hero-desc {
    margin-left: auto;
    margin-right: auto;

    font-size: 0.95rem;
  }

  .he-hero-btns {
    justify-content: center;
  }

  .he-hero-image {
    max-width: 450px;
  }

  .he-hero-image img {
    height: 300px;
  }

  .he-section {
    padding: 65px 0;
  }

  .he-section-title {
    font-size: 1.8rem;
  }

  .he-about-image img {
    height: 300px;
  }

  .he-image-card img {
    height: 230px;
  }

  .he-identity-list li {
    flex-direction: column;

    align-items: flex-start;

    gap: 5px;
  }

  .he-id-value {
    text-align: left;
  }

}


/* ============================================================
   17. SMALL MOBILE
   ============================================================ */

@media (max-width: 575px) {

  .he-brand {
    font-size: 1.1rem;
  }

  .he-brand-icon {
    width: 32px;
    height: 32px;
  }

  .he-hero-title {
    font-size: 2.05rem;
  }

  .he-hero-btns {
    width: 100%;

    flex-direction: column;
  }

  .he-btn-primary,
  .he-btn-outline,
  .he-btn-cta {
    width: 100%;
  }

  .he-hero-image img {
    height: 260px;
  }

  .he-card {
    padding: 25px;
  }

  .he-image-content {
    padding: 18px;
  }

  .he-cta {
    padding: 70px 20px;
  }

}