/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f6fa;
  color: #333;
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
  background: linear-gradient(90deg, #3b41f7, #3347fa);
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 55px;
  width: auto;
}

.logo span {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffb703;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  display: none;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  background: url('images/tandem-x-visuals-INyY9g9xNGQ-unsplash.jpg') center/cover no-repeat;
  height: 90vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 43, 91, 0.6);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-buttons .btn {
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-buttons .btn.primary {
  background: #ffb703;
  color: #002b5b;
}

.hero-buttons .btn.primary:hover {
  background: #e09e02;
}

.hero-buttons .btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.hero-buttons .btn.secondary:hover {
  background: #fff;
  color: #002b5b;
}

/* ================= SERVICES ================= */
.services {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.services h2 {
  font-size: 2.5rem;
  color: #002b5b;
  margin-bottom: 40px;
}

.service-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background: #63c1ce;
  border-radius: 10px;
  padding: 30px 20px;
  max-width: 250px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card img.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.5rem;
  color: #002b5b;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: #333;
}

/* ================= ABOUT ================= */
.about {
  padding: 60px 20px;
  background: #e0f7fa;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  color: #002b5b;
  margin-bottom: 20px;
}

.about p {
  max-width: 700px;
  margin: 0 auto 20px;
}

.about ul {
  list-style: none;
  margin-top: 20px;
}

.about ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* ================= STATS ================= */
.stats {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.stat-item h3 {
  font-size: 2rem;
  color: #ffb703;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 1rem;
  color: #002b5b;
}

/* ================= APPLY FORM ================= */
.apply {
  padding: 60px 20px;
  text-align: center;
  background: #e0f7fa;
}

.apply h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #002b5b;
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form select,
form textarea {
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

form button {
  background: #ffb703;
  color: #002b5b;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
}

form button:hover {
  background: #ffd44d;
}

/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(135deg, #002b5b, #004e92);
  color: #fff;
  padding: 30px 20px 20px; /* Reduced vertical padding */
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px; /* Reduced gap between columns */
}

/* Footer Headings */
.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  color: #ffb703;
  font-weight: 600;
}

/* Footer Text & Lists */
.footer-col p,
.footer-col ul {
  font-size: 0.95rem;
  line-height: 1.5; /* reduced line-height for compact spacing */
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffb703;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
}

.social-links a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links a:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Footer Contact Column */
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-contact p img {
  width: 20px;
  height: 20px;
}

.footer-contact p a {
  color: #ffb703;
  text-decoration: none;
}

.footer-contact p a:hover {
  color: #e09e02;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  font-size: 0.9rem;
  color: #ddd;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #002b5b;
    padding: 20px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .footer-container,
  .social-links,
  .footer-contact p {
    text-align: center;
    justify-content: center;
  }
}
