@import url('https://fonts.googleapis.com/cs2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;1,100;1,300;1,400;1,500&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    transition: all .2s linear;
    text-decoration: none;
}

.header {
    width: 100%;
    background-color: #004aad !important; /* Blue Header */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.header .container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    width: 120px;
    height: auto;
}

/* Navbar */
.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    background-color: #002b73; /* Darker blue hover */
    color: #ffd700; /* Gold accent */
}

/* Mobile Menu Button */
.fas.fa-bars {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Mobile Responsive Menu */
@media (max-width: 768px) {
  .fas.fa-bars {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: #004aad;
    text-align: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar.active {
    max-height: 400px; /* Adjust depending on number of links */
  }

  .navbar ul {
    flex-direction: column;
    padding: 20px 0;
    margin: 0;
  }

  .navbar ul li {
    margin: 10px 0;
  }

}

.home {
    position: relative;
    background: url("../images/office.jpg") center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 60, 0.55); /* Dark blue overlay */
    z-index: 1;
}

.home .home-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.home h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
}

.home h3 {
    font-size: 1.5rem;
    color: #ffd700;
    margin-top: 15px;
}

.home p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    background-color: #002b73; /* Dark Blue Footer */
    color: rgb(243, 245, 245);
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
}

.footer p {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.site-footer {
  text-align: center;
  padding: 30px 0;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}

.footer-social {
  margin-bottom: 10px;
}

.footer-social a {
  margin: 0 8px;
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer-content p {
  font-size: 14px;
  color: #555;
}

/* ===============================
   GENERAL PAGE SECTIONS
   =============================== */
section {
    padding: 60px 20px;
    text-align: center;
}

section h1 {
    font-size: 2.2rem;
    color: #004aad;
    margin-bottom: 20px;
    font-weight: 600;
}

section p {
    font-size: 1rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===============================
   CONTACT MAP + FORM
   =============================== */
.contact-map iframe {
    border: none;
    border-radius: 8px;
    margin: 20px 0;
    width: 100%;
    height: 400px;
}

.contact-form {
    max-width: 600px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.contact-form input[type="submit"] {
    background-color: #004aad;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.contact-form input[type="submit"]:hover {
    background-color: #002b73;
}

/* ===== Services cards: alignment + modern hover ===== */
:root{
  /* Use Bootstrap primary if available, else fallback */
  --brand: var(--bs-primary, #0d6efd);
  --card-radius: 12px;
  --card-img-h: 210px;
}

/* Keep all cards the same height and aligned */
.section .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
.col-md-6.col-lg-3 { display: flex; }

/* Card base */
.section .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 0;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  will-change: transform, box-shadow;
}

/* Image: same height + cover */
.section .card-img-top {
  height: var(--card-img-h);
  object-fit: cover;
  transition: transform .35s ease;
}

/* Body layout */
.section .card-body {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex-grow: 1;
}
.section .card-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Hover/Focus effects (lift + blue glow + subtle image zoom) */
@media (hover: hover) and (pointer: fine) {
  .section .card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 12px 24px rgba(0,0,0,.12),
      0 0 0 4px rgba(13,110,253,.14); /* blue glow ring */
  }
  .section .card:hover .card-img-top { transform: scale(1.03); }
  .section .card:hover .card-title i { filter: drop-shadow(0 0 2px rgba(13,110,253,.35)); }
}

/* Keyboard accessibility: show the same “glow” when focused */
.section .card:focus-within {
  transform: translateY(-6px);
  box-shadow:
    0 12px 24px rgba(0,0,0,.12),
    0 0 0 4px rgba(13,110,253,.18);
  outline: none; /* using the custom ring above */
}

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .section .card,
  .section .card-img-top { transition: none; }
}

@media (hover: hover) and (pointer: fine) {
  .section.bg-light .row > .col-sm-6.col-lg-3 > img {
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .section.bg-light .row > .col-sm-6.col-lg-3 > img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.12), 0 0 0 4px rgba(13,110,253,.12);
  }
}


/* ===============================
   SCROLLBAR STYLE
   =============================== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #004aad;
}
::-webkit-scrollbar-thumb:hover {
    background: #002b73;
}
