/* ==========================================================================
   #FLOATING HEADER
   ========================================================================== */

.floating-header {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.floating-header.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 0;
}

.floating-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.floating-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-light);
    text-decoration: none;
    letter-spacing: 1px;
}

.floating-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.floating-nav a {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.floating-nav a:not(.btn):hover {
    color: var(--color-accent);
}

.floating-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.floating-nav a:not(.btn):hover::after {
    width: 100%;
}

.floating-nav .btn {
    padding: 0.5rem 1.5rem;
    margin-left: 1rem;
}

/* Liquid Glass Effect */
.floating-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    filter: url('#glass-distortion');
    -webkit-filter: url('#glass-distortion');
    opacity: 0.3;
}
.preloader-message {
    transition: opacity 0.3s ease;
    opacity: 1;
}
/* Add some space at the top of the body to account for fixed header */
body.has-floating-header {
    padding-top: 80px;
}

/* ==========================================================================
   #ABOUT QUETELL LOUISE
   ========================================================================== */

.about-quetell {
    padding: 5rem 0;
    background-color: #fff;
}

.about-quetell-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.about-quetell-image {
    position: relative;
    text-align: center;
}

.about-quetell-image .profile-img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.featured-in {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.featured-in h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.publication-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.publication-logos span {
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #555;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.about-quetell-text h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin: 2rem 0 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-quetell-text h3:first-child {
    margin-top: 0;
}

.about-quetell-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
}

.about-quetell-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #444;
}

.initiatives-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.initiatives-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    color: #555;
    line-height: 1.6;
}

.initiatives-list li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--color-accent);
    font-size: 1.1rem;
}

.org-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.org-logos span {
    background: #f0f4f8;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 180px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-quetell-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-quetell-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .about-quetell {
        padding: 3rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .org-logos {
        gap: 0.6rem;
    }
    
    .org-logos span {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   #GLOBAL
   ========================================================================== */

/**
 * 1. Set default font family
 * 2. Set default font size to 16px
 * 3. Set default line height
 * 4. Set default color
 * 5. Prevent padding and border from affecting element width
 * 6. Smooth scrolling behavior
 */

:root {
  /* Colors */
  --color-primary: #000000;       /* Black as primary */
  --color-secondary: #333333;     /* Dark gray as secondary */
  --color-accent: #666666;        /* Medium gray as accent */
  --color-dark: #000000;          /* Black text color */
  --color-light: #FFFFFF;         /* White background color */
  --color-gray: #666666;          /* Medium gray text color */
  --color-light-gray: #F0F0F0;    /* Very light gray border color */
  --color-white: #FFFFFF;         /* White color */
  
  /* Fonts */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  
  /* Spacing */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 2rem;      /* 32px */
  --space-lg: 4rem;      /* 64px */
  --space-xl: 6rem;      /* 96px */
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box; /* 5 */
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%; /* 2 */
  scroll-behavior: smooth; /* 6 */
}

body {
  font-family: var(--font-primary); /* 1 */
  font-size: 1rem; /* 2 */
  line-height: 1.6; /* 3 */
  color: var(--color-dark); /* 4 */
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { 
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-gray);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 2px solid transparent;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #666666;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-white);
  border-color: #666666;
}

.btn-outline {
  background-color: transparent;
  border-color: #000000; /* Changed from white to black */
  color: #000000; /* Changed from white to black */
}

.btn-outline:hover {
  background-color: #666666;
  transform: translateY(-2px);
  color: var(--color-white);
  border-color: #666666;
}

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

.btn-block {
  display: block;
  width: 100%;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Section */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.section-subtitle {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  display: block;
}

.section-title {
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--color-gray);
  margin-top: var(--space-sm);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  padding: 0.5rem 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 0.5rem 0;
  box-shadow: none;
}

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

.logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000; /* Set logo text color to black */
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.header.scrolled .logo {
  color: var(--color-dark);
  text-shadow: none;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  border-radius: 50%;
  margin-right: 0.75rem;
  font-family: var(--font-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-item {
  margin-left: 1.25rem;
}

.nav-link {
  color: #000000; /* Black color */
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  text-decoration: none;
  border-radius: 4px;
}

.header.scrolled .nav-link {
  color: #000000; /* Keep black when scrolled */
  text-shadow: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: #000000; /* Black color for the underline */
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

.header.scrolled .nav-link::after {
  background-color: #000000; /* Black color for the underline in scrolled state */
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover {
  background: none;
}

.header.scrolled .nav-link:hover {
  background: none;
}

.nav-cta .btn {
  margin-left: 0.5rem;
  text-shadow: none;
  transition: all 0.3s ease;
}

.nav-cta .btn-primary:hover {
  background-color: #666666 !important;
  color: #ffffff !important;
  border-color: #666666 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  color: #000000;
  padding: 120px 0 80px;
  margin-top: 80px;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  background: rgba(108, 99, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
  color: #6C63FF;
  position: relative;
  display: inline-block;
}

.hero-title .highlight:after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 15px;
  background: rgba(108, 99, 255, 0.3);
  z-index: -1;
  transform: rotate(-2deg);
}

.hero-text {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.stat {
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-white);
  text-decoration: none;
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-down span {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.scroll-down i {
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* About Section */
.about-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--color-gray);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.stat-item {
  text-align: center;
  padding: var(--space-sm);
  background-color: var(--color-light);
  border-radius: var(--radius-md);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-gray);
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.years {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.experience-badge .text {
  font-size: 0.75rem;
  line-height: 1.2;
  opacity: 0.9;
}

/* Stories Section */
.stories-section {
  background-color: var(--color-light);
  padding: var(--space-xl) 0;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.story-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.story-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.story-card:hover .story-image img {
  transform: scale(1.05);
}

.story-category {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.story-content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.story-excerpt {
  color: var(--color-gray);
  margin-bottom: var(--space-sm);
  flex: 1;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-light-gray);
  margin-top: auto;
}

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

.author-image {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 0.75rem;
  object-fit: cover;
}

.read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 0.25rem;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Impact Section */
.impact-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern.png') center/cover no-repeat;
  opacity: 0.03;
  z-index: 1;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
  position: relative;
  z-index: 2;
}

.impact-item {
  text-align: center;
  padding: var(--space-md);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.impact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.impact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
}

.impact-item h3 {
  margin-bottom: var(--space-xs);
  color: var(--color-dark);
}

.impact-item p {
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Testimonials */
.testimonials-slider {
  margin-top: var(--space-xl);
  position: relative;
  z-index: 2;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-content {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-content::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 30px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-content p {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: var(--space-sm);
  object-fit: cover;
  border: 3px solid var(--color-primary);
}

.author-info h4 {
  margin-bottom: 0.25rem;
  color: var(--color-dark);
}

.author-info span {
  color: var(--color-gray);
  font-size: 0.9rem;
}

/* Tabbed Interface */
.share-container {
  display: flex;
  gap: 40px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid #e1e8ed;
  background-color: #f8fafc;
}

.tab-btn {
  padding: 18px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  position: relative;
  text-align: center;
  flex: 1;
}

.tab-btn:hover {
  color: #334155;
  background-color: #f1f5f9;
}

.tab-btn.active {
  color: #1e293b;
  border-bottom-color: #3b82f6;
  background-color: #fff;
}

.tab-content {
  display: none;
  padding: 2rem 0;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

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

/* Share Section */
.share-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, #f6f9fc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.share-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.share-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #f8f9fa;
}

.share-content h2,
.share-content h3 {
  color: var(--color-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
  font-size: 1.75rem;
  font-weight: 600;
}

.share-content p {
  margin-bottom: 1.5rem;
  color: var(--color-gray);
  line-height: 1.7;
  font-size: 1rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list i {
  color: var(--color-primary);
  margin-top: 0.35rem;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.share-form {
  background-color: var(--color-white);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.share-form h3 {
  margin-bottom: var(--space-md);
  color: var(--color-dark);
  text-align: center;
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

.checkbox-container input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  cursor: pointer;
}

.checkbox-container label {
  font-size: 0.875rem;
  color: var(--color-gray);
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.checkbox-container a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  margin: 0 0.25rem;
}

.checkbox-container a:hover {
  text-decoration: underline;
  color: var(--color-secondary);
}

/* Newsletter Section */
.newsletter-section {
  padding: var(--space-lg) 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
}

.newsletter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.newsletter-content h3 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 500px;
  width: 100%;
}

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

.newsletter-form input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-dark);
  box-sizing: border-box;
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter-form .btn {
  border-radius: var(--radius-full);
  padding: 0.875rem 2rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.newsletter-form .btn-text,
.newsletter-form .btn-loader {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.newsletter-form .btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-form .btn.loading .btn-text {
  opacity: 0;
  transform: translateY(5px);
}

.newsletter-form .btn.loading .btn-loader {
  opacity: 1;
}

.newsletter-form .form-message {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
  display: none;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.newsletter-form .form-message.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

.newsletter-form .form-message.success {
  background-color: rgba(40, 167, 69, 0.2);
  color: #d4edda;
}

.newsletter-form .form-message.error {
  background-color: rgba(220, 53, 69, 0.2);
  color: #f8d7da;
}

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

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-xl) 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  text-decoration: none;
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-links h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

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

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info i {
  margin-right: 0.75rem;
  color: var(--color-primary);
  margin-top: 0.25rem;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--color-white);
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

/* Payment Modal - Compact Horizontal Layout */
.payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px 15px;
  box-sizing: border-box;
  align-items: flex-start;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
}

.payment-modal.active {
  display: flex;
}

.payment-modal-content {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease-out;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

/* Desktop styles */
@media (min-width: 768px) {
  .payment-modal {
    padding: 20px;
    align-items: center;
  }
  
  .payment-modal-content {
    grid-template-columns: 1fr 1fr;
    padding: 25px;
    width: 95%;
  }
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.close-payment-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  background: #f5f5f5;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s;
}

.close-payment-modal:hover {
  background: #e0e0e0;
  color: #333;
}

.payment-info {
  padding-right: 0;
  border-right: none;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.payment-amount {
  font-size: 1.1rem;
  color: #3b82f6;
  margin: 10px 0 15px;
  font-weight: 600;
}

.payment-options {
  margin: 0;
  border: none;
  border-radius: 0;
  padding-left: 0;
}

.payment-option {
  padding: 15px 0;
  border: none;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.payment-option:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.payment-option input[type="radio"] {
  margin-right: 12px;
  transform: scale(1.2);
  min-width: 18px;
  min-height: 18px;
}

.payment-option label {
  font-size: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
}

.payment-details {
  margin-top: 15px;
  padding: 15px;
  background-color: #f8fafc;
  border-radius: 8px;
  display: none;
}

/* Form elements */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}

.form-group input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.form-group input[type="text"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Checkbox styles */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}

.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 #ccc;
  border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
  border-color: #3b82f6;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

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

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .payment-info {
    padding-right: 20px;
    border-right: 1px solid #eee;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  
  .payment-options {
    padding-left: 20px;
  }
  
  .form-group input[type="text"] {
    padding: 10px 12px;
    font-size: 15px;
  }
}

.payment-option input[type="radio"]:checked ~ .payment-details {
  display: block;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row .form-group {
  flex: 1;
}

.terms-checkbox {
  margin: 20px 0;
}

.money-back {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  margin-top: 15px;
  font-style: italic;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #000000 !important; /* Black arrow for all sections */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  animation: fadeInUp 0.4s ease-out;
}

.back-to-top:hover {
  background: rgba(var(--color-primary-rgb), 0.9);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Change arrow to white when on footer */
.back-to-top.on-footer {
  color: #ffffff !important;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .share-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .share-content {
    padding: 2rem;
  }
  
  .share-content h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .share-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  
  .share-form {
    padding: 2rem;
  }
  
  .tabs-header {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .tab-btn {
    padding: 15px 20px;
    font-size: 0.95rem;
    text-align: center;
    flex: 1;
    min-width: 150px;
  }
  
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .hero {
    padding: 160px 0 100px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
  
  .story-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .author {
    width: 100%;
  }
  
  .read-more {
    width: 100%;
    justify-content: center;
  }
  
  .impact-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-container {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    max-width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-about {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* ==========================================================================
   #MOBILE STYLES (SMALL SCREENS)
   ========================================================================== */
@media (max-width: 576px) {
  /* Base Styles */
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .section {
    overflow-x: hidden;
  }
  
  /* Typography */
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Hero Section */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Buttons */
  .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Sections */
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Grid Layouts */
  .about-stats,
  .features-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Video */
  .video-wrapper video {
    height: 220px;
  }
  
  /* Testimonials */
  .testimonial-card {
    padding: 1.5rem;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .footer-logo {
    margin: 0 auto 1.5rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-legal span {
    display: none;
  }
  
  .back-to-top {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
  
  /* Forms */
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-row .form-group {
    width: 100%;
  }
  
  /* Cards */
  .card {
    margin-bottom: 1.5rem;
  }
  
  /* Share Section Mobile */
  .share-container {
    grid-template-columns: 1fr;
    gap: 0;
    display: flex;
    flex-direction: column;
  }
  
  .share-content,
  .share-form {
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .share-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.875rem;
    line-height: 1.3;
    word-wrap: break-word;
  }
  
  .share-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .tabs-header {
    flex-direction: column;
  }
  
  .tab-btn {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid #e1e8ed;
    width: 100%;
    text-align: center;
  }
  
  .tab-content {
    padding: 1rem 0;
  }
  
  .feature-list {
    padding-left: 0;
    margin-bottom: 1rem;
  }
  
  .feature-list li {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .feature-list i {
    font-size: 0.85rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
  
  .form-group small {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* ==========================================================================
   #MOBILE NAVIGATION
   ========================================================================== */
@media (max-width: 991.98px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
    transform: translateX(0);
  }
  
  .nav-item {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid var(--color-light-gray);
  }
  
  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    color: #000000; /* Black color for mobile */
    transition: all 0.2s ease;
  }
  
  .nav-link:hover {
    color: #000000; /* Keep black on hover */
    padding-left: 0.5rem;
    opacity: 0.8; /* Slight transparency on hover for feedback */
  }
  
  .nav-cta {
    margin: 1rem 0 0 0;
    width: 100%;
  }
  
  .nav-cta .btn {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
  }
  
  .nav-cta .btn {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }
  
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 3rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 3rem; }
