* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

/* Navbar */
header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

a {
    text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #2b7cff;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2b7cff;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
  background: #f0f5ff;
  color: #2b7cff;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* Hero */
.hero {
  background: linear-gradient(135deg, #2b7cff, #64c7ff);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

/* Sections */
.section {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 2rem;

}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #2b7cff;
}

.section p {
    text-align: left
}

.section.light {
  background: #f7f9fc;
}

/* Split section layout (text + image) */
.split-section {
  width: 100%;
}

.split-content {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.split-text {
  text-align: left;
}

.split-text h2 {
  color: #2b7cff;
  margin-bottom: 1rem;
}

.split-text p {
  max-width: 500px;
}

.split-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.split-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* extra safety */
}

/* Split section button */
.split-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.6rem;
  background: #2b7cff;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 30px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.split-btn:hover {
  background: #1f66d1;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


/* Alternate layout (image on left) */
.split-section.reverse .split-content {
  direction: rtl;
}

.split-section.reverse .split-text {
  direction: ltr;
}


/* Split section layout (text + image) */
.split-section {
  width: 100%;
  padding: 4rem 2rem;
}

.split-content {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.split-text {
  text-align: left;
}

.split-text h2 {
  color: #2b7cff;
  margin-bottom: 1rem;
  font-size: 40px;
}

.split-text p {
  font-size: 20px;
  max-width: 500px;
}

.split-image {
  width: 100%;
  justify-content: center;
  align-items: center;
}

.split-image img {
  height: 500px;
  object-fit: contain;
}


/* Footer */
footer {
  background: #2a5cad;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

footer a {
  color: white;
  text-decoration: underline;
}

/* Team Page */
.team-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.team-image {
  flex-shrink: 0;
}

.team-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.team-info {
  flex: 1;
}

.team-info h3 {
  margin-bottom: 0.3rem;
  color: #2b7cff;
}

.team-role {
  display: block;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: #555;
}

.team-info p {
  max-width: 700px;
}

/* Responsive */
@media (max-width: 768px) {
  .team-card {
    flex-direction: column;
    text-align: center;
  }

  .team-info p {
    margin: auto;
  }
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

/* Hover Effect */
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox overlay */
#lightbox {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

#close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* News Preview */
.news-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-card {
  padding: 2rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.news-card h3 {
  color: #2b7cff;
  margin-bottom: 0.3rem;
}

.news-date {
  font-size: 0.9rem;

  display: block;
  margin-bottom: 0.8rem;
}

.news-link {
  display: inline-block;
  margin-top: 1rem;
  color: #2b7cff;
  font-weight: 500;
  text-decoration: none;
}

.news-link:hover {
  text-decoration: underline;
}

/* Full Post */
.post-content {
  max-width: 800px;
  margin: auto;
}

.post-content h2 {
  margin-top: 2rem;
  color: #2b7cff;
}



/* Responsive spacing for mobile */
@media (max-width: 768px) {
  .gallery-grid {
    gap: 1rem;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
    
  .gallery-grid {
    gap: 1rem;
  }
}
