body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}
/* Navigation */
/* Navbar Base */
#menu.navbar-default {
  background-color: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  transition: all 0.3s ease;
}

/* Logo */
.navbar-logo {
  height: 55px;
  margin-top: -18px;
}

/* Navbar Links */
#menu .navbar-nav > li > a {
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 20px;
  transition: color 0.3s ease;
}

#menu .navbar-nav > li > a:hover {
  color: #5ca9fb;
}

/* Mobile Styles */
@media (max-width: 767px) {
  #menu {
    padding: 5px 15px;
  }

  #menu .navbar-toggle {
    display: block;
    margin-top: 10px;
    margin-right: 10px;
    border: none;
  }

  #menu .navbar-toggle .icon-bar {
    background-color: #333;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-collapse.collapse.in {
    display: block !important;
    background: #fff;
    padding: 10px 0;
  }

  #menu .navbar-nav {
    float: none !important;
    margin: 0;
  }

  #menu .navbar-nav > li {
    float: none;
    text-align: center;
  }

  #menu .navbar-nav > li > a {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
  }

  #menu .navbar-nav > li:last-child > a {
    border-bottom: none;
  }
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}
.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}
.section-title {
  margin-bottom: 70px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #5ca9fb;
  background-image: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #6372ff;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}
/* Header Section */
.heroimage {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}
.intro {
  display: table;
  width: 100%;
  height: 100vh;
  padding: 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
.intro .overlay {
  background: rgba(0, 0, 0, 0.2);
}
.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 76px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}
.intro p {
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}
header .intro-text {
  padding-top: 150px;
  padding-bottom: 100px;
  text-align: center;
}
/* Features Section */
#features {
  padding: 100px 0;
background-color: #ffffff;   /* very light blue */

}

@media (max-width: 576px) {
  .feature-card {
    margin-bottom: 20px;
  }
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 7px 14px rgb(0, 0, 0);
  transition: all 0.3s ease;
  text-align: center;
  height: 320px; /* 🔹 Fixed height for all cards */
  display: flex;
  justify-content: center; /* centers title + description */
  align-items: center; /* centers horizontally */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.feature-image {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin: 0 auto 15px auto;
}

/* Title & Description */
.feature-title {
  justify-content: center; /* centers title + description */
  align-items: center; /* centers horizontally */
  text-align: center;
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #222;
}

.feature-description {
  justify-content: center; /* centers title + description */
  align-items: center; /* centers horizontally */
  text-align: center;
  font-size: 1.25rem;
  color: #555;
  line-height: 1.6;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  background-image: var(--bg-img);
}

.feature-card:hover::before {
  opacity: 0.85;
}
.feature-card h4,
.feature-card p {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.feature-card:hover h4,
.feature-card:hover p {
  color: #fff !important;
}

/* Overlay effect to keep text readable */
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card * {
  position: relative;
  z-index: 2;
}
.read-more {
  display: inline-block; /* so it breaks line */
  margin-top: 12px; /* space from description */
  color: red;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1.3rem;
}

.read-more:hover {
  color: darkred;
}

/* About Section */
.about-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px;
  color: #fff;
  overflow: hidden;
}

/* Background */
.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Dark overlay */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Content */
.about-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: left;
  margin-left: 60px;
  margin-right: auto;
  color: #fff;
}

.about-content h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.about-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #5ca9fb, #6372ff);
  margin: 10px 0 25px;
  border-radius: 2px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.about-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.about-buttons .btn {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-buttons .btn-primary {
  background: linear-gradient(to right, #5ca9fb, #6372ff);
  color: #fff;
}

.about-buttons .btn-primary:hover {
  opacity: 0.9;
}

.about-buttons .btn-secondary {
  background: transparent;
  border: 2px solid #5ca9fb;
  color: #5ca9fb;
}

.about-buttons .btn-secondary:hover {
  background: #5ca9fb;
  color: #fff;
}

.testimonial-image img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #0d6efd;
}

/* ✅ Responsive Fixes */
@media (max-width: 768px) {
  .about-section {
    padding: 80px 20px;
    text-align: center;
  }

  .about-content {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    text-align: center;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .about-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-content h2 {
    font-size: 24px;
  }

  .about-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .about-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* Services Section */
#services {
  padding: 100px 0;
  background-color: #ffffff;
}

.service-card {
  perspective: 1000px;
  width: 100%;
  height: 320px;
  position: relative;
  border-radius: 12px;
  margin-bottom: 25px;
}

.service-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 12px;
}

.service-card:hover .service-inner {
  transform: rotateY(180deg);
}

/* FRONT SIDE */
.service-front,
.service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgb(0, 0, 0); /* clean shadow */
}

.service-front img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain; /* keep proportions */
  border-radius: 8px;
  box-shadow: 0 6px 12px rgb(0, 0, 0); /* image-specific shadow */
  margin-bottom: 12px;
}
.service-front h4 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
}

/* BACK SIDE */
.service-back {
  background: #009acd; /* Darker sky blue */
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.service-back h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.service-back p {
  font-size: 1.5rem;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

/* gallary section */
#gallery {
  padding: 110px 0;
  background: #fff;
  text-align: center;
}

.gallery-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.gallery-header p {
  font-size: 16px;
  color: #555;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 0 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;          /* ✅ fixed height for consistent grid */
  object-fit: cover;      /* ✅ makes images uniform */
  display: block;
  border-radius: 10px;
  transition: transform 0.4s ease, filter 0.3s ease;
}

/* ✅ Hover Zoom & Dark Overlay */
.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(80%);
}

.gallery-item::after {
  content: "View Photo";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


/* Portfolio Section */
/* #portfolio {
  padding: 100px 0;
  background-color: white;
} */
.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}
.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}
.portfolio .row {
  width: 100%;
  height: auto;
  object-fit: contain; /* This ensures that the entire image is visible without cropping */
}

.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}
.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.hover-bg:hover .hover-text {
  opacity: 1;
}
/* Testimonials Section */
#testimonials {
  padding: 110px 0;
  background: linear-gradient(to bottom, #ffffff 65%, #0d6efd 35%);
  text-align: center;
}

#testimonials h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #333;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 360px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto; /* remove fixed height */
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.testimonial-card img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #0d6efd;
}

.testimonial-card p {
  font-size: 15px;
  color: #555;
  margin: 10px 0 15px;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-card .testimonial-name {
  font-weight: 600;
  color: #222;
  margin-top: 10px;
}

.testimonial-card .testimonial-title {
  font-size: 13px;
  color: #777;
}

.testimonial-stars {
  margin-top: 6px;
}

.testimonial-stars i {
  color: #ffc107;
  margin: 0 1px;
}


/* Team Section */
#team {
  padding: 100px 0;
  background-color: white;
}
#team h4 {
  margin: 5px 0;
}
#team .team-img {
  width: 240px;
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}
/* map section */
/* #map {
  padding: 80px 0;
\
  background-color: #ffffff;
} */
/* contact section*/

.contact-section {
  min-height: 100vh;
  background: url("/images/night-sky.jpg") no-repeat center center/cover;
  display: flex;
  flex-direction: column;   /* stack items vertically */
  align-items: center;
  justify-content: flex-start;
  padding: 60px 20px;
  gap: 30px;  /* spacing between form and map */
}


.contact-container {
  display: flex;
  max-width: 1100px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.popup-message {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #28a745;
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 2000;
}


.contact-info {
  flex: 1;
  padding: 40px;
  color: rgb(0, 0, 0);
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 16px;
  margin: 8px 0;
}

.contact-form {
  flex: 1;
  padding: 40px;
  background: white;
  border-radius: 0 20px 20px 0;
}

.contact-form h2 {
  margin-bottom: 20px;
  color: #1a1a1a;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 16px;
}

.contact-form button {
  padding: 12px;
  background: #0066ff;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #0044cc;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    border-radius: 15px;
  }

  .contact-info,
  .contact-form {
    flex: none;
    width: 100%;
    border-radius: 0;
    padding: 20px;
  }

  .contact-form {
    border-radius: 0 0 15px 15px;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 22px;
  }

  .contact-info p,
  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    font-size: 16px;
    padding: 10px;
  }
}
.contact-map {
  width: 100%;
  max-width: 1100px;
  margin: 30px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border: none;
}


/* Footer Section*/
.footer {
  background: #f8f9fc;
  color: #222;
  padding: 40px 20px 20px;
  font-family: "Segoe UI", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  width: 140px;
  margin-bottom: 10px;
}

.footer-left p {
  margin: 10px 0 5px;
  font-weight: 500;
}

.linkedin-link {
  color: #0077b5;
  font-weight: 600;
  text-decoration: none;
}

.linkedin-link:hover {
  text-decoration: underline;
}

.footer-middle h4,
.footer-right h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.footer-middle ul {
  list-style: none;
  padding: 0;
}

.footer-middle ul li {
  margin: 6px 0;
}

.footer-middle ul li a {
  text-decoration: none;
  color: #333;
}

.footer-middle ul li a:hover {
  color: #0077b5;
}

.footer-right p {
  margin: 6px 0;
}

.footer-right a {
  color: #333;
  text-decoration: none;
}

.footer-right a:hover {
  color: #0077b5;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.footer-bottom a {
  color: #0077b5;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}


/*career section*/
.career-page {
  padding: 100px;
  max-width: 900px;
  margin: auto;
}

.career-heading {
  text-align: center;
  margin-bottom: 25px;
  font-size: 26px;
  font-weight: 700;
  color: #1b2c5d;
}

.career-list {
  border-radius: 8px;
}

.career-item {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.career-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.career-header h3 {
  font-size: 18px;
  margin: 0;
}

.career-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 5px;
}

.career-content.show {
  max-height: 500px; /* enough space */
  padding: 10px 5px;
}

.pre-tag {
  white-space: pre-wrap; /* keep line breaks */
  font-size: 15px;
  line-height: 1.6;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* better font */
  margin: 5px 0;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #eee;
  max-height: 250px;   /* restrict height */
  overflow-y: auto;    /* scroll if content is large */
}


.btn-apply {
  background: #1b2c5d;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}
.btn-apply:hover {
  background: #15234a;
}
.btn-wrapper {
  margin-top: 12px;
  text-align: right;  /* keeps button aligned */
}


/* Popup Styling (kept same as yours) */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
}
.popup-inner {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.close-btn {
  position: absolute;
  top: 10px; right: 10px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 600px) {
  .career-header h3 {
    font-size: 16px;
  }
  .btn-apply {
    width: 100%;
  }
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.form-control,
.select,
input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.is-invalid {
  border-color: red;
}

.invalid-feedback {
  color: red;
  font-size: 12px;
  margin-top: 4px;
}
/* ===== Success Overlay (CSS-only 3D animation) ===== */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.65);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  z-index: 10000;
}

/* Stage */
.success-stage {
  position: relative;
  width: 280px;
  height: 220px;
}

/* Collector Box */
.collector-box {
  width: 200px;
  height: 100px;
  background: linear-gradient(#1b2c5d, #0f1a3e);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  margin: 0 auto;
  position: relative;
  top: 80px;
  overflow: hidden;
}

/* Resume sheet dropping */
.resume-sheet {
  position: absolute;
  left: 50%;
  top: -160px;
  width: 140px;
  height: 180px;
  transform: translateX(-50%);
  background: linear-gradient(#ffffff, #f7f7f7);
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  animation: dropResume 1.4s ease forwards;
}

.resume-lines {
  height: 12px;
  margin: 14px 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, #dfe6ff, #ebefff);
}
.resume-lines.short { width: 70%; }

/* Success message */
.success-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: rgba(255,255,255,0.95);
  color: #0f1a3e;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  opacity: 0;
  animation: showText 0.6s ease 1.5s forwards;
}

/* Keyframes */
@keyframes dropResume {
  0%   { top: -160px; opacity: 0; }
  50%  { top: 40px; opacity: 1; }
  100% { top: 80px; opacity: 0; } /* disappears under box */
}

@keyframes showText {
  from { opacity: 0; transform: translateX(-50%) scale(0.8); }
  to   { opacity: 1; transform: translateX(-50%) scale(1); }
}


/* ===== Your existing styles kept below ===== */


/* Buttons */
.btn-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.btn-custom {
  background: #007bff;
  border: none;
  padding: 10px 20px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.btn-custom:hover {
  background: #0056b3;
}

.btn-back {
  background: #6c757d;
  border: none;
  padding: 10px 16px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.btn-back:hover {
  background: #565e64;
}
.footer-social-icons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

/* Links */
.footer-social-icons a {
  color: #333;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: #0077b5; /* LinkedIn blue or override per icon */
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .footer-social-icons {
    gap: 8px;              /* reduce space */
    justify-content: center; /* center align */
    flex-wrap: wrap;         /* allow wrapping if many icons */
  }

  .footer-social-icons a {
    font-size: 18px; /* slightly smaller icons if using font icons */
  }
}

 
    

