@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", serif;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #192d66;
  --secondary: #db212a;
  --greyish: #f7f7f7;
  --transition: 400ms all ease;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.heading {
  font-size: 1.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0;
}

/* ===================== HEADER ===================== */
.site-header {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.top-nav {
  width: 100%;
  padding: 0.55rem clamp(1.25rem, 6vw, 10rem);
  background: var(--primary);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem 1.5rem;
}
.top-nav p {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.7rem, 1.4vw, 0.8rem);
  white-space: nowrap;
}
.top-nav p a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}
.top-nav p a:hover {
  color: var(--secondary);
}

.bottom-nav {
  width: 100%;
  padding: 0.9rem clamp(1.25rem, 6vw, 10rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 16px rgba(25, 45, 102, 0.1);
  position: sticky;
  top: 0;
  z-index: 200;
}
.bottom-nav .logo-link img {
  width: 6.5rem;
  transition: var(--transition);
}
.bottom-nav .navLinks {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.5rem;
}
.bottom-nav .navLinks a {
  position: relative;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-bottom: 0.3rem;
  transition: var(--transition);
}
.bottom-nav .navLinks a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}
.bottom-nav .navLinks a:hover {
  color: var(--secondary);
}
.bottom-nav .navLinks a:hover::after {
  width: 100%;
}
.bottom-nav .navLinks a.active {
  color: var(--secondary);
}
.bottom-nav .navLinks a.active::after {
  width: 100%;
}
.bottom-nav .navLinks a.cta {
  color: #fff;
  background: var(--secondary);
  padding: 0.65rem 1.4rem;
  border-radius: 5px;
}
.bottom-nav .navLinks a.cta::after {
  display: none;
}
.bottom-nav .navLinks a.cta:hover {
  color: #fff;
  background: var(--primary);
}

.hamburger {
  display: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 999;
  background: none;
  border: none;
  line-height: 0;
}
.hamburger.open {
  color: #fff;
}
.hamburger svg {
  width: 1.6rem;
  height: 1.6rem;
}
.hamburger .icon-close {
  display: none;
}
.hamburger.open .icon-menu {
  display: none;
}
.hamburger.open .icon-close {
  display: block;
}

.backdrop {
  display: none;
}

@media screen and (max-width: 1200px) {
  .hamburger {
    display: flex;
  }
  .bottom-nav .navLinks {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2.2rem;
    padding: 2rem;
    background: var(--primary);
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s ease;
    z-index: 998;
  }
  .bottom-nav .navLinks.open {
    transform: translateX(0);
  }
  .bottom-nav .navLinks a {
    color: #fff;
    font-size: 1.1rem;
  }
  .bottom-nav .navLinks a::after {
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
  }
  .bottom-nav .navLinks a:hover {
    color: var(--secondary);
  }
  .bottom-nav .navLinks a.cta {
    width: fit-content;
  }
  .backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(9, 15, 35, 0.55);
    z-index: 997;
  }
}

@media screen and (max-width: 600px) {
  .top-nav {
    display: none;
  }
  .bottom-nav {
    padding: 0.8rem 1.25rem;
  }
  .bottom-nav .logo-link img {
    width: 5rem;
  }
  .bottom-nav .navLinks {
    padding: 2rem 1.5rem;
  }
}

/* ===================== FOOTER ===================== */
.site-footer {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.site-footer .top {
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 3rem;
  background: var(--primary);
  padding: 3.5rem 10rem 2.5rem;
}
.site-footer .brand {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
}
.site-footer .brand img {
  width: 110px;
  background: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
}
.site-footer .tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 26rem;
}
.site-footer .quick-heading {
  position: relative;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.8rem;
  margin-bottom: 0.6rem;
}
.site-footer .quick-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  border-radius: 3px;
  background: var(--secondary);
}
.site-footer .middle {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}
.site-footer .quicklinks {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: start;
}
.site-footer .quicklinks a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: var(--transition);
}
.site-footer .quicklinks a:hover {
  color: var(--secondary);
  transform: translateX(2px);
}
.site-footer .contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.site-footer .contact p {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.site-footer .contact .icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary);
  font-size: 0.95rem;
}
.site-footer .contact a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}
.site-footer .contact a:hover {
  color: var(--secondary);
}
.site-footer .bottom {
  width: 100%;
  padding: 0.9rem 0;
  background: var(--secondary);
}
.site-footer .bottom p {
  font-size: 0.85rem;
  text-align: center;
  color: white;
}

@media screen and (max-width: 1300px) {
  .site-footer .top {
    grid-template-columns: 1.2fr 1fr 1.3fr;
    padding: 3rem 5rem 2rem;
    gap: 2rem;
  }
}

@media screen and (max-width: 900px) {
  .site-footer .top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 3rem 2rem 2rem;
    gap: 2.5rem;
  }
  .site-footer .brand {
    align-items: center;
  }
  .site-footer .brand .tagline {
    max-width: 24rem;
  }
  .site-footer .quick-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .site-footer .middle {
    align-items: center;
  }
  .site-footer .quicklinks {
    align-items: center;
  }
  .site-footer .contact {
    align-items: center;
  }
  .site-footer .contact p {
    justify-content: center;
  }
}

@media screen and (max-width: 600px) {
  .site-footer .top {
    padding: 2.5rem 1.25rem 1.75rem;
    gap: 2rem;
  }
  .site-footer .brand img {
    width: 90px;
  }
  .site-footer .bottom p {
    font-size: 0.75rem;
    padding: 0 1rem;
  }
}

/* ===================== SHARED PAGE HERO (about / services / contact) ===================== */
.top-content {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
}
.top-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-content .overlay {
  background: linear-gradient(
    180deg,
    rgba(25, 45, 102, 0.85) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.top-content .writings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  color: #fff;
  text-align: center;
  z-index: 2;
}
.top-content .the-heading {
  font-size: 4rem;
  font-weight: 600;
}

@media screen and (max-width: 900px) {
  .top-content .the-heading {
    font-size: 2.2rem;
  }
}
@media screen and (max-width: 600px) {
  .top-content .the-heading {
    font-size: 1.7rem;
  }
}
