/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #1e2B42;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  color: white;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar .logo {
  position: absolute;
  left: 20px;
  width: 55px;
  top: 2px;
}

.navbar .title {
  font-size: 1.5rem;
  font-weight: bold;
}
body {
    background-color: #1e2B42;
    padding-top: 70px; /* 60px navbar height + 20px spacing */
}
/* MAIN SECTION */
.services-section {
   background-color: rgb(121, 140, 169);
   padding: 20px;
    margin-top: 10px;
    text-align: center;
    background: #f4f5f7;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    padding: 10px;
}

.service-card {
    background-color: rgb(121, 140, 169);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 180px;       /* fix the height of the image box */
    object-fit: contain;   /* fills the box without stretching */
    border-radius: 12px;
    display: block;
}


.service-card h3 {
    font-size: 1.3rem;
    margin: 10px 0 5px;
}

.service-card p {
    font-size: 0.95rem;
    color: #e7e2e2;
    margin-bottom: 15px;
}

.book-btn {
    background: #1e2B42;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
}

.book-btn:hover {
    background: #08121f;
}

/* FOOTER */
.footer {
  background-color:#1c2B42;
  color: #ffffff;
  padding: 20px 10%;
}

.footer-container {
 display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 10px;
}

.social-links a {
  color: #ffffff;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #00bfff;
}

.footer-links {
  display: flex;
  gap: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: .95rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 15px;
  padding-top: 10px;
}

/* RESPONSIVE */
@media (min-width: 320px) and (max-width: 768px) {

  .navbar {
    padding: 10px 15px;
  }

  .navbar .logo {
    width: 35px;
    left: 10px;
    top: 7px;
  }

  .navbar .title {
    font-size: 1.2rem;
  }

  .services-section {
    padding: 80px 10px 30px;
  }

  .service-card img {
    height: 150px;
  }

  .footer {
    padding: 20px 1rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .social-links a {
    font-size: 1.1rem;
  }

  .footer-bottom {
    font-size: 13px;
  }
}
