@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Quicksand', sans-serif;
  letter-spacing: 0.025em;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background-color: #FEFDFB;
  position: relative;
}

/* Eggshell White Background */
.luxury-background {
  min-height: 100vh;
  background-color: #FEFDFB;
  position: relative;
}

.metallic-text-silver {
  color: #f5f5f7;
  text-shadow: 0px 1px 2px rgba(0,0,0,0.3);
}

.metallic-text-blue {
  color: #BBAE9B;
  text-shadow: 0px 1px 2px rgba(0,0,0,0.3);
}

/* Custom metallic border effect */
.metallic-border {
  border: 1px solid;
  border-image: linear-gradient(135deg, rgba(245,245,247,0.5), rgba(176,212,232,0.5)) 1;
}

/* Sharp corners override */
.rounded-none {
  border-radius: 0 !important;
}

/* High contrast links */
a {
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -80px;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
  will-change: transform;
  margin-top: 0;
}

.hero > div {
  position: relative;
  z-index: 10;
}

/* Simple Hero (no scroll expansion) */
.simple-hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: -80px;
  padding-top: 80px;
  overflow: hidden;
  background-color: #FEFDFB;
}

.simple-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.simple-hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.simple-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.simple-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  text-align: center;
}

.simple-hero-title-first,
.simple-hero-title-second {
  font-size: 2.5rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.2;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 20%, #404040 40%, #808080 60%, #c0c0c0 80%, #000000 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px rgba(192, 192, 192, 0.3);
  animation: holographic-shimmer 3s ease-in-out infinite;
}

.simple-hero-price {
  font-size: 1.25rem;
  margin: 1rem 0;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 20%, #404040 40%, #808080 60%, #c0c0c0 80%, #000000 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  animation: holographic-shimmer 3s ease-in-out infinite;
}

.simple-hero-cta {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: bold;
  background-color: #BBAE9B;
  color: #000000;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.simple-hero-cta:hover {
  background-color: #ffffff;
}

@keyframes holographic-shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (min-width: 768px) {
  .simple-hero-title-first,
  .simple-hero-title-second {
    font-size: 3.75rem;
  }
  .simple-hero-price {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .simple-hero-title-first,
  .simple-hero-title-second {
    font-size: 4.5rem;
  }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #BBAE9B;
  color: #ffffff;
  padding: 1rem 2rem;
  border: 2px solid #BBAE9B;
}

.btn-primary:hover {
  background: #ffffff;
  color: #BBAE9B;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(187, 174, 155, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #BBAE9B;
  border: 2px solid #BBAE9B;
}

.btn-secondary:hover {
  background: #BBAE9B;
  color: #1a1a1c;
}

.btn-secondary-reverse {
  background: #ffffff;
  color: #BBAE9B;
  border: 2px solid #BBAE9B;
  padding: 1rem 2rem;
}

.btn-secondary-reverse:hover {
  background: #BBAE9B;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(187, 174, 155, 0.5);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* Services Section */
.services-preview {
  padding: 3rem 1rem;
  margin-bottom: 4rem;
}

.services-layout {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.services-title-column {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  align-self: stretch;
}

.services-title {
  font-size: 1.75rem;
  font-weight: 700;
  white-space: nowrap;
  margin: 0;
}

.services-vertical-line {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, #BBAE9B, transparent);
  flex-shrink: 0;
}

.services-grid-column {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-menu-item {
  padding: 1rem 0;
}

.service-menu-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.service-menu-description {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 968px) {
  .services-grid-column {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .services-preview {
    padding: 2rem 1rem;
    margin-bottom: 3rem;
  }
  
  .services-layout {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .services-title-column {
    flex-direction: row;
    width: 100%;
    align-self: flex-start;
  }
  
  .services-vertical-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #BBAE9B, transparent);
    min-height: auto;
  }
  
  .services-title {
    font-size: 1.5rem;
  }
  
  .services-grid-column {
    width: 100%;
    gap: 1rem;
  }
  
  .service-menu-item {
    padding: 0.75rem 0;
  }
}

.services-preview h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: 700;
  color: #f5f5f7;
}

@media (min-width: 768px) {
  .services-preview h2 {
    font-size: 2.5rem;
  }
}

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

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 1.5rem 0;
  border-top: 2px solid #BBAE9B;
  text-align: left;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #f5f5f7;
  font-weight: 700;
}

.service-card p {
  color: #d1d5db;
}

/* Services Detail Page */
.services-detail {
  padding: 3rem 1rem;
  position: relative;
}

.services-detail-with-background {
  padding: 4rem 1rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.services-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/img/why-vionis-pic.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  opacity: 0.5;
}

.services-detail-with-background .container {
  position: relative;
  z-index: 1;
}

.services-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.packages-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-column-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(254, 253, 251, 0.9);
  border: 1px solid rgba(187, 174, 155, 0.2);
}

.package-column-item {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  background: rgba(254, 253, 251, 0.9);
  border: 1px solid rgba(187, 174, 155, 0.2);
  min-height: 600px;
}

.service-icon-large {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: auto;
}

.service-detail-content h2 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: #000000;
  font-weight: 700;
  line-height: 1.3;
}

.service-detail-content p {
  color: #000000;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Pricing Toggle Switch */
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

#pricingToggle:checked + .toggle-slider {
  background-color: #BBAE9B;
}

#pricingToggle:checked + .toggle-slider:before {
  transform: translateX(30px);
}

@media (max-width: 968px) {
  .services-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .packages-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .monthly-plans-wrapper {
    grid-column: 1 / 3 !important;
  }
  
  .packages-plans-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .services-columns-grid {
    grid-template-columns: 1fr;
  }
  
  .packages-columns-grid {
    grid-template-columns: 1fr;
  }
  
  .monthly-plans-wrapper {
    grid-column: 1 !important;
  }
}

.service-button-wrapper {
  margin-top: auto;
  padding-top: 1rem;
}

/* CTA Section */
.cta-section {
  background: transparent;
  color: #000000;
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
}

.cta-section-grey {
  background-color: #d0d0d0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 4rem 1rem;
}

.cta-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #000000;
  font-weight: 700;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 2rem;
  }
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #000000;
}

/* Page Header */
.page-header {
  background: transparent;
  color: #000000;
  text-align: center;
  padding: 4rem 1rem 2rem;
  position: relative;
}

.page-header-with-background {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -80px;
  padding: 6rem 1rem 3rem;
  overflow: hidden;
}

.about-header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('/assets/img/about3.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.7;
  will-change: transform;
}

.page-header-with-background .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #000000;
  font-weight: 700;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
}

.page-header p {
  font-size: 1.125rem;
  color: #000000;
}

/* Divider */
.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #BBAE9B, transparent);
  margin: 5rem 0;
}

/* About Page */
.about-content {
  padding: 3rem 1rem;
}

.about-text-simple {
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.about-text-simple h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #000000;
  font-weight: 700;
}

.about-text-simple p {
  color: #000000;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.values-blog-section {
  margin: 4rem 0;
}

.values-blog-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.values-blog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.values-blog-image-left,
.values-blog-image-right {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0;
}

.values-blog-text-right,
.values-blog-text-left {
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .values-blog-row {
    grid-template-columns: 1fr;
  }
  
  .values-blog-image-left,
  .values-blog-image-right {
    height: 300px;
  }
}

.placeholder-image {
  background: rgba(176, 212, 232, 0.1);
  border: 1px solid rgba(176, 212, 232, 0.3);
  border-radius: 0;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

/* Video Background Styles */
.video-background-container {
  position: relative;
  height: 300px;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(176, 212, 232, 0.3);
  border-radius: 0;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(254, 253, 251, 0.6);
  z-index: 1;
}

/* Page Header with Video */
.page-header-with-video {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -80px;
  padding: 6rem 1rem 3rem;
  min-height: 400px;
}

.page-header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(254, 253, 251, 0.4);
  z-index: 1;
}

.page-header-with-video .container {
  position: relative;
  z-index: 2;
}

/* Contact Form Video Background */
.contact-form-container {
  position: relative;
  padding: 1.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
}

.contact-form-content {
  position: relative;
  z-index: 2;
}

.contact-message-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact-message-section {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.contact-form-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.values-section {
  padding: 2rem 0;
}

.values-section h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: #000000;
  font-weight: 700;
}

@media (min-width: 768px) {
  .values-section h2 {
    font-size: 2rem;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.value-card {
  padding: 1.5rem;
  background: transparent;
  border: 1px solid rgba(187, 174, 155, 0.2);
  border-radius: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card .value-icon {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  flex-shrink: 0;
  flex-grow: 0;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.5rem auto;
  filter: none;
  opacity: 1;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #000000;
  font-weight: 700;
}

.value-card p {
  color: #000000;
  font-size: 0.9rem;
}

/* Contact Page */
.contact-content {
  padding: 3rem 1rem;
}

.contact-info-centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info-centered h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #000000;
  font-weight: 700;
}

.contact-info-centered > p {
  color: #000000;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-item h3 {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: #000000;
  font-weight: 700;
  text-align: center;
}

.contact-item {
  text-align: center;
}

.contact-item p {
  color: #000000;
  font-size: 0.9rem;
  text-align: center;
}

.contact-item .flex {
  justify-content: center;
}

.contact-item a {
  color: #BBAE9B;
  text-decoration: none;
}

.contact-item a:hover {
  color: #000000;
  text-decoration: underline;
}

/* Contact Form */
.contact-form-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #000000;
  font-weight: 700;
}

.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #000000;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  accent-color: #BBAE9B;
  cursor: pointer;
}

.checkbox-text {
  flex: 1;
}

.form-note {
  color: #000000;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(187, 174, 155, 0.1);
  border-left: 4px solid #BBAE9B;
  border-radius: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #000000;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 0.65rem;
  border: 1px solid rgba(187, 174, 155, 0.3);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  background: #ffffff;
  color: #000000;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #BBAE9B;
}

/* Footer transition blend */
.footer-transition {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
}

/* FAQ accordion transitions */
.faq-content {
  transition: all 0.3s ease-out;
}

.faq-toggle.active i {
  transform: rotate(180deg);
}

/* Infinite Horizontal Image Scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile-specific animation for seamless looping */
@keyframes scroll-mobile {
  0% {
    transform: translateX(0);
  }
  100% {
    /* With 3 sets of 6 images (18 total), move exactly 1/3 to loop seamlessly */
    transform: translateX(-33.333%);
  }
}

/* Hide third set of images on desktop (they're only for mobile seamless loop) */
.image-scroll-item-mobile-duplicate {
  display: none;
}

/* Why Vionis Parallax Section */
.why-vionis-section {
  width: 100%;
  position: relative;
}

/* Responsive */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
  }
  
  .hero {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .hero video {
    width: 100% !important;
    left: 0 !important;
  }
  
  /* Prevent horizontal scroll on all full-width sections */
  .why-vionis-section,
  .page-header-with-background,
  .services-detail-with-background {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden;
  }
  
  /* Ensure image scroll container doesn't cause overflow */
  .image-scroll-container {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Fix image scroll on mobile - make images smaller and speed up animation */
  .image-scroll-container .image-scroll-item {
    width: 250px !important;
    height: 150px !important;
    margin-right: 0.75rem !important;
  }
  
  /* Show third set on mobile and use mobile-specific animation */
  .image-scroll-item-mobile-duplicate {
    display: block !important;
  }
  
  /* Use mobile-specific animation that moves 1/3 (since we have 3 sets of 6 = 18 total) */
  .image-scroll-wrapper {
    animation: scroll-mobile 10s linear infinite !important;
    will-change: transform;
  }
  
  .service-detail-card {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem !important;
    padding: 0 1rem;
  }

  .hero-description {
    font-size: 1rem !important;
    padding: 0 1rem;
  }

  .services-preview {
    padding: 3rem 0.5rem !important;
  }

  .services-preview h2 {
    font-size: 1.75rem !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .page-header {
    padding: 6rem 1rem 3rem !important;
  }

  .page-header h1 {
    font-size: 2rem !important;
  }

  .container {
    padding: 0 1rem !important;
  }

  .footer-transition {
    height: 100px !important;
  }

  .nav-container {
    padding: 0.6rem 1rem !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem !important;
  }

  .services-preview h2,
  .page-header h1,
  .cta-section h2 {
    font-size: 1.5rem !important;
  }

  .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
}
