html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #fbfaf6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.5s, filter 0.5s;
}

body.page-loaded {
  opacity: 1;
  filter: blur(0);
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}



/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* About Section */
.about-card {
  max-width: 700px;
  background: 
    radial-gradient(circle at 20% 80%, rgba(244, 210, 124, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(203, 69, 89, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(121, 160, 192, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #fdfdfd 100%);
  margin: 0 auto 2rem auto;
  border-radius: 32px;
  box-shadow: 
    0 24px 48px rgba(0,0,0,0.06),
    0 12px 24px rgba(0,0,0,0.04),
    0 6px 12px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(244, 210, 124, 0.8) 0%, 
    rgba(203, 69, 89, 0.8) 50%, 
    rgba(121, 160, 192, 0.8) 100%);
  border-radius: 32px;
  z-index: -1;
  filter: blur(40px);
  transform: scale(1.1);
  opacity: 0.3;
}

.about-card .card-body {
  position: relative;
  z-index: 1;
}

.about-logo {
  max-width: 120px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.about-title {
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 2rem;
}

.about-divider {
  border-top: 2px solid #c7b198;
}

.about-text {
  font-size: 1.15rem;
  color: #222;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8), 0 1px 4px rgba(255, 255, 255, 0.6);
}

/* Founder Biography Sections */
.founder-link {
  font-weight: 600;
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.founder-link:hover {
  color: #0056b3;
}

.founder-bio {
  max-width: 800px;
  background: 
    radial-gradient(circle at 20% 80%, rgba(244, 210, 124, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(203, 69, 89, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(121, 160, 192, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #fdfdfd 100%);
  margin: 2rem auto;
  padding: 3rem;
  border-radius: 32px;
  box-shadow: 
    0 24px 48px rgba(0,0,0,0.06),
    0 12px 24px rgba(0,0,0,0.04),
    0 6px 12px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.founder-bio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(244, 210, 124, 0.8) 0%, 
    rgba(203, 69, 89, 0.8) 50%, 
    rgba(121, 160, 192, 0.8) 100%);
  border-radius: 32px;
  z-index: -1;
  filter: blur(40px);
  transform: scale(1.1);
  opacity: 0.3;
}

.founder-bio--reversed {
  background: 
    radial-gradient(circle at 80% 20%, rgba(121, 160, 192, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(203, 69, 89, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(244, 210, 124, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #fdfdfd 100%);
}

.founder-bio--reversed::before {
  background: linear-gradient(135deg, 
    rgba(121, 160, 192, 0.8) 0%, 
    rgba(203, 69, 89, 0.8) 50%, 
    rgba(244, 210, 124, 0.8) 100%);
}

.founder-bio .row {
  position: relative;
  z-index: 1;
}

/* Headshot Styles */
.founder-headshot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid #c7b198;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  margin: 0 auto;
}

.founder-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 50%;
  display: block;
}

/* Text Styles */
.founder-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(255, 255, 255, 0.7);
}

.founder-biography {
  font-size: 1.15rem;
  color: #222;
  line-height: 1.7;
  font-family: 'Georgia', serif;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8), 0 1px 4px rgba(255, 255, 255, 0.6);
}

/* Mobile: Picture appears first for both founders */
@media (max-width: 767px) {
  .founder-bio .row {
    display: flex;
    flex-direction: column;
  }
  
  .founder-bio .col-md-4 {
    order: 1; /* Image column comes first */
  }
  
  .founder-bio .col-md-8 {
    order: 2; /* Text column comes second */
  }
  
  /* Make text boxes span full container width on mobile */
  .founder-biography {
    margin: 0 -3rem; /* Extend beyond founder-bio card padding (3rem) */
    width: calc(100% + 6rem); /* Compensate for negative margins */
  }
  
  .founder-name {
    margin: 0 -3rem 1rem -3rem; /* Extend beyond founder-bio card padding (3rem) */
    width: calc(100% + 6rem); /* Compensate for negative margins */
  }
  
  .about-text {
    margin: 0 -1.5rem; /* Extend beyond card body padding */
    width: calc(100% + 3rem); /* Compensate for negative margins */
  }
}

/* Monsico Music About Section Styles */
.about-card {
  max-width: 700px;
  background: 
    radial-gradient(circle at 20% 80%, rgba(244, 210, 124, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(203, 69, 89, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(121, 160, 192, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #fdfdfd 100%);
  margin: 0 auto 2rem auto; /* Reduced bottom margin for tighter footer spacing */
  border-radius: 32px;
  box-shadow: 
    0 24px 48px rgba(0,0,0,0.06),
    0 12px 24px rgba(0,0,0,0.04),
    0 6px 12px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(244, 210, 124, 0.8) 0%, 
    rgba(203, 69, 89, 0.8) 50%, 
    rgba(121, 160, 192, 0.8) 100%);
  border-radius: 32px;
  z-index: -1;
  filter: blur(40px);
  transform: scale(1.1);
  opacity: 0.3;
}

/* Ensure content is above pseudo-elements */
.about-card .card-body {
  position: relative;
  z-index: 1;
}
.about-logo {
  max-width: 120px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.about-title {
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 2rem;
}
.about-divider {
  border-top: 2px solid #c7b198;
}
.about-text {
  font-size: 1.15rem;
  color: #222;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8), 0 1px 4px rgba(255, 255, 255, 0.6);
}
.about-founder {
  font-weight: 600;
  color: #007bff;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #fbfaf6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.5s, filter 0.5s;
}

body.page-loaded {
  opacity: 1;
  filter: blur(0);
}

/* When nav is open on mobile, pause heavy animations and reduce effects */
body.nav-open .images-slider {
  animation-play-state: paused !important;
}
body.nav-open .highlight-text {
  transition: none;
}
@media (max-width: 991px) {
  body.nav-open {
    filter: none; /* avoid GPU-heavy blur while menu open */
  }
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

.monsico {
  /* Keep only tracking on wrapper; move title sizing to .brand-title */
  letter-spacing: 1px;
}

/* Nav links: size + jump */
.navbar-nav {
  gap: 1rem; /* equal spacing between items */
}

.navbar-nav .nav-link {
  font-size: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  margin: 0; /* use flex gap instead of per-link margins */
  transition: transform 0.2s cubic-bezier(.4,2,.6,1), color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  transform: translateY(-5px);
  color: #f4d27c;
}

.image-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  /* Scale with viewport to avoid leaving the image on extreme zoom */
  font-size: clamp(1.2rem, 5vmin, 2.8rem);
  font-weight: bold;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transform: translate(-50%, 10%);
  animation: slideUpText 1s cubic-bezier(.4,2,.6,1) 0.5s forwards;
  background: rgba(0,0,0,0.35);
  padding: 0.5em 1em;
  border-radius: 0.5em;
  display: inline-block;
  max-width: min(90%, calc(100% - 24px));
  max-height: calc(100% - 24px);
  overflow: hidden; /* ensure background box doesn't exceed the image area */
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .image-overlay-text {
    /* Keep scaling on mobile too, but cap a bit lower */
    font-size: clamp(1rem, 4.5vmin, 1.6rem);
    padding: 0.4em 0.5em;
    width: 98%;
  }
}

/* If the viewport height is very small (e.g., zoomed out), scale down and tighten padding */
@media (max-height: 600px) {
  .image-overlay-text {
    font-size: clamp(1rem, 4vmin, 2.2rem);
    padding: 0.35em 0.6em;
  max-width: min(92%, calc(100% - 16px));
  max-height: calc(100% - 16px);
  }
}

@keyframes slideUpText {
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.container-lg {
  position: relative;
}

/* Make navbar taller */
.navbar {
  min-height: 80px;         /* Increase as needed */
  padding-top: 2rem;        /* Increased from 1rem to 2rem for more top space */
  padding-bottom: 1rem;
}

/* Brand wrapper */
.navbar-brand {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: transform 0.2s cubic-bezier(.4,2,.6,1);
}

/* Brand logo image */
.navbar-brand .brand-logo {
  object-fit: contain;
  border-radius: 50%;
}

/* Add jump effect to navbar brand on hover */
.navbar-brand:hover {
  transform: translateY(-5px);  /* Jump up by 5px on hover */
}

/* Brand title sizing */
.navbar-brand .brand-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 576px) {
  .navbar-brand .brand-title {
    font-size: 1.5rem;
  }
}

/* Style the Contact Us button with golden background */
.navbar-nav .nav-item:last-child .nav-link {
  background-color: #f4d27c;
  color: #080704 !important;
  border-radius: 30px;
  padding: 0.75rem 0.75rem;  /* Match the padding of other nav links exactly */
  margin: 0;                 /* Rely on flex gap for spacing */
  font-weight: bold;
  transition: all 0.3s ease;
}

.navbar-nav .nav-item:last-child .nav-link:hover {
  background-color: #f0c665;
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(244, 210, 124, 0.4);
}

/* Mobile adjustments for Contact Us button */
@media (max-width: 991px) {
  .navbar-nav {
  gap: 0.75rem;        /* slightly tighter spacing between items on mobile */
    text-align: center;     /* Center all nav items */
  }
  
  .navbar-nav .nav-item .nav-link {
    text-align: center;     /* Center text in all nav links */
    width: fit-content;     /* Make all nav items same width behavior */
  margin: 0 auto;         /* Center each nav item */
  padding-top: 0.6rem;    /* slightly reduce vertical padding on mobile */
  padding-bottom: 0.6rem;
  }
  
  .navbar-nav .nav-item:last-child .nav-link {
  margin: 0.25rem auto 0 auto; /* slightly less extra space above CTA */
  padding: 0.6rem 0.75rem;     /* align with reduced vertical padding */
  }
  
  .navbar-nav .nav-item:last-child .nav-link:hover {
    transform: none;
  }
  
  /* Style the hamburger menu icon */
  .navbar-toggler {
    background-color: #f4d27c !important;
    border: 1px solid #f4d27c !important;
    border-radius: 8px;
    padding: 0.5rem;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
}

.full-width-img-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.full-width-img {
  width: 100%;
  height: auto;           /* Let height adjust to maintain aspect ratio */
  max-height: 600px;      /* Limit maximum height */
  min-height: 300px;      /* Ensure minimum height */
  object-fit: cover;      /* Fill the container completely */
  object-position: center;
  display: block;
  margin: 0 auto;
  border-radius: 0;       /* Or .5rem if you want rounded corners */
  max-width: 100%;
  
  /* Artistic border that stays with the image */
  border: 4px solid;
  border-image: linear-gradient(45deg, #f4d37f, #cb4559, #79a0c0, #f4d37f) 1;
  box-shadow: 
    0 0 15px rgba(244, 211, 127, 0.4),
    0 0 30px rgba(203, 69, 89, 0.2);
  box-sizing: border-box;
}

@media (max-width: 500px) {
  .full-width-img-section {
    margin: 0;        /* Extend beyond container for wider appearance */
    overflow: hidden;       /* Ensure clean edges */
  }
  
  .full-width-img {
    max-height: none;       /* No cap so the full image can show */
    min-height: 0;          /* Override desktop min-height */
    object-fit: cover;      /* Fill the container completely */
    object-position: center;
    
    /* Thinner border for mobile while maintaining the artistic effect */
    border: 3px solid;
    border-image: linear-gradient(45deg, #f4d37f, #cb4559, #79a0c0, #f4d37f) 1;
    box-shadow: 
      0 0 10px rgba(244, 211, 127, 0.3),
      0 0 20px rgba(203, 69, 89, 0.15);
    box-sizing: border-box;
  }
}


.highlight-block {
  background: 
    radial-gradient(circle at 20% 80%, rgba(244, 210, 124, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(203, 69, 89, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(121, 160, 192, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #fdfdfd 100%);
  min-height: 300px;
  max-width: 900px;
  margin: 4rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  border-radius: 32px;
  box-shadow: 
    0 24px 48px rgba(0,0,0,0.06),
    0 12px 24px rgba(0,0,0,0.04),
    0 6px 12px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.highlight-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(244, 210, 124, 0.8) 0%, 
    rgba(203, 69, 89, 0.8) 50%, 
    rgba(121, 160, 192, 0.8) 100%);
  border-radius: 32px;
  z-index: -1;
  filter: blur(40px);
  transform: scale(1.1);
  opacity: 0.3;
}

.highlight-block::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(244, 210, 124, 0.05) 60deg,
    transparent 120deg,
    rgba(203, 69, 89, 0.05) 180deg,
    transparent 240deg,
    rgba(121, 160, 192, 0.05) 300deg,
    transparent 360deg
  );
  animation: rotate 20s linear infinite;
  z-index: 0;
}

.highlight-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.highlight-text {
  font-size: clamp(1.4rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #1a202c;
  margin: 0;
  text-align: center;
  letter-spacing: -0.5px;
  text-shadow: 
    0 2px 4px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(255, 255, 255, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.highlight-text.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #79a0c0;
  border-radius: 2px;
}

/* Make highlight block and text responsive on small screens */
@media (max-width: 768px) {
  .highlight-block {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
    min-height: 200px;
  }
}

@media (max-width: 576px) {
  .highlight-block {
    margin: 1.5rem 0.5rem;
    padding: 1.5rem 1rem;
    min-height: 150px;
  }
  .highlight-content {
    max-width: 95vw;
  }
  .highlight-text {
    font-size: 1.2rem;
  }
}

/* Contact form section background */
.contact-form-section {
  background-color: #f4d27c;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.contact-form-section h2 {
  color: #080704;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: bold;
}

.contact-form-section p {
  color: #080704;
  font-weight: 500;
}

/* Services section */
.services-section {
  background: 
    radial-gradient(circle at 20% 80%, rgba(244, 210, 124, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(203, 69, 89, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(121, 160, 192, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #fdfdfd 100%);
  max-width: 900px;
  margin: 4rem auto;
  padding: 4rem 3rem;
  border-radius: 32px;
  box-shadow: 
    0 24px 48px rgba(0,0,0,0.06),
    0 12px 24px rgba(0,0,0,0.04),
    0 6px 12px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
  text-align: center;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(244, 210, 124, 0.8) 0%, 
    rgba(203, 69, 89, 0.8) 50%, 
    rgba(121, 160, 192, 0.8) 100%);
  border-radius: 32px;
  z-index: -1;
  filter: blur(40px);
  transform: scale(1.1);
  opacity: 0.3;
}

.services-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(244, 210, 124, 0.05) 60deg,
    transparent 120deg,
    rgba(203, 69, 89, 0.05) 180deg,
    transparent 240deg,
    rgba(121, 160, 192, 0.05) 300deg,
    transparent 360deg
  );
  animation: rotate 20s linear infinite;
  z-index: 0;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.services-section > * {
  position: relative;
  z-index: 1;
}

.services-section h2 {
  color: #1a202c;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 800;
  font-size: 2.8rem;
  letter-spacing: -0.8px;
  position: relative;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-section h2::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #f4d27c, #cb4559, #79a0c0);
  border-radius: 2px;
}

.services-section h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, #79a0c0, #cb4559, #f4d27c);
  border-radius: 1px;
}

.services-section p {
  color: #4a5568;
  font-size: 1.5rem;   /* match service item text */
  font-weight: 400;
  line-height: 1.5;    /* match service item line-height */
  margin-bottom: 3rem;
  text-align: center;
  max-width: 600px;     /* match service card width */
  margin-left: auto;
  margin-right: auto;
}

.services-section ul {
  list-style: none;
  padding: 0;
  margin: 3rem auto;
  display: grid;
  gap: 2rem;
  max-width: 700px;
  justify-items: center;
}

.services-section li {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  color: #2d3748;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  border: 1px solid rgba(255,255,255,0.3);
  border-top: 4px solid;
  text-align: center;
  width: 100%;
  max-width: 600px;
  /* Slightly larger text without changing box size */
  font-size: 1.3rem;
  line-height: 1.55;
}

.services-section li:nth-child(1) {
  border-top-color: #f4d27c;
}

.services-section li:nth-child(2) {
  border-top-color: #cb4559;
}

.services-section li:nth-child(3) {
  border-top-color: #79a0c0;
}

.services-section li:nth-child(4) {
  border-top-color: #f4d27c;
}

.services-section li:nth-child(5) {
  border-top-color: #cb4559;
}

.services-section li:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 32px 64px rgba(0,0,0,0.12),
    0 16px 32px rgba(0,0,0,0.08);
}

.services-section li strong {
  font-size: 1.6rem; /* slightly bigger */
  color: #1a202c;
  font-weight: 700;
  display: block;
  margin-bottom: 0.6rem; /* tighten to keep card height similar */
  letter-spacing: -0.3px;
}

.services-section .contact-link {
  color: #cb4559;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  display: inline-block;
}

.services-section .contact-link:hover {
  color: #79a0c0;
  border-bottom-color: #79a0c0;
  text-decoration: none;
  transform: translateY(-5px);
}

/* Responsive adjustments for services section */
@media (max-width: 768px) {
  .services-section {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
  }
  
  .services-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .services-section {
    margin: 1.5rem 0.5rem;
    padding: 1.5rem 1rem;
  }
  
  .services-section h2 {
    font-size: 1.8rem;
  }
  
  .services-section p {
    font-size: 1rem;   /* slightly smaller than highlight/hero on mobile */
    line-height: 1.55;
  }

  /* Make service items slightly smaller on mobile */
  .services-section li {
    font-size: 1rem;
    line-height: 1.55;
    padding: 1.25rem 1.25rem; /* reduce inner space to avoid empty look */
  }

  .services-section li strong {
    font-size: 1.3rem;
    margin-bottom: 0.5rem; /* slightly tighter */
  }

  /* Tighter spacing between cards on mobile */
  .services-section ul {
    gap: 1.25rem;
    margin: 2rem auto;
  }
}

/* Image Slider Styles */
.images-slider-section {
  width: 100%;
  overflow: hidden;
  background: #f8f9fa;
  padding: 3rem 0;
  position: relative;
}

.images-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.images-slider {
  display: flex;
  animation: slideLeftSeamless 90s linear infinite !important;
  width: calc(200% + 2rem); /* Double width to accommodate duplicated images */
  gap: 1.5rem;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.slider-img {
  height: 300px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.slider-img:hover {
  transform: scale(1.05);
}

/* Removed redundant .images-slider::after */

@keyframes slideLeftSeamless {
  0% {
    transform: translateX(calc(-1 * var(--seamless-distance, 100%)));
  }
  100% {
    transform: translateX(0);
  }
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
  .slider-img {
    height: 220px;
  }
  
  .images-slider-section {
    padding: 2rem 0;
  }
  
  .images-slider {
    gap: 1rem;
    animation: slideLeftSeamless 60s linear infinite !important;
  }
}

@media (max-width: 480px) {
  .slider-img {
    height: 180px;
  }
  
  .images-slider-section {
    padding: 1.5rem 0;
  }
  
  .images-slider {
    gap: 0.75rem;
    animation: slideLeftSeamless 45s linear infinite !important;
  }
}

/* Social media icons */
.social-icon-instagram {
  font-size: 1.5rem;
  color: #E4405F;
}


