/* 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%; }
}


body {
  background: #fff;
  color: #222;
}

/* BUTTONS */
.btn {
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.primary {
  background: #ff5a5a;
  color: #fff;
}

.secondary {
  background: #fdf2d1;
  color: #000;
}

.light {
  background: #fff;
  color: #000;
}

/* =============================
   HERO SECTION
============================= */

.about-hero{
  position: relative;
  width: 100%;
  min-height: 320px;
  padding: 110px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 11em;
  background: #FFF2EF;
  overflow: hidden;
}

/* =============================
   SVG BACKGROUND
============================= */

.plane-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* dotted animated track */
#track{
  stroke-dasharray: 10 10;
  animation: dash 3s linear infinite;
}

/* path moving effect */
@keyframes dash{
  to{
    stroke-dashoffset: -20;
  }
}


/* =============================
   AIRPLANE
============================= */

.plane{
  fill: #ff5a5a;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}

/* shadow behind plane */
.plane-shadow{
  fill: black;
  opacity: 0.18;
  transform: translate(8px,10px);
  filter: blur(3px);
}


/* =============================
   TEXT CONTENT
============================= */

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.about-hero h1{
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
}

.about-hero h1 span{
  color: #ff5a5a;
}

.about-hero p{
  font-size: 18px;
  color: #555;
}


/* =============================
   RESPONSIVE
============================= */

@media(max-width:768px){

  .about-hero{
    padding: 80px 15px;
    min-height: 260px;
  }

  .about-hero h1{
    font-size: 28px;
  }

  .about-hero p{
    font-size: 14px;
  }

}

/* SECTION */
.about-section {
  padding: 2em 1em;
  text-align: center;

}

.about-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
}


/* =============================
   CONTAINER
============================= */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px;
}


/* =============================
   CARD
============================= */
.card {
  position: relative;
  height: 220px;
  border-radius: 20px;
  padding: 25px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  transition: 0.35s ease;
}


/* LIGHT OVERLAY */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);
  z-index: 0;
  transition: 0.3s;
}


/* =============================
   GLASS BUTTON BOX
============================= */
.glass-box {
  position: relative;
  z-index: 1;
  margin-bottom: -20px;

  display: inline-block;
  padding: 10px 14px;

  border-radius: 16px;

  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.35);

  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}


/* =============================
   TEXT
============================= */
.card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

.card p {
  font-size: 15px;
  color: #444;
  margin: 0;
}


/* =============================
   HOVER EFFECTS (same + enhanced)
============================= */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  background-size: 100%;
}

.card:hover::before {
  background: rgba(255,255,255,0.15);
}

.card:hover .glass-box {
  background: #fdf2d1;
  transform: translateY(-3px);
}

.card:hover h3 {
  color: #ff5a5a;
}

.card:hover p {
  color: #ff5a5a;
}


/* =============================
   RESPONSIVE
============================= */
@media(max-width: 992px){
  .card-container{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px){
  .card-container{
    grid-template-columns: 1fr;
  }
}


/* =============================
   BACKGROUND IMAGES
============================= */
.bg-1 {
  background-image: url("smart maching2.png");
}

.bg-2 {
  background-image: url("verified2.png");
}

.bg-3 {
  background-image: url("career support.png");
}

.bg-4 {
  background-image: url("fasthiring2.png");
}



/* Mission & Vision Section */
.mv-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Shared Card Styles */
.mv-card {
  width: 100%;
  min-height: 300px;   /* change */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 50px;   /* change */
  gap: 30px;    /* change */
}

/* Content */
.mv-content {
  flex: 1;
  max-width: 600px;
}

.mv-content h2 {
  font-size: 32px;    /* change */
  margin-bottom: 14px;
  /* font-weight: 700; */
}

.mv-content p {
  font-size: 16px;
  line-height: 1.7;
}

/* Image */
.mv-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mv-image img {
  max-width: 320px;   /* change */
  width: 100%;
  height: auto;
}

/* Mission Card (Dark) */
.mission-card {
  background: #FFF2EF;
  color: #000;
}

.mission-card h2 {
  color: #000;
}

/* Vision Card (Red) */
.vision-card {
  background: #fff;
  color: #000;
}

.vision-card h2 {
  color: #000;
}

/* Responsive */
@media (max-width: 900px) {
  .mv-card {
    min-height: auto;   /* change */
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;   /* change */
  }

  .mv-image {
    order: -1;
  }

  /* change */
  .mv-image img{
    max-width: 260px;
  }

  .mv-content h2 {
    font-size: 30px;
  }
}

/* CTA */
.final-cta {
  padding: 90px 20px;
  background: #FFF2EF;
  color: #000;
  text-align: center;
}

/* ANIMATION */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 900px) {
  .cards-section {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-hero h1 {
    font-size: 30px;
  }
}


/* 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;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom a {
    margin-left: 0;
    margin-right: 15px;
  }
}

.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;
}



/* =============================
   JOURNEY TIMELINE SECTION
============================= */
.journey-section {
  padding: 70px 20px;
  background: #fff8e8;
  text-align: center;
}

.journey-section h2 { font-size: 32px; margin-bottom: 50px; color: #111; }

.timeline { position: relative; max-width: 1000px; margin: auto; }

.timeline::before {
  content: "";
  position: absolute;
  width: 3px;
  background: #ddd;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline::after {
  content: "";
  position: absolute;
  width: 3px;
  background: #ff5a5a;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: var(--fill-height, 0px);
}

.timeline-item { position: relative; width: 50%; padding: 40px 60px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

.circle {
  position: absolute;
  top: 45px;
  left: 100%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border: 3px solid #ff5a5a;
  background: #fff;
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(even) .circle { left: 0; }
.timeline-item.active .circle { background: #ff5a5a; }

.content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s ease;
}

.timeline-item.active .content { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .timeline::before, .timeline::after { left: 20px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 20px; text-align: left; }
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; }
  .circle { left: 20px !important; }
}