/* style.css - Main stylesheet for domain.com */

/* --- GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-bg: #0d1721;
  --accent: #ffb400;
  --light-bg: #f5f9fc;
  --dark-text: #1c1c1c;
  --light-text: #ffffff;
  --gradient-start: #ffb400;
  --gradient-end: #ff7300;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background-color: var(--main-bg);
  color: var(--light-text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gradient-end);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(
    90deg,
    var(--gradient-start) 0%,
    var(--gradient-end) 100%
  );
  color: var(--dark-text);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: var(--dark-text);
}

/* --- HEADER --- */
header {
  background-color: var(--main-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-family: "Inter", Arial, sans-serif;
  font-weight: bold;
  font-size: 28px;
  color: var(--accent);
}

.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
}

.nav-desktop li {
  margin-left: 25px;
}

.nav-desktop a {
  color: var(--light-text);
}

.nav-desktop a:hover {
  color: var(--accent);
}

/* Mobile navigation */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: var(--light-text);
  height: 2px;
  width: 25px;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 8px;
}

.nav-toggle-label span::after {
  top: 8px;
}

.nav-mobile {
  display: none;
}

/* --- HERO SECTION --- */
.hero {
  background-image: url("./img/BLge8.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 23, 33, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--light-text);
}

/* --- ABOUT SECTION --- */
.about {
  background-color: var(--light-bg);
  color: var(--dark-text);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.about .section-title,
.services .section-title,
.stages .section-title,
.testimonials .section-title,
.contact .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* --- ADVANTAGES SECTION --- */
.advantages {
  background-color: var(--main-bg);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.advantage-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.advantage-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* --- SERVICES SECTION --- */
.services {
  background-color: var(--light-bg);
  color: var(--dark-text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 25px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* --- STAGES SECTION --- */
.stages {
  background-color: var(--main-bg);
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.stage-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  position: relative;
}

.stage-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background: linear-gradient(
    90deg,
    var(--gradient-start) 0%,
    var(--gradient-end) 100%
  );
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--dark-text);
  font-weight: bold;
  font-size: 1.2rem;
}

.stage-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  margin-top: 10px;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
  background-color: var(--light-bg);
  color: var(--dark-text);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: bold;
}

.testimonial-position {
  color: #777;
  font-size: 0.9rem;
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(0, 0, 0, 0.1);
  font-size: 3rem;
}

/* --- CONTACT FORM SECTION --- */
.contact {
  background-color: var(--main-bg);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: var(--light-bg);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check input {
  margin-top: 5px;
  margin-right: 10px;
}

.form-check label {
  font-size: 0.9rem;
}

/* --- FOOTER --- */
footer {
  background-color: #07101a;
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact-icon {
  margin-right: 10px;
  color: var(--accent);
}

.footer-copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #999;
}

/* --- POLICY PAGES --- */
.policy-container {
  background-color: var(--light-bg);
  color: var(--dark-text);
  border-radius: 8px;
  padding: 40px;
  margin: 8rem auto 5rem;
  max-width: 900px;
  border: 1px solid #ddd;
}

.policy-title {
  margin-bottom: 30px;
  text-align: center;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h3 {
  margin-bottom: 15px;
}

.policy-section p {
  margin-bottom: 15px;
}

/* --- THANK YOU PAGE --- */
.thank-you-container {
  text-align: center;
  background-color: var(--light-bg);
  color: var(--dark-text);
  border-radius: 8px;
  padding: 40px;
  margin: 8rem auto 5rem;
  max-width: 600px;
  border: 1px solid #ddd;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.thank-you-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* --- FAQ SECTION --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked + .faq-question::after {
  content: "−";
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.03);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 15px;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px;
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: var(--light-bg);
  color: var(--dark-text);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle-label {
    display: flex;
    align-items: center;
  }

  .nav-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--main-bg);
    display: block;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
  }

  .nav-mobile ul {
    list-style: none;
  }

  .nav-mobile li {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-mobile a {
    color: var(--light-text);
    display: block;
  }

  .nav-toggle:checked ~ .nav-mobile {
    height: auto;
  }

  .hero {
    height: 60vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 10px 15px;
  }

  .logo {
    font-size: 24px;
  }

  .hero {
    height: 50vh;
  }

  .section-padding {
    padding: 40px 0;
  }

  .policy-container,
  .thank-you-container {
    padding: 25px;
    margin: 6rem auto 3rem;
  }
}
