/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  font-size: 16px;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #f3f5f9;
  color: #1d2237;
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 70px;
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background-color: #6347eb;
  transition: width 0.3s ease;
}

h2:hover:after {
  width: 100%;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: #6347eb;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #3ed09b;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #6347eb;
  color: white;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #4a35c8;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: white;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1d2237;
}

.logo span {
  color: #6347eb;
}

/* 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: #1d2237;
  height: 2px;
  width: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-toggle-label span:before,
.nav-toggle-label span:after {
  content: "";
  position: absolute;
}

.nav-toggle-label span:before {
  top: -8px;
}

.nav-toggle-label span:after {
  bottom: -8px;
}

.main-nav {
  display: flex;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 25px;
}

.main-nav a {
  font-weight: 500;
  position: relative;
}

.main-nav a:hover {
  color: #6347eb;
}

.main-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #6347eb;
  transition: width 0.3s ease;
}

.main-nav a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  background-color: #1d2237;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./img/th9BP.jpg") no-repeat center/cover;
  opacity: 0.5;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

/* Services Section */
.services {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #6347eb;
  z-index: -1;
}

.service-card img {
  height: 150px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f5f9;
  border-radius: 50%;
}

.feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Testimonials */
.testimonials {
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #f3f5f9;
  padding: 30px;
  border-radius: 8px;
  position: relative;
  margin-top: 40px;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 80px;
  color: #6347eb;
  opacity: 0.2;
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-details h4 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.author-details p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #6c757d;
}

/* FAQ Section */
.faq {
  background-color: #f3f5f9;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

.faq-toggle:checked ~ .faq-question .icon::before {
  transform: rotate(90deg);
}

.icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  background-color: #6347eb;
  transition: all 0.3s ease;
}

.icon::before {
  width: 2px;
  height: 20px;
  top: 0;
  left: 9px;
}

.icon::after {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0 20px 0;
}

/* Form Section */
.contact-form {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.header-container .btn {
  color: white;
}
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #6347eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 71, 235, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231D2237'%3E%3Cpath d='M4 6h8l-4 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Style the select options */
select.form-control option {
  padding: 12px;
  background-color: #f3f5f9;
  color: #1d2237;
}

/* Non-standard option styling for Firefox */
@-moz-document url-prefix() {
  select.form-control option {
    background-color: #f3f5f9 !important;
    color: #1d2237 !important;
  }
}

/* Non-standard option styling for Chrome/Safari */
select.form-control option:checked,
select.form-control option:hover {
  background-color: #6347eb !important;
  color: white !important;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-top: 5px;
  margin-right: 10px;
}

.checkbox-group label {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.form-btn {
  margin-top: 10px;
}

.error-message {
  color: #dc3545;
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  background-color: rgba(220, 53, 69, 0.1);
  padding: 10px;
  border-radius: 4px;
  border-left: 4px solid #dc3545;
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contact-item h3 {
  margin-bottom: 15px;
  color: #6347eb;
}

.contact-map {
  height: 400px;
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background-color: #1d2237;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
}

.footer-logo span {
  color: #6347eb;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #6347eb;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #adb5bd;
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: #6347eb;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #adb5bd;
}

/* Thank You Page */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-card {
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-card h1 {
  color: #6347eb;
  margin-bottom: 20px;
}

.thank-you-card p {
  margin-bottom: 30px;
}

/* Policy Pages */
.policy-container {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  max-width: 800px;
}

.policy-container h1 {
  margin-bottom: 30px;
}

.policy-container h2 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-container p {
  margin-bottom: 15px;
}

.policy-container ul,
.policy-container ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.policy-container li {
  margin-bottom: 10px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.accept-btn {
  background-color: #6347eb;
  color: white;
}

.accept-btn:hover {
  background-color: #4a35c8;
}

.decline-btn {
  background-color: #f3f5f9;
  color: #1d2237;
}

.decline-btn:hover {
  background-color: #e9ecef;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
  }

  .nav-toggle-label {
    display: flex;
    align-items: center;
    z-index: 1001;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 20px;
    clip-path: circle(0 at top right);
    transition: clip-path 0.5s ease;
    pointer-events: none;
  }

  .nav-toggle:checked ~ .main-nav {
    clip-path: circle(150% at top right);
    pointer-events: all;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .main-nav li {
    margin: 10px 0;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    margin-bottom: 15px;
  }

  .policy-container {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section-padding {
    padding: 40px 0;
  }

  .thank-you-card {
    padding: 30px 20px;
  }
}
