/* Modern CSS for Authentic Pilates Website */

/* ========== ANIMATIONS ========== */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInFromLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromTop {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInFromBottom {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes gradientBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========== RESET & BASE STYLES ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* original */
  /* --primary-color: #32b9a0; */
  /* --secondary-color: #2d9d88; */
  --primary-color: #5c724a;
  --secondary-color: rgba(163,182,138,0.4);
  --secondary2-color: rgba(163,182,138,0.1);

  /* possible barre colors */
  /* --primary-color: #f65026; */
  /* --primary-color: #fc3d39; */
  /* --primary-color: #F94D00 */

  --text-color: #333;
  --light-text: #fff;
  --dark-bg: #fff;
  --accent-bg: #f9fcfc;
  --gradient-bg: linear-gradient(135deg, #32b9a0, #e8f7f5);
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.3s ease;
  --font-primary: 'Montserrat', sans-serif, 400;
  --font-english: 'Gowun Dodum', sans-serif;
  --font-korean: 'Pretendard', sans-serif;
  --primary-color2: #FAF1E6;
  --secondary-color2: #FDFAF6;
  --secondary-second2: #E4EFE7;
  --text2-color: #99BC85;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-korean);
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  /* background-color: #fafafa; */
  /* background-color: #FAF1E6; */
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.8em;
  font-weight: 400;
  line-height: 1.3;
  font-family: var(--font-korean);
  text-wrap: pretty;
}

h1 {
  font-size: 3rem;
  font-style: none;
  font-family: var(--font-korean);
  font-weight: 400;
}

h2 {
  font-size: 2.2rem;
  font-style: none;
  font-weight: 400;
  font-family: var(--font-korean);
}

h3 {
  font-size: 1.8rem;
  font-style: none;
  font-weight: 400;
  font-family: var(--font-korean);
}

h4 {
  font-size: 1.5rem;
  font-style: none;
  font-weight: 400;
  font-family: var(--font-korean);
}

p {
  margin-bottom: 1.5em;
  font-size: 1.1rem;
  font-family: var(--font-korean);
  text-wrap: pretty;
}

.section-title-korean {
  position: relative;
  margin-bottom: 2rem;
  font-weight: 500;
  letter-spacing: 2px;
  font-family: var(--font-korean);
}

.section-title-english {
  position: relative;
  margin-bottom: 2rem;
  font-weight: 500;
  letter-spacing: 2px;
  font-family: var(--font-english);
}

.english{
  font-family: var(--font-english);
  font-weight: 400;
}

.nowrap{
    white-space: nowrap;
}

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

/* .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100px;
  height: 3px;
  background: var(--text2-color);
  background: var(--primary-color);
} */

/* ========== LAYOUT ========== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;
  align-items: center;
}

.col {
  flex: 1;
  padding: 0 20px;
  min-width: 300px;
}

.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}



/* Button Styles */

.btn-primary, .btn-secondary, .btn-danger {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 6px;
    transition: all 0.15s ease-in-out;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);

}
.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    color: #6c757d;
    background-color: #fff;
    border: 1px solid #ced4da;
}

.btn-secondary:hover {
    color: #495057;
    background-color: #f8f9fa;
    border-color: #cbd3da;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border: 1px solid #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}


/* ========== HEADER & NAVIGATION ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition-slow);
  background-color: white;
  /* background-color: var(--secondary-color2); */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-family: var(--font-korean);
}

.header.scrolled {
  background-color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  margin-right: 15px;
  transition: var(--transition-fast);
}

.logo-text {
  font-family: var(--font-english);
  font-size: 1rem;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}


.nav-link {
  font-family: var(--font-korean);
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
  display: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  /* background-image: url('pilatescenter1.jpg'); */
  /* background-size: cover; */
  /* background-position: center; */
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-korean);
  color: var(--light-text);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1; /* Places image behind content */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(50, 185, 160, 0.2)); */
  background: rgba(0,0,0,0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-english);
  font-size: 4.5rem;
  font-weight: 400;
  letter-spacing: 10px;
  margin-bottom: 0.2em;
  opacity: 0;
  animation: slideInFromTop 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.hero-subtitle {
  font-family: var(--font-english);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 5px;
  opacity: 0;
  animation: slideInFromBottom 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

/* ========== VISION SECTION ========== */
.vision {
  display: flex;
  justify-content: center; 
  align-items: center;     
  height:100vh;
  padding: 8rem 0;
  overflow: hidden;
  align-items: center;
}

.vimg{
    max-width: 100%;
    height: auto;
    transition: var(--transition-slow);
    transform: scale(1.01);
}


.vision-heading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vision h2 {
  font-family: var(--font-english);
  color: var(--primary-color);
  font-weight: 400;
  text-align: right;
  font-size: 3.5rem;
  margin: 2rem 0;
}
.vision h4{
  font-weight: 400;
  font-family: var(--font-english);
  font-style: none;
  font-size: 1.1rem;
  text-align: right;
  color: var(--primary-color);
}

.vision-subtitle {
  font-family: var(--font-korean);
  /* color: var(--primary-color); */
  color: var(--text2-color);
  text-align: right;
  margin-bottom: 2rem;
}

.vision-text {
  font-family: var(--font-korean);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: right;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  min-height:100vh;
  height: auto;
  padding: 8rem 0;
  /* background-color: var(--secondary-color); */
  /* overflow: hidden; */
  text-align: center;
}

.testimonials h2 {
  font-family: var(--font-english);
  color: var(--primary-color);
  font-weight: 400;
  text-align: center;
  font-size: 3.5rem;
  margin: 2rem 0;
}


.testimonial-slider {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  padding: 2.5rem;
  border-radius: 15px;
  background-color: white;
  color: var(--text-color);
  box-shadow: var(--card-shadow);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  /* border: 1px solid rgba(67, 198, 172, 0.1); */
  border: 1px solid rgba(92,114,74,0.2);
  text-align: left;
}

.testimonial-card::before {
  content: "\201C";  /* Unicode for opening double quote */
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 5rem;
  /* color: rgba(67, 198, 172, 0.2); */
  color: rgba(92,114,74,0.2);
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  /* box-shadow: 0 15px 30px rgba(67, 198, 172, 0.2); */
  box-shadow: 0 15px 30px rgba(92,114,74,0.2);
}

.testimonial-text {
  font-family: var(--font-korean);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  color: var(--text-color);
}

.testimonial-author {
  font-family: var(--font-korean);
  color: var(--primary-color);
  /* color: var(--text2-color); */
  font-weight: 500;
  text-align: right;
  font-size: 1.1rem;
  height: auto;
}

/* ========== SERVICES SECTION ========== */
.services {
  background-color: white;
  padding: 8rem 0;
  overflow: hidden;
  min-height: 100vh; /* desktop gets full height */
}
.services .row {
  gap: 4rem; /* Adjust this value: 2rem, 3rem, 4rem, 5rem, etc. */
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.service-image {
  max-width: 100%;
  height: auto;
  transition: var(--transition-slow);
  transform: scale(1.01);
}

.service-content {
  display: flex; 
  flex-direction: column;
  text-align: left;
  overflow-y: visible;
  align-content: flex-end;
}

.services h2 {
  font-family: var(--font-english);
  color: var(--primary-color);
  font-weight: 400;
  text-align: right;
  font-size: 3.5rem;
  margin: 2rem 0;
}

.service-subtitle {
  font-family: var(--font-english);
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: right;
}

.service-highlight {
  font-family: var(--font-korean);
  color: var(--primary-color);
  text-decoration: underline;
  line-height: 1.8;
  font-weight: 400;
  margin-left: 0;      
  padding-left: 0; 
  text-align: right;
}

.service-text {
  font-family: var(--font-korean);
  color: var(--text-color);
  line-height: 1.8;
  margin-left: 0;      
  padding-left: 0; 
  text-align: right;
}



/*=========== CTA Section=========== */
.cta {
  height: 100vh;
  background-color: white;
  padding: 8rem 0;
  overflow: hidden;
}

.cta .container{
    max-width: 1400px;
}

.cta-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-image {
  max-width: 100%;
  height: auto;
  transition: var(--transition-slow);
  transform: scale(1.01);
}

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

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-style: var(--font-english);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}


/* ========== FOOTER ========== */
.footer {
  background-color: var(--secondary-color);
  color: var(--text-color);
  padding: 5rem 0 3rem;
  border-top: 1px solid rgba(67, 198, 172, 0.1);
  font-family: var(--font-korean);
}

.footer h2, .footer h4 {
  margin-bottom: 0.5rem;
  font-weight: 400;
  font-style: none;
}

.footer-info {
  list-style: none;
}

.footer-brand, .footer-address, .footer-contact {
  margin-bottom: 2rem;
}

.footer p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer i {
  margin-right: 10px;
  color: var(--primary-color);
  /* color:var(--text2-color); */
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: left;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* background-color: var(--primary-color); */
  /* background-color:var(--text2-color); */
  /* color: var(--primary-color); */
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.social-image{
    object-fit: contain;
    width: 30px;
    height: 30px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}



.social-icon:hover {
  /* background-color: var(--primary-color); */
  transform: translateY(-5px);
}

/* ========== ANIMATION CLASSES ========== */
.reveal-left, .reveal-right, .reveal-top, .reveal-bottom, .reveal-item {
  opacity: 0;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
    text-align: left;
}

.reveal-top {
  transform: translateY(-50px);
}

.reveal-bottom {
  transform: translateY(50px);
}

.reveal-item {
  transform: translateY(30px);
}

.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
  .row {
    flex-direction: column;
  }
  
  .col {
    width: 100%;
    margin-bottom: 3rem;
  }
  
  .vision-heading {
    text-align: center;
  }
  
  .vision h2, .services h2 {
    margin: 0 0 2rem 0;
  }
  
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    font-weight: 400;
  }
  
  .vision-subtitle, .vision-text, .service-content, .vision h4{
    text-align: center;
    font-weight: 400;
  }

}


@media (max-width: 830px) {

.hero {
      background-size: auto;
      background-repeat: no-repeat;
}

.vision-subtitle, .vision-text, .service-content, .vision h4, .service-subtitle, .service-text, .service-highlight {
    text-align: left;
  }


  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    width: 100%;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--dark-bg);
    align-items: center;
    gap: 0;
    height: 300px;
    overflow: hidden;
    transition: var(--transition-slow);
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
.container{
    width: 100%;
}

 .nav-links.active {
    display: block;
  }
  
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .cta{
        height: auto;
        align-items: center;
        text-align: center;
        overflow-y: visible;
    }

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

  .hero-title {
    font-size: 3rem;
    font-weight: 400;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }

    
 .cta h2 {
    font-size: 2rem;
 }
 .vision{
     height: auto;
  }

  .vision h2{
      text-align: left;
  }

  .testimonials h2{
      text-align: center;
  }

  .services {
    min-height: auto; /* let it grow with text */
    padding: 4rem 1.5rem;
  }


  .section-title {
    text-align: center
   }


@media (max-width: 576px) {
  .testimonial-card {
    min-width: 100%;
  }
  
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 5px;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 3px;
  }

  .services h2{
      width: 100%;
      text-align: left;
  }

}



/* Form Field Styling Fixes - add these to your modern_style.css file */

/* Consistent Form Controls */
.form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(50, 185, 160, 0.25);
}

textarea.form-control {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

/* Form Groups with better spacing */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-hint {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Form Check Elements (Checkboxes & Radios) */
.form-check {
    position: relative;
    display: block;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.5rem;
}

.form-check-label {
    color: #495057;
    cursor: pointer;
}

/* Button Styles */

.btn-primary, .btn-secondary, .btn-danger {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 6px;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);

}


.btn-secondary {
    color: #6c757d;
    background-color: #fff;
    border: 1px solid #ced4da;
}

.btn-secondary:hover {
    color: #495057;
    background-color: #f8f9fa;
    border-color: #cbd3da;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border: 1px solid #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Select Element Styling */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

/* Fix Date Input Styling */
input[type="date"].form-control {
    padding-right: 0.75rem;
}

/* Consistent Spacing in Form Rows */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.form-row > .form-group {
    padding-right: 10px;
    padding-left: 10px;
    flex: 1;
}

/* Fixing Checkbox Alignment */
.checkbox-container {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    display: inline-block;
    line-height: 1.5;
    color: #495057;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #f1f1f1;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Toggle Switch Improvements */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Fix for package cards */
.package-card {
    border: 1px solid #e9ecef;
}

.package-card.active {
    border: 2px solid var(--primary-color);
}

/* Fix for tables */
.payment-history-table th, 
.payment-history-table td {
    padding: 1rem;
    vertical-align: middle;
}

/* Fix for modal content */
.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Improve responsiveness on mobile */
@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row > .form-group {
        margin-right: 0;
        margin-left: 0;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary, .btn-danger {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .settings-actions {
        flex-direction: column;
    }
    
    .settings-card {
        padding: 1.25rem;
    }
  .vision-subtitle {
    font-size: 1.1rem;
    line-height: 1.8; /* give more breathing room between <br> lines */
  }
  .vision-text {
    font-size: 1rem;
    line-height: 1.7;
  }
}
