/* 
   Main CSS File for domain
   Color Palette:
   - Main background: #1D1E33 (dark indigo)
   - Text: #F7FFF7 (almost white)
   - Accents: #FF6F61 (coral), #2EC4B6 (turquoise)
*/

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #1d1e33;
  color: #f7fff7;
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #2ec4b6;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff6f61;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.primary-btn {
  background-color: #ff6f61;
  color: #f7fff7;
}

.primary-btn:hover {
  background-color: #e05a4d;
  color: #f7fff7;
}

.secondary-btn {
  background-color: transparent;
  color: #ff6f61;
  border: 2px solid #ff6f61;
}

.secondary-btn:hover {
  background-color: #ff6f61;
  color: #f7fff7;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  background-color: rgba(29, 30, 51, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo a {
  font-size: 2rem;
  font-weight: 900;
  color: #f7fff7;
  text-decoration: none;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #f7fff7;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.main-nav ul {
  display: flex;
  gap: 20px;
}

.main-nav li a {
  color: #f7fff7;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.main-nav li a:hover {
  color: #ff6f61;
}

.nav-btn {
  padding: 8px 16px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  height: 100vh;
  min-height: 600px;
  background-image: url("./img/YxGy4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 30, 51, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background-color: #1d1e33;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-stats {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  padding: 20px;
  background-color: #2a2b4a;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff6f61;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1rem;
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-section {
  background-color: #2a2b4a;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.advantage-card {
  background-color: #1d1e33;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

.advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background-color: #1d1e33;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #2a2b4a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  margin-bottom: 10px;
}

.service-content ul {
  margin: 15px 0;
  padding-left: 20px;
  list-style-type: disc;
}

.service-content ul li {
  margin-bottom: 5px;
}

/* ===== INFOGRAPHIC SECTION ===== */
.infographic-section {
  background-color: #2a2b4a;
}

.infographic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;

  margin: 0 auto;
}

.infographic-step {
  display: flex;
  align-items: center;
  gap: 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff6f61;
  color: #f7fff7;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-content h3 {
  margin-bottom: 5px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background-color: #1d1e33;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: #2a2b4a;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-content p::before {
  content: '"';
  font-size: 1.5rem;
  color: #ff6f61;
}

.testimonial-content p::after {
  content: '"';
  font-size: 1.5rem;
  color: #ff6f61;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background-color: #2a2b4a;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-details {
  margin-top: 20px;
}

.contact-item {
  margin-bottom: 15px;
}

.contact-label {
  font-weight: 700;
  margin-right: 10px;
  color: #2ec4b6;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #3a3b5a;
  border-radius: 4px;
  background-color: #1d1e33;
  color: #f7fff7;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Custom background for option tags */
.form-group select option {
  background-color: #1d1e33;
  color: #f7fff7;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  flex: 1;
}

.required {
  color: #ff6f61;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background-color: #1d1e33;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background-color: #2a2b4a;
  color: #f7fff7;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question {
  background-color: #ff6f61;
}

.faq-toggle:checked + .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #3a3b5a;
  transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 20px;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #1a1b2e;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 15px;
}

.footer-info p {
  margin-bottom: 20px;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
  margin-bottom: 20px;
  color: #2ec4b6;
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #3a3b5a;
}

/* ===== POLICY PAGES ===== */
.policy-page {
  padding: 120px 0 60px;
}

.policy-container {
  background-color: #2a2b4a;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h1 {
  text-align: center;
  margin-bottom: 30px;
}

.policy-content h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #2ec4b6;
}

.policy-content h3 {
  font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

.policy-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.policy-content ul li {
  margin-bottom: 5px;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-section .container {
  padding-top: 3rem;
}

.thank-you-content {
  background-color: #2a2b4a;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content h1 {
  margin-bottom: 20px;
  color: #2ec4b6;
}

.thank-you-content p {
  margin-bottom: 30px;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2a2b4a;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
  min-width: 300px;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .menu-icon {
    display: block;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1d1e33;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-toggle:checked ~ .main-nav {
    max-height: 500px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  .main-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav li a {
    display: block;
    padding: 10px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .contact-content,
  .about-content {
    flex-direction: column;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}
