/* ===== Hero Section ===== */
.hero {
  position: relative;
  background: url('./images/server-room.jpg') center/cover no-repeat;
  height: 70vh; /* Adjust for desired vertical space */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  clip-path: inset(0 round 12px);
}

/* Dark overlay for text readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* Adjust opacity for more/less darkness */
}

/* Content wrapper sits above overlay */
.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

/* Headline */
.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 3rem); /* Responsive scaling */
  margin-bottom: 0.5em;
  font-weight: 700;
}

/* Subheadline */
.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 1.5em;
  line-height: 1.4;
}

/* Call-to-action button */
.hero-overlay .cta-button {
  background: #0073e6;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero-overlay .cta-button:hover {
  background: #005bb5;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
    padding: 20px;
    background-position: 25% center; /* shift focus for mobile */
  }
  .hero-overlay p {
    font-size: 1rem;
  }
}

/* ===== Core Services Section ===== */
.core-services {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.core-services h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

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

.service-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.service-card img {
  width: 200px;
  height: 180px;
  margin-bottom: 20px;
  clip-path: inset(0 round 12px);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #0073e6;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.4;
}

/* ====== why choose us Section ====== */

.why-choose-us {
  padding: 4rem 0;
  background-color: #f8f9fa; /* matches light section background */
}

.why-choose-us .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.why-choose-us .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-choose-us .card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-choose-us .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.why-choose-us .card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.why-choose-us .card p {
  margin: 0;
  line-height: 1.5;
}

/* ====== trust-signals Section ====== */

.trust-signals {
  padding: 3rem 0;
  background-color: #fff; /* or light gray if you want separation */
  text-align: center;
}

.trust-signals .section-title {
  margin-bottom: 2rem;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.logo-grid img {
  max-height: 60px;   /* adjust as needed */
  max-width: 160px;   /* adjust as needed */
  height: auto;
  width: auto;
  object-fit: contain;
}


.logo-grid img:hover {
  filter: grayscale(0%);
}

