/* --------------- GENERAL --------------- */
body {
  font-family: 'Garamond', serif;
  margin: 0;
  background-color: #000000;
  color: #fff;
}

h1, h2, h3, h4, p {
  margin: 0;
  padding: 0;
}

.content p {
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 1em;
}

/* -----------------------------------
   HEADER (LOGO + BRAND)
----------------------------------- */
header {
  background: #0b0c10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-box img {
  width: 72px;
  filter: drop-shadow(0px 0px 4px #00aaff);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text h1 {
  font-size: 1.9em;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 2px;
  margin: 0;
}

.brand-text .tagline {
  color: #9fb3c8;
  font-size: 0.9em;
  margin: 0;
  letter-spacing: 1px;
}

/* -----------------------------------
   NAVIGATION
----------------------------------- */
nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a,
.dropbtn {
  color: #dce7f3;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}

nav a:hover,
nav a.active,
.dropbtn:hover {
  background-color: rgba(0, 170, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.4);
  color: #ffffff;
}

/* -----------------------------------
   DROPDOWN (CLEAN + NO BOX)
----------------------------------- */
.dropdown {
  position: relative;
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.25s ease;
}

.dropdown-content a {
  color: #d3dce6;
  padding: 8px 12px !important;
  display: block;
  font-size: 0.95em;
  background: none !important;
  border-radius: 0 !important;
  transition: 0.25s ease;
}

.dropdown-content a:hover {
  background: rgba(0, 170, 255, 0.12) !important;
  color: #ffffff;
  padding-left: 16px;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0px);
  pointer-events: auto;
}

/* --------------- MAIN CONTENT --------------- */
.main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 5%;
}

.content {
  flex: 3;
  margin-right: 40px;
}

/* --------------- SIDEBAR ---------------- */
.sidebar {
  flex: 1.2;
  background-color: #111;
  padding: 20px;
  border-radius: 12px;
  box-shadow: inset 0 0 10px #333;
}

/* Sidebar Updates Header */
.sidebar .updates-header {
  text-align: center;
  background-color: #ffcc80; /* soft orange for highlight */
  color: #111;
  padding: 12px 0;
  margin-bottom: 20px;
  border-radius: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 1.05em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Sidebar News Boxes */
.sidebar .news-box {
  margin-bottom: 25px;
  background-color: #1b1b1b;
  padding: 12px 15px;
  border-radius: 10px;
  box-shadow: inset 0 0 8px #333;
  transition: 0.3s;
}

.sidebar .news-box:hover {
  box-shadow: 0 0 12px rgba(0, 170, 255, 0.4);
}

.sidebar .news-box h4 {
  color: #f8f8f8;
  margin-bottom: 10px;
  font-size: 1.1em;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.sidebar .news-content a {
  display: block;
  color: #ccc;
  text-decoration: none;
  font-size: 0.95em;
  margin-bottom: 6px;
  transition: 0.3s;
}

.sidebar .news-content a:hover {
  color: #00aaff;
  padding-left: 10px;
}

/* --------------- TEAM SECTION ---------------- */
.team-section {
  padding: 40px 20px;
  background-color: #2c2c2c;
  text-align: center;
  border-radius: 10px;
  margin: 20px 0;
}

.team-section h2 {
  margin-bottom: 30px;
  color: #fff;
}

.team-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.team-member {
  width: 150px;
  text-align: center;
  background-color: #3a3a3a;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #fff;
}

.team-photo {
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  margin-bottom: 10px;
  border: 3px solid #fff;
}

.team-member h4 {
  margin: 5px 0;
  font-size: 16px;
  color: #fff;
  text-align: center;
}

.team-member p {
  margin: 0;
  font-size: 14px;
  color: #ddd;
  text-align: center;
}

/* --------------- FOOTER ---------------- */
footer {
  background-color: #111;
  padding: 40px 5%;
  text-align: center;
  border-top: 1px solid #333;
}

footer h3 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.4em;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
}

.partner-box {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, filter 0.3s;
}

.partner-box img {
  width: 70px;
  height: auto;
  filter: brightness(0.9);
  transition: 0.3s;
}

.partner-box img:hover {
  filter: brightness(1.2);
  transform: scale(1.1);
}

footer p {
  color: #bbb;
  font-size: 0.9em;
  margin-top: 15px;
  letter-spacing: 0.5px;
}

/* --------------- DATE BOX --------------- */
.date-box {
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 12px;
  margin: 25px auto;
  width: 85%;
  text-align: center;
  background: #f8f9fa;
  box-shadow: inset 0 0 10px #bbb;
  line-height: 1;
}

.date-box h4 {
  font-size: 1.2em;
  font-weight: bold;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px #ddd;
  margin: 0;
}

.date-box p {
  font-size: 1em;
  color: #555;
  margin: 0;
}

/* --------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-content {
    flex-direction: column;
  }

  .content {
    margin-right: 0;
  }

  .sidebar {
    margin-top: 25px;
  }

  .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .logo-area {
    justify-content: center;
  }

  .logo-box img {
    width: 60px;
  }

  .brand-text h1 {
    font-size: 1.5em;
  }

  .brand-text .tagline {
    font-size: 0.8em;
  }

  .partners {
    gap: 15px;
  }

  .partner-box img {
    width: 50px;
  }
}
