/* Main Stylesheet for domain.com
   Color Palette:
   - Star Commander Blue: #061A40
   - Digital Lavender: #CEB4DB
   - Arctic Mint: #BDF4E1
   - Rustic Saffron: #F4A259
   - Concrete Gray: #E1E1E1
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for fixed header */
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #e1190f;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #F4A259;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 4rem 0;
}

.btn {
  display: inline-block;
  background-color: #F4A259;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #061A40;
  color: #fff;
  transform: translateY(-3px);
}

/* Logo Styling */
.logo {
  font-size: 2.2rem;
  font-weight: 800;
  color: #CEB4DB;
  letter-spacing: 1px;
  text-transform: lowercase;
}

/* Header and Navigation */
header {
  background-color: #061A40;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: #E1E1E1;
  font-weight: 600;
  position: relative;
}

nav ul li a:hover {
  color: #CEB4DB;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #CEB4DB;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #E1E1E1;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #061A40 0%, #0a2d68 100%);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* About Section */
.about {
  background-color: #f9f9f9;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-bottom: 4px solid #BDF4E1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: #061A40;
  margin-bottom: 1rem;
}

.service-image {
  margin: -2rem -2rem 1.5rem;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  height: 200px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

/* Why Us Section */
.why-us {
  background-color: #061A40;
  color: #fff;
}

.why-us h2 {
  color: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #CEB4DB;
}

/* Testimonials Section */
.testimonials {
  background-color: #f9f9f9;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: #061A40;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 5rem;
  color: #CEB4DB;
  opacity: 0.3;
  line-height: 1;
}

/* FAQ Section */
.faq {
  background-color: #fff;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #E1E1E1;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: #f9f9f9;
  padding: 1rem;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.faq-question.active::after {
  content: '-';
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 1rem;
  max-height: 1000px;
}

/* Contact Form Section */
.contact {
  background-color: #f9f9f9;
}

.contact-form {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: 0 auto;
  border: 2px solid #CEB4DB;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #061A40;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #E1E1E1;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group:nth-child(odd) .form-control {
  background-color: #f9f9f9;
}

.checkbox-group {
  margin-top: 1rem;
}

.checkbox-item {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.checkbox-item input[type="checkbox"] {
  margin-right: 10px;
}

/* Location Section */
.location {
  text-align: center;
}

.location img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #061A40;
  color: #E1E1E1;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-links h3 {
  color: #CEB4DB;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #E1E1E1;
}

.footer-links ul li a:hover {
  color: #CEB4DB;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.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-color: #061A40;
  color: #E1E1E1;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-consent p {
  margin-bottom: 0;
  margin-right: 1rem;
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E1E1E1;
}

.policy-container h1 {
  margin-bottom: 2rem;
}

.policy-container h2 {
  margin: 2rem 0 1rem;
  text-align: left;
  font-size: 1.5rem;
}

.policy-container p {
  margin-bottom: 1rem;
}

.policy-container ul, .policy-container ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 5rem 0;
}

.thank-you h1 {
  color: #061A40;
  margin-bottom: 1.5rem;
}

.thank-you-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  border: 2px solid #CEB4DB;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.thank-you-box:before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px solid #F4A259;
  border-radius: 8px;
  pointer-events: none;
  z-index: 0;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #061A40;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu ul {
    list-style: none;
  }

  .mobile-menu ul li {
    margin: 0.8rem 0;
  }

  .mobile-menu ul li a {
    color: #E1E1E1;
    font-weight: 600;
  }

  .services-grid, .benefits-grid, .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent p {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}