/* Global Styles */
:root {
  --primary-color: #0e1a2b;
  --accent-color: #ffb703;
  --accent-color-alt: #fb8500;
  --text-color: #ffffff;
  --text-color-alt: #dddddd;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--primary-color);
}

section[id] {
  scroll-margin-top: 40px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color-alt);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: rgba(0, 0, 0, 0.2);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.9rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--accent-color-alt)
  );
  color: var(--primary-color);
}

.btn-primary:hover {
  background: linear-gradient(
    to right,
    var(--accent-color-alt),
    var(--accent-color)
  );
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color);
}

.btn-outline:hover {
  background-color: var(--text-color);
  color: var(--primary-color);
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
  text-transform: lowercase;
}

.logo-text:hover {
  color: var(--accent-color-alt);
}

.mobile-menu {
  position: relative;
}

.menu-checkbox {
  display: none;
}

.hamburger {
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  position: relative;
  display: none;
}

.hamburger::before,
.hamburger::after {
  content: "";
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  position: absolute;
  transition: var(--transition);
}

.hamburger::before {
  transform: translateY(-10px);
}

.hamburger::after {
  transform: translateY(10px);
}

.menu-checkbox:checked ~ .menu-toggle-label .hamburger {
  background-color: transparent;
}

.menu-checkbox:checked ~ .menu-toggle-label .hamburger::before {
  transform: rotate(45deg);
}

.menu-checkbox:checked ~ .menu-toggle-label .hamburger::after {
  transform: rotate(-45deg);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-list li a {
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

.nav-list li a:hover {
  color: var(--accent-color);
}

.nav-button {
  padding: 8px 20px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(14, 26, 43, 0.8), rgba(14, 26, 43, 0.9)),
    url("./img/GsVph.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero-container {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-color-alt);
  margin-bottom: 2rem;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-content .btn {
  align-self: flex-start;
}

/* Why Choose Us Section */
.why-us-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.why-us-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: var(--transition);
}

.why-us-item:hover {
  transform: translateX(5px);
  box-shadow: var(--box-shadow);
}

.item-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
}

.item-content {
  flex: 1;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.testimonial-content {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent-color);
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.3;
}

.author-name {
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.author-position {
  font-size: 0.9rem;
  color: var(--text-color-alt);
}

/* Contact Form Section */
.form-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' 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 15px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Custom styling for select option background */
select option {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-container input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.checkbox-container label {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: var(--transition);
}

.faq-toggle:checked ~ .faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-toggle:checked ~ .faq-question::after {
  content: "−";
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.02);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px 20px;
}

/* Map Container */
.map-container {
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Footer Styles */
.site-footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 3rem;
}

.footer-info {
  grid-column: span 2;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.contact-list,
.quick-links,
.legal-links {
  list-style: none;
}

.contact-list li,
.quick-links li,
.legal-links li {
  margin-bottom: 10px;
}

.contact-list li i {
  color: var(--accent-color);
  margin-right: 10px;
}

.contact-list address {
  font-style: normal;
  display: inline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color-alt);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(14, 26, 43, 0.95);
  z-index: 9999;
  display: none;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  padding: 15px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Policy Pages */
.policy-section {
  padding-top: 120px;
}

.policy-content {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.policy-content h1 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.policy-content h2 {
  color: var(--accent-color);
  margin-top: 2rem;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 20px;
}

.policy-content ul li,
.policy-content ol li {
  margin-bottom: 5px;
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.cookies-table th,
.cookies-table td {
  padding: 10px 15px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookies-table th {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-color);
}

/* Thank You Page */
.thank-you-content {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin: 8rem auto 3rem;
  max-width: 600px;
}

.thank-you-content h1 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.thank-you-buttons {
  margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .about-content {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle-label {
    display: block;
    cursor: pointer;
  }

  .hamburger {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary-color);
    width: 250px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
  }

  .menu-checkbox:checked ~ .main-nav {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .nav-button {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 3rem 0;
  }

  .policy-section {
    padding-top: 120px;
  }

  .hero {
    height: auto;
    min-height: 100vh;
  }

  .contact-form {
    padding: 20px;
  }

  .policy-content {
    padding: 20px;
  }

  .thank-you-content {
    margin: 6rem auto 2rem;
    padding: 20px;
  }
}
