/* Reset and Base Styles */
body {
  margin: 0;
  background-color: rgb(224, 225, 220);
  font-family: "Roboto", sans-serif;
  color: white;

}

/* Header Styles */
.HomeLogoImage {
  height: 4rem;          /* Matches typical nav text height (~24px) */
  object-fit: contain;     /* Ensures the image scales without distortion */
  vertical-align: middle;  /* Aligns it nicely with text */
}


header {
  background-color: rgb(224, 225, 220);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;
}

header h1 {
  font-size: 1.5rem;
}

.menu-toggle{
  display:none;
  font-size:26px;
  background:none;
  border:none;
  color:rgb(0,68,90);
  cursor:pointer;
}

@media (max-width:768px){

  header{
    flex-direction:row;
  }

  .menu-toggle{
    display:block;
  }

  nav{
    width:100%;
  }

  .nav-links{
    flex-direction:column;
    gap:20px;
    display:none;
    padding:20px 0;
  }

  .nav-links.active{
    display:flex;
  }

}

nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav ul li a {
  color: rgb(0, 68, 90);
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

a:hover {
  color: rgb(167, 193, 167);
}

/*Login*/
.login-link a {
  padding: 10px 20px;
  border: 2px solid rgb(0, 68, 90);
  border-radius: 20px;
  color: rgb(0, 68, 90);
  background-color: transparent;
  transition: all 0.3s ease;
}

.login-link a:hover {
  background-color: rgb(0, 68, 90);
  color: white;
}


/* HOME Section */
/* =========================
   HOME SECTION
========================= */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem;
  overflow: hidden;
  box-sizing: border-box;
}

/* =========================
   VIDEO BACKGROUND (80%)
========================= */
@media (max-width:768px){

  #home{
    padding:20px;
    justify-content:center;
  }

  .taglineBox{
    width:100%;
    padding:20px;
  }

  .tagline h1{
    font-size:1.6rem;
  }

}


.videoBackground {
  position: absolute;
  width: 96%;
  height: 92%;
  inset: 0;
  margin: auto;
  z-index: 1;
  border-radius: 25px;
  overflow: hidden;
}


/* Video itself */
.videoBackground video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

/* Dark overlay stays inside video */
.videoBackground::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 30px;
}

/* =========================
   TAGLINE BOX (ON TOP)
========================= */
.taglineBox {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 50%;
  padding: 2.5rem;
  border-radius: 50px 0 50px 50px;
  text-align: left;
}



/* =========================
   TEXT STYLES
========================= */
.tagline h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.tagline hr {
  height: 4px;
  background-color: rgba(255, 255, 255, 0.42);
  border: none;
  width: 100%;
  margin: 1rem 0;
}

.tagline p {
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.441);
}

/* =========================
   CONTACT BUTTON
========================= */
.homeContact {
  margin: 1rem 0 2rem;
}

.contactButton a {
  text-decoration: none;
}

.contactButton h1 {
  font-size: 1.2rem;
  border: 2px solid rgb(167, 193, 167);
  padding: 0.6em 1.4em;
  border-radius: 20px;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  color: #A7C1A7;
}

.contactButton h1:hover {
  background-color: rgb(167, 193, 167);
  color: rgb(0, 68, 90);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .videoBackground {
    width: 95%;
    height: 70%;
    border-radius: 20px;
  }

  .tagline h1 {
    font-size: 1.8rem;
  }

  .taglineBox {
    padding: 2rem 1.5rem;
    border-radius: 30px;
  }
}

/* =========================
   Solution
========================= */

#Solution {
  text-align: left;
  margin-bottom: 40px;
  margin-left: 2rem;
  color: rgb(0, 68, 90);
}

.Solution-Services h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.Solution-Services p {
  max-width: 700px;
  color: #555;
  line-height: 1.6;
}

/* Solution Cards */
.solution-boxes{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  padding:0 40px;
}

@media (max-width:1024px){
  .solution-boxes{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:768px){
  .solution-boxes{
    grid-template-columns:1fr;
    padding:0 20px;
  }
}

.solution-card {
  flex: 1;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.solution-card:hover {
  background-color: rgb(0, 68, 90);
}

.solution-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.solution-card h1 {
  font-size: 22px;
  margin: 20px 0 10px;
  color: rgb(0, 68, 90);
}

.solution-card:hover h1 {
  color: #ffffff;
}

.solution-card p {
  font-size: 15px;
  padding: 0 20px;
  color: #555;
  text-align: left;
  color: black;
}

.solution-card:hover p {
  color: #ffffff;
}

.solution-card h1,
.solution-card p {
  transition: color 0.3s ease;
}

/*Process*/
@media (max-width:768px){

  .process-container{
    flex-direction:column;
    gap:30px;
  }

  .process-steps{
    margin-left:0;
    width:100%;
    padding-left:20px;
    border-radius:20px;
  }

  .process-image img{
    height:auto;
  }

}

#process {
  padding: 80px 10%;
}

.process-title {
  text-align: center;
  margin-bottom: 60px;
  color: rgb(0, 68, 90);
}

.process-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* LEFT */
.process-steps {
  flex: 1;
  background-color: rgb(0, 68, 90);
  padding: 20px;
  border-radius:  0 20px 20px 0;
  width: calc(100% + 10vw);
  margin-left: -10vw;
  padding-left: calc(20px + 10vw);
}

.step {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  cursor: pointer;
}

.step h2 {
  margin: 0;
  font-size: 20px;
  color: white;
}

.step p {
  margin-top: 15px;
  display: none;
  color: rgba(255, 255, 255, 0.628);
  line-height: 1.6;
}

.step.active p {
  display: block;
}

/* RIGHT */
.process-image {
  flex: 1;
  position: sticky;
  top: 120px; /* keeps image visible while scrolling */
}

.process-image img {
  width: 100%;
  border-radius: 12px;
  height: 450px;       /* 👈 match this to the 4th image */
  object-fit: cover;
}

/*kb*/
@media (max-width:768px){

  .kb-card{
    flex-direction:column;
    text-align:center;
    padding:25px;
  }

  .kb-text{
    width:100%;
  }

  .kb-image img{
    width:100%;
    height:auto;
    margin-top:20px;
  }

}

#kb {
  padding: 80px 20px;
}

.kb-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px; /* space for scroll stacking */
  margin-top: 80px;
}

/* Card */
.kb-card {
  position: sticky;
  top: 120px;
  width: 90%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(0, 68, 90);
  border-radius: 20px;
  padding: 40px;
  color: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Left text */
.kb-text {
  width: 55%;
}

.kb-text h1 {
  font-size: 26px;
  margin-bottom: 15px;
}

.kb-text p {
  font-size: 16px;
  line-height: 1.6;
}

/* Right image */
.kb-image img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
}

.kb-card {
  transition: transform 0.4s ease;
}

@media (max-width: 768px) {
  .kb-card {
    flex-direction: column;
    text-align: center;
  }

  .kb-text {
    width: 100%;
  }

  .kb-image img {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }
}


/*CS*/
@media (max-width:768px){

  .cs-container{
    flex-direction:column;
    text-align:center;
  }

  .cs-image img{
    width:100%;
    height:auto;
  }

}

#CS {
  padding: 40px;
}

.cs-container {
  display: flex;
  align-items: center;
  background-color: rgb(0, 68, 90);
  border-radius: 20px;
  overflow: hidden;
  padding: 30px;
  gap: 30px;
}

/* Image section */
.cs-image img {
  width: 250px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
}

/* Text section */
.CSTitle h1 {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 10px;
}

.CSTitle p {
  color: #e0e0e0;
  line-height: 1.6;
  max-width: 600px;
}


/*Did you know Section*/
@media (max-width:768px){

  .dyk-container{
    flex-direction:column;
    text-align:center;
  }

  .dyk-icon{
    margin-bottom:20px;
  }

}

#DidYouKnow {
  padding: 4rem 2rem;
  color: #003941;
}

.dyk-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Circle Icon Box */
.dyk-icon {
  min-width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dyk-icon img {
  max-width: 70%;
  height: auto;
}

/* Text Content */
.dyk-content {
  flex: 1;
  min-width: 300px;
}

.dyk-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: rgb(0, 68, 90);
}

.dyk-content ul {
  list-style: none;
  padding-left: 0;
}

.dyk-content li {
  background: rgba(255, 255, 255, 0.5);
  padding: 0.75rem 1rem;
  margin-bottom: 0.8rem;
  border-left: 4px solid rgb(0, 68, 90);
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1.5;
  transition: background 0.3s ease;
}

.dyk-content li:hover {
  background: rgba(255, 255, 255, 0.8);
}


/* Font Awesome CDN (Add in <head>) */
/* <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" /> */

.site-footer {
  background-color: #002c3e;
  color: #ffffff;
  padding: 20px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #00c2cb;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 220px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #00c2cb;
}

.footer-social .social-icons a {
  color: #ffffff;
  font-size: 18px;
  margin-right: 15px;
  transition: color 0.3s;
}

.footer-social .social-icons a:hover {
  color: #00c2cb;
}

.footer-bottom {
  border-top: 1px solid #004a64;
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 14px;
}

.footer-bottom a {
  color: #00c2cb;
  text-decoration: none;
  margin: 0 8px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width:768px){

  .footer-container{
    flex-direction:column;
    gap:30px;
  }

  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-social{
    width:100%;
  }

}


