body {
  margin: 0;
  font-family: Arial, sans-serif, Roboto;
  background-color: #003357;
  color: #FFFFFF;

  padding: 0;
  height: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFFFFF;
  color: #003357;
  padding: 1rem 2rem;
}

.logo {
  font-weight: bold;
  background-color: #FFFFFF;
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-right: 1rem;
}

.logo a {
  text-decoration: none;
}

.company-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #003357;
}

.company-name a {
    text-decoration: none;
    color: #003357;
}

.cta-button {
  background-color: #003357;
  color: #FFFFFF;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
}

.colrfreeconsultbtn {
    color: #003357;
    background-color: #FFFFFF;
    border-radius: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
}
 
.colrfreeconsultbtn p {
    font-weight: bold;
    font-size: 1.5rem;
}

.cta-button:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.cta-button.colrfreeconsultbtn {
  text-decoration: none;
}

.hero-layered {
min-height: 60vh;
padding:4rem;
display: flex;
align-items: right;
justify-content: right;
color: #FFF;
background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.2)), 
url(res/heroimg1withlog.png) center/cover no-repeat; background-blend-mode: normal;

    z-index: -3;
}

 /* Gradient overlay */
  .gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(0,0,0,0.4), rgba(0,0,0,0.2));
    animation: gradientShift 20s ease-in-out infinite alternate;
  }

/* Animations */
  @keyframes zoomRotateFloat {
    0% { transform: scale(1) rotate(0deg) translate(0, 0); }
    25% { transform: scale(1.02) rotate(0.5deg) translate(10px, -10px); }
    50% { transform: scale(1.05) rotate(-0.5deg) translate(-10px, 10px); }
    75% { transform: scale(1.03) rotate(0.3deg) translate(5px, -5px); }
    100% { transform: scale(1) rotate(0deg) translate(0, 0); }
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes gradientShift {
    0% { background: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(0,0,0,0.4), rgba(0,0,0,0.2)); }
    50% { background: linear-gradient(60deg, rgba(0,0,0,0.25), rgba(0,0,0,0.5), rgba(0,0,0,0.25)); }
    100% { background: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(0,0,0,0.4), rgba(0,0,0,0.2)); }
  }

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 500px;
  text-align: left;
}

.hero {
  display: flex;
  justify-content: space-between;
  padding: 3rem 2rem;
}

.hero-text {
  max-width: 50%;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  aspect-ratio: 16 / 9;
  background-color: #003357;
  color: #101F4A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.hero-image:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.benefits {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #FFFFFF;
  padding: 1rem;
  border-radius: 12px;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 340px;
}

.benefit-icon {
  cursor: pointer;
  width: 80px;
  height: 80px;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  background-color: #003357;
}

.benefit-label {
  font-size: 1rem;
  color: #003357;
}

.benefit:hover .benefit-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.testimonial {
  padding: 3rem;
  background-color: #003357;
  text-align: center;
}

.contact-form {
  background-color: #FFFFFF;
  color: #003357;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
}

.contact-form input, select, textarea {
  display: block;
  margin: 1rem auto;
  padding: 0.5rem;
  width: 40%;
  border: 2px solid #003357;
  border-radius: 8px;
  color: #003357;
  font-size: 1rem;
}

.contact-form select {
  width: 42%;
}

.contact-form select {
  display: block;
  margin: 1rem auto;
  padding: 0.5rem;
  width: 42%;
  border: 2px solid #003357;
  border-radius: 8px;
  color: #003357;
  font-size: 1rem;
}

.footer {
  background-color: #003357;
  padding: 1rem;
  text-align: center;
}

.footer-links a {
  color: #FFFFFF;
  margin-right: 1rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 31, 74, 0.85);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #FFFFFF;
  color: #003357;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.close {
  color: #003357;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.close:hover{
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.privacy-trigger {
  color: #FFFFFF;
  text-decoration: underline;
  cursor: pointer;
}

.privacylogo {
  background-color: #FFFFFF;
  padding: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center; 
  height: 80px; 
}

.privacylogo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.journey {
  padding: 4rem 0;
  background-color: #FFFFFF;
  text-align: center;
}

.colrjourney {
  color: #003357;
  background-color: #FFFFFF;
  border-radius: 8px;
}

.colrjourney:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

  .journey h2 {
    color: #003357;
    margin-top: 1rem;
  }

.journey-steps {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto; /* allows scrolling on smaller screens */
  scrollbar-width: none; /* hide scrollbar for Firefox */
}

.journey-steps::-webkit-scrollbar {
  display: none; /* hide scrollbar for Chrome/Safari */
}

.step {
  background: #003357;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  min-width: 220px; /* ensures all boxes fit horizontally */
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.step-number {
  background: #FFFFFF;
  color: #003357;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 10px;
}

.step h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step p {
  color: #FFFFFF;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* Media Queries */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    text-align: center;
  }

  .logo {
    margin-bottom: 1rem;
  }

  .company-name {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .cta-button {
    width: 90%;
    margin: 0.5rem auto;
    text-align: center;
    font-size: 1rem;
  }

  .hero {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-image {
    max-width: 100%;
    aspect-ratio: auto;
  }

  .benefits {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .benefit {
    margin-bottom: 1rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .contact-form input,
  .contact-form select, .contact-form textarea {
    width: 90%;
    font-size: 1rem;
  }

  .modal-content {
    width: 90%;
    margin: 20% auto;
    padding: 1rem;
  }

  .footer {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-links a {
    margin: 0.5rem 0;
    display: block;
  }
}