/* 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%; }
}


.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px #ff5a5a;
}


.blog-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  padding: 30px;
}


/* MAIN calc(100vh - 120px)*/

.blog-main {
  height: 90vh;
  overflow-y: auto;
  padding-right: 15px;
  margin-top: 11em;

}


.blog-title {
  font-size: 34px;
  margin-bottom: 10px;
}

.blog-meta {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.category {
  background: #2563eb;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.tags span {
  font-size: 13px;
  margin-right: 8px;
  color: #2563eb;
}

.blog-cover {
  width: 100%;
  height: 25em;
  border-radius: 12px;
  margin: 20px 0;
}

section {
  margin-bottom: 25px;
}

section h2 {
  margin-bottom: 10px;
}

.job-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* CTA */
.blog-cta {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  /* margin-top ; */
}

.blog-cta button {
  padding: 12px 18px;
  margin: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.blog-cta .secondary {
  background: white;
  color: #2563eb;
}

/* SIDEBAR */
.blog-sidebar {
  /* position: sticky; */
  margin-top: 11em;
  
  /* overflow: hidden; */
}

.author-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 20px;
}

.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.sidebar-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.sidebar-box a {
  display: block;
  margin-top: 10px;
  color: #2563eb;
  text-decoration: none;
}

.apply-btn {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  background: #f97316;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .blog-container {
    grid-template-columns: 1fr;
  }
}

/* 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;
}

.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;
}
