/* Main CSS File */

/* Global Styles */
:root {
  --bg-primary: #0f0e17;
  --accent: #ff8906;
  --secondary: #f25f4c;
  --heading: #e53170;
  --text: #fffffe;
  --shadow: rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
  padding: 60px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  color: var(--heading);
  margin-bottom: 20px;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 20px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(to right, var(--accent), var(--secondary));
  color: var(--text);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px var(--shadow);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px var(--shadow);
  color: var(--text);
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  background-color: var(--bg-primary);
  padding: 15px 20px;
  box-shadow: 0 2px 15px var(--shadow);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.menu-checkbox {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text);
  font-weight: 600;
}

nav ul li a:hover {
  color: var(--accent);
}

/* Hero Section */
#hero {
  height: calc(100vh - 70px);
  background-image: url("./img/8iY9P.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 14, 23, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: 3.5rem;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

/* About Section */
#about {
  background-color: rgba(25, 24, 37, 0.8);
}

/* Services Section */
#services .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: rgba(25, 24, 37, 0.8);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
}

/* Why Us Section */
#why-us {
  background-color: rgba(25, 24, 37, 0.8);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-item {
  padding: 20px;
  text-align: center;
}

.feature-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

/* Steps Section */
#steps .steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.step-item {
  display: flex;
  flex-direction: column;

  align-items: center;
  gap: 20px;
  background-color: rgba(25, 24, 37, 0.8);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--shadow);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 60px;
  text-align: center;
}

/* Reviews Section */
#reviews {
  background-color: rgba(25, 24, 37, 0.8);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background-color: rgba(35, 34, 47, 0.8);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px var(--shadow);
}

.review-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.reviewer {
  font-weight: 700;
}

/* FAQ Section */
#faq .faq-item {
  background-color: rgba(25, 24, 37, 0.8);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: block;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  color: var(--accent);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

.faq-checkbox {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 20px;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

.faq-checkbox:checked ~ .faq-question::after {
  content: "-";
}

/* Contact Form Section */
#contact {
  background-color: rgba(25, 24, 37, 0.8);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(35, 34, 47, 0.8);
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(45, 44, 57, 0.8);
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.checkbox-item input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

/* Footer Styles */
footer {
  background-color: rgba(10, 9, 16, 0.9);
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages */
.policy-container {
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background-color: rgba(25, 24, 37, 0.8);
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--shadow);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 30px;
}

/* Thank You Page */
.thank-you-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 200px);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: rgba(25, 24, 37, 0.8);
  border-radius: 15px;
  box-shadow: 0 5px 15px var(--shadow);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 14, 23, 0.95);
  padding: 15px;
  box-shadow: 0 -5px 15px var(--shadow);
  z-index: 2000;
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  margin-right: 20px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .hero-content h1,
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hamburger {
    display: block;
    font-size: 1.8rem;
  }

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: 100dvh;
    background-color: var(--bg-primary);
    transition: left 0.3s ease;
    z-index: 100;
  }

  nav ul {
    flex-direction: column;
    padding: 30px;
  }

  nav ul li {
    margin: 0 0 20px 0;
  }

  .menu-checkbox:checked ~ nav {
    left: 0;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Animation for appearing sections */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  section.visible {
    animation: fadeInUp 0.8s ease forwards;
  }
}

/* Custom Select Styling */
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='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
}

/* Customize option backgrounds */
select.form-control option {
  background-color: rgba(45, 44, 57, 1);
  color: var(--text);
  padding: 10px;
}
