:root {
  --blue-dark: #003B80;
  --blue-mid: #0052CC;
  --nav-hover: #cce1ff;
  --green-mid: #4DBB8B;
  --gradient-bg: linear-gradient(135deg, #0052CC, #003B80);
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --text-dark: #333;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: var(--gray-light);
  color: var(--text-dark);
  line-height: 1.6;
}

h1 {
    font-size: 5.5rem;
    margin-bottom: 20px;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gradient-bg);
  padding: 0px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .logo img {
  height: 50px;
}

.logo-bg {
  display: inline-block;
  background: var(--white); /* white background */
  padding: 0 40px;          /* only horizontal padding */
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
  height: 63px;             /* match logo height */
  display: flex;
  align-items: center;      /* vertically center logo */
}


.logo-bg img {
  height: 40px; /* slightly smaller so it fits nicely */
  display: block;
}



.nav i {
  margin-right: 8px;
}

.feature-info i {
  color: var(--blue-mid);
  margin-right: 6px;
}


.nav a {
  margin-left: 20px;
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  transition: 0.3s;
}

.nav a:hover {
  color: var(--nav-hover);
}

.btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 400;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
}

.btn-primary:hover {
  background: #3ca77c;
}

.btn-admin {
  background: var(--blue-dark);
  color: var(--blue-dark);
}

/* .btn-admin:hover {
  background: var(--blue-mid);
  color: var(--white);
} */

/* HERO */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 90vh; /* full viewport height */
  padding: 0 20px;   /* remove large padding, rely on height */
  background: url("images/renewable_energy.webp") center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 59, 128, 0.6) 0%, rgba(0, 82, 204, 0.05) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
}



.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  background: #004ab26b;
  border-radius: 10px;
  padding: 10px 20px 15px;
}

.hero p {
  font-size: 24px;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  padding: 80px;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* align text left */
  padding: 30px;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.feature-icon {
  width: 100%;
  text-align: center; /* center the icon */
  font-size: 3rem; /* make it big */
  color: var(--blue-mid);
  margin-bottom: 20px;
}

.feature-info {
  text-align: center;
}

.feature-info h3 {
  color: var(--blue-mid);
  margin-bottom: 15px;
  font-size: 22px;
}

.feature-info p {
  font-size: 14px;
  line-height: 1.6;
}



/* FOOTER */
.footer {
  background: var(--gradient-bg);
  color: var(--white);
  padding: 50px 40px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
  width: 1440px;
  margin: 0px auto 30px;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 2rem;
  color: var(--white);
}

.footer-column p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 30px;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--green-mid);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}


/* PRIVACY PAGE BOX */
.privacy-content {
  max-width: 1100px;
  margin: 60px auto;
  padding: 60px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  line-height: 1.8;
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.08); /* subtle border */
}

.privacy-content h1 {
  font-size: 3rem;
  color: var(--blue-mid);
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 4px solid var(--green-mid);
  padding-bottom: 20px;
}

.privacy-content h2 {
  font-size: 2rem;
  color: var(--blue-dark);
  margin-top: 50px;
  margin-bottom: 20px;
}

.privacy-content h3 {
  font-size: 1.5rem;
  color: var(--blue-mid);
  margin-top: 35px;
  margin-bottom: 15px;
}

.privacy-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.privacy-content ul,
.privacy-content ol {
  margin: 20px 0 30px 30px;
  font-size: 1.05rem;
}

.privacy-content li {
  margin-bottom: 12px;
}

.privacy-content strong {
  color: var(--blue-dark);
}

.privacy-content blockquote {
  background: var(--gray-light);
  border-left: 6px solid var(--blue-mid);
  padding: 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-dark);
  border-radius: 6px;
}
