:root {
  --primary: #0a2540;
  --secondary: #c0c0c0;
  --accent: #f5f7fa;
  --text: #1a1a1a;
  --white: #ffffff;
  --top-bar-height: 40px;
  --navbar-height: 80px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--accent);
  color: var(--text);
  padding-top: calc(var(--top-bar-height) + var(--navbar-height));
}


/*LOADING SCREEN */
/* FULLSCREEN LOADER */
/* FULLSCREEN PREMIUM LOADER */
/* FULLSCREEN BACKDROP */
#premium-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a2540; /* deep premium black */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* FADE OUT STATE */
#premium-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* CENTER CONTENT */
.loader-inner {
  text-align: center;
}

/* LOGO ANIMATION */
.logo-wrapper {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease forwards;
}

.loader-logo {
  width: 140px;
  filter: brightness(1.2) contrast(1.1);
}

/* PREMIUM LOADING LINE */
.loader-line {
  width: 120px;
  height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, silver, transparent);
  position: relative;
  overflow: hidden;
}

.loader-line::before {
  content: "";
  position: absolute;
  width: 40%;
  height: 100%;
  background: silver;
  animation: loadingMove 1.2s infinite ease-in-out;
}

/* ANIMATIONS */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadingMove {
  0% {
    left: -40%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}




/* ================= HEADER WRAPPER ================= */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

/* ================= TOP BAR ================= */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  background:#0a3d62;
  color: white;
  font-size: 14px;
}

.top-left, .top-right {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.top-left a, .top-right a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
}

.top-left a:hover, .top-right a:hover {
  color: silver;
}

.top-right a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  justify-content: center;
  font-size: 16px;
  transition: 0.3s;
}

.top-right a:hover {
  background: silver;
  color: #fff;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: var(--navbar-height);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1;
}

/* LOGO */
.logo img {
  height: 80px;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #C0C0C0, #FFFFFF, #A9A9A9); /* Silver gradient underline */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar a {
  text-decoration: none;
  color: #0a2540; /* Dark blue from logo */
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #0A2540; /* Keep dark blue on hover */
}


/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  flex-direction: column;
  background: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 10px;
  min-width: 180px;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  margin: 5px 0;
}

/* CTA BUTTON */
.nav-btn {
  background: linear-gradient(135deg, #0A3D62, #1E88C8); /* Deep blue to bright blue */
  color: white !important;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #1E88C8, #0A3D62);
  color: white;
}

/* NAV BOTTOM SECTION */
.nav-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Show on active menu */
.nav-links.active .nav-bottom {
  opacity: 1;
  transform: translateY(0);
}

/* Logo */
.nav-bottom-logo img {
  height: 50px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.nav-bottom-logo img:hover {
  transform: scale(1.05);
}

/* Info text */
.nav-bottom-info p {
  margin: 5px 0;
  font-size: 14px;
  color: #0a2540;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Hover effect for info links */
.nav-bottom-info p:hover {
  color: silver;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #0a2540;
}

/* CLOSE BUTTON */
.close-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  text-align: right;
  margin-bottom: 15px;
  color: #0a2540;
}



/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: calc(var(--top-bar-height) + var(--navbar-height));
    right: -100%;
    width: 250px;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    transition: 0.3s;
    z-index: 1002;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .close-btn {
    display: block;
  }

  .nav-btn {
    display: none;
  }

  .logo img {
    object-fit: contain;
  transition: transform 0.3s;
    max-width: 150px;
    height: 70px;
  }

  .top-left, .top-right {
    justify-content: center;
  }
}

/*WHATSAPP BUTTON*/
.whatsapp-float {
  position: fixed;
  bottom: 50px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Hover effect */
.whatsapp-float:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}





/* HERO SLIDER */
/* Hero Slider container */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: 'Poppins', sans-serif; /* base font for slider text */
}

/* Full overlay for text readability */
.hero-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10,37,64,0.65), rgba(10,37,64,0.65));
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, background-position 0.6s ease;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    background-position: center 20%;
}

/* Dynamic overlay per slide */
.slide::before {
  pointer-events: none;
  content: "";
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: linear-gradient(rgba(10,37,64,0.55), rgba(10,37,64,0.55));
  transition: background 1s ease, opacity 1s ease;
  z-index: 1;
}

/* Slight overlay variation per active slide */
.slide.active::before {
  background: linear-gradient(rgba(10,37,64,0.6), rgba(10,37,64,0.6));
}
.slide-header {
  display: flex;
  align-items: center;
   /* space between logo and title */
  margin-bottom: 15px;
}

/* Slide content container */
.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    color: white;
    z-index: 3;
    opacity: 0;
}
/* Active slide content animation */
.slide.active .slide-content {
    opacity: 1;
    animation: fadeInUp 1s forwards;
}

.slide.active h1 {
    animation: fadeInLeft 1s forwards;
}

.slide.active p {
    animation: fadeInLeft 1s forwards;
    animation-delay: 0.3s;
}

.slide.active .btn {
    animation: fadeInLeft 1s forwards;
    animation-delay: 0.6s;
}

/* Slide heading */
.slide-header h1 {
    font-family: 'Playfair', serif;
    font-weight: 400; /* bold luxurious */
    font-size: 4rem;
     text-transform: uppercase;
    color: silver;
    letter-spacing: 1.5px;
   
    text-shadow: 0 4px 12px rgba(0,0,0,0.65); /* stronger shadow for readability */
    margin-bottom: 20px;
    line-height: 1.1;
}

/* Slide paragraph */
.slide-content p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #E0E0E0; /* light silver text for contrast */
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Buttons */
.slide-content .btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, #0A3D62, #1E88C8);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.slide-content .btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #1E88C8, #0A3D62);
}

/* Navigation Arrows */
.hero-nav .prev,
.hero-nav .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: #FFFFFF; /* white arrows for premium look */
    font-weight: bold;
    font-size: 2rem;
    user-select: none;
    transform: translateY(-50%);
    transition: color 0.3s ease;
    z-index: 4;
}

.hero-nav .prev:hover,
.hero-nav .next:hover {
    color: #0a2540; /* subtle gold hover for luxury feel */
}

.hero-nav .prev { left: 20px; }
.hero-nav .next { right: 20px; }

/* Slider Dots */
.hero-dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    z-index: 4;
}

/* Partnership slide logo */
.partner-logo {
    margin: 20px 0;
}

.partner-logo img {
    max-width: 180px;
    height: auto;
    display: block;
    filter: brightness(1.1);
}

.hero-dots .dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dots .dot:hover {
    transform: scale(1.2);
}

.hero-dots .dot.active {
    background: #0a2540; /* gold for active dot */
}

/* Animations */
@keyframes fadeInLeft {
    0% {opacity: 0; transform: translateX(-50px);}
    100% {opacity: 1; transform: translateX(0);}
}

@keyframes fadeInUp {
    0% {opacity: 0; transform: translateY(30px);}
    100% {opacity: 1; transform: translateY(0);}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide-header h1 { font-size: 2.5rem; letter-spacing: 1px; }
    .slide-content p { font-size: 16px; }
    .slide-content .btn { padding: 10px 20px; }
    .slide-content { left: 5%; max-width: 90%; }
    .hero-nav .prev,
    .hero-nav .next { font-size: 1.5rem; padding: 12px; }
}






/* Services Section */
/* SECTION */
.services {
  position: relative;
  padding: 100px 20px;
  background: #f9fafb;
  text-align: center;
  overflow: hidden;
}

/* 💎 LOGO WATERMARK */
.services::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;

  background: url("../images/DMS_Signature_Administrators_logo_small.pdf-removebg-preview.png") no-repeat center;
  background-size: contain;

  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* HEADINGS */
.services h2 {
  font-family: 'Playfair', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2rem;
  color: #556677;
  margin-bottom: 60px;
}

/* GRID */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* 💎 CARDS (CLICKABLE) */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  text-decoration: none;
  color: inherit;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);

  transition: all 0.3s ease;
}

/* TEXT */
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #0a2540;
}

.card p {
  color: #556677;
  line-height: 1.6;
}

/* 🔥 HOVER */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* CLICK EFFECT */
.card:active {
  transform: scale(0.97);
}


/*WHY US SECTION */
/* Container */
.why-us {
  position: relative;
  padding: 120px 20px;
  color: white;
  overflow: hidden;

  background: url("../images/aboutdmssa.webp") center/cover no-repeat;
}

/* BLUE OVERLAY */
.why-us::before {
  content: "";
  position: absolute;
  inset: 0;

  /* deep navy blue overlay (matches your logo) */
  background: linear-gradient(
    120deg,
    rgba(6, 12, 24, 0.85),
    rgba(10, 25, 45, 0.75)
  );

  z-index: 0;
}

/* Shine effect */
.why-us .shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0.1) 100%
  );
  transform: rotate(45deg);
  animation: shine 5s linear infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { transform: rotate(45deg) translateX(-100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}

/* Flex layout for text + image */
.why-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  gap: 50px;
}

@media (max-width: 992px) {
  .why-container {
    flex-direction: column;
  }
}

/* Left column text */
.why-text {
  flex: 1;
}

/* Headings */
.section-title {
  font-family: 'playfair',serif;
  font-size: 42px;
  margin-bottom: 20px;
  text-shadow: 0 5px 20px rgba(0,0,0,0.6);
}

.section-subtitle {
  font-size: 18px;
  margin-bottom: 50px;
  color: #d1d5db;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

/* Cards grid */
.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}


/* Individual cards */
.why-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  padding: 25px 20px;
  border-radius: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Right column image */
.why-image {
  flex: 1;
  text-align: center;
}

.why-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.why-image img:hover {
  transform: scale(1.02);
}


.logo-carousel {
  background: #f8fbff;
  padding: 50px 0;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 25px;
  align-items: center;
  width: max-content;
  animation: scroll 35s linear infinite;
}

.carousel-item {
  flex: 0 0 auto;
  min-width: 220px;
  height: 150px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-6px);
}

.carousel-item img {
  width: 140px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.carousel-item span {
  font-size: 15px;
  font-weight: 600;
  color: #0A2540;
  text-align: center;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/*TESTEMONIAL SECTION INDEX */
.testimonials {
  padding: 80px 5%;
  background: #0a1d3f; /* dark blue */
  color: #fff;
  text-align: center;
}

.testimonials .section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: 'Cormorant Garamond', serif;
}

.testimonials .section-subtitle {
  color: #ccc;
  margin-bottom: 50px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.client-info h4 {
  margin: 0;
  font-weight: 600;
}

.client-info span {
  font-size: 0.9rem;
  color: #aaa;
}
/* Hover pause */
.logo-carousel:hover .carousel-track {
  animation-play-state: paused;
}

/* Fade edges for premium look */
.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, #f9fafb 0%, transparent 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, #f9fafb 0%, transparent 100%);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .carousel-track {
    gap: 30px;
  }
  .carousel-item img {
    height: 60px;
  }
}

@media (max-width: 576px) {
  .carousel-track {
    gap: 20px;
  }
  
   .carousel-item img {
  max-width: 90%;
  max-height: 70%;
}
  }



/* MINI BLOG CAROUSEL */
.mini-blog-carousel {
    padding: 60px 8%;
     background: linear-gradient(135deg, #0a3d62, #071a2f);
}

.blog-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.blog-card {
    min-width: 280px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card h3 {
    font-size: 18px;
    padding: 10px;
}

.mini-blog-carousel h2{
  color: #c0c0c0;
  font-size: 30px;
  padding: 20px;
  text-align: center;
  font-family: 'Playfair', serif;
}




/*FOOTER */
/* ================= PREMIUM FOOTER ================= */
.premium-footer {
  background: linear-gradient(135deg, #0a3d62, #071a2f);
  color: #ffffff;
  padding-top: 70px;
  font-size: 14px;
}

.footer-credit {
  color: #bfbfbf; /* soft premium grey */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-credit:hover {
  color: #d4af37; /* gold hover (luxury feel) */
}

/* BLOG PAGE CONTAINER */
.blog-grid {
    padding: 100px 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    background: linear-gradient(rgba(245,245,245,0.95), rgba(255,255,255,0.95));
}

/* BLOG CARD */
.blog-post {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-8px);
}

/* IMAGE */
.blog-post .blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* CONTENT */
.blog-post .blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* CATEGORY */
.blog-category {
    font-size: 13px;
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* TITLE */
.blog-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0A2540;
}

.blog-title a {
    text-decoration: none;
    color: inherit;
}

/* EXCERPT */
.blog-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* BUTTON */
.blog-btn {
    align-self: flex-start;
    padding: 10px 20px;
    border-radius: 30px;
    background: #00d4ff;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.blog-btn:hover {
    background: #007aab;
    color: #fff;
}



.blog-header {
    text-align: center;
    padding: 80px 8% 20px;
}

.blog-header h1 {
   font-family: 'Playfair';
    font-size: 42px;
    margin-bottom: 10px;
    color: #0A2540;
}

.blog-header p {
    font-size: 18px;
    color: #555;
}

/*BLOG POST */
.blogpost-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', sans-serif;
}

#post-title {
    font-size: 40px;
    margin-bottom: 10px;
    text-align: center;
}

#post-meta {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

.blogpost-image img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 40px;
}

#post-content {
    font-size: 18px;
    line-height: 1.8;
}

#post-content h2 {
    margin-top: 30px;
    font-size: 24px;
}
/* PAGE BACKGROUND */
.blog-page {
    background:
        linear-gradient(rgba(10,37,64,0.85), rgba(10,37,64,0.95)),
        url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* HEADER UPGRADE */
.blog-header h1 {
    color: silver;
    font-weight: 700;
}

.blog-header p {
    color: #ddd;
}

/* GRID GLASS EFFECT */
.blog-grid {
    background: transparent;
}

.blog-page-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.blog-page-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.blog-page-card h3 {
    color: #fff;
    padding: 15px;
}

.blog-page-card p {
    color: #ccc;
    padding: 0 15px 20px;
}

/* ========================= */
/* 🔥 SLIDER (NEW) */
/* ========================= */

.blog-slider {
    padding: 40px 8%;
    overflow-x: auto;
}

.blog-slider-track {
    display: flex;
    gap: 20px;
}

.blog-slide {
    min-width: 300px;
    flex: 0 0 auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.blog-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-slide:hover {
    transform: scale(1.05);
}

/* overlay */
.blog-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.blog-slide-content {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    color: #fff;
    z-index: 2;
}

.blog-slide-content h3 {
    font-size: 16px;
}




/* GRID */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 20px 60px;
}

/* LOGO */
.footer-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

/* TEXT */
.footer-col p {
  color: #fff;
  line-height: 1.6;
}

/* HEADINGS */
.footer-col h3 {
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
  color: silver;
}

.footer-col h3::after {
  content: "";
  width: 40px;
  height: 2px;
  background: silver;
  position: absolute;
  left: 0;
  bottom: -8px;
}

/* LINKS */
.footer-col a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: silver;
  transform: translateX(5px);
}

/* SOCIAL ICONS */
.footer-socials {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.footer-socials a:hover {
  background: silver;
}

/* BUTTON */
.footer-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: linear-gradient(90deg, #c0c0c0, #e8e8e8, #a9a9a9);
  color: #0a3d62 !important;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-btn:hover {
  transform: scale(1.05);
}

/* BOTTOM BAR */
.footer-bottom {
  border-top: 1px solid silver;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #fff;
}

/* FOOTER LOGO */
.footer-logo-img {
  width: 170px;
  margin-bottom: 15px;

   /* Make logo white for dark footer */
  filter: brightness(1.5) invert(0);

 
  /* Smooth animation */
  transition: all 0.4s ease;
}

/* ✨ LUXURY GLOW EFFECT */
.footer-logo-img:hover {
  transform: scale(1.05);

  /* soft premium glow (not too harsh) */
  filter: brightness(1.5) invert(0)
          drop-shadow(0 0 8px rgba(0,168,232,0.6))
          drop-shadow(0 0 18px rgba(0,168,232,0.4));
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: #fff; /* dark luxury blue */
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Optional soft gradient overlay for depth */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58,160,255,0.05), transparent 80%);
  z-index: 1;
}

/* Container to keep content above overlay */
.cta-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

/* CTA TITLE */
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 30px;
  color: #0A2540;
  text-shadow: 0 3px 15px rgba(0,0,0,0.3);
}

/* CTA BUTTON */
.cta-btn {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  padding: 15px 35px;
  background: linear-gradient(90deg, #c0c0c0, silver);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){
  .cta-title {
    font-size: 2rem;
  }
  .cta-btn {
    padding: 12px 28px;
    font-size: 1rem;
  }
}


/*ABOUT.HTML*/
/* ===== ABOUT SECTION ===== */
.about-section {
  background: linear-gradient(135deg, #0a2540, #071a2f);
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* HERO */
/* HERO SECTION */
/* Default: NO zoom (mobile first) */
/* ===== ABOUT HERO SECTION ===== */
/* ===== ABOUT PAGE CSS ===== */

/* FONT & COLORS */
.about-section {
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

/* ===== HERO SECTION ===== */
.about-hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* background image for parallax */
  background: url('../images/about-dmssa-investment-solutions-benoni.png') center/cover no-repeat;
  background-attachment: fixed; /* subtle parallax scroll */
  background-size: cover;
}

/* DARK BLUE OVERLAY */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 35, 0.7);
  z-index: 1;
}

/* OPTIONAL LUXURY SOFT BLUE GLOW */
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58,160,255,0.08), transparent 80%);
  z-index: 2;
}

/* HERO CONTENT ABOVE OVERLAY */
.about-hero-overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  color: silver;
}

/* MAIN TITLE */
.about-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-shadow: 0 5px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1.2s ease forwards;
}

/* SUBTITLE */
.about-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  color: silver;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1.4s ease forwards;
  animation-delay: 0.3s;
}

/* HERO ZOOM ANIMATION FOR LARGE SCREENS */
@media (min-width: 1024px) {
  .about-hero {
    animation: zoomBg 12s ease-in-out infinite alternate;
  }
}

/* HERO ZOOM KEYFRAMES */
@keyframes zoomBg {
  from { background-size: 100%; }
  to { background-size: 110%; }
}

/* TEXT ANIMATION */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ABOUT CONTENT BOXES ===== */
.about-content {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
}

.about-box {
  margin-bottom: 50px;
  padding: 30px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid #3aa0ff; /* premium blue accent */
  border-radius: 12px;
  backdrop-filter: blur(8px); /* glass effect */
  transition: all 0.3s ease;
}

.about-box:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-5px);
}

.about-box h2 {
  color: #3aa0ff;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.about-box p {
  color: #ccc;
  line-height: 1.6;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){
  .about-box{
    padding:20px;
  }
  .about-hero {
    background-attachment: scroll; /* fix mobile parallax */
  }
}



/*CONTACT US*/


/*life insurance page */

.li-hero{height:55vh;background:linear-gradient(rgba(10,37,64,0.65),rgba(10,37,64,0.65)),url('../images/life-insurance\ benoni.webp') center/cover no-repeat;display:flex;align-items:center;justify-content:center;text-align:center;color:white;}
.li-content{padding:90px 8%;background:#f8fbff;}
.li-intro{text-align:center;max-width:1000px;margin:auto;margin-bottom:70px;}
.li-benefits {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.li-benefit-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    text-align: center;
    border-radius: 18px;
    transition: 0.3s;
}

.li-benefit-card:hover {
    transform: translateY(-8px);
}

.li-icon {
    font-size: 38px;
    color: #4a90e2;
    margin-bottom: 15px;
}
.li-carousel{overflow:hidden;margin:40px 0 80px;}
.li-track{display:flex;gap:25px;width:max-content;animation:li-scroll 25s linear infinite;}
@keyframes li-scroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}
.li-provider-card{min-width:220px;height:120px;background:white;border-radius:16px;display:flex;align-items:center;justify-content:center;}
.li-cta{text-align:center;padding:70px;border-radius:22px;background:linear-gradient(135deg,#0A2540,#1E88C8);color:white;}
.li-btn{display:inline-block;margin-top:20px;padding:14px 32px;background:white;color:#0A2540;text-decoration:none;border-radius:30px;}

@media (max-width: 992px) {
    .li-benefits {
        grid-template-columns: 1fr;
    }

    .li-hero h1 {
        font-size: 38px;
    }

    .li-hero p {
        font-size: 18px;
    }

    .li-intro h2 {
        font-size: 30px;
    }

    .li-cta {
        padding: 50px 25px;
    }
}

@media (max-width: 768px) {
    .li-content {
        padding: 60px 5%;
    }

    .li-hero {
        height: 45vh;
        padding: 20px;
    }

    .li-hero h1 {
        font-size: 30px;
    }

    .li-hero p {
        font-size: 16px;
    }

    .li-intro h2 {
        font-size: 26px;
    }

    .li-provider-card {
        min-width: 160px;
        height: 90px;
    }

    .li-provider-card img {
        max-width: 100px;
    }
}



/*INVESTMENT SOLUTIONS */
/* HERO */
/* HERO */
.in-hero {
    height: 55vh;
    background: linear-gradient(rgba(10,37,64,0.65), rgba(10,37,64,0.65)),
                url('../images/everest_wealth_benoni.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.in-hero h1 {
    font-size: 52px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.in-hero p {
    font-size: 20px;
}

/* MAIN CONTENT */
.in-content {
    padding: 90px 8%;
    background: #f8fbff;
}

/* INTRO */
.in-intro {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    margin-bottom: 70px;
}

.in-intro h2 {
    font-size: 36px;
    color: #0A2540;
    margin-bottom: 20px;
}

.in-intro p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* BENEFITS */
.in-benefits {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.in-benefit-card {
    background: white;
    padding: 35px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.in-benefit-card:hover {
    transform: translateY(-8px);
}

.in-benefit-card i {
    font-size: 38px;
    color: #1E88C8;
    margin-bottom: 15px;
}

/* CAROUSEL */
.in-carousel {
    overflow: hidden;
    margin: 40px 0 80px;
}
.in-carousel h2{
  text-align: center;
}

.in-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: in-scroll 25s linear infinite;
}

@keyframes in-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.in-provider-card {
    min-width: 220px;
    height: 120px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.in-provider-card img {
    max-width: 140px;
}

/* CTA */
.in-cta {
    text-align: center;
    padding: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg,#0A2540,#1E88C8);
    color: white;
}

.in-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    background: white;
    color: #0A2540;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

/* INVESTMENT RESPONSIVE */
@media (max-width: 992px) {
    .in-benefits {
        grid-template-columns: 1fr;
    }

    .in-hero h1 {
        font-size: 38px;
    }

    .in-hero p {
        font-size: 18px;
    }

    .in-intro h2 {
        font-size: 30px;
    }

    .in-cta {
        padding: 50px 25px;
    }
}

@media (max-width: 768px) {
    .in-content {
        padding: 60px 5%;
    }

    .in-hero {
        height: 45vh;
        padding: 20px;
    }

    .in-hero h1 {
        font-size: 30px;
    }

    .in-hero p {
        font-size: 16px;
    }

    .in-intro h2 {
        font-size: 26px;
    }

    .in-provider-card {
        min-width: 160px;
        height: 90px;
    }

    .in-provider-card img {
        max-width: 100px;
    }
}


/*MEDICAL AID PAGE */
/* CONTAINER */
.ma-hero {
    height: 55vh;
    background: linear-gradient(rgba(10,37,64,0.65), rgba(10,37,64,0.65)),
                url('../images/medical\ aid\ sa.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.ma-hero h1 {
    font-size: 52px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.ma-hero p {
    font-size: 20px;
}

/* MAIN CONTENT */
.ma-content {
    padding: 90px 8%;
    background: #f8fbff;
}

/* INTRO */
.ma-intro {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    margin-bottom: 70px;
}

.ma-intro h2 {
    font-size: 36px;
    color: #0A2540;
    margin-bottom: 20px;
}

.ma-intro p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* BENEFITS */
.ma-benefits {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.ma-benefit-card {
    background: white;
    padding: 35px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.ma-benefit-card:hover {
    transform: translateY(-8px);
}

.ma-benefit-card i {
    font-size: 38px;
    color: #1E88C8;
    margin-bottom: 15px;
}

/* CAROUSEL */
.ma-carousel {
    overflow: hidden;
    margin: 40px 0 80px;
}

.ma-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: in-scroll 25s linear infinite;
}

@keyframes in-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ma-provider-card {
    min-width: 220px;
    height: 120px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.ma-provider-card img {
    max-width: 140px;
}

/* CTA */
.ma-cta {
    text-align: center;
    padding: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg,#0A2540,#1E88C8);
    color: white;
}

.ma-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    background: white;
    color: #0A2540;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

/* INVESTMENT RESPONSIVE */
@media (max-width: 992px) {
    .ma-benefits {
        grid-template-columns: 1fr;
    }

    .ma-hero h1 {
        font-size: 38px;
    }

    .ma-hero p {
        font-size: 18px;
    }

    .ma-intro h2 {
        font-size: 30px;
    }

    .ma-cta {
        padding: 50px 25px;
    }
}

@media (max-width: 768px) {
    .ma-content {
        padding: 60px 5%;
    }

    .ma-hero {
        height: 45vh;
        padding: 20px;
    }

    .ma-hero h1 {
        font-size: 30px;
    }

    .ma-hero p {
        font-size: 16px;
    }

    .ma-intro h2 {
        font-size: 26px;
    }

    .ma-provider-card {
        min-width: 160px;
        height: 90px;
    }

    .ma-provider-card img {
        max-width: 100px;
    }
}

.ma-icon {
    font-size: 38px;
    color: #4a90e2;
    margin-bottom: 15px;
}

/* SHORT-TERM INSURANCE PAGE */
.st-hero {
    height: 55vh;
    background: linear-gradient(rgba(10,37,64,0.65), rgba(10,37,64,0.65)),
                url('../images/short-term-insurance\ dmssa.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.st-hero h1 {
    font-size: 52px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.st-hero p {
    font-size: 20px;
}

/* MAIN CONTENT */
.st-content {
    padding: 90px 8%;
    background: #f8fbff;
}

/* INTRO */
.st-intro {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    margin-bottom: 70px;
}

.st-intro h2 {
    font-size: 36px;
    color: #0A2540;
    margin-bottom: 20px;
}

.st-intro p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* BENEFITS */
.st-benefits {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.st-benefit-card {
    background: white;
    padding: 35px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.st-benefit-card:hover {
    transform: translateY(-8px);
}

.st-benefit-card i {
    font-size: 38px;
    color: #1E88C8;
    margin-bottom: 15px;
}

/* CAROUSEL */
.st-carousel {
    overflow: hidden;
    margin: 40px 0 80px;
}

.st-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: in-scroll 25s linear infinite;
}

@keyframes in-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.st-provider-card {
    min-width: 220px;
    height: 120px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.st-provider-card img {
    max-width: 140px;
}

/* CTA */
.st-cta {
    text-align: center;
    padding: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg,#0A2540,#1E88C8);
    color: white;
}

.st-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    background: white;
    color: #0A2540;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

/* INVESTMENT RESPONSIVE */
@media (max-width: 992px) {
    .st-benefits {
        grid-template-columns: 1fr;
    }

    .st-hero h1 {
        font-size: 38px;
    }

    .st-hero p {
        font-size: 18px;
    }

    .st-intro h2 {
        font-size: 30px;
    }

    .st-cta {
        padding: 50px 25px;
    }
}

@media (max-width: 768px) {
    .st-content {
        padding: 60px 5%;
    }

    .st-hero {
        height: 45vh;
        padding: 20px;
    }

    .st-hero h1 {
        font-size: 30px;
    }

    .st-hero p {
        font-size: 16px;
    }

    .st-intro h2 {
        font-size: 26px;
    }

    .st-provider-card {
        min-width: 160px;
        height: 90px;
    }

    .st-provider-card img {
        max-width: 100px;
    }
}


.st-icon{
    font-size: 38px;
    color: #4a90e2;
    margin-bottom: 15px;
}
/*ESTATE PLANNING PAGE */
/* CONTAINER */
.ep-hero {
    height: 55vh;
    background: linear-gradient(rgba(10,37,64,0.65), rgba(10,37,64,0.65)),
                url('../images/estate\ planning\ benoni.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.ep-icon {
    font-size: 38px;
    color: #4a90e2;
    margin-bottom: 15px;
}
.ep-hero h1 {
    font-size: 52px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.ep-hero p {
    font-size: 20px;
}

/* MAIN CONTENT */
.ep-content {
    padding: 90px 8%;
    background: #f8fbff;
}

/* INTRO */
.ep-intro {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    margin-bottom: 70px;
}

.ep-intro h2 {
    font-size: 36px;
    color: #0A2540;
    margin-bottom: 20px;
}

.ep-intro p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* BENEFITS */
.ep-benefits {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.ep-benefit-card {
    background: white;
    padding: 35px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.ep-benefit-card:hover {
    transform: translateY(-8px);
}

.ep-benefit-card i {
    font-size: 38px;
    color: #1E88C8;
    margin-bottom: 15px;
}

/* CAROUSEL */
.ep-carousel {
    overflow: hidden;
    margin: 40px 0 80px;
}

.ep-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: in-scroll 25s linear infinite;
}

@keyframes in-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ep-provider-card {
    min-width: 220px;
    height: 120px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.ep-provider-card img {
    max-width: 140px;
}

/* CTA */
.ep-cta {
    text-align: center;
    padding: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg,#0A2540,#1E88C8);
    color: white;
}

.ep-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    background: white;
    color: #0A2540;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

/*  RESPONSIVE */
@media (max-width: 992px) {
    .ep-benefits {
        grid-template-columns: 1fr;
    }

    .ep-hero h1 {
        font-size: 38px;
    }

    .ep-hero p {
        font-size: 18px;
    }

    .ep-intro h2 {
        font-size: 30px;
    }

    .ep-cta {
        padding: 50px 25px;
    }
}

@media (max-width: 768px) {
    .ep-content {
        padding: 60px 5%;
    }

    .ep-hero {
        height: 45vh;
        padding: 20px;
    }

    .ep-hero h1 {
        font-size: 30px;
    }

    .ep-hero p {
        font-size: 16px;
    }

    .ep-intro h2 {
        font-size: 26px;
    }

    .ep-provider-card {
        min-width: 160px;
        height: 90px;
    }

    .ep-provider-card img {
        max-width: 100px;
    }
}

/*GAP COVER*/
/* CONTAINER */
.gc-hero {
    height: 55vh;
    background: linear-gradient(rgba(10,37,64,0.65), rgba(10,37,64,0.65)),
                url('../images/gap-cover\ benoni.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.gc-icon {
    font-size: 38px;
    color: #4a90e2;
    margin-bottom: 15px;
}
.gc-hero h1 {
    font-size: 52px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.gc-hero p {
    font-size: 20px;
}

/* MAIN CONTENT */
.gc-content {
    padding: 90px 8%;
    background: #f8fbff;
}

/* INTRO */
.gc-intro {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    margin-bottom: 70px;
}

.gc-intro h2 {
    font-size: 36px;
    color: #0A2540;
    margin-bottom: 20px;
}

.gc-intro p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* BENEFITS */
.gc-benefits {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.gc-benefit-card {
    background: white;
    padding: 35px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.gc-benefit-card:hover {
    transform: translateY(-8px);
}

.gc-benefit-card i {
    font-size: 38px;
    color: #1E88C8;
    margin-bottom: 15px;
}

/* CAROUSEL */
.gc-carousel {
    overflow: hidden;
    margin: 40px 0 80px;
}

.gc-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: in-scroll 25s linear infinite;
}

@keyframes in-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.gc-provider-card {
    min-width: 220px;
    height: 120px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.gc-provider-card img {
    max-width: 140px;
}

/* CTA */
.gc-cta {
    text-align: center;
    padding: 70px;
    border-radius: 22px;
    background: linear-gradient(135deg,#0A2540,#1E88C8);
    color: white;
}

.gc-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    background: white;
    color: #0A2540;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .gc-benefits {
        grid-template-columns: 1fr;
    }

    .gc-hero h1 {
        font-size: 38px;
    }

    .gc-hero p {
        font-size: 18px;
    }

    .gc-intro h2 {
        font-size: 30px;
    }

    .gc-cta {
        padding: 50px 25px;
    }
}

@media (max-width: 768px) {
    .gc-content {
        padding: 60px 5%;
    }

    .gc-hero {
        height: 45vh;
        padding: 20px;
    }

    .gc-hero h1 {
        font-size: 30px;
    }

    .gc-hero p {
        font-size: 16px;
    }

    .gc-intro h2 {
        font-size: 26px;
    }

    .gc-provider-card {
        min-width: 160px;
        height: 90px;
    }

    .gc-provider-card img {
        max-width: 100px;
    }
}
/* SECTION HEADINGS */
.li-benefit-card,
.st-benefit-card,
.ma-benefit-card,
.gc-benefit-card,
.ep-benefit-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    text-align: center;
    border-radius: 18px;
    transition: 0.3s;
}

.li-benefit-card:hover,
.st-benefit-card:hover,
.ma-benefit-card:hover,
.gc-benefit-card:hover,
.ep-benefit-card:hover {
    transform: translateY(-8px);
}
.li-intro h2,
.st-intro h2,
.ma-intro h2,
.gc-intro h2,
.ep-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1f4e79, #4a90e2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}
/*Frequently Asked Questions page */
/* CONTAINER */
/* CONTAINER WITH BACKGROUND */
.faq-container {
    padding: 100px 8%;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;

    background: 
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)),
        url('https://images.unsplash.com/photo-1513530534585-c7b1394c6d51?q=80&w=1171&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* HEADING */
.faq-heading {
  font-family:'Playfair';
    font-size: 42px;
    text-align: center;
    margin-bottom: 10px;
    color: silver;
}

.faq-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    font-size: 18px;
    color: #ddd;
}

/* TABS */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
    gap: 10px;
}

.faq-tab {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.faq-tab.active,
.faq-tab:hover {
    background: silver;
    color: #0a2540;
}

/* PANELS */
.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-panel {
    display: none;
}

.faq-panel.active {
    display: block;
}

/* FAQ ITEMS */
.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    color: silver;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    font-size: 24px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 30px;
    font-size: 16px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 20px 30px;
    max-height: 300px;
}