.pop-card {
  transition: all 0.4s ease-in-out;
  transform: scale(1);
}

.pop-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  background-color: #f9fafb;
}


.contact dropdown/
html {
  scroll-behavior: smooth;
}

/* ====== General Reset ====== */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ====== Navbar Logo Alignment ====== */
header .container {
  display: flex;
  align-items: center;   /* Vertically center */
  justify-content: space-between; /* Space between logo+title and nav */
 
}

header img {
  height: 50px;
  margin-right: 1px;
 
}

header h1, 
header h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  line-height: 1; /* Keeps heading aligned with logo */
  display: flex;
  align-items: center;
}

/* ====== Navbar Links ====== */
header nav .nav-link {
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

header nav .nav-link:hover {
  color: #0d6efd; /* Bootstrap primary color */
}

/* ====== Hero Section ====== */
.carousel-caption h5 {
  font-size: 2rem;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 1.2rem;
}

/* ====== Notices Ticker (Marquee Alternative) ====== */
.scroll-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 12s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}


.footer {
  background: #1f1f1f;
  color: white;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-section {
  width: 30%;
  min-width: 260px;
  margin-bottom: 20px;
}

.footer-section h3 {
  margin-bottom: 10px;
  color: #ffcccb;
  font-size: 20px;
  border-bottom: 1px solid #444;
  padding-bottom: 6px;
}

/* Center Address Section */
.footer-center {
  text-align: center;
}

/* Social links styling */
.social-links {
  margin-top: 15px;
  text-align: center;
}

.social-links a {
  display: block;
  margin: 6px 0;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.social-links a i {
  margin-right: 8px;
  color: #ff4757;
}

.social-links a:hover {
  color: #ffa502;
  transform: translateX(5px);
}

/* Footer bottom line */
.footer-copy {
  margin-top: 25px;
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 14px;
  color: #ccc;
}

/* ====== Additional Mobile Responsive Fixes ====== */
@media (max-width: 768px) {
  /* Header and Navigation */
  header .container {
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
  }
  
  header .d-flex {
    margin-bottom: 15px;
    justify-content: center;
  }
  
  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  header nav .nav-item {
    margin: 5px 0;
  }
  
  /* Hero Carousel */
  .carousel-caption h5 {
    font-size: 1.5rem;
  }
  
  .carousel-caption p {
    font-size: 1rem;
  }
  
  /* Stats Section */
  #stats .counter {
    font-size: 1.75rem;
  }
  
  /* Recruiters Section */
  #recruiters .col-6 {
    margin-bottom: 20px;
  }
  
  /* Footer */
  footer .row {
    text-align: center;
  }
  
  footer .col-md-6 {
    margin-bottom: 25px;
  }
  
  /* Card hover effects - reduce on mobile for better performance */
  .pop-card:hover {
    transform: scale(1.01);
  }
  
  /* Ensure proper spacing */
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  /* Further adjustments for very small screens */
  h2 {
    font-size: 1.5rem;
  }
  
  .carousel-caption h5 {
    font-size: 1.25rem;
  }
  
  /* Make navigation items more tappable */
  .nav-link {
    padding: 8px 12px;
    display: block;
  }
  
  /* Adjust card padding */
  .pop-card {
    padding: 15px !important;
  }
  
  /* Marquee text adjustment */
  #notices-marquee {
    font-size: 0.9rem;
  }
}
/* Scroll-to-top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 45px;
  height: 45px;
  background: #8b0d2f; /* dark red */
  color: white;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  background: #aa123c;
  transform: translateY(-3px);
}


