/* Reset and base styles */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  color: #000; /* Changed from white to black for white background */
  background-color: #fff; /* Changed from black to white */
}

/* Hero section: full-width background image without dark overlay */
.hero-image {
  width: 100vw;
  height: 100vh;
  position: relative;
  background-image: url('image/Gallary/Haji\ latif\ M\ PIC.jpg'); /* ✅ Make sure the path is correct */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ❌ Removed dark overlay by deleting the ::before pseudo-element */
/* .hero-image::before {
  content: "";
  ... (this part is now deleted)
} */

.hero-image-content {
  position: relative;
  text-align: center;
  padding-top: 20vh;
  color: #000; /* Text on hero image – ensure image isn't too bright */
}

.hero-image-content h1 {
  font-size: 36px;
}

/* President image styling */
.president-photo {
  text-align: center;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

.president-photo img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Lighter shadow */
  background-color: #fff;
  max-width: 100%;
}

/* Message section with white background */
.message {
  max-width: 1200px;
  padding: 40px 20px;
  margin: 40px auto;
  text-align: center;
  background: #fff; /* Changed from dark glass to plain white */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft light shadow */
  
}

.message h2 {
  font-size: 28px;
  color: #000; /* Changed to black */
  margin-bottom: 20px;
}

.message p {
  font-size: 16px;
  line-height: 1.3;
  margin: 0 auto;
  max-width: 900px;
  text-align: justify;
  color: #333; /* Slightly softer black for readability */
}

.signature {
  margin-top: 20px;
  font-weight: bold;
  color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-image {
    height: 60vh;
  }

  .hero-image-content {
    padding-top: 15vh;
    font-size: 16px;
  }

  .president-photo img {
    width: 80%;
    height: auto;
  }

  .message {
    padding: 20px 15px;
  }

  .message h2 {
    font-size: 22px;
  }

  .message p {
    font-size: 14px;
  }
}
