/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --light-blue: #004b7d23;
  --blue: #004B7D;
  --orange: #FE8329;
  --dark: #0a0a0f;
  --white: #ffffff;
}

body {
  font-family: Arial, sans-serif;
  background: var(--dark);
  color: var(--dark);
  overflow-x: hidden;
}

/* ================= GLOBAL ================= */
section {
  padding: 1rem;
  margin: auto;
}

h1, h2 {
  font-weight: 700;
}

p {
  color: #7c7c7c;
  line-height: 1.6;
}

/* ================= NAVBAR ================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding: 16px;
  border-bottom: solid 1px lightgrey;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.logo span {
  color: var(--orange);
}

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

.nav-links a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: white;
}

.cta-btn {
  background: var(--orange);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover {
  box-shadow: 0 0 15px var(--orange);
}

.about-btn {
  background: lightgray;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  color: var(--dark);
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.about-btn:hover {
  box-shadow: 0 0 15px grey;
}

/* ================= HERO ================= */
.hero {
  min-height: 50vh;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  padding-top: 100px;

}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.pill {
  display: inline-block;
  max-width: fit-content;
  background-color: var(--light-blue);
  color: #2563eb;
  border-radius: 22px;
  font-size: 14px;
  font-weight: bolder;
  padding: 4px 8px;
  border: solid 1px lightgrey;
}

.hero-text {
  min-width: max-content;
  animation: fadeUp 1s ease;
}

.hero-text * {
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: 42px;
}

.hero-text span {
  color: var(--blue);
}

.contact-info {
  margin: 20px 0;
  font-size: 14px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
}

/* FLOATING CARDS */
.card {
  position: relative;
  border-radius: 10px;
  animation: float 4s infinite ease-in-out;
}

.card-1 { width:120px;height:80px; top:0; right:60px;}
.card-2 { width:140px;height:90px; top:80px; right:0;}
.card-3 { width:110px;height:70px; top:150px; right:100px;}

@keyframes float {
  0%,100% { transform: translateY(0);}
  50% { transform: translateY(-15px);}
}

@keyframes fadeUp {
  from { opacity:0; transform: translateY(30px);}
  to { opacity:1; transform: translateY(0);}
}

/* ================= MARQUEE ================= */
.marquee {
  overflow: hidden;
  margin-top: 40px;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: scroll 15s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll {
  from { transform: translateX(0);}
  to { transform: translateX(-50%);}
}

/* ================= ABOUT ================= */
.about {
  text-align: center;
  background-color: var(--blue);
}

.about h2 {
  margin-bottom: 20px;
  color: var(--orange);
}

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

/* ================= CONTACT ================= */
.contact {
  text-align: center;
  background-color: var(--blue);
}

.contact h2 {
  color: var(--white);
}

.contact a {
  color: var(--orange);
  text-decoration: none;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 30px;
  color: var(--white);
  font-size: 14px;
  background-color: #004B7D;
}

/* ================= MOBILE ================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;

}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
}

@media(max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    min-width: min-content;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 10px;
    flex-direction: column;
    background: var(--blue);
    padding: 20px;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ================= ABOUT IMPROVED ================= */
.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: auto;
  padding: 2rem 0;
  
}

.about-text {
  flex: 1;
  text-align: left;
  
}

.about-text p {
  color: var(--white);
}

.about-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  
}

.feature h3 {
  color: var(--orange);
  margin-bottom: 5px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* ================= CONTACT FORM ================= */
.contact-form {
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: none;
  outline: none;
}

.contact-form button {
  width: fit-content;
  align-self: center;
}

/* ================= MOBILE IMPROVEMENTS ================= */
@media(max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }
}