
/* ===== MAIN STRUCTURE ===== */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* ===== HEADER (UNIFIED) ===== */
header {
    background: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.nav-with-logo {
    display: flex;
    align-items: center;
    background: #07134be9;
    padding: 5px 5%;
  
}

.nav-logo img {
    height: 80px;
    width: auto;
    margin-right: 10px;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    position: absolute;
    right:33%
     
}

nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

.title-container {
    background-image: url('../images/title-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.title-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
}

.title-container h1 {
    position: relative;
    color: rgb(252, 251, 251);
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 100px;
}

/* ===== MAIN CONTENT ===== */
main {
    padding: 20px;
    text-align: center;
    max-width: 700px;
    width: 100%;
    margin-bottom: 60px;
    align-items:center ; /* Prevents footer overlap */
}

section {
    margin-bottom: 20px;
}

/* ===== TEAM SECTION ===== */
/* Team Photo Section */
.team-intro {
    text-align: center;
    margin-bottom: 30px;
}

.team-group-photo {
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
}

.team-group-photo img {
    width: 100%;
    height: auto;
    display: block;
}
.team-member {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 15px;
    border: 3px solid #01020e;
    margin: 0 auto; /* Additional centering for the image */
  }

/* ===== GALLERY SECTION ===== */
.gallery-header {
    text-align: center;
    margin: 40px 0 20px;
    color: #0b25a8;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 25px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .gallery-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }
  
  .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    display: block;
  }
  
  .gallery-caption {
    padding: 15px;
    background: #f8f9fa;
  }
  
  .gallery-caption h3 {
    margin: 0 0 10px;
    color: #0b25a8;
    font-size: 1.2rem;
  }
  
  .gallery-caption p {
    margin: 5px 0;
    color: #555;
    font-size: 0.9rem;
  }
  
  .date {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
  }
  
  /* Responsive Adjustments */
  @media (min-width: 1200px) {
    .gallery {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .gallery {
      gap: 20px;
      padding: 20px;
    }
    .gallery-item img {
      height: 180px;
    }
  }
  
  @media (max-width: 480px) {
    .gallery {
      grid-template-columns: 1fr;
      gap: 15px;
      padding: 15px;
    }
    .gallery-item img {
      height: 160px;
    }
  }
  
  /* Lightbox Styles */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
  }
  
  .lightbox-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .lightbox-img {
    max-height: 80vh;
    max-width: 80vw;
    border: 3px solid white;
    border-radius: 5px;
  }
  
  .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
  }

/* ===== FOOTER ===== */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
}
/* Add this to your existing title-container styles */
.title-container .subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin: 10px 0 0;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
/* ===== SPONSORS SECTION ===== */
.sponsors-section {
    text-align: center;
    margin: 40px auto;
    max-width: 1200px;
}

.sponsors-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.sponsor-card {
    background: white;
    border-radius: 10px;
    padding: 50px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.sponsor-logo {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 25%;
    border: 3px solid #01020e;
}

.sponsor-info h3 {
    color: #0b25a8;
    margin-bottom: 10px;
}

.sponsor-info a {
    color: #1a73e8;
    text-decoration: none;
}

.sponsor-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .sponsors-container {
        flex-direction: column;
        align-items: center;
    }
}
/* ===== DOCUMENTS PAGE ===== */
.documents-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.document-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0b25a8;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    border-color: #0b25a8;
}

.document-card::after {
    content: "PDF";
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.8rem;
    color: #666;
}

.document-name {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    padding: 0 15px;
}

@media (max-width: 600px) {
    .documents-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
  }
  
  .lightbox-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .lightbox-img {
    max-height: 80vh;
    max-width: 80vw;
    border: 3px solid white;
    border-radius: 5px;
  }
  
  .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
  }
  
  /* Add cursor pointer to gallery images */
  .gallery-item img {
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .gallery-item img:hover {
    transform: scale(1.02);
  }
/* ===== MOBILE OPTIMIZATION (≤768px) ===== */
@media (max-width: 768px) {
    /* 1. Make navigation container full-width */
    nav {
      width: 100%;
      overflow: visible; /* Disable any scrollbars */
    }
  
    /* 2. Force all tabs to stay visible */
    nav ul {
      display: flex;
      flex-wrap: nowrap; /* Allows multiple rows */
      justify-content: center; /* Center tabs */
      gap: 2px;
      padding: px 5%;
      margin: 0;
      position:absolute;
      right: 0%;
    }
  
    /* 3. Ensure tabs are tappable and visible */
    nav a {
      font-size: 1rem;
      padding: 10px 12px;
      background: rgba(255,255,255,0.1);
      border-radius: 4px;
      white-space: nowrap; /* Prevent text wrapping */
      flex-shrink: 0; /* Prevent shrinking */
    }
  }