/* --- CSS Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #1a2a45; /* Dark Blue */
  --secondary-color: #2c3e50;
  --accent-color: #48c9b0; /* Turquoise */
  --accent-hover: #40b19b;
  --text-light: #f8f9fa;
  --text-dark: #343a40;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #dee2e6;
  --shadow: 0 8px 25px rgba(0,0,0,0.07);
  --header-height: 80px;

  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: 1rem; }
a { color: var(--accent-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: clamp(60px, 8vw, 120px) 0;
}

.section-bg {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h2 {
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}
.section-title p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-white);
  border-color: var(--accent-color);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(72, 201, 176, 0.4);
}
.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}
.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}


/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}
.logo:hover { color: var(--accent-color); }

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-dark);
  padding: 5px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--accent-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.mobile-menu-toggle .icon-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(26, 42, 69, 0.8), rgba(26, 42, 69, 0.6));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}
.hero h1 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 700;
}
.hero p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 40px;
}

/* --- Benefits Section --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.benefit-card {
  background: var(--bg-white);
  padding: 40px 30px;
  text-align: center;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.benefit-card .icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.benefit-card h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}
.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Services Overview --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.service-card-content p {
  color: var(--text-muted);
  flex-grow: 1;
}
.service-card-content .btn-link {
  margin-top: 20px;
  font-weight: bold;
  color: var(--accent-color);
  align-self: flex-start;
}

/* --- About & Story Section --- */
.about-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-split-section .image-content img {
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.about-split-section .text-content h2 {
  margin-bottom: 20px;
}
.about-split-section .text-content h3 {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
  font-weight: 600;
}

/* --- Testimonials Section --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
  margin-top: 40px;
}
.testimonial-card .author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--bg-white);
}
.testimonial-card p.quote {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.testimonial-card .author-info {
  margin-top: 20px;
  text-align: center;
}
.testimonial-card .author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.testimonial-card .author-info span {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.9rem;
}

/* --- Partners Section --- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.partners-grid img {
  max-height: 40px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}
.partners-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- CTA Section --- */
.cta-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}
.cta-section h2, .cta-section p {
  color: var(--text-light);
}
.cta-section h2 {
  margin-bottom: 20px;
}
.cta-section p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  margin-bottom: 30px;
}
.cta-section .btn-secondary {
  color: var(--primary-color);
  background-color: var(--text-light);
  border-color: var(--text-light);
}
.cta-section .btn-secondary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-light);
}

/* --- Footer --- */
.footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 60px;
}
.footer-col h4 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--bg-white);
  margin-bottom: 20px;
}
.footer-col p {
  font-size: 0.95rem;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 1.1rem;
}
.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--bg-white);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* --- About Page Specific --- */
.page-header {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background: var(--bg-light);
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12.5px;
  top: 20px;
  background-color: var(--bg-white);
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  z-index: 1;
}
.timeline-item:nth-child(even)::after { left: -12.5px; }
.timeline-content {
  padding: 20px 30px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  position: relative;
}
.timeline-item:nth-child(even) .timeline-content { text-align: left; }
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }
.timeline-content h3 { font-size: 1.2rem; }
.timeline-content .date { font-weight: bold; color: var(--accent-color); margin-bottom: 10px; display: block;}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.team-member {
  text-align: center;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 20px;
}
.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
}
.team-member-info { padding: 20px; }
.team-member h4 { margin-bottom: 5px; }
.team-member span { color: var(--accent-color); display: block; margin-bottom: 10px; }
.team-member .social-links { justify-content: center; }

/* --- Services Page --- */
.service-detail-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 30px;
  border-left: 5px solid var(--accent-color);
  box-shadow: var(--shadow);
}
.service-detail-card h3 {
  margin-bottom: 15px;
}


/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: flex-start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}
.contact-info-item .icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 5px;
}
.contact-info-item h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.contact-info-item p, .contact-info-item a {
  color: var(--text-muted);
  font-size: 1rem;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(72, 201, 176, 0.2);
}
.map-container {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 40px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Privacy & Thank You Page --- */
.prose {
    max-width: 800px;
    margin: 0 auto;
}
.prose h2 { margin-top: 40px; margin-bottom: 20px; }
.prose ul { list-style: disc; padding-left: 20px; }

.thank-you-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  animation: pop-in 0.5s ease-out;
}
@keyframes pop-in {
  0% { transform: scale(0); }
  75% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.thank-you-icon svg { width: 40px; height: 40px; color: white; }
.thank-you-section h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; }
.thank-you-section p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 30px; }

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color);
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.faq-answer p {
  padding: 0 0 20px;
  color: var(--text-muted);
}

/* --- Cookie Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 42, 69, 0.95);
  color: var(--text-light);
  padding: 25px;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(5px);
}
#cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
}
#cookie-banner a {
  color: var(--accent-color);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
#accept-cookies {
  background-color: var(--accent-color);
  color: var(--bg-white);
}
#decline-cookies {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-light);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .about-split-section { grid-template-columns: 1fr; }
  .about-split-section .image-content { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline::after { left: 30px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-item::after { left: 17.5px; }
  .timeline-item:nth-child(even)::after { left: 17.5px; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { text-align: left; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 100px 30px;
    gap: 25px;
    transition: right 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    right: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu-toggle.active .icon-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active .icon-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  #cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  .map-container { height: 350px; }
}