:root {
  --primary: #092c30;
  --theme: #1b8996;
  --bg: #f6f8fb;
  --white: #ffffff;
  --gray: #6c757d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--theme);
}

header,
footer {
  /* background: var(--theme) !important; */
  background: linear-gradient(
    90deg,
    var(--theme) 0%,
    var(--white) 100%
  ) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-img {
  height: 45px;
  width: auto;
  /* Keeps aspect ratio */
  max-width: 130px;
  /* Optional: prevent too large on big screens */
  display: block;
}

header .btn-contact {
  background: var(--theme);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  /* Prevents text wrapping */
}

.gradient-text {
  background: linear-gradient(to bottom right, var(--theme), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero {
  background-image: url("assets/hero_back.png");
  padding: 4rem 2rem;
  text-align: center;
}

.hero .tag {
  color: var(--white);
  background: linear-gradient(to bottom right, var(--theme), var(--primary));
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero h1 {
  max-width: 700px;
  font-weight: 1000 !important;
  margin: 0 auto 1rem;
  background: linear-gradient(to bottom right, var(--theme), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: auto;
}

.hero p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--gray);
}

.hero form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero input {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  min-width: 250px;
}

.hero button {
  background: linear-gradient(to bottom right, var(--theme), var(--primary));
  color: var(--white);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

.features {
  padding: 3rem 2rem;
  background: var(--white);
}

.features h2 {
  text-align: center;
  font-weight: 900;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
}

.card {
  background: var(--white);
  border: 2px solid var(--theme);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.cta {
  background-image: url("assets/banner.png");
  color: var(--white);
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 10px 70px 10px 70px;
}

.cta h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.cta p {
  margin-bottom: 1.5rem;
}

.cta button {
  background: var(--primary);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

.faq {
  background: var(--white);
  padding: 2rem;
}

.faq h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 900;
}


details {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
  p {
    margin-top: 0.6rem;
    margin-bottom: 1rem;
}
}

summary {
  font-weight: 600;
}

footer {
  background: #f1f1f1;
  text-align: center;
  padding: 1rem;
  color: #555;
}

#contactFormContainer {
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.contact-form h3 {
  margin-bottom: 1rem;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  margin: auto;
  background: linear-gradient(to bottom right, var(--theme), var(--primary));
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

.send-msg {
  display: flex;
  justify-content: center;
}

@media (max-width: 1200px) {
  .feature-grid {
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .features {
    padding: 2.5rem 1.5rem;
  }

  .feature-grid {
    gap: 2.5rem;
  }

  .card {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .features {
    padding: 2rem 1rem;
  }

  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .card {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  header .logo {
    max-width: 100px;
    display: flex;
    align-items: center;
  }

  .logo-img {
    height: 30px;
    width: auto;
    max-width: 100%;
    display: block;
  }

  header .btn-contact {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
  }

  header,
  footer {
    padding: 0.5rem 0.5rem;
    color: var(--primary) !important;
  }

  .features {
    padding: 1.5rem 0.75rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    /* Single column on smallest screens */
    gap: 1.5rem;
  }

  .card {
    padding: 0.75rem;
  }

  .card img {
    margin: 0.5rem !important;
    width: 28px;
    height: 28px;
  }

  .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem !important;
  }

  .card-text {
    font-size: 0.875rem;
  }
}
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card.animate-on-scroll {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}

.card.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateX(0);
  animation: slideInFromLeft 0.6s ease-out both;
}
@media (hover: hover) {
  .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
}
