body {
  margin: 0;
  padding: 0;
  background: #fff;
}

#main-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 0;
  padding-bottom: 0;
  color: #000;
  font-family: 'Open Sans', sans-serif;
}

.card-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-info {
    padding-bottom: 2rem;
    padding-top: 2rem;
    margin: 0 auto;
    text-align: center;
}

.hero-info h2 {
    margin: 0;
}

.hero-info p {
    max-width: 720px;
    margin: 0 auto;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  display: flex;
  gap: 30px;
}

.service-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.service-card i {
  font-size: 40px;
  color: #8b0000;
  margin-bottom: 15px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
  background: #555;
}

.services {
    padding-bottom: 0;
    margin-bottom: 0;
}

main h2 {
  text-align: center;
  margin: 40px 0 20px;
  color: #8b0000;
  font-weight: 700;
}

.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.services h2 {
    color: #8b0000;
}

.services .card {
  background: #FFD700;
  border: 2px solid #8b0000;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

.services .card:hover {
  background: #8b0000;
  color: #fff;
  transform: translateY(-5px);
}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 50px 0;
  background: #8b0000;
  color: white;
  padding: 30px;
  border-radius: 15px;
  font-weight: bold;
}

.stats div {
  margin: 10px;
  flex: 1;
  text-align: center;
  font-size: 22px;
}

.why-us {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid #8b0000;
}

.why-us ul {
  margin-top: 15px;
  padding-left: 20px;
}

.why-us li {
  margin: 8px 0;
}

.blog .post {
  background: #FFD700;
  border-left: 4px solid #8b0000;
  padding: 15px;
  margin: 10px 0;
  transition: 0.3s;
}

.blog .post:hover {
  background: #8b0000;
  border-left: 4px solid #FFD700;
  color: #fff;
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, #8b0000, #5a0000);
  color: white;
  padding: 40px;
  border-radius: 20px;
  margin: 50px 0;
}

.cta h2 {
    color: #fff;
}

.cta button {
  margin-top: 15px;
  padding: 15px 45px;
  border: none;
  background: white;
  color: black;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background .5s linear, color .5s linear;
}

.cta button:hover {
  background: black;
  color: white;
}