:root {
  --color-primary: #003DA6;
  --color-accent: #FF9500;
  --color-navy: #002057;
  --color-white: #FFFFFF;
  --color-gray: #D9D9D9;
  --color-black: #000000;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.16);
  --radius-large: 24px;
  --radius-medium: 18px;
  --radius-small: 12px;
  --container-width: 1180px;
  --header-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--color-black);
  background:
    radial-gradient(circle at top left, rgba(0, 61, 166, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(217, 217, 217, 0.18), rgba(255, 255, 255, 1) 40%);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}


textarea {
  font: inherit;
  resize: vertical;
  min-height: 100px;
}

.error-page {
  background:
    linear-gradient(135deg, rgba(0, 32, 87, 0.98), rgba(0, 0, 0, 0.95)),
    linear-gradient(180deg, rgba(0, 61, 166, 0.16), transparent);
  color: var(--color-white);
  height: 1000px;
}

.error-page-h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.error-page-p {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-weight: bold;
  padding: 20px;
}

.error-padding{
  padding: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar {
  width: 100%;
  margin: 0 auto;
  min-height: 10vh;
  padding: 20px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-black);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  height: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.3rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-black);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 7px auto;
  background: var(--color-white);
  transition: transform 220ms ease, opacity 220ms ease;
}

.section {
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.hero {
  position: relative;
  min-height: 90svh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero-media,
.hero-media video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(135deg, rgba(0, 32, 87, 0.92), rgba(0, 0, 0, 0.74)),
    linear-gradient(45deg, rgba(0, 61, 166, 0.36), transparent 60%);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.32)),
    linear-gradient(180deg, rgba(0, 32, 87, 0.22), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin: 0 auto 0 max(0px, calc((100vw - var(--container-width)) / 2));
  color: var(--color-white);
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label {
  margin: 0 0 14px;
  padding: 20px 0 0;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.08;
}

.section-heading span {
  color: var(--color-white);
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 54ch;
  margin: 20px 0 32px;
  color: rgba(255, 255, 255, 0.86);
}

.submit-button {
  margin-top: 20px;
  width: 45%;
  max-width: 300px;
  padding: 15px 25px;
  border: unset;
  border-radius: 15px;
 color: var(--color-white);
 z-index: 1;
 background: var(--color-accent);
 position: relative;
 font-weight: 1000;
 font-size: 17px;
 -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
 box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.4);
 transition: all 500ms;
 overflow: hidden;
}

.submit-button::before {
  content: "";
 position: absolute;
 top: 0;
 left: 0;
 height: 100%;
 width: 0;
 border-radius: 15px;
 background-color: var(--color-navy);
 z-index: -1;
 -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
 box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
 transition: all 500ms
}

.submit-button:hover {
  color: var(--color-white);
  background-color: var(--color-navy);
  cursor: pointer;
}

button:hover::before {
  width: 100%;
}

/* From Uiverse.io by Peary74 */ 
.cta-button {
  height: 65px;
  width: 150px;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  background: var(--color-accent);
  color: white;
  fill: rgb(155, 153, 153);
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  cursor: pointer;
  border: none;
  border-radius: 15px;
  font-weight: 1000;
}

.cta-button span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
}

.cta-button svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

.cta-button:hover {
  background: var(--color-navy);
  transition: 0.5s linear;
}

.cta-button:hover .svg-wrapper {
  transform: scale(1.25);
  transition: 0.5s linear;
}

.cta-button:hover svg {
  transform: translateX(1.6em) scale(1.1);
  fill: var(--color-white);
}

.cta-button:hover span {
  font-size: 0px;
  opacity: 0;
  transition: 0.3s linear;
}

.cta-button:active {
  transform: scale(0.95);
}

/* CTA Button END */ 


.about,
.offer,
.contact {
  padding: 40px 60px 40px 60px;
}

.section-heading,
.about-grid,
.contact-layout {
  width: min(100%, var(--container-width));
  margin: 0 auto;
}

.section-heading {
  max-width: 80%;
  margin-bottom: 44px;
}

.about-carousel {
  position: relative;
  width: 100%;
  margin: 48px 0 0;
  overflow: hidden;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  transition: all 220ms ease;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.carousel-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  height: 690px;
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

.img1 {
    background-image: url("../assets/images/IMG_1573.jpeg");
}

.img2 {
    background-image: url("../assets/images/IMG_1890.jpeg");
}

.img3 {
    background-image: url("../assets/images/IMG_4413.jpeg");
}

.img4 {
    background-image: url("../assets/images/IMG_4862.jpg");
}

.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}

.carousel-nav button {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all 220ms ease;
  backdrop-filter: blur(8px);
}

.carousel-nav button:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 149, 0, 0.4);
}

.carousel-nav button:active {
  transform: scale(0.95);
}

.section-heading p {
  margin: 18px 0 0;
  color: rgba(0, 0, 0, 0.72);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.info-card,
.contact-form {
  border-radius: var(--radius-large);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.info-card {
  display: block;
  padding: 30px;
  background: var(--color-white);
  transition: all 0.3s ease-in-out;
  /* border: 1px solid rgba(0, 32, 87, 0.08); */
}

.info-card:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.card-value {
  margin: 0 0 16px;
  color: var(--color-primary);
  font-size: 2.3rem;
  font-weight: 700;
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.7;
}

.contact {
  background:
    linear-gradient(135deg, rgba(0, 32, 87, 0.98), rgba(0, 0, 0, 0.95)),
    linear-gradient(180deg, rgba(0, 61, 166, 0.16), transparent);
  color: var(--color-white);
}

.section-heading-light p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-layout {
  width: min(100%, 760px);
}

.contact-form {
  padding: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-form {
  display: grid;
  gap: 12px;
  transition: all 0.3s ease-in-out;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-small);
  outline: none;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.1);
}


.form-status {
  min-height: 24px;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.form-status.is-success {
  color: #a9f0c5;
}

.form-status.is-error {
  color: #ffd1d1;
}

.site-footer {
  padding: 28px 20px 42px;
  color: var(--color-white);
  background: var(--color-black);
}

.footer-brand img {
  width: 30%;
  margin-bottom: 10px;
}

.footer-shell {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.footer-title {
  margin: 0 0 10px;
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-copy {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
}

.footer-item span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-item a,
.footer-item p {
  margin: 0;
  color: var(--color-white);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1600px) {
  .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
     max-width: 80%;
  }

}

@media (max-width: 1300px) {

  .about-grid,
  .footer-shell,
  .footer-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .hero-content {
    padding-left: 50px;
    margin: 0;
  }

  .carousel-item {
    height: 500px;
  }
}

@media (max-width: 992px) {
  
  .nav-links {
  gap: 14px;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .navbar {
  padding: 20px 40px;
}

  .hero-content {
    padding-left: 60px;
    margin: 0;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .carousel-item {
    height: 450px;
  }

  

  .about-grid,
  .contact-layout {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

.hero-content {
    padding-left: 0px;
    margin: 0;
  }

  .about,
.offer,
.contact {
  padding: 30px 0px;
}

  .about-grid,
  .footer-shell,
  .footer-contact {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .navbar {
    position: absolute;
    left: 16px;
    right: 16px;
    width: auto;
    margin: 10px 0;
    padding: 16px;
    border-radius: 24px;
    box-sizing: border-box;
}

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    display: none;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero {
    height: 100vh;
    min-height: 92svh;
    padding: 120px 20px 72px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.3rem, 10vw, 3.8rem);
  }

  .hero-text,
  .section-heading p,
  .info-card p,
  .footer-item a,
  .footer-item p {
    font-size: 1rem;
  }

  .img1 {
    background-image: url("../assets/images/IMG_1573_comp.jpeg");
}

.img2 {
    background-image: url("../assets/images/IMG_1890_comp.jpeg");
}

.img3 {
    background-image: url("../assets/images/IMG_4413_comp.jpeg");
}

.img4 {
    background-image: url("../assets/images/IMG_4862_comp.jpeg");
}

  .carousel-item {
    height: 350px;
  }

  .carousel-nav {
    display: none;
  }

  .info-card,
  .contact-form {
    padding: 24px;
  }

  .submit-button {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .carousel-item {
    height: 250px;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
