/* Hero Section */
.hero {
  background: url('../../images/banner.jpg') center center / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Optional: add a subtle dark overlay for text readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.4rem; /* matched to contact-hero */
  color: #fff; /* replaces var(--white) for explicit clarity */
  border-bottom: 2px solid #d4af37; /* gold underline */
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem; /* slightly reduced for refinement */
  color: #fff; /* soft white from contact-hero */
  max-width: 700px;
  margin: 0 auto 1.5rem auto; /* preserve spacing + center text */
}

/* Mail Sent Popup */
.popup-message {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  padding: 1rem 2rem;
  border: 2px solid #d4af37;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeInDown 0.4s ease-out;
}

.popup-message p {
  margin: 0;
  color: #fff;
}

.popup-message button {
  background: none;
  color: #d4af37;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.popup-message button:hover {
  color: #fff;
}

/* Optional animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Services Preview */
.services-preview {
  padding: 80px 20px;
  text-align: center;
  background-color: #fff;
}

.services-preview h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: #000;
  border-bottom: 2px solid #d4af37;
  display: inline-block;
  padding-bottom: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 40px;
}

.service-card {
  background-color: #f8f8f8;
  border-left: 4px solid #d4af37;
  padding: 2rem;
  border-radius: 6px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
  border-left-color: #ffcc00;
}

/* INDEX Why Choose Us Section */
.why-us {
  background-color: #000;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.why-us h2 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 40px;
  border-bottom: 2px solid #d4af37;
  display: inline-block;
  padding-bottom: 10px;
}

/* Feature Card Layout */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px;
}

/* Tablet fallback: 2x3 */
@media (max-width: 992px) {
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile fallback: 1x6 */
@media (max-width: 600px) {
  .features-row {
    grid-template-columns: 1fr;
  }
}

.feature-box {
  flex: 1 1 240px;
  background-color: #fff;
  color: #000;
  padding: 1.5rem;
  border-left: 4px solid #d4af37;
  border-radius: 6px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
  border-left-color: #ffcc00;
}

.feature-box strong {
  font-size: 1.2rem;
  color: #222;
}

.feature-box p {
  margin-top: 10px;
  color: #444;
}

/* Accreditation Badges Inside Feature Box */
.badge-row.inline-badges {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 15px;
}

.badge-row.inline-badges img {
  height: 50px;
  width: auto;
  background: #000;
  padding: 6px;
  border-radius: 4px;
}

/* Blog Preview */
/* Blog Preview Section - Updated to match full site theme */
.homepage-blog-preview {
  padding: 80px 20px;
  background-color: #fff;
  border-top: 3px solid #d4af37;
  border-bottom: 3px solid #d4af37;
}

.homepage-blog-preview .section-title {
  font-size: 2.2rem;
  font-family: 'Georgia', serif;
  text-align: center;
  color: #000;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 10px;
  margin: 0 auto 2.5rem auto;
  display: inline-block;
}

.homepage-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Blog Card */
.blog-card {
  background-color: #fff;
  border-left: 4px solid #d4af37;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Blog Image */
.blog-card img.blog-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Blog Text Content */
.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-size: 1.4rem;
  font-family: 'Georgia', serif;
  margin-bottom: 0.6rem;
  color: #000;
}

.blog-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.blog-content .read-more {
  text-decoration: none;
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-content .read-more:hover {
  background-color: #d4af37;
  color: #000;
}

.view-all-btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #d4af37;
}

.view-all-btn:hover {
  background-color: #d4af37;
  color: #000;
}

/* Call to Action */
.cta {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.cta .btn-primary {
  background-color: #fff;
  color: #000;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta .btn-primary:hover {
  background-color: #d4af37;
  color: #000;
}

/* Cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #000;
  color: #fff;
  padding: 1.2rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  font-size: 0.95rem;
}

.cookie-box {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.cookie-buttons {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  background-color: #d4af37;
  color: #000;
  border: none;
  padding: 0.4rem 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-buttons button:hover {
  background-color: #b89630;
}
