/* General Styles */
:root {
  --primary-light: #2ac1d4;
  --primary-dark: #ff6b6b;
  --dark-blue: #1b1f3a;
  --white: #ffffff;
  --gray-text: #555555;
  --gradient: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-dark)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-text);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 80px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: var(--primary-light);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

h1,
h2,
h3,
h4 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 5rem 0;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: var(--white);
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 15px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 1.5rem;
}

.main-nav ul li a {
  color: var(--dark-blue);
  font-weight: 600;
  position: relative;
}

.main-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
  margin-top: 4rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  display: inline-block;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content {
  padding: 1.5rem;
}

/* Why Us Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
  gap: 20px;
}

.benefit-card {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.benefit-icon {
  margin: 0 auto 1rem;
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

/* Steps Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
  gap: 20px;

  margin: 0 auto;
}

.step {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex: 0 0 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  margin-right: 1.5rem;
}

.step-content {
  flex: 1;
}

/* Form Section */
.form-section {
  background-color: #f9f9f9;
  padding: 5rem 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.form-container::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: var(--gradient);
  border-radius: 18px;
  z-index: -1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check input {
  margin-right: 10px;
  margin-top: 5px;
}

.form-check label {
  font-size: 0.9rem;
}

/* 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='none' stroke='%232AC1D4' 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: 15px;
}

/* Styling the option elements */
select.form-control option {
  background-color: var(--white);
  color: var(--gray-text);
  padding: 10px;
}

/* Reviews Section */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.review-author {
  font-weight: 600;
  color: var(--dark-blue);
}

.review-rating {
  color: gold;
  margin-bottom: 0.5rem;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Contact Section */
.contact-section {
  background-color: #f9f9f9;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-info {
  padding: 2rem;
  background-color: #223b43;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-right: 1rem;
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
}

.footer-links h3,
.footer-nav h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-nav ul {
  list-style: none;
}

.footer-links ul li,
.footer-nav ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-nav ul li a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-nav ul li a:hover {
  color: var(--primary-light);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-blue);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 1rem 1rem 1rem 0;
  flex: 1;
}

#cookie-accept {
  padding: 10px 20px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
}

/* Thank You Page */
.thank-you-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 3rem;
  background-color: #f8f9fa;
  position: relative;
}

.thank-you-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient);
}

.thank-you-card {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient);
  color: var(--white);
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 2rem;
  box-shadow: 0 10px 20px rgba(42, 193, 212, 0.3);
}

.thank-you-card h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
}

.thank-you-divider {
  width: 80px;
  height: 4px;
  background: var(--gradient);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

.thank-you-message {
  font-size: 1.2rem;
  color: var(--gray-text);
  margin-bottom: 2rem;
}

.thank-you-signature {
  font-style: italic;
  color: var(--dark-blue);
  margin-bottom: 2.5rem;
}

.thank-you-btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  box-shadow: 0 8px 15px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
}

.thank-you-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(255, 107, 107, 0.4);
}

/* Policy Pages */
.policy-content {
  max-width: 900px;
  margin: 8rem auto 3rem;
  padding: 3rem;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
  margin-bottom: 2rem;
}

.policy-content h2 {
  margin-top: 2rem;
}

.policy-content p,
.policy-content ul {
  margin-bottom: 1rem;
}

.policy-content ul {
  padding-left: 1.5rem;
}

/* FAQ Section (Using checkbox hack) */
.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: block;
  padding: 1rem;
  background-color: var(--white);
  color: var(--dark-blue);
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-toggle {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f9f9f9;
}

.faq-answer-content {
  padding: 1rem;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-toggle:checked ~ .faq-question::after {
  content: "-";
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-toggle:checked ~ .main-nav {
    max-height: 500px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }

  .main-nav ul li {
    margin: 0;
    text-align: center;
  }

  .main-nav ul li a {
    display: block;
    padding: 1rem;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-content button {
    margin-top: 1rem;
    width: 100%;
  }

  .form-container {
    padding: 1.5rem;
  }

  .thank-you-card {
    padding: 2rem 1.5rem;
  }

  .thank-you-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .policy-content {
    padding: 1.5rem;
    margin: 6rem auto 2rem;
  }

  .thank-you-section {
    padding-top: 6rem;
  }

  .thank-you-card h1 {
    font-size: 1.8rem;
  }

  .thank-you-message {
    font-size: 1rem;
  }
}
