/* General Styles */
:root {
  --bg-color: #111111;
  --accent-primary: #22ffb2;
  --accent-secondary: #ffc857;
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --transition-default: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition-default);
}

a:hover {
  color: var(--accent-secondary);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-default);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #1ad698);
  color: var(--bg-color);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(34, 255, 178, 0.2);
  color: var(--bg-color);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-primary);
}

section {
  padding: 5rem 0;
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(17, 17, 17, 0.95);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--accent-primary);
}

/* Mobile Menu (Checkbox Hack) */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
}

.menu-icon {
  display: block;
  position: relative;
  width: 30px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-default);
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  display: block;
  position: absolute;
  background: var(--text-primary);
  width: 100%;
  height: 2px;
  transition: var(--transition-default);
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url("./img/HyPHp.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 10;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--accent-secondary);
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-default);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(34, 255, 178, 0.15);
}

.service-image {
  height: 180px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-default);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition-default);
}

.benefit-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-title {
  font-size: 1.3rem;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-container {
  position: relative;
  margin: 2rem 0;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  min-width: 280px;
  max-width: 350px;
  padding: 2rem;
  margin: 0 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  scroll-snap-align: start;
  transition: var(--transition-default);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(34, 255, 178, 0.15);
}

.client-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.client-name {
  font-weight: 600;
}

.client-position {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.testimonial-text {
  position: relative;
  font-style: italic;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  top: -20px;
  left: -10px;
  color: var(--accent-primary);
  opacity: 0.3;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.testimonial-nav label {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-secondary);
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition-default);
}

.testimonial-nav label:hover {
  background-color: var(--accent-primary);
}

/* Form Section */
.form-container {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transition: var(--transition-default);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: rgba(255, 255, 255, 0.15);
}

select.form-control {
  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='white' 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 10px center;
  background-size: 1em;
}

/* Custom styling for select options */
select.form-control option {
  background-color: var(--bg-color);
  color: var(--text-primary);
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
}

.checkbox-group label {
  cursor: pointer;
}

.checkbox-group a {
  text-decoration: underline;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-primary);
  transition: var(--transition-default);
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.02);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-default);
}

.faq-answer-content {
  padding: 0 1.2rem;
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question::after {
  transform: rotate(45deg);
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
  padding: 1.2rem;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 3rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition-default);
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.contact-item {
  display: flex;
  margin-bottom: 1rem;
}

.contact-icon {
  margin-right: 10px;
  color: var(--accent-primary);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(17, 17, 17, 0.95);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.5s ease;
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-text {
  flex: 1;
  margin-right: 2rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn-cookie {
  padding: 8px 16px;
}

.btn-accept {
  background-color: var(--accent-primary);
  color: var(--bg-color);
}

.btn-decline {
  background-color: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
}

/* Policy Pages */
.policy-page {
  padding: 8rem 3rem 3rem;
}

.policy-container {
  max-width: 900px;
  margin: 8rem auto 3rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.policy-title {
  margin-bottom: 2rem;
  text-align: center;
}

.policy-content h2 {
  color: var(--accent-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p {
  margin-bottom: 1rem;
}

.policy-content ul,
.policy-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you-container {
  max-width: 700px;
  margin: 8rem auto 3rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.thank-you-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you-message {
  margin-bottom: 2rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    background-color: rgba(17, 17, 17, 0.98);
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: var(--transition-default);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .menu-toggle:checked ~ .nav-menu {
    left: 0;
  }

  .nav-menu li {
    margin: 1.5rem 0;
  }

  .menu-btn {
    display: block;
    z-index: 999;
  }

  .menu-toggle:checked ~ .menu-btn .menu-icon {
    background: transparent;
  }

  .menu-toggle:checked ~ .menu-btn .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
  }

  .menu-toggle:checked ~ .menu-btn .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .testimonial {
    min-width: 280px;
  }

  .cookie-consent {
    flex-direction: column;
  }

  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .service-image {
    height: 160px;
  }

  .policy-container {
    padding: 1.5rem;
  }
}

/* Extra utility classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}
