:root {
  --primary-color: #1e3a5f;
  --primary-dark: #152a45;
  --accent-color: #c49a6c;
  --accent-light: #d4ad82;
  --text-dark: #2c3e50;
  --text-medium: #566573;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #dee2e6;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.3;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* Section Title */
.section-title {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary-color);
}

/* Header/Navbar */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

#header.scrolled .navbar {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.logo:hover {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 0.25rem;
}

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

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-color);
}

/* Hero Section */
.hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  position: relative;
}

.hero-banner {
  background-image: url('/assets/images/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0 6rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(21, 42, 69, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.95;
  font-weight: 400;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  border-color: white;
  color: white;
}

.hero .btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--bg-white);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
  color: var(--text-medium);
  text-align: justify;
}

.cta-text {
  margin-top: 2rem;
  font-weight: 500;
  text-align: center !important;
}

.cta-text a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.cta-text a:hover {
  color: var(--accent-color);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--bg-light);
}

.services-intro {
  max-width: 900px;
  margin: 0 auto 3rem;
}

.services-intro p {
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
  color: var(--text-medium);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-category {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.service-category:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-color);
}

.service-category ul {
  list-style: none;
}

.service-category li {
  padding: 0.5rem 0;
  color: var(--text-medium);
  font-size: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-category li:before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Team Section */
.team {
  padding: 5rem 0;
  background: var(--bg-white);
  text-align: center;
}

.team-intro {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.team-cta {
  margin-top: 2rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--bg-light);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form .btn {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-section h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--accent-light);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

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

.footer-section ul li {
  margin-bottom: 0.625rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.footer-section a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer-cta {
  margin-top: 1.5rem;
}

.footer-cta .btn {
  background: var(--accent-color);
  color: white;
}

.footer-cta .btn:hover {
  background: var(--accent-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-banner {
    padding: 6rem 0 5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }
  
  .hero-banner {
    padding: 5rem 0 4rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
  }

  .nav-menu {
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .about,
  .services,
  .team,
  .contact {
    padding: 3.5rem 0;
  }

  .about-content p {
    text-align: left;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
