/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Playfair+Display:wght@400;700&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #222222;
  background-color: #F2F0EA;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #203D5E;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FFBE3D;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, #FFBE3D, #FF8B00);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
}

/* Header */
header {
  background-color: #FFFFFF;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  color: #203D5E;
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  list-style: none;
  margin-left: 30px;
  display: flex;
  align-items: center;
}

.nav-menu a {
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #203D5E;
  cursor: pointer;
}

/* Hero section */
.hero {
  padding: 160px 0 80px;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Section styling */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #203D5E;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #FFBE3D;
  margin: 20px auto 0;
}

/* About section */
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 100%;
  height: 180px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
}

.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-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #203D5E;
}

/* Benefits section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
}

.benefit-icon {
  font-size: 36px;
  color: #3B5998;
  margin-bottom: 15px;
}

.benefit-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Testimonials section */
.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: """;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  position: absolute;
  top: 10px;
  left: 20px;
  color: rgba(32, 61, 94, 0.1);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: #203D5E;
}

/* FAQ section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(59, 89, 152, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background-color: #FFFFFF;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.7);
}

.faq-item.active .faq-answer {
  padding: 15px 20px;
  max-height: 1000px;
}

/* Form section */
.form-section {
  background-color: #203D5E;
  color: #FFFFFF;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid transparent;
  border-radius: 5px;
  font-size: 16px;
  background-color: #FFFAF0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #FFBE3D;
  box-shadow: 0 0 0 3px rgba(255, 190, 61, 0.3);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

/* Footer */
footer {
  color: #FFFFFF;
  padding: 60px 0 30px;
  position: relative;
  background-color: #203D5E;
  background-image: radial-gradient(#3B5998 1px, transparent 1px);
  background-size: 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-contact {
  margin-top: 20px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 10px;
  color: #FFBE3D;
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #FFBE3D;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #FFFFFF;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-popup .btn {
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Policy pages */
.policy-container {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 100px;
  margin-bottom: 50px;
}

.policy-container h1 {
  margin-bottom: 30px;
}

.policy-container h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Animations */
.fade-in {
  animation: fadeInAnimation 1s ease forwards;
}

@keyframes fadeInAnimation {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 10px 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .services-grid, 
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 24px;
  }
}
