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

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  background: url("images/15.png") center center/cover no-repeat;
  height: 100vh;
  color: white;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.8rem; /* Decreased from 2rem */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo img {
  height: 44px; /* Decreased from 48px */
  width: 44px; /* Decreased from 48px */
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* Decreased from 1rem */
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.85rem; /* Decreased from 0.95rem */
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffcccb;
}

/* Hero Text */
.about-hero {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 1.8rem 3.5rem; /* Decreased from 0 2rem 4rem */
  position: relative;
}

.container-hero-grid {
  max-width: 550px; /* Decreased from 600px */
}

.hero-left h1 {
  font-size: 3rem; /* Decreased from 3.5rem */
  color: #ff4f4f;
  margin-bottom: 10px; /* Decreased from 12px */
}

.hero-left p {
  font-size: 1rem; /* Decreased from 1.1rem */
  color: #f1f1f1;
  background-color: #555;
  padding: 14px; /* Decreased from 16px */
  border-radius: 18px; /* Decreased from 20px */
  max-width: 500px; /* Decreased from 550px */
}

/* About Section (re-defined, ensure consistency with hero-text if they refer to the same element) */
/* Assuming this .about-hero is the same as the one under "Hero Text" based on the provided block structure. */
.about-hero {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 1.8rem 3.5rem; /* Decreased from 0 2rem 4rem */
  position: relative;
  z-index: 1;
  color: white;
}

.about-hero h1 {
  font-size: 3.8rem; /* Decreased from 4.2rem */
  color: #ff4f4f;
  max-width: 75%; /* Slightly decreased from 80% */
  text-align: left;
  margin-bottom: 10px; /* Decreased from 12px */
}

.about-hero p {
  font-size: 1rem; /* Decreased from 1.1rem */
  color: #f1f1f1;
  background-color: #555;
  padding: 14px; /* Decreased from 16px */
  border-radius: 18px; /* Decreased from 20px */
  max-width: 500px; /* Decreased from 550px */
  text-align: left;
  margin-left: auto;
  margin-right: 0;
}

/* our approach*/
.approach {
  background-color: #2d2d2d;
  padding: 50px 15px; /* Decreased from 60px 20px */
  text-align: center;
}

.approach h1 {
  font-size: 1.8rem; /* Decreased from 2rem */
  color: #ff4f4f;
  margin-bottom: 8px; /* Decreased from 10px */
  display: block;
}

.approach p {
  font-size: 0.9rem; /* Decreased from 1rem */
  color: white;
  margin-top: 8px; /* Decreased from 10px */
  max-width: 600px; /* Decreased from 700px */
  margin-left: auto;
  margin-right: auto;
}

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Decreased from 20px */
  align-items: center;
}

/* mission and vision */

.mission-vision {
  background-color: #2d2d2d;
  padding: 60px 15px; /* Decreased from 80px 20px */
  text-align: center;
}

.mission-vision h2 {
  font-size: 2.2rem; /* Decreased from 2.4rem */
  margin-bottom: 30px; /* Decreased from 40px */
  color: #ff4f4f;
}

.mission-vision ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px; /* Decreased from 40px */
  flex-wrap: wrap;
}

.mission-vision li {
  background-color: #fff;
  padding: 16px 20px; /* Decreased from 18px 22px */
  border-radius: 8px; /* Decreased from 10px */
  color: #555;
  font-size: 0.85rem; /* Decreased from 0.95rem */
  width: 280px; /* Decreased from 300px */
  box-sizing: border-box;
  text-align: left;
}

.mission-vision li strong {
  color: #c62828;
}
.mission-vision li p {
  margin-top: 8px; /* Decreased from 10px */
  color: #333;
}

/*service tags*/
.our-work {
  background-color: #2d2d2d;
  padding: 60px 15px; /* Decreased from 80px 20px */
  text-align: center;
}

.our-work h2 {
  font-size: 1.8rem; /* Decreased from 2rem */
  color: #ff4f4f;
  margin-bottom: 15px; /* Decreased from 20px */
}

.our-work p {
  font-size: 0.9rem; /* Decreased from 1rem */
  color: white;
  max-width: 600px; /* Decreased from 700px */
  margin: 0 auto 30px; /* Decreased from 40px */
}

.image-gallery {
  display: flex;
  overflow: hidden;
  gap: 12px; /* Decreased from 16px */
  justify-content: center;
  animation: slideGallery 30s linear infinite;
}

.image-gallery img {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
  border-radius: 6px; /* Decreased from 8px */
  height: 160px; /* Decreased from 180px */
  object-fit: cover;
}

.image-gallery img:hover {
  filter: grayscale(0%);
  cursor: pointer;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* Decreased from 12px */
  margin-top: 15px; /* Decreased from 20px */
}
.service-tags span {
  background-color: #0097a7;
  color: white;
  padding: 5px 14px; /* Decreased from 6px 16px */
  border-radius: 3px; /* Decreased from 4px */
  font-size: 0.8rem; /* Decreased from 0.9rem */
}

/* About Block */
.about-block {
  background-color: #2d2d2d;
  padding: 60px 15px; /* Decreased from 80px 20px */
  text-align: center;
}

.about-block h3 {
  font-size: 2.2rem; /* Decreased from 2.4rem */
  margin-bottom: 15px; /* Decreased from 20px */
  color: #ff4f4f;
}

.about-block .why-grid {
  display: flex;
  gap: 15px; /* Decreased from 20px */
  justify-content: center;
  flex-wrap: wrap;
}

.about-block .why-card {
  background-color: #fff;
  border-radius: 10px; /* Decreased from 12px */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05); /* Adjusted shadow subtly */
  padding: 20px; /* Decreased from 24px */
  width: 200px; /* Decreased from 220px */
  text-align: left;
  transition: transform 0.3s ease;
}

.about-block .why-card:hover {
  transform: translateY(-2px); /* Decreased from -3px */
}

.about-block .why-header {
  display: flex;
  align-items: center;
  gap: 8px; /* Decreased from 10px */
}

.about-block .why-icon {
  font-size: 1.4rem; /* Decreased from 1.6rem */
  color: #c62828;
}

.about-block .why-card h4 {
  font-size: 0.9rem; /* Decreased from 1rem */
  color: #c62828;
  margin: 0;
}

.about-block .why-card p {
  font-size: 0.8rem; /* Decreased from 0.9rem */
  color: #555;
  margin-top: 10px; /* Decreased from 12px */
}

/* Footer */
.site-footer {
  background-color: #555;
  color: #fff;
  padding: 50px 15px; /* Decreased from 60px 20px */
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 25px; /* Decreased from 30px */
  align-items: center;
  justify-content: center;
  max-width: 900px; /* Decreased from 1100px */
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-text {
  flex: 1;
  max-width: 450px; /* Decreased from 500px */
}

.footer-text h3 {
  font-size: 1.4rem; /* Decreased from 1.6rem */
  color: #ff4d4d;
  margin-bottom: 15px; /* Decreased from 20px */
}

.footer-text p {
  margin-bottom: 8px; /* Decreased from 10px */
  font-size: 0.9rem; /* Decreased from 1rem */
  color: #fff;
}

.footer-text a {
  color: #fff;
  text-decoration: underline;
}

.footer-text .footer-btn {
  display: inline-block;
  background-color: #0097a7;
  color: #ff4d4d;
  padding: 10px 20px; /* Decreased from 12px 25px */
  border-radius: 4px; /* Decreased from 5px */
  margin-top: 15px; /* Decreased from 20px */
  text-decoration: none;
  font-weight: bold;
}

.footer-img img {
  width: 100%;
  max-width: 350px; /* Decreased from 400px */
  border-radius: 6px; /* Decreased from 8px */
  object-fit: cover;
}

.footer-bottom {
  margin-top: 30px; /* Decreased from 40px */
  text-align: center;
  font-size: 0.8rem; /* Decreased from 0.9rem */
  color: whitesmoke;
}