/* css/about.css */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-family: Arial, sans-serif;
  color: #000000;
  padding-top: 50px; /* adjust to your header height */
}

header {
  width: 100%;
  background-color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 5px 80px;
  height: 20px; /* or whatever height you want */
  flex-wrap: wrap;
  padding-bottom: 30px;
  z-index: 10
}

.logo {
  position: absolute;
  left: calc(20px + 1.5cm);
  margin-bottom: 10px; /* pushes nav downward if needed */
  z-index: 11
}

.logo img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  z-index: 11
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 10px;
  }
}

nav {
  display: flex;
  gap: 30px;
}

#menu-toggle {
  display: none;
  background: none;
  font-size: 1.5rem;
  border: none;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

main {
  padding: 40px 20px;
}

.hero {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.hero h1 {
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: #444;
}

.content {
  max-width: 800px;
  margin: auto;
}

.content h2 {
  margin-top: 40px;
  font-size: 1.8rem;
}

.content p,
.content ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.content ul {
  list-style-type: disc;
  padding-left: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #222;
  color: #fff;
  padding: 40px 60px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  margin: 0 20px;
  min-width: 200px;
}

.footer-logo {
  max-width: 150px;
  height: auto;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}

.footer-brand {
  font-family: 'Gemina', Arial, sans-serif;
  color: white;
  font-size: 1.8rem;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 10px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  nav.show {
    display: flex;
  }

  #menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .content h2 {
    font-size: 1.4rem;
  }
}

.about-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 60px 40px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
}

.about-left {
  flex: 1;
  min-width: 280px;
}

.about-left .section-label {
  color: #000000; /* black */
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.about-left h1 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #111;
  line-height: 1.3;
}

.about-right {
  flex: 1.5;
  display: flex;
  flex-direction: row;
  gap: 40px;
  min-width: 280px;
  flex-wrap: wrap;
}

.about-box {
  flex: 1;
  min-width: 200px;
}

.about-box h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.about-box p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-right {
    flex-direction: column;
    gap: 20px;
  }
}

.about-haizra-section {
  padding: 60px 20px;
  background-color: #fff;
  font-family: Arial, sans-serif;
}

.about-haizra-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  width: 600px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #000;
}

.about-text .tagline {
  color: #666;
  font-weight: normal;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.about-text hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #ccc;
}

.about-text .established {
  font-style: italic;
  font-size: 0.9rem;
  color: #666;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.2rem;
  color: #000;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #007bff; /* or any highlight color you prefer */
}

.stats-section {
  position: relative;
  background: url('../images/stats.png') no-repeat center center/cover;
  color: #fff;
  padding: 100px 20px;
  font-family: Arial, sans-serif;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* full-screen darkness */
  z-index: 0;
}

.stats-overlay {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 10px;
}

.stats-left {
  flex: 1;
  min-width: 300px;
}

.stats-left h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: white; /* optional brand accent color */
}

.stats-left p {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.stats-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0; /* remove space so borders align */
  /*border: 1px solid rgba(255, 255, 255, 0.3);*/
}

.stat-box {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding: 20px;
}

.stat-box .counter {
  font-size: 2.5rem;
  font-weight: bold;
  display: block;
  color: white;
}

.stat-box p {
  font-size: 1rem;
  margin-top: 10px;
  color: #ccc;
}

.stat-box:nth-child(1),
.stat-box:nth-child(2) {
  border-top: none;
}

.stat-box:nth-child(2n+1) {
  border-left: none;
}

@media (max-width: 768px) {
  .stats-overlay {
    flex-direction: column;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .stats-left {
    text-align: center;
  }
}

.footer-logo-img {
  max-height: 180px; /* desktop size */
  width: auto;
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
  display: block;
}

@media (max-width: 991px) {
  .footer .container {
    flex-direction: column;
    align-items: flex-start;  /* left align instead of center */
    text-align: left;         /* text left aligned */
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-logo-img {
    max-height: 160px;
    filter: brightness(0) invert(1);
  }

  .footer-column {
    margin-top: 15px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    text-align: left;         /* text left aligned */
  }
}
