* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.logoimg {
    background-color: #faecd6;
    /* font-size: 24px;
    font-weight: bold; */
    height: 13vh;

}
.logoimg img{
    height: 13vh;
    position: absolute;
    padding: 10px 40px;
    cursor: pointer;
}
.img a{
    display: inline block;
}


/* Navbar */
.navbar {
    position:fixed;
    top: 0;
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: rgba(0,0,0,0.5); */
    background: transparent;
    z-index: 10;
}

.nav-links {
    margin-top: 20PX;
    padding: 10px 150px;
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
    
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: block;
}

.nav-links a:hover {
    color: #ffd700;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Slider container */
.slider {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Slides wrapper */
.slides {
  width: 100%;
  position: relative;
}

/* Each slide */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  position: relative;
}

/* Image – NO COMPRESSION + NO GAP */
.slide img {
  width: 100%;
  height: auto;          
  display: block;       /*Removes bottom white gap */
  object-fit: contain;  /* No cropping */
}

/* Caption overlay */
.caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-align: center;
  padding: 12px 15px;
  animation: fadeUp 0.8s ease;
}

.caption p {
  font-size: 18px;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 Mobile responsive */
@media (max-width: 768px) {
  .caption p {
    font-size: 8px;
  }
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    transition: transform .3s ease;
}
/* Menu slide animation */
.nav-links {
    transition: all .4s ease;
}

.nav-links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

/* Close icon rotation effect */
.menu-toggle.active {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
/* navbar */
.menu-toggle {
    display: block;
}
.nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    text-align: center;
    display: none;
    transform: translateY(-20px);
}
.nav-links li {
        margin: 15px 0;
        animation: 0 0 10px #ffd700;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    /* Fade animation for menu items */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}
/* Hero Text */
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
        padding: 0 10px;
    }

    .hero-content button {
        font-size: 14px;
        padding: 10px 20px;
    }
 /* Content */
    .content h2 {
        font-size: 26px;
    }

    .content p {
        font-size: 16px;
    }

}
/* ---------------------------------------------------------------------------------------------*/
/* .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    padding: 10px;
    font-weight: 500;
    color: #000;
    display: block;
} */

/* Dropdown menu hidden by default */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 170px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
    border-radius: 5px;
}

.dropdown-menu li a {
    padding: 10px 15px;
    color: #333;
}

.dropdown-menu li a:hover {
    background: #f4f4f4;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 25px;
}

@media(max-width:900px){
    .nav-links {
        flex-direction: column;
        display: none;
        background: #fff;
        width: 100%;
        text-align: left;
        padding: 15px;
    }

    .nav-links li {
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links.show {
        display: block;
    }

    /* Dropdown visible only when clicked in mobile view */
    .dropdown-menu {
        position: relative;
        box-shadow: none;
        width: 100%;
    }
}


body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #faf5e6;
  color: #222;
}

.news-wrapper {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

.page-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 50px;
}

.news-post {
  margin-bottom: 80px;
}

.news-post h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #1d3557;
}

.news-post img {
  width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
}

.news-post p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.news-meta {
  margin-top: 15px;
  font-size: 14px;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 10px;
}


.news-link {
  text-decoration: none;
  color: inherit;
}

.news-post {
  margin-bottom: 70px;
  cursor: pointer;
}

.pagination {
  text-align: center;
  margin: 40px 0;
}

.pagination button {
  padding: 10px 15px;
  margin: 0 5px;
  border: none;
  background: #1d3557;
  color: #fff;
  cursor: pointer;
}

.pagination button.active {
  background: #999;
}

.pagination button:hover {
  background: #457b9d;
}

/* ===== SINGLE NEWS PAGE ===== */

.news-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Back Button */
.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  color: #1d3557;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #1d3557;
  padding: 8px 14px;
  border-radius: 4px;
  transition: 0.3s;
}

.back-btn:hover {
  background: #1d3557;
  color: #fff;
}

/* Title */
#singleNews h2 {
  font-size: 30px;
  margin-bottom: 20px;
  text-align: center;
  color: #222;
}

/* Image */
#singleNews img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 6px;
  margin: 20px 0 30px;
}

/* Content */
#singleNews p {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

/* Meta Info */
.news-meta {
  margin-top: 25px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 600;
  color: #1d3557;
  text-decoration: none;
  border: 1px solid #1d3557;
  padding: 8px 14px;
  border-radius: 4px;
  transition: 0.3s;
}

.back-btn:hover {
  background: #1d3557;
  color: #111111;
}
