/* Modern CSS with responsive design */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #27AE60;
  --text-color: #2C3E50;
  --light-bg: #F5F6FA;
  --white: #FFFFFF;
  --header-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

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

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
}

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

/* Header Styles */
header {
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: var(--header-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo span {
  color: var(--secondary-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Hero and Intro Sections */
.hero {
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  color: var(--white);
  margin-top: 70px;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  font-family: var(--header-font);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Homepage Sections */
.intro-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

.intro-text {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
  line-height: 1.8;
}

.approach-section {
  background: var(--white);
  padding: 5rem 0;
}

.approach-content {
  max-width: 800px;
  margin: 0 auto;
}

.approach-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.approach-content ul {
  list-style: none;
  margin: 2rem 0;
  padding-left: 1rem;
}

.approach-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.approach-content ul li:before {
  content: "•";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

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

.benefit-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.project-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
}

.project-highlight img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.project-content ul {
  list-style: none;
  margin: 1.5rem 0;
}

.project-content ul li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.project-content ul li:before {
  content: "•";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.cta-block {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 10px;
}

.cta-block h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-block .btn {
  margin-top: 2rem;
  background: var(--secondary-color);
}

@media (max-width: 992px) {
  .project-highlight {
    grid-template-columns: 1fr;
  }

  .project-highlight img {
    height: 300px;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Common Page Styles */
.page-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  font-family: var(--header-font);
  font-size: 2.5rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--header-font);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #219a52;
}

/* Featured Grid */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Services Page */
.service-detailed {
  margin-bottom: 4rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

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

.service-benefits li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

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

.package-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Projects Page */
.featured-project {
  margin-bottom: 4rem;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.featured-project img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.project-info {
  padding: 2rem;
}

.project-meta {
  color: #666;
  margin-bottom: 1rem;
}

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

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-form-container {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--body-font);
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-container input {
  width: auto;
}

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

.faq-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-family: var(--header-font);
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
}

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

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Links */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #219a52;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    padding: 0.5rem 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .featured-project img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

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

  section {
    padding: 3rem 0;
  }

  .featured-project img {
    height: 200px;
  }
}