/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.8;
  background: #fff;
  color: #333;
  font-size: 18px;
}
h1, h2 { font-weight: 700; }

/* ===== HEADER ===== */
header {
  background: #008C99;
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  margin-bottom: 0 !important;
}

header .logo img {
  height: 60px;
  width: auto;
  display: block;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: #ff9933; }

nav .donate-btn {
  background: #ff9933;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  margin-left: 15px;
}
nav .donate-btn:hover {
  background: #e67e00;
}

/* ===== SECTIONS ===== */
main { margin-top: 0; }
section {
  padding: 80px 20px;
}
section .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  color: white;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
  margin: 0;            
  width: 100vw;         
  left: 50%;
  right: 50%;
  margin-left: -50vw;   
  margin-right: -50vw;
  padding: 0;  
  margin-top:0 !important;
  border-top: none !important;
}

body {
    oberflow-x: hidden;
}

.hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
  pointer-events: none;
}

.admin-controls {
    position:relative;
    z-index:3;
}

.hero .container {

  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 25px auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

 
@media (max-width: 992px) {
  .hero { min-height: 55vh; }
}
@media (max-width: 768px) {
  .hero {
    min-height: 45vh;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .hero h2 { font-size: 28px; }
  .hero p { font-size: 16px; }
}
@media (max-width: 480px) {
  .hero {
    min-height: 38vh;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
  }
}


/* Buttons */
.cta-btn {
  display: inline-block;
  background: #ffcc00;
  color: #003366;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.cta-btn:hover { background: #e6b800; }
.cta-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Alternating Sections */
section:nth-of-type(even):not(.hero) {
  background: #f9f9f9;
}
section:nth-of-type(odd):not(.hero) {
  background: #ffffff;
}
section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #003366;
}
section p {
  font-size: 18px;
  color: #444;
  margin-bottom: 15px;
}

/* Media */
section img, section video, section iframe {
  max-width: 100%;
  border-radius: 10px;
  margin-top: 20px;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-wrapper iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

/* ===== FOOTER ===== */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 25px 0;
  margin-top: 40px;
  font-size: 16px;
}

/* ===== ADMIN CONTROLS ===== */
.admin-controls {
  margin-top: 20px;
  background: #fff0f0;
  padding: 12px;
  border-radius: 6px;
}
.admin-controls a {
  margin-right: 12px;
  font-size: 15px;
  font-weight: bold;
  color: #cc0000;
  text-decoration: none;
}
.admin-controls a:hover { text-decoration: underline; }

/* ===== RESPONSIVE HERO FIX ===== */
@media (max-width: 992px) {
  .hero { min-height: 55vh; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  nav a {
    display: inline-block;
    margin: 5px 10px 0 0;
    font-size: 14px;
  }
  .hero {
    min-height: 45vh;
    padding: 60px 20px;
  }
  .hero h2 { font-size: 28px; }
  .hero p { font-size: 16px; }
  section { padding: 50px 15px; }
}
@media (max-width: 480px) {
  .hero { min-height: 38vh; }
}

/* ===== PAGE STRUCTURE ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  margin-top: auto;
  width: 100%;
}

/* ===== RECOGNITION SECTIONS ===== */
.content-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

.recognition-section {
  margin: 40px 0;
}

.recognition-section h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 15px;
}

.recognition-item {
  border: 1px solid #eee;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.recognition-item:hover {
  transform: translateY(-3px);
}

.recognition-item img,
.recognition-item video,
.recognition-item iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 10px 0 15px;
  object-fit: cover;
}

.recognition-item iframe {
  aspect-ratio: 16 / 9;
  border: none;
}

.recognition-item h3 {
  font-size: 22px;
  color: #003366;
  margin-bottom: 8px;
}
.recognition-item p {
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
}

.recognition-item .admin-controls {
  background: #fff5f5;
  padding: 10px;
  border-radius: 6px;
  margin-top: 15px;
  font-size: 14px;
}

/* Buttons */
.load-more {
  background: #008C99;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s ease;
  font-weight: 600;
}
.load-more:hover { background: #ff9933; }

.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  background: #008C99;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.back-btn:hover { background: #ff9933; }

@media (max-width: 768px) {
  .content-container { padding: 10px; }
  .recognition-section h2 { font-size: 22px; }
  .recognition-item { padding: 12px; margin-bottom: 16px; }
  .recognition-item h3 { font-size: 18px; }
  .recognition-item p { font-size: 15px; }
  .recognition-item img,
  .recognition-item video,
  .recognition-item iframe {
    border-radius: 6px;
    margin: 8px 0 10px;
  }
  .load-more, .back-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 16px;
  }
}

 
header {
  margin-bottom: 0 !important;
}

.hero {
  margin-top: -20px !important; 
  padding-top: 0 !important;
}

@media (max-width: 992px) {
  .hero {
    margin-top: -2px !important;
  }
}

@media (max-width: 992px) {
  .hero {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    border: none !important;
    position: relative;
  }

  body, html {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
  }

  header {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }
}

 
@media (max-width: 992px) {
  .hero {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    position: relative !important;
    overflow: hidden !important;
  }

  header {
    margin: 0 !important;
    padding: 0 !important;
  }

  body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 480px) {
  .hero {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    top: 0 !important;
  }
}


body.home .hero {
    marhin-top: 0 !important;
    padding-top: 0 !important;
    top: 0 !important;
    position: relative !important;
}

@media (max-width: 760px) {
    body.home .hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}