/* ==========================================================================
   LDS Uganda - Theme Styles
   Theme: Professional White with Pink Accents
   ========================================================================== */

:root {
  --primary-blue: #0056b3;
  --secondary-blue: #003d80;
  --accent-yellow: #ffc107;
  --light-bg: #f8f9fa;
  --text-color: #333;
  --white: #ffffff;
  --light-pink: #ffe4e8;
  --accent-pink: #d63384;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

/* --- Header & Navigation (White Theme) --- */
header {
  background-color: var(--white);
  border-bottom: 2px solid #eee;
}

.top-bar {
  background: var(--white);
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
}

.top-bar,
.top-bar a {
  color: var(--text-color);
}
.social-icons a {
  margin-left: 10px;
  font-weight: bold;
  color: var(--primary-blue);
  text-decoration: none;
}
.social-icons a:hover {
  color: var(--accent-pink);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 10px;
}

.main-menu > li > a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  padding: 15px;
  display: block;
}

.main-menu > li:hover {
  background: var(--light-pink);
  border-radius: 4px;
}

.main-menu > li:hover > a {
  color: var(--accent-pink);
}

/* Dropdown Menu Styles */
.has-dropdown {
  position: relative;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
  border: 1px solid #eee;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown li a {
  color: var(--text-color);
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown li:hover {
  background: var(--light-pink);
}
.dropdown li:hover > a {
  color: var(--accent-pink);
}

/* --- Hero Section --- */
.hero {
  background:
    linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 100px 20px;
}

.btn-primary {
  background: var(--accent-yellow);
  color: #000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-left: 10px;
}

/* --- Grid Section --- */
.about-grid {
  padding: 50px 5%;
  background: var(--light-bg);
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* --- Footer (Updated to match White Theme) --- */
footer {
  background: var(--white);
  color: var(--text-color);
  padding: 50px 5%;
  margin-top: 50px;
  border-top: 2px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-links li a {
  color: var(--text-color);
}
.footer-links li a:hover {
  color: var(--accent-pink);
}

.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  margin-top: 30px;
  padding-top: 20px;
}

.newsletter input {
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
}
.social-icons a {
  color: var(--primary-blue);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
    background: #eee;
    border: none;
    padding: 10px;
    cursor: pointer;
  }
  .main-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    background: var(--white);
  }
  .main-menu.active {
    display: flex;
  }
}
