/* Global Styles */
:root {
  --bg-color: #f3f8ff;
  --accent-color1: #005f73;
  --accent-color2: #ffb703;
  --text-color: #1f2937;
  --heading-color: #0a0a0a;
  --container-width: 1200px;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--accent-color1);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color2);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 4rem 0;
}

section[id] {
  scroll-margin-top: 40px;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 1.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: linear-gradient(
    45deg,
    var(--accent-color1),
    var(--accent-color2)
  );
  color: white;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 95, 115, 0.3);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    45deg,
    var(--accent-color1),
    var(--accent-color2)
  );
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

.slide-in {
  animation: slideInUp 0.8s ease-out;
}

/* Header styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color1);
  transition: color 0.3s;
}

.logo:hover {
  color: var(--accent-color2);
}

/* Navigation */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--accent-color1);
  margin: 6px 0;
  transition: all 0.3s;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  position: relative;
  font-weight: 500;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(
    45deg,
    var(--accent-color1),
    var(--accent-color2)
  );
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - var(--header-height));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
  animation: fadeIn 1.5s;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Mission Section */
.mission-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.mission-content {
  flex: 1;
  min-width: 300px;
}

.benefits-list {
  flex: 1;
  min-width: 300px;
}

.benefit-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--accent-color1);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.clients-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  text-align: center;
}

.client-name {
  font-weight: 600;
  color: #333;
  padding: 0.5rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: var(--accent-color1);
  margin-bottom: 1rem;
}

/* Testimonials & Social Proof */
.social-proof {
  background-color: white;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.client-item {
  flex: 0 1 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s;
}

.client-item:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background-color: white;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question::after {
  content: "−";
}

/* Contact Form Section */
.form-section {
  background-color: white;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color1);
  box-shadow: 0 0 0 2px rgba(0, 95, 115, 0.1);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005F73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

select option {
  background-color: white;
  color: var(--text-color);
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.checkbox-group a {
  text-decoration: underline;
}

.form-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-map {
  flex: 2;
  min-width: 300px;
  height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-item img {
  width: 24px;
  margin-right: 15px;
  margin-top: 5px;
}

/* Footer */
footer {
  background-color: var(--accent-color1);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-col {
  margin-bottom: 1.5rem;
}

.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h3:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--accent-color2);
  left: 0;
  bottom: -10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--accent-color2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
  color: var(--accent-color1);
  margin-bottom: 1.5rem;
}

.policy-container h2 {
  color: var(--accent-color1);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-container p {
  margin-bottom: 1rem;
}

.policy-container ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.policy-container ul li {
  margin-bottom: 0.5rem;
}

/* Thank You Page */
.thanks-container {
  margin: 5rem auto;
  max-width: 600px;
  padding: 2.5rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.thanks-container h1 {
  color: var(--accent-color1);
  margin-bottom: 1.5rem;
}

.thanks-container p {
  margin-bottom: 2rem;
}

/* Cookie Consent */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 1.5rem 2rem;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

#cookie-consent p {
  flex: 1;
  min-width: 250px;
  margin-right: 1rem;
}

.cookie-btns {
  display: flex;
  gap: 1rem;
}

.cookie-btn-accept {
  background-color: var(--accent-color2);
  color: white;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 1.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-btn-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 183, 3, 0.3);
}

.cookie-btn-more {
  background: transparent;
  color: var(--accent-color1);
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--accent-color1);
  border-radius: 1.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-btn-more:hover {
  background-color: rgba(0, 95, 115, 0.1);
}

/* Media Queries */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - var(--header-height));
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu li {
    margin-left: 0;
    margin-bottom: 1.5rem;
  }

  #menu-toggle:checked ~ .nav-menu {
    left: 0;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(-45deg) translate(-9px, 6px);
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -8px);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  #cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .service-img {
    height: 150px;
  }

  .contact-map {
    height: 300px;
  }
}
