html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-image: url("New Images/nehelo-01.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #020508;
  padding-top: 80px;
}

/* GLOBAL CONTAINER */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVIGATION */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  background-color: black;
  z-index: 1000;
}

.top-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* HERO */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
}

/* ALIGN ALL SECTIONS */
.hero,
.services-section,
.testimonials-section,
.contact-section {
  max-width: 100%;
  margin: 3rem 0;
}

h1 {
  font-size: 3rem;
}

/* INTRO FIX */
#intro {
  line-height: 1.7;
}

.profile-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin: 2rem auto;
  display: block;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: #9B6B6E;
  color: white;
  text-decoration: none;
  border-radius: 8px;
}

/* SERVICES */
.services-section {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.14);
  padding: 2.75rem;
}

.services-section h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: #020508;
}

.services-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #9B6B6E;
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.services-subtitle {
  text-align: center;
  color: #666;
  font-size: 1rem;
  margin-bottom: 2rem;
  margin-top: 0.5rem;
  font-weight: normal;
}

.services-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.service-item {
  background: linear-gradient(180deg, #9B6B6E 0%, #85585b 100%);
  color: white;
  font-weight: bold;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  border-left: 6px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ✅ ensure ALL inner text stays white */
.service-item h3,
.service-item p,
.service-item li,
.service-item a {
  color: white;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(155, 107, 110, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-item:hover::before {
  left: 100%;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.16);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.service-item h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  letter-spacing: 0.3px;
}

.service-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}

.service-details li {
  font-size: 0.92rem;
  padding: 0.3rem 0;
  opacity: 0.88;
  font-weight: normal;
}

.service-details li::before {
  content: '✓ ';
  opacity: 0.75;
}

.service-link {
  display: inline-block;
  margin-top: auto;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  text-decoration: none;
  color: white !important;
  transition: background 0.2s ease;
}

.service-link:hover {
  background: rgba(255, 255, 255, 0.32);
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success {
  text-align: center;
  margin: 2rem auto;
  padding: 1rem;
  border: 2px solid #9B6B6E;
  border-radius: 8px;
}

/* TESTIMONIALS */
.testimonials-section {
  max-width: 100%;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
}

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
}

/* SLIDER DOTS */
.slider-dots {
  margin: 1.25rem 0 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.dot.active {
  background-color: #9B6B6E;
  transform: scale(1.2);
}

/* CURRENT CLIENTS */
.current-clients-heading {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #020508;
}

.current-clients {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 0;
}

.client-logos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 0;
}

.client-logos img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #e8ecef;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.client-logos img:hover {
  transform: scale(1.07);
  border-color: #9B6B6E;
}

/* CONTACT */
.contact-section {
  background: #020508;
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

/* SOCIAL ICONS */
.social-icons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-icons img {
  width: 28px;
  height: 28px;
}

.contact-section .btn {
  margin-top: 2rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1.25rem 0;
  color: #666;
  font-size: 0.95rem;
}