/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

/* Header Wrapper */
.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s ease;
}

/* TOP BAR - Increased Size */
.top-bar {
    background: #ffffff;
    height: 95px; /* Bigger height for logos */
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.top-container {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    gap: 50px; /* Space between logos */
    align-items: center;
}

.gov-logo {
    height: 60px; /* Logos are now bigger */
    width: auto;
    object-fit: contain;
}

/* NAVBAR BASE STYLES */
.navbar {
    background: #ffffff;
    padding: 15px 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1em;
}

.nav-link {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ff5a5a;
}

/* Login Button Styling */
.login-btn {
    background: #ff7e7e;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #ff5c5c;
}

/* Home Icon Style */
.home-circle {
    background: #fff4e6;
    color: #333 !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ffd8a8;
    text-decoration: none;
}

/* --- SCROLLED CAPSULE STATE --- */
.header-wrapper.scrolled .top-bar {
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.header-wrapper.scrolled .navbar {
    width: 85%; /* Narrower for capsule look */
    margin: 20px auto;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 12px 30px;
}

/* --- MOBILE & TABLET STYLES --- */
.hamburger-icon {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    padding: 60px 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s ease;
}

.sidebar.open { right: 0; }

.close-sidebar {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    cursor: pointer;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
}

.sidebar-login {
    color: #ff5a5a !important;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .nav-menu { display: none; }
    .hamburger-icon { display: block; }
    .top-container { gap: 20px; }
    .gov-logo { height: 40px; }
    .header-wrapper.scrolled .navbar { width: 95%; }
}

/* MAIN POSTER  */

.poster {
  width: 100%;
  height: 30em;
  /* margin-top: 4em; */
  margin-top: 11em;
}

/* BLOGS AREA  */

.search_area {
  /* max-width: 800px; */
  margin: 3em 4em 2em 4em;
}

.search_tabs {
  display: flex;
  gap: 12px;
  margin: 3em 0;
  overflow-x:auto ;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  background: #e5e7eb;
  border-radius: 6px;
  transition: backfround 0.3s;
}

.tab-btn.active {
  background: #020617;
  color: #fff;
}

.content-box {
  display: none;
  animation: fade 0.4s ease;
}

.categorie_title {
  margin: 1em 0;
}

.blogs {
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* border: 2px solid black; */
  margin-bottom: 2em;
}

.blog {
  width: 32%;
  /* margin-right: 1em; */
  /* border: 2px solid black; */
}

.blog_img {
  width: 100%;
  height: 13em;
  border-radius: 20px;
  margin-bottom: 1em;
  /* border: 2px solid black; */
}

.blog_title {
  font-size: larger;
  font-weight: 600;
  margin-bottom: 0.7em;
}

.content-box.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  text-decoration: none;
  color: inherit;
}



/* FOOTER */

/* Footer Base */
footer.modern-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 50px 20px 20px;
}

/* Footer Container */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Top Section */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

/* Branding */
.footer-brand h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #b50000ff;
}

.footer-brand h2 span {
  color: #ffffff;
}

.footer-tagline,
.company-info,
.cin-info {
  font-size: 14px;
  margin: 5px 0;
  color: #cccccc;
}

/* Links Section */
.footer-links {
  display: flex;
  gap: 40px;
}

.link-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #b50000ff;
}

.link-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-column li {
  margin-bottom: 10px;
}

.link-column a {
  text-decoration: none;
  color: #cccccc;
  transition: color 0.3s ease;
}

.link-column a:hover {
  color: #ffffff;
}

/* Contact Section */
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #b50018ff;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #cccccc;
}

.footer-contact a {
  color: #cccccc;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-contact i {
  margin-right: 10px;
}

/* Social Icons */
.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #cccccc;
  margin-right: 15px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #b50000ff;
}

/* Divider */
.footer-divider {
  height: 1px;
  background-color: #333333;
  margin: 30px 0;
}

/* Bottom Section */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #aaaaaa;
}

.footer-bottom a {
  color: #aaaaaa;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

@media(max-width:768px){
  .blogs{
    /* border: 2px solid black; */
    flex-direction: column;
    width: 100%;
  }

  .blog{
    width: 100%;
    margin-bottom: 20px;
  }
  .content-box.active{
    /* display: flex; */
    width: 100%;
  }
}

.notranslate {
  translate: no;
}

/* Container */
.notranslate {
  display: inline-block;
  position: relative;
}

/* Dropdown */
.translate-dropdown {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #ddd;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  outline: none;

  /* Remove default ugly styles */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Add space for arrow */
  padding-right: 30px;
}

/* Custom arrow */
.notranslate::after {
  content: "▼";
  font-size: 10px;
  position: absolute;
  right: 10px;
  top: 48%;
  /* change from 50% */
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
}

/* Hover effect */
.translate-dropdown:hover {
  border-color: #007bff;
}

/* Focus effect */
.translate-dropdown:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Option styling (limited support) */
.translate-dropdown option {
  padding: 10px;
}