/* ---------- TABLE OF CONTENTS ---------- */
/* GENERAL */
/* NAVIGATION */
/* LANDING */
/* DESCRIPTION */
/* SERVICES */
/* TESTIMONIALS */
/* PARTNERS */
/* CONTACT */
/* FOOTER */



/* ---------- GENERAL ---------- */
:root {
  --primary-color: #003B5c;
  --secondary-color: #000;
  --accent-color: #000;

  --primary-font: 'Roboto', sans-serif;
  --secondary-font: 'Roboto Condensed', sans-serif;
  --accent-font: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3 {
  margin-bottom: 1rem;
}

section {
  padding: 10rem 2rem 4rem;
  text-align: center;
}

section h2 {
  margin: 0 auto;
  max-width: 1200px;
  font-size: 45px;
  font-family: var(--accent-font);
  text-align: left;
  font-weight: 800;
  color: #000;
}

section h3 {
  margin: 0 auto -10px;
  max-width: 1200px;
  font-size: 20px;
  font-family: var(--secondary-font);
  text-align: left;
  font-weight: 800;
  text-transform: uppercase;
  color: #007B9A;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  /* margin-top: 1rem; */
  font-size: 14px;
  font-weight: 500;
  font-family: var(--primary-font);
  letter-spacing: 0px;
  text-transform: uppercase;
  text-decoration: none;
  background: #007B9A;
  background: var(--primary-color);
  color: #fff; 
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e76f51;
}


/* ---------- NAVIGATION ---------- */
header {
  width: 92%;
  max-width: 1000px;
  position: sticky;
  margin: 2vh auto;
  top: 2vh;
  padding: 0 2rem 0 1rem;
  /* background: rgba(255, 255, 255, 1); */
  background: rgba(255, 255, 255, 0.75);
  background-color: hsla(0, 0%, 100%, .9);
  /* backdrop-filter: blur(5px); */
  /* -webkit-backdrop-filter: blur(5px); */
  color: var(--primary-color);
  border-radius: 10px;
  z-index: 1000;
}

.nav {
  padding: 1rem 0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 75px;
}

.nav-logo {
  max-width: 175px;
  display: flex;
  font-size: 3rem;
  font-weight: bold;
}

.nav-logo img {
  height: 100%;
  width: 100%;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: Arial, Helvetica, sans-serif; 
  font-family: 'Futura-PT-Medium',Helvetica,Arial,Lucida,sans-serif; 
  list-style: none;
}

.nav ul li a {
  font-size: 14px;
  font-weight: 500;
  font-family: var(--primary-font);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--primary-color);
  text-decoration: none;
  transition: all ease 0.33s;
}

.nav ul li a:hover {
  color: #f4a261;
}

.nav a.btn {
  color: #fff;
}

.nav ul li a.btn:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ---------- LANDING SECTION ---------- */
.landing {
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  background: url('../images/landing.jpeg') no-repeat center center/cover;
  background-color: lightblue;
}

.landing-content h1 {
  margin-bottom: 175px;
  padding: 1rem 3rem;
  font-size: 4rem;
  font-family: var(--accent-font);
  letter-spacing: -5px;
  line-height: 75px;
  color: #fff;
  /* background: rgba(0, 100, 200, .5); */
  background: rgba(0, 59, 92, .65);
  /* background: rgba(0, 0, 0, .25); */
}

.landing-content p {
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* ---------- DESCRIPTION SECTION ---------- */
.desc {
  padding-top: 6rem;
  padding-bottom: 8rem;
  background-color: var(--primary-color);
}

.desc-content {
  margin: 0 auto;
  max-width: 1200px;
}

.desc h3 {
  font-size: 36px;
  font-weight: 900;
  font-family: var(--secondary-font);
  letter-spacing: -1px;
  line-height: 35px;
  color: #fff;
}

.desc h3 span {
  color: #ff950b;
}


/* ---------- SERVICES SECTION  ---------- */
.services .service-cards {
  margin: 3rem auto 0;
  max-width: 1200px;
  width: 100%;
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  grid-template-columns: repeat(4, 1fr); 
  column-gap: 2rem;
  row-gap: 2rem;
}

.service-card {
  max-width: 400px;
  padding-bottom: 5px;
  border: 2px solid transparent;
  /* border-bottom: 1px solid #ccc; */
  border-radius: 18px 18px 0 0;
  text-align: left;
  overflow: hidden;
}

.service-card:hover {
  border-bottom: 1px solid #009B9F;
}

.service-image {
  width: 100%;
  height: 200px;       
  overflow: hidden;   
  border-radius: 10px 10px 0 0; 
}

.service-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background-color: lightblue;
  transition: all ease-out .45s;
  transform-origin: center
}

.service-card:hover img {
  transform: scale(1.05); 
}

.service-card h3 {
  margin: 10px 0 0;
  padding-left: 5px;
  padding-bottom: 5px;
  font-size: 21px;
  font-weight: 600;
  font-family: var(--primary-font);
  letter-spacing: -1px;
  color: #333;
  text-transform: none;
}


/* ---------- TESTIMONIALS SECTION ---------- */
.testimonials {
  text-align: center;
  background-color: #f8f8f8;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 3rem auto;
}

.testimonial-card {
  padding: 30px;
  text-align: left;
  border-radius: 18px 18px 0 0;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--accent-font);
  color: #555;
}

.testimonial-name {
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--primary-color);
}

.testimonial-company {
  font-size: 0.9rem;
  color: #777;
}


/* ---------- PARTNERS SECTION ---------- */
.partners {
  width: 100%;
  overflow: hidden;
  background: #fff;
  /* padding-bottom: 9rem; */
  padding: 10rem 0 9rem 0;
  position: relative;
}

.partners h2 {
  margin-bottom: 6rem;
}

.partners-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.partners-slide {
  display: flex;
  align-items: center;
  gap: 5rem; 
  animation: scroll 6s linear infinite;
}

.partners-slide img {
  max-height: 50px;     
  width: auto;          
  flex-shrink: 0;        
  object-fit: contain;  
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.partners-slide img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-350%);
  }
}

/* ---------- CONTACT SECTION ---------- */
.contact {
  width: 100%;
  /* background: #f5f5f5; */
  padding: 150px 2rem 10rem;
}

.contact-container {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
}

.contact-left,
.contact-right {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.contact-left {
  background: #fff;
}

.contact-left h2 {
  margin-bottom: 1rem;
}


/* ---------- FORM ---------- */
form {
  margin: 0 auto;
  /* max-width: 500px; */
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
  text-align: left;
}

label {
  display: none; 
}

input,
textarea {
  padding: 0.75rem 0;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: transparent;
  color: #333;
  border: none;
  border-bottom: 2px solid #ccc;
  transition: border-color 0.3s ease;
  resize: none;
}

input::placeholder,
textarea::placeholder {
  color: #999;
  font-weight: 400;
  transition: color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0077b6;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: #0077b6;
}

.contact .btn {
  width: 100%;
  border: none;
  cursor: pointer;
}


/* ---------- Contact Right ---------- */
.contact-right {
  position: relative;
  min-height: 450px;
  /* background-image: url("images/contact-bg.jpg"); */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: #009B9F;
  background-size: cover;
  background-position: center;
}

.contact-overlay {
  padding: 1rem;
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}

.contact-overlay p {
  margin: 0;
  font-size: 1.1rem;
}

.contact-left h4 {
  font-family: var(--primary-font);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.form-group p {
  margin-top: 5px;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.error-msg {
  font-size: 0.85rem;
  color: #d9534f;
}

.success-msg {
  margin-top: 15px;
  font-size: 1.25rem;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #28a745;
}

.invalid {
  border-bottom: 2px solid #d9534f !important;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 5rem 4rem 1rem;
  /* height: 400px; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5rem;
  font-size: 0.9rem;
  text-align: center;
  color: #fff;
  background: var(--primary-color);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-logo {
  width: 300px;
  height: 100px;
  background-color: blue;
  background: url('../images/logo3.png') no-repeat center center/cover;
}

.footer-links ul {
  list-style-type: none;
}

.footer-links ul li {
  font-family: var(--primary-font);
}

.footer-contact {
  /* font-size: 10px;
  font-weight: 100;
  font-family: var(--primary-font); */
}

.footer-contact h2 {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--primary-font);
  letter-spacing: -0.5px;
}

.footer h3 {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--primary-font);
}

/* ---------- RESPONSIVE ---------- */
/* RESPOMSIVE - GLOBAL */
@media (max-width: 800px) {
  section h2 {
    font-size: 32px;
  }

  section h3 {
    font-size: 14px;
  }
}

/* RESPONSIVE - NAVBAR */
@media (max-width: 800px) {
  section {
    padding-top: 110px;
  }
}

@media (max-width: 768px) {
  header {
    margin: 0;
    width: 100%;
    top: 0;
    border-radius: 0;
    background-color: #fff;
    height: 100px;
  }

  .nav ul {
    position: absolute;
    top: 60px;
    right: 0;
    padding: 1rem;
    width: 200px;
    display: none;
    flex-direction: column;
    background: #264653;
  }

  .nav ul.active {
    top: 100px;
    display: flex;
    gap: 4rem;
    padding-top: 10rem;
    height: calc(100vh - 100px);
    width: 100%;
    background-color: #fff;
  }

  .nav ul li a {
    font-size: 18px;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 900px) {
  .landing-content h1 {
    margin-bottom: 100px;
    letter-spacing: -4px;
    line-height: 1;
  }
}

@media (max-width: 800px) {
  .desc {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }

  .desc h3 {
    font-size: 24px;
  }
}

/* RESPONSIVE - SERVICES */
@media (max-width: 800px) {
  .services .service-cards {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 1rem;
  }

  .service-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .services .service-cards {
    grid-template-columns: 1fr; 
  }

  .service-image {
    height: 125px;
  }
}

/* RESPONSIVE - TESTIMONIAL */
@media (max-width: 800px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 15px;
  }

  .testimonial-text {
    line-height: 1;
  }

}

@media (max-width: 800px) {
  .partners {
    padding: 10rem 2rem 4rem;
  }
}

/* RESPONSIVE - CONTACT */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-right {
    height: 250px;
    min-height: unset;
  }
}

@media (max-width: 800px) {
  .footer-container {
      flex-direction: column;
      gap: 2rem;
      text-align: left;
  }

  .footer-links {
      width: 100%;
  }

  .footer-contact h2 {
      margin: 0;
  }
}