@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
:root {
  --primary-color: #4CAF50; 
  --accent-color: #FFB74D; 
  --bg-color: #FAF3E0; 
  --text-color: #333333; 
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-color);
}

main {
  margin: 2rem auto 2rem;
  padding: 0 2rem;
}

.hero {
  position: relative;
  padding: 5rem 2rem;
  color: white;
  text-align: left; 
  height: 700px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}


.hero-text {
  flex: 1;
  padding-right: 2rem;
}

.hero p {
  font-size: 26px;
}

.hero-image {
  flex: 1;
  text-align: right;
}

h1, h2 {
  color: var(--primary-color);
}

h1 {
  margin-bottom: 1rem;
}

.accent {
  color: var(--accent-color);
}

.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white; 
  font-weight: bold;
}

.btn-primary:hover {
  background-color: #E08E2C;
  border-color: #E08E2C;
}

.services {
  margin-bottom: 4rem;
}

.service-card {
  height: 100%;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.testimonial {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  nav ul {
    display: none; 
  }
}

.card {
  border: 1px solid #ddd; 
  border-radius: 8px; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  transition: transform 0.2s; 
}

.card:hover {
  transform: translateY(-5px); 
}

.img-fluid {
  max-width: 100%; 
  height: auto; 
  border-radius: 8px; 
}
