@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --brand-green: #2F614C;
  --brand-green-light: #3a7a62;
  --brand-green-dark: #254d3d;
  --light-grey: #F0F0F0;
  --white: #FFFFFF;
  --black: #000000;
  --medium-grey: #B0B0B0;
  --font-primary: 'Playfair Display', serif;
  --font-fallback: 'Open Sans', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-fallback);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  padding: 20px 0;
  transition: padding 0.2s ease, box-shadow 0.2s ease;
}

.header.scrolled {
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: transform 0.15s ease;
}

.logo:hover img {
  transform: scale(1.02);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-desktop a {
  font-family: var(--font-fallback);
  font-weight: 500;
  font-size: 15px;
  color: var(--black);
  position: relative;
  transition: color 0.15s ease;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-green);
  transition: width 0.15s ease-in-out;
}

.nav-desktop a:hover {
  color: var(--brand-green);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.btn-primary {
  display: inline-block;
  background: var(--brand-green);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s ease-out, box-shadow 0.2s ease-out;
}

.btn-primary:hover {
  background: var(--brand-green-dark);
  box-shadow: 0 4px 12px rgba(47, 97, 76, 0.3);
}

.btn-secondary {
  display: inline-block;
  color: var(--brand-green);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.15s ease;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-green);
  transition: width 0.15s ease;
}

.btn-secondary:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand-green);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transition: right 0.3s ease;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  font-family: var(--font-primary);
  font-size: 28px;
  color: var(--black);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--brand-green);
}

.mobile-menu .btn-primary {
  margin-top: 20px;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-close::before,
.mobile-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--brand-green);
}

.mobile-close::before {
  transform: rotate(45deg);
}

.mobile-close::after {
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-primary {
  padding: 14px 32px;
  font-size: 15px;
}

.hero .btn-primary:hover {
  background: var(--brand-green-light);
  transform: scale(1.02);
}

.hero .btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease-out;
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--brand-green);
}

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.5));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.95;
}

/* About Section */
.about-intro {
  padding: 80px 0;
  background: var(--white);
}

.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-content h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-green);
  margin-bottom: 16px;
  font-family: var(--font-fallback);
}

.about-intro-content h3 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--black);
}

.about-intro-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

.about-intro-image {
  position: relative;
}

.about-intro-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-overview {
  padding: 80px 0;
  background: var(--light-grey);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
}

.service-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card .btn-secondary {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  text-align: center;
  padding: 0 40px;
}

.testimonial-quote {
  font-family: var(--font-primary);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #333;
}

.testimonial-author {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-green);
}

.testimonial-author span {
  font-weight: 400;
  color: #666;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--medium-grey);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  padding: 0;
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background: var(--brand-green);
  transform: scale(1.2);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: var(--brand-green);
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--brand-green);
}

.cta-section .btn-primary:hover {
  background: var(--light-grey);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Our Story Section */
.our-story {
  padding: 80px 0;
  background: var(--white);
}

.our-story .container {
  max-width: 800px;
}

.our-story h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
}

.our-story p {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 24px;
}

.our-story strong {
  color: var(--brand-green);
  font-weight: 600;
}

/* Meet the Agent Section */
.meet-agent {
  padding: 80px 0;
  background: var(--light-grey);
}

.meet-agent .container {
  max-width: 900px;
  text-align: center;
}

.meet-agent h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 40px;
}

.agent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.agent-card img {
  width: 280px;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.agent-card h3 {
  font-size: 26px;
  font-weight: 600;
}

.agent-card .title {
  font-size: 15px;
  color: var(--brand-green);
  font-weight: 500;
  margin-bottom: 16px;
}

.agent-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  max-width: 700px;
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background: var(--white);
}

.values-section .container {
  max-width: 800px;
}

.values-section h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
}

.values-list {
  list-style: none;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.values-list li:last-child {
  border-bottom: none;
}

.values-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
}

.values-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.values-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Process Timeline */
.process-section {
  padding: 80px 0;
  background: var(--light-grey);
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand-green);
  opacity: 0.3;
}

.timeline-step {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Service Detail Page */
.service-detail-content {
  padding: 80px 0;
  background: var(--white);
}

.service-detail-content .container {
  max-width: 900px;
}

.service-detail-content h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.service-detail-content > p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 32px;
  text-align: center;
}

.service-detail-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 16px;
}

.service-detail-content ul {
  list-style: none;
  margin-bottom: 24px;
}

.service-detail-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.service-detail-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 50%;
}

/* Testimonial Detail */
.testimonial-detail {
  padding: 60px 0;
  background: var(--light-grey);
}

.testimonial-detail blockquote {
  font-family: var(--font-primary);
  font-size: 24px;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #333;
}

.testimonial-detail cite {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-green);
  font-style: normal;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: var(--white);
}

.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-fallback);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(47, 97, 76, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 15px;
}

.contact-info h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 32px;
}

.contact-details {
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.contact-item-content h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 4px;
  font-family: var(--font-fallback);
}

.contact-item-content p,
.contact-item-content a {
  font-size: 16px;
  color: #333;
  transition: color 0.2s ease;
}

.contact-item-content a:hover {
  color: var(--brand-green);
}

.map-container {
  height: 300px;
  background: var(--light-grey);
  border-radius: 8px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: var(--white);
  padding: 60px 0 30px;
}

.footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo img {
  height: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #999;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.social-links a:hover {
  background: var(--brand-green);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-family: var(--font-fallback);
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  font-size: 14px;
  color: #999;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact p,
.footer-contact a {
  font-size: 14px;
  color: #999;
  margin-bottom: 12px;
  display: block;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: #666;
}

.footer-logos {
  display: flex;
  gap: 16px;
}

.footer-logos img {
  height: 30px;
  opacity: 0.6;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--brand-green);
  z-index: 1001;
  transition: width 0.1s ease;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer .container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 17px;
  }
  
  .page-hero h1 {
    font-size: 32px;
  }
  
  .about-intro .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-intro-image {
    order: -1;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .testimonial-quote {
    font-size: 20px;
  }
  
  .cta-section h2 {
    font-size: 28px;
  }
  
  .contact-section .container {
    grid-template-columns: 1fr;
  }
  
  .footer .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .process-timeline::before {
    left: 20px;
  }
  
  .timeline-step {
    gap: 20px;
  }
  
  .timeline-number {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 16px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .slide-up,
  .hero,
  .scroll-progress {
    transition: none;
    transform: none;
    opacity: 1;
  }
  
  html {
    scroll-behavior: auto;
  }
}
