/* ===== Top Header ===== */
.top-header {
  background-color: #222;
  color: #fff;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  padding: 5px 20px;
}

.top-header .contact span,
.top-header .social a {
  margin-right: 15px;
  display: inline-block;
}

.top-header .social a {
  color: #fff;
  text-decoration: none;
}

.top-header .social a:hover {
  color: #f39c12;
}

/* ===== Navbar ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

nav .logo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

nav .nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
}

nav .nav-links li {
  position: relative;
}

nav .nav-links li a {
  text-decoration: none;
  color: #333;
  padding: 10px 15px;
  display: block;
}

nav .nav-links li a:hover {
  color: #f39c12;
}

/* ===== Dropdown ===== */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  top: 100%;
  left: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-content li a {
  padding: 10px 15px;
  color: #333;
}

.dropdown-content li a:hover {
  background-color: #f39c12;
  color: #fff;
}

.dropbtn {
  cursor: pointer;
}

.dropdown:hover .dropdown-content {
  display: block; /* For hover effect, optional */
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 80vh;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color: rgba(0,0,0,0.5);
}

.hero .content {
  position: relative;
  z-index: 2;
}

/* ===== Mobile Menu ===== */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle i {
  font-size: 24px;
  color: #333;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  nav .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  nav .nav-links.active {
    display: flex;
  }

  nav .nav-links li {
    text-align: center;
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }
}


.news-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  padding: 40px 60px;
}

.news-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.news-image {
  position: relative;
}

.news-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.icon {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff1744;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.news-content {
  padding: 18px;
}

.date {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.news-content h3 {
  font-size: 18px;
  color: #111;
  line-height: 1.4;
}

