/* ============================= */
/* GLOBAL RESET & VARIABLES      */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0A1F44;
  --gray: #6C757D;
  --orange: #FF7A00;
  --white: #FFFFFF;
  --green: #3BA55C;
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--white);
  color: #333;
  line-height: 1.6;
}

/* ============================= */
/* HEADER / NAVBAR               */
/* ============================= */
header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--orange);
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  background: var(--navy);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  top: 100%;
  left: 0;
  min-width: 220px;
  z-index: 999;
}
.dropdown-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.dropdown-menu li a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--white);
}
.dropdown-menu li a:hover {
  background: var(--orange);
}
.dropdown:hover .dropdown-menu {
  display: block;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--white);
}

/* ============================= */
/* HERO                          */
/* ============================= */

/* HERO CAROUSEL */
.hero-carousel {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.6); /* overlay */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Text Animations for Hero Carousel */
.hero-content h1, 
.hero-content p, 
.hero-content .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.hero-slide.active .hero-content h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-slide.active .hero-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.hero-slide.active .hero-content .btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

/* Controls */
.hero-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 3;
  transform: translateY(-50%);
}

.hero-controls span {
  font-size: 2.5rem;
  color: var(--white);
  cursor: pointer;
  opacity: 0.5; /* Sets opacity to 50% */

  user-select: none;
  transition: color 0.3s;
}

.hero-controls span:hover {
  color: var(--orange);
}

/* Indicators */
.hero-indicators {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.hero-indicators .dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.5s;
}

.hero-indicators .dot.active,
.hero-indicators .dot:hover {
  background: var(--orange);
}

/* Responsive */
@media (max-width: 350px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

.hero {
  position: relative;
  height: 90vh;
  background: url("assets/img/hero-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.6);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease forwards;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease forwards;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s;
}
.btn.primary {
  background: var(--orange);
  color: var(--white);
}
.btn.ghost {
  border: 1px solid var(--white);
  color: var(--white);
}

/* ============================= */
/* ABOUT                         */
/* ============================= */
.about {
  padding: 6rem 2rem;
  text-align: center;
  background: #f9f9f9;
}

.about h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  font-size: 2.2rem; /* slightly smaller */
  margin-bottom: 1.5rem;
}

.about-desc {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray);
}

/* Stats Grid */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2rem; /* smaller */
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-card p {
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0;
}
/* ============================= */
/* SERVICES                      */
/* ============================= */
.services {
  background: #f9f9f9;
  padding: 6rem 2rem;
  text-align: center;
}

.services h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.3rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Service Card */
.service-card {
  position: relative;
  display: block;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
    /* Animation state (hidden by default) */
  opacity: 0;
  transform: translateY(30px);

}

/* Trigger animation only when section is visible */
.services.visible .service-card {
  animation: fadeUp 0.8s ease forwards;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background: var(--bg) no-repeat center/cover;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: transform 0.6s ease, opacity 0.4s ease;
  z-index: 0;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.65); /* navy overlay */
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.service-card:hover::before {
  opacity: 1;
  transform: scale(1.1); /* zoom effect */
}

.service-card:hover::after {
  opacity: 1;
}

/* Content */
.service-content {
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

.service-content h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  transition: color 0.4s ease;
}

.service-content p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
  transition: color 0.4s ease;
}

.service-card:hover .service-content h3,
.service-card:hover .service-content p {
  color: var(--white);
}

/* Button inside card */
.service-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.service-card:hover .service-btn {
  opacity: 1;
  transform: translateY(0);
}
.services.visible .service-card:nth-child(1) { animation-delay: 0.2s; }
.services.visible .service-card:nth-child(2) { animation-delay: 0.4s; }
.services.visible .service-card:nth-child(3) { animation-delay: 0.6s; }
.services.visible .service-card:nth-child(4) { animation-delay: 0.8s; }
.services.visible .service-card:nth-child(5) { animation-delay: 1s; }

/* ============================= */
/* WHY US - Premium Divider Style */
/* ============================= */
.why-us {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0A1F44, #091832);
  color: var(--white);
  text-align: center;
}

.why-us h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--orange);
}

.why-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

/* WHY US */
.why-list li {
  font-size: 1.2rem;
  margin: 1.2rem 0;
  padding-left: 1.2rem;
  border-left: 4px solid var(--orange);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  line-height: 1.6;
  font-weight: 500;

  opacity: 0;                
  transform: translateY(20px);
}

.why-list .icon {
  font-size: 1.5rem;
}

/* Trigger animation only when section is visible */
.why-us.visible .why-list li {
  animation: fadeUp 0.8s ease forwards;
}

.why-us.visible .why-list li:nth-child(1) { animation-delay: 0.2s; }
.why-us.visible .why-list li:nth-child(2) { animation-delay: 0.4s; }
.why-us.visible .why-list li:nth-child(3) { animation-delay: 0.6s; }
.why-us.visible .why-list li:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ============================= */
/* PROJECTS                      */
/* ============================= */
.projects {
  padding: 6rem 2rem;
  text-align: center;
  background: #f9f9f9;
}

.projects h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.3rem;
  color: var(--navy);
  margin-bottom: 3rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);

  opacity: 0;
  transform: translateY(30px);
}

.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-img {
  position: relative;
}

.project-img .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.7); /* navy overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: var(--white);
  text-align: center;
}

.project-img .overlay h3 {
  font-size: 1.3rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.project-img .overlay p {
  font-size: 1rem;
  opacity: 0.9;
}

.project-card:hover .overlay {
  opacity: 1;
}

/* Scroll animation */
.projects.visible .project-card {
  animation: fadeUp 0.8s ease forwards;
}

.projects.visible .project-card:nth-child(1) { animation-delay: 0.2s; }
.projects.visible .project-card:nth-child(2) { animation-delay: 0.4s; }
.projects.visible .project-card:nth-child(3) { animation-delay: 0.6s; }


/* ============================= */
/* PARTNERS                      */
/* ============================= */
.partners {
  background: linear-gradient(135deg, #f9f9f9, #fff);
  padding: 6rem 2rem;
  text-align: center;
}

.partners h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.partners-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 3rem;
}

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 55px;
  filter: grayscale(100%);
  opacity: 0;
  transform: translateY(20px);
  transition: filter 0.4s ease, transform 0.3s ease;
}

/* Hover effect */
.partner-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Scroll animation (staggered) */
.partners.visible .partner-logos img {
  animation: fadeUp 0.8s ease forwards;
}

.partners.visible .partner-logos img:nth-child(1) { animation-delay: 0.2s; }
.partners.visible .partner-logos img:nth-child(2) { animation-delay: 0.4s; }
.partners.visible .partner-logos img:nth-child(3) { animation-delay: 0.6s; }
.partners.visible .partner-logos img:nth-child(4) { animation-delay: 0.8s; }


/* ============================= */
/* CAREERS CTA                   */
/* ============================= */
.careers {
  position: relative;
  background: linear-gradient(rgba(10, 31, 68, 0.85), rgba(10, 31, 68, 0.85)), 
              url('assets/img/careers-bg.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem;
  border-radius: 0; /* keeps it full-width */
}

.careers h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.careers p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.careers .btn {
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.careers .btn:hover {
  background: #e56b00;
  transform: scale(1.05);
}

/* Scroll animation */
.careers {
  opacity: 0;
  transform: translateY(30px);
}

.careers.visible {
  animation: fadeUp 1s ease forwards;
}


/* ============================= */
/* CONTACT                       */
/* ============================= */
.contact {
  background: linear-gradient(rgba(10, 31, 68, 0.9), rgba(10, 31, 68, 0.9)),
              url('assets/img/contact-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
}

.contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.5);
  transform: scale(1.01);
}

.contact button {
  background: var(--orange);
  color: var(--white);
  padding: 1rem 1.8rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact button:hover {
  background: #e56b00;
  transform: scale(1.05);
}


/* FOOTER */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 2rem 1rem;
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  color: var(--orange);
  font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-log a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}
.footer-log img {
  height: 50px;
  width: auto;
}
.footer-log span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
}

.social {
  margin-top: 0.5rem;
}

.social a {
  color: var(--white);
  text-decoration: none;
  margin: 0 0.3rem;
  transition: color 0.3s;
}

.social a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}


/* ============================= */
/* ANIMATIONS                    */
/* ============================= */
@keyframes fadeInDown {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/* RESPONSIVENESS                */
/* ============================= */
@media (max-width: 992px) {
  .hero h1 {font-size: 2.2rem;}
  .hero p {font-size: 1rem;}
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--navy);
    width: 100%;
    padding: 1rem;
    display: none;
  }
  nav ul.active {display: flex;}
  .menu-toggle {display: block;}
  .service-grid,
  .why-grid,
  .project-grid {grid-template-columns: 1fr;}
  .footer-container {grid-template-columns: 1fr 1fr;}
}
@media (max-width: 576px) {
  .hero {height: 70vh; padding: 0 1rem;}
  .hero h1 {font-size: 1.8rem;}
  .hero p {font-size: 0.95rem;}
  .about-stats {flex-direction: column; gap: 1rem;}
  .partner-logos img {height: 40px;}
  .contact form {padding: 0 1rem;}
  .footer-container {grid-template-columns: 1fr; text-align: center;}
}
