/* Base Variables */
:root {
  --primary: #ff8c00; /* Orange - primary brand color */
  --primary-dark: #e67e00;
  --primary-light: #ffa64d;
  --accent: #1a936f; /* Green accent color */
  --text: #333333;
  --text-light: #666666;
  --light-gray: #f5f5f5;
  --mid-gray: #e0e0e0;
  --dark-gray: #444444;
  --white: #ffffff;
  --black: #000000;
  --footer-bg: #222222;
  --footer-text: #cccccc;
  --border-radius: 4px;
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  scroll-behavior: smooth;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style-position: inside;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

.subheading {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: center;
}

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

section {
  padding: 60px 0;
}

/* Buttons */
.button {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.button:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.button-large {
  padding: 14px 32px;
  font-size: 1.1rem;
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo-img {
  height: 80px;
  width: auto;
  transition: var(--transition);
}

.navigation {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.nav-link.button {
  color: var(--white);
}

.nav-link.button:hover {
  color: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}

.hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

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

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 12px;
}

.service-card h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

/* About Summary Section */
.about-summary {
  background-color: var(--light-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-image {
  text-align: center;
}

.profile-image {
  max-width: 100%;
  border-radius: 50%;
  box-shadow: var(--box-shadow);
}

/* Features and Why Choose Section */
.features-grid, .areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.feature, .area {
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature:hover, .area:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-choose {
  background-color: var(--light-gray);
}

.dispute-areas {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* CTA Section */
.cta {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta .button {
  background-color: var(--white);
  color: var(--primary);
}

.cta .button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer p {
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--footer-text);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
}

.page-header .subheading {
  color: rgba(255, 255, 255, 0.9);
}

/* About Page Styles */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.profile-image-large {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.profile-title {
  color: var(--primary);
  font-weight: 500;
  margin-top: -15px;
  margin-bottom: 20px;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.detail h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.philosophy-item {
  background-color: var(--white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.process-step {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.step-number {
  background-color: var(--primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content {
  padding-bottom: 30px;
  border-left: 2px dashed var(--mid-gray);
  padding-left: 20px;
  margin-left: -20px;
}

.process-step:last-child .step-content {
  border-left: none;
  padding-bottom: 0;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.info-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
}

.info-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.consultation-info {
  background-color: var(--primary-light);
  color: var(--text);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-top: 20px;
}

.consultation-info h3 {
  color: var(--white);
}

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.google-form-container {
  width: 100%;
  height: 855px;
  position: relative;
  overflow: hidden;
}

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

.privacy-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 15px;
}

.map-container {
  height: 450px;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-top: 30px;
  position: relative;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  padding: 20px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: var(--white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* Error Page Styles */
.error-page {
  padding: 100px 0;
  text-align: center;
}

.error-content h1 {
  font-size: 6rem;
  color: var(--primary);
  margin-bottom: 0;
  line-height: 1;
}

.error-content h2 {
  margin-bottom: 1.5rem;
}

.error-content p {
  max-width: 500px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    max-width: 100%;
  }
  
  .about-grid, .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image, .profile-image-container {
    order: -1;
    margin-bottom: 30px;
  }
  
  .profile-image-container {
    max-width: 300px;
    margin: 0 auto 30px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .navigation {
    width: 100%;
    justify-content: center;
  }
  
  section {
    padding: 40px 0;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .form-submit {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .navigation {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .nav-link {
    padding: 5px 10px;
  }
}