:root {
  --navy: #001f3f;
  --white: #ffffff;
  --light-gray: #f4f4f4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', 'Montserrat', 'Arial', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* Headings */
h1, h2, h3 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-weight: 600;
}

/* Navigation */
.nav-header {
  background: var(--navy);
  color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transform: translateY(-100%);
  animation: slideDown 0.8s ease forwards;
  transition: all 0.3s ease;
}

@keyframes slideDown {
  to { transform: translateY(0); }
}

.nav-header.shrink {
  padding: 0.5rem 2rem;
  background: #001a35;
}

.nav-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-header .logo {
  font-size: 1.3rem;
}

/* Navigation links */
.nav-header .nav-links {
  list-style: none;
  display: flex;
}

.nav-header .nav-links li {
  margin-left: 1.5rem;
}

.nav-header .nav-links a {
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.nav-header .nav-links a:hover {
  color: var(--white);
  background: #003366;
}

/* Button */
.button {
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  border: 2px solid var(--white);
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
  margin-top: 1.5rem;
}

.button:hover {
  background: var(--white);
  color: var(--navy);
}

/* Main content */
section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h1, h2 {
  margin-bottom: 1rem;
  margin-top: 5rem;
  font-size: 54px;
}

/* Footer */
footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
  margin-top: auto;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Accordion */
.accordion {
  background-color: #f1f1f1;
  color: #333;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: background-color 0.3s;
  border-radius: 8px;
  margin: 5px 0;
}

.accordion:hover {
  background-color: #ddd;
}

.accordion.active {
  background-color: #ccc;
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #fafafa;
  border-left: 3px solid #0077cc;
  border-radius: 0 0 8px 8px;
  margin-bottom: 10px;
  padding: 0 15px;
  text-align: left;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 65px;
    background: var(--navy);
    height: 100vh;
    width: 160px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: right 0.4s ease, opacity 0.4s ease;
  }

  h1 {
    font-size: 36px;
    margin-top: 3rem;
  }

  h2 {
    font-size: 28px;
    margin-top: 2rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .nav-links li {
    margin: 1rem 0;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }
  .nav-links.active li:nth-child(6) { transition-delay: 0.6s; }

  .hamburger { display: flex; }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-links a:hover {
    background: #003366;
    border-radius: 4px;
  }

  .features {
    flex-direction: column;
    margin: 30px 5%;
  }

  .service {
    flex: 1 1 100%;
  }
}

/* Features Section */
.features {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  max-width: 1000px;
  margin-top: 50px auto;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.feature {
  flex: 1 1 220px;
  background: rgba(0, 31, 63, 0.1);
  padding: 20px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.5s, opacity 0.5s;
}

.fade-up {
  animation: fadeUp 1s forwards;
}

.feature:nth-child(1) { animation-delay: 0.2s; }
.feature:nth-child(2) { animation-delay: 0.4s; }
.feature:nth-child(3) { animation-delay: 0.6s; }
.feature:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature:hover {
  transform: translateY(-10px);
  background: rgba(0, 31, 63, 0.2);
}

.about-columns {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  min-width: 250px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.fade-left {
  animation-delay: 0.3s;
}

.fade-right {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #001f3f;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #444;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin-bottom: -70px;
  margin-top: 10px;
}

.service {
  background: rgba(0, 31, 63, 0.1);
  padding: 2rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.5s, opacity 0.5s;
}

.service .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: var(--navy);
}

.service p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* Fade-up animation for each service */
.service:nth-child(1) { animation: fadeUp 0.4s forwards 0.2s; }
.service:nth-child(2) { animation: fadeUp 0.4s forwards 0.4s; }
.service:nth-child(3) { animation: fadeUp 0.4s forwards 0.6s; }
.service:nth-child(4) { animation: fadeUp 0.4s forwards 0.8s; }
.service:nth-child(5) { animation: fadeUp 0.4s forwards 1s; }
.service:nth-child(6) { animation: fadeUp 0.4s forwards 1.2s; }

@media (max-width: 1000px) {
  .services-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin: 10px auto;
  }

  .service {
    min-height: 180px;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .service .icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
  }

  .service h3 {
    font-size: 1.1rem;
  }

  .service p {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .portfolio-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 20px auto;
  }

  @media (max-width: 600px) {
    .portfolio-image img {
      max-width: 90%;
      margin: 15px auto;
    }
  }
}

/* ==========================
   CONTACT FORM STYLING
   ========================== */
/* ==========================
   CONTACT FORM STYLING (ALL WHITE TEXT)
   ========================== */
.contact-form {
  width: 100%;
  max-width: 600px;
  background: var(--navy);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin-top: 13px;
  color: var(--white); /* ensure default text is white */
}

.contact-form .form-group label {
  color: var(--white); /* labels visible */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: var(--white); /* input text white */
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.8); /* white placeholders */
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--white);
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}

/* Floating label stays white */
.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 0.8rem;
  background: var(--navy);
  padding: 0 5px;
  color: var(--white);
  font-weight: 600;
}

/* Submit button inverted for visibility */
.contact-form button { 
  background: var(--white); 
  color: var(--navy); 
  font-weight: 600;
}

.contact-form button:hover {
  background: #ddd;
  color: var(--navy);
  transform: translateY(-3px);
}


/* CONTACT FORM ANIMATION KEYFRAMES */
@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.map-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.map-container iframe {
  width: 100%;
  max-width: 800px; /* optional: control maximum size */
  height: 450px;
  border: 0;
}
.video-text-section {
  display: flex;
  flex-direction: row; /* ensures side-by-side on wide screens */
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* centers the section */
  flex-wrap: wrap; /* stacks on small screens */
}

.video-column,
.text-column {
  flex: 1 1 45%; /* each takes ~45% of space, allows for gap */
  min-width: 300px;
}

.text-column h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.text-column p {
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .video-column iframe {
    width: 100%;
    height: 250px; /* reduce height for mobile */
  }
}

