/* 
 * domain - Main Stylesheet
 * Colors:
 * Background: #0D1F2D (night indigo)
 * Accents: #FFD447 (bright amber), #F35D5D (salmon)
 * Text: #F4F4F4 (milky), headings: #FFFFFF
 * Section backgrounds: #162238 and #1C2F47 (alternating)
 */

/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0d1f2d;
  color: #f4f4f4;
  line-height: 1.6;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 80px;
}

a {
  color: #ffd447;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #f35d5d;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #ffd447, #f35d5d);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

ul {
  list-style: none;
}

section {
  padding: 80px 0;
}

section:nth-of-type(odd) {
  background-color: #162238;
}

section:nth-of-type(even) {
  background-color: #1c2f47;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
  border: none;
}

.btn-primary {
  background-color: #ffd447;
  color: #0d1f2d;
}

.btn-primary:hover {
  background-color: #f35d5d;
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid #ffd447;
  color: #ffd447;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #ffd447;
  color: #0d1f2d;
}

.btn-gradient {
  background: linear-gradient(to right, #ffd447, #f35d5d);
  color: #0d1f2d;
}

.btn-gradient:hover {
  background: linear-gradient(to right, #f35d5d, #ffd447);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 212, 71, 0.3);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(13, 31, 45, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(to right, #ffd447, #f35d5d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 25px;
}

.main-nav a {
  color: #f4f4f4;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, #ffd447, #f35d5d);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(to right, #ffd447, #f35d5d);
  padding: 8px 20px !important;
  border-radius: 30px;
  color: #0d1f2d !important;
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 212, 71, 0.3);
}

.nav-cta::after {
  display: none;
}

/* Burger Menu */
.menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1010;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #f4f4f4;
  transition: all 0.3s ease;
}

.menu-toggle {
  display: none;
}

.menu-toggle:checked ~ .menu-button span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle:checked ~ .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked ~ .menu-button span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: url("../img/6byGh.jpg") no-repeat center center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(13, 31, 45, 0.85),
    rgba(13, 31, 45, 0.65)
  );
}
option {
  background-color: #313f51;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffd447;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-title {
  margin-bottom: 20px;
  font-size: 3.5rem;
  line-height: 1.2;
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0 0 30px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #ffd447, #f35d5d);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  background-color: rgba(255, 212, 71, 0.1);
  width: 100%;
  height: 180px;
  margin-bottom: 20px;
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.service-card:hover .service-icon img {
  transform: scale(1.05);
}

.service-title {
  margin: 0 30px 15px;
  font-size: 1.4rem;
}

.service-description {
  font-size: 0.95rem;
  padding: 0 30px;
}

/* Why Choose Us Section */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-item {
  text-align: center;
  padding: 0 0 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.advantage-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.advantage-icon {
  width: 100%;
  height: 180px;
  margin: 0 0 20px;
  overflow: hidden;
}

.advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.advantage-item:hover .advantage-icon img {
  transform: scale(1.05);
}

.advantage-title {
  margin: 0 20px 10px;
  font-size: 1.2rem;
}

.advantage-item p {
  padding: 0 20px;
}

/* Process Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #ffd447, #f35d5d);
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 20px 0;
  position: relative;
  margin-bottom: 30px;
}

.timeline-content {
  width: 45%;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.timeline-item:nth-child(odd) .timeline-content {
  float: left;
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
}

.timeline-content::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  right: -50px;
  background-color: #ffd447;
  border: 4px solid #0d1f2d;
  border-radius: 50%;
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -50px;
}

.timeline-step {
  display: inline-block;
  padding: 5px 15px;
  background: linear-gradient(to right, #ffd447, #f35d5d);
  color: #0d1f2d;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.timeline-item::after {
  content: "";
  display: table;
  clear: both;
}

/* Testimonials */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  margin: 20px;
  position: relative;
  border-left: 3px solid #ffd447;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: rgba(255, 212, 71, 0.3);
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info {
  line-height: 1.3;
}

.testimonial-author-name {
  font-weight: 600;
  color: #ffffff;
}

.testimonial-author-title {
  font-size: 0.85rem;
  color: #f35d5d;
}

/* 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 20px;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: #ffd447;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.faq-answer {
  background-color: rgba(13, 31, 45, 0.8);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-toggle {
  display: none;
}

.faq-toggle:checked + .faq-question {
  background-color: rgba(255, 212, 71, 0.1);
}

.faq-toggle:checked + .faq-question::after {
  content: "−";
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* Contact Form */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/JCAd5.jpg") no-repeat center center;
  background-size: cover;
  opacity: 0.15;
  z-index: 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.contact-info {
  padding-right: 30px;
}

.contact-info-item {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
}

.contact-info-icon {
  min-width: 40px;
  height: 40px;
  margin-right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 212, 71, 0.1);
  border-radius: 50%;
}

.contact-info-text h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-control {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f4f4;
  padding: 12px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: #ffd447;
  background-color: rgba(255, 255, 255, 0.1);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-container input {
  margin-top: 5px;
  margin-right: 10px;
}

.checkbox-container label {
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-container a {
  text-decoration: underline;
}

.form-btn {
  width: 100%;
  padding: 14px 20px;
}

/* Footer Styles */
footer {
  background-color: #0a1823;
  padding: 70px 0 0;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(to right, #ffd447, #f35d5d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-info p {
  margin-bottom: 25px;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
}

.footer-nav,
.footer-legal {
  flex: 1;
}

.footer-nav h4,
.footer-legal h4 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav ul,
.footer-legal ul {
  padding: 0;
}

.footer-nav li,
.footer-legal li {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 20px 0;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(13, 31, 45, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  transition: bottom 0.5s ease;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-popup.active {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  gap: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 120px auto 60px;
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-title {
  text-align: center;
  margin-bottom: 30px;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h3 {
  margin-bottom: 15px;
  color: #ffd447;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Thank You Page */
.thank-you-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
}

.thank-you-content {
  margin-block: 3rem;

  max-width: 600px;
  background-color: #564834;
  border-radius: 3rem;
  padding: 3rem;
}

.thank-you-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  color: #ffd447;
}

.thank-you-title {
  margin-bottom: 20px;
}

.thank-you-text {
  margin-bottom: 30px;
}

/* Media Queries */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }

  .contact-container,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    padding-right: 0;
  }

  .about-content {
    flex-direction: column;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    float: right;
  }

  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -50px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  section {
    padding: 60px 0;
  }

  .menu-button {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #0d1f2d;
    padding: 100px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav li {
    margin: 0 0 20px 0;
  }

  .menu-toggle:checked ~ .main-nav {
    right: 0;
  }

  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    margin-top: 15px;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .contact-form-container {
    padding: 30px 20px;
  }

  .policy-container {
    padding: 30px 20px;
    margin-top: 100px;
  }
}
