/* Components CSS */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-lg);
    font-weight: var(--font-semibold);
    text-align: center;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    min-height: 48px; /* Touch target size */
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    font-weight: var(--font-bold);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.9);
    border-width: 3px;
    backdrop-filter: blur(15px);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: var(--font-bold);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 1);
    text-shadow: none;
}

.btn-large {
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-lg);
    min-height: 48px;
}

.btn-cta {
    font-weight: var(--font-semibold);
    letter-spacing: 0.025em;
}

/* Hero section button enhancements for better visibility */
.hero .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    font-weight: var(--font-bold);
}

.hero .btn-primary {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: var(--font-bold);
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    font-weight: var(--font-bold);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9), 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.hero .btn:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Cards */
.card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-base);
    transition: all var(--transition-base);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card-content {
    padding: var(--space-6);
}

/* Activity Cards */
.activity-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-base);
    transition: all var(--transition-base);
}

.activity-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.activity-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-content {
    padding: var(--space-6);
}

.activity-content h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-3);
    color: var(--secondary-color);
}

.activity-content p {
    color: var(--light-gray);
    margin-bottom: var(--space-5);
    line-height: var(--leading-relaxed);
}

/* Testimonial Cards */
.testimonial-card {
    background: #FFFFFF;
    padding: var(--space-8) var(--space-8) var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all var(--transition-base);
    border-left: 4px solid var(--primary-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    left: var(--space-6);
    font-size: var(--font-6xl);
    color: var(--primary-light);
    font-family: var(--font-primary);
    line-height: 1;
    opacity: 0.4;
    z-index: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0z' fill='%23f3f3f3' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-left-color: var(--primary-dark);
}

.testimonial-content {
    margin-bottom: var(--space-6);
    position: relative;
}

.testimonial-content p {
    font-size: var(--font-lg);
    font-style: italic;
    font-weight: var(--font-medium);
    line-height: var(--leading-relaxed);
    color: #333333; /* Ensuring good contrast with white background */
    margin-left: var(--space-8);
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
    text-shadow: none; /* Remove any inherited text shadow */
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: var(--space-4);
}

.testimonial-author strong {
    font-size: var(--font-lg);
    color: var(--primary-dark);
    display: block;
    margin-bottom: 0;
    font-weight: var(--font-bold);
    line-height: 1.2;
}

.testimonial-author span {
    color: var(--light-gray);
    font-size: var(--font-sm);
    display: block;
    font-weight: var(--font-medium);
    letter-spacing: 0.01em;
    margin-top: var(--space-1);
    font-style: italic;
}

/* Leader Cards */
.leader-card {
    background: #ffffff;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 8px 32px rgba(236, 38, 143, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid rgba(236, 38, 143, 0.15);
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.leader-card:hover {
    box-shadow: 
        0 12px 40px rgba(236, 38, 143, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-6px);
    border-color: rgba(236, 38, 143, 0.3);
    background: #ffffff;
}

.leader-card:hover::before {
    transform: scaleX(1);
}

.leader-info h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-3);
    color: #1a1a1a;
    font-weight: var(--font-extrabold);
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
}

.leader-info p {
    color: var(--primary-color);
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-2);
    font-size: var(--font-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.leader-info span {
    color: #333333;
    font-size: var(--font-base);
    font-weight: var(--font-bold);
    opacity: 1;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(26, 26, 26, 0.6) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid rgba(236, 38, 143, 0.15);
    transition: all var(--transition-base);
    height: var(--nav-height-mobile);
    box-shadow: var(--shadow-base);
}

@media (min-width: 768px) {
    .navbar {
        height: var(--nav-height);
    }
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.7) !important;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid rgba(236, 38, 143, 0.2);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
}

/* Force navbar to never use primary color background */
.navbar,
.navbar.active,
.navbar.scrolled,
.navbar:hover {
    background-color: rgba(26, 26, 26, 0.6) !important;
    background-image: none !important;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.7) !important;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-4);
    max-width: var(--container-xl);
    margin: 0 auto;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-logo {
    height: calc(var(--nav-height) - 10px);
    width: auto;
    max-width: 300px;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    /* Ensure logos maintain aspect ratio and are readable */
    object-position: center;
    display: block;
    background-color: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    padding: var(--space-2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Improve rendering on various browsers */
    transform: translateZ(0);
    will-change: transform, opacity;
}

.nav-logo:hover {
    transform: scale(1.05) translateY(-2px);
    background-color: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px) saturate(200%);
    -webkit-backdrop-filter: blur(12px) saturate(200%);
}

/* Logo specific enhancements */
.footer-logo {
    /* Ensure logos maintain aspect ratio and are readable */
    object-position: center;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Dark mode logo adjustments */
@media (prefers-color-scheme: dark) {
    .nav-logo {
        background-color: rgba(255, 255, 255, 0.65) !important;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15), 0 0 20px rgba(236, 38, 143, 0.2);
        backdrop-filter: blur(10px) saturate(180%);
        -webkit-backdrop-filter: blur(10px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.4);
    }
    
    .nav-logo:hover {
        background-color: rgba(255, 255, 255, 0.85) !important;
        box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2), 0 0 25px rgba(236, 38, 143, 0.3);
    }
}

.footer-logo {
        filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.1));
    }

.nav-title-fallback {
    font-family: var(--font-primary);
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: var(--space-6);
}

.nav-link {
    font-weight: var(--font-bold);
    color: var(--white);
    transition: color var(--transition-fast);
    position: relative;
    font-size: var(--font-lg);
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.4);
}

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

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

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

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--white);
    transition: all var(--transition-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .nav-container {
        padding: 0 var(--space-6);
    }
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height-mobile);
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        padding: var(--space-6);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        padding: var(--space-3) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .cta-item {
        margin-top: var(--space-4);
    }
}

/* Carousel Components */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-8);
    position: relative;
    z-index: 10;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background: rgba(236, 38, 143, 0.2);
    border: 2px solid rgba(236, 38, 143, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    outline: none;
}

.dot:hover {
    background: rgba(236, 38, 143, 0.4);
}

.dot:focus {
    box-shadow: 0 0 0 3px rgba(236, 38, 143, 0.3);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
    border-color: var(--primary-color);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 120px; /* Positioned higher from the bottom to ensure visibility */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100; /* Much higher z-index to ensure it's above other elements */
    background: transparent;
    padding-bottom: 0;
    cursor: pointer;
}

.scroll-arrow {
    width: 30px; /* Larger size */
    height: 30px;
    border: 3px solid var(--white); /* Thicker border */
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    background-color: transparent;
    position: relative;
    z-index: 101; /* Ensure it's above the indicator container */
    opacity: 0.9; /* Slight transparency */
}

/* Stats */
.stat-item {
    text-align: center;
    padding: var(--space-6);
}

.stat-number {
    display: block;
    font-size: var(--font-4xl);
    font-weight: var(--font-bold);
    color: var(--white); /* Changed from primary-color to white for better contrast */
    font-family: var(--font-primary);
    margin-bottom: var(--space-2);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Added text shadow for better readability */
}

.stat-label {
    font-size: var(--font-base);
    color: var(--light-gray);
    font-weight: var(--font-medium);
}

@media (min-width: 768px) {
    .stat-number {
        font-size: var(--font-5xl);
    }
    
    .stat-label {
        font-size: var(--font-lg);
    }
}

/* Partners Section */
.partners-section {
    background: var(--gradient-primary);
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(236, 38, 143, 0.95) 0%, 
        rgba(217, 27, 122, 0.95) 50%,
        rgba(236, 38, 143, 0.95) 100%);
    z-index: 1;
}

.partners-section .container {
    position: relative;
    z-index: 2;
}

.partners-section .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.partners-section .section-title {
    color: var(--white);
    font-size: var(--font-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.partners-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-xl);
    font-weight: var(--font-normal);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.partners-carousel {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

.partners-carousel::before,
.partners-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 10;
    pointer-events: none;
}

.partners-carousel::before {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(236, 38, 143, 1) 0%,
        rgba(236, 38, 143, 0.9) 20%,
        rgba(236, 38, 143, 0.7) 40%,
        rgba(236, 38, 143, 0.4) 60%,
        rgba(236, 38, 143, 0.2) 100%,
        transparent 100%
    );
}

.partners-carousel::after {
    right: 0;
    background: linear-gradient(
        to left,
        rgba(236, 38, 143, 1) 0%,
        rgba(236, 38, 143, 0.9) 20%,
        rgba(236, 38, 143, 0.7) 40%,
        rgba(236, 38, 143, 0.4) 60%,
        rgba(236, 38, 143, 0.2) 100%,
        transparent 100%
    );
}

.partners-track {
    display: flex;
    gap: var(--space-6);
    animation: scrollCarousel 40s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 
                0 4px 16px rgba(0, 0, 0, 0.08),
                0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 250px;
    flex-shrink: 0;
    position: relative;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2),
                0 8px 24px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-logo {
    margin-bottom: var(--space-4);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    transition: all var(--transition-base);
}

.partner-card:hover .partner-logo {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.partner-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%) opacity(0.8);
    transition: all var(--transition-base);
}

.partner-card:hover .partner-img {
    filter: grayscale(0%) opacity(1);
}

.partner-name {
    font-size: var(--font-base);
    font-weight: var(--font-semibold);
    color: #333;
    margin: 0;
    line-height: var(--leading-tight);
}

/* Responsive adjustments for partners */
@media (max-width: 768px) {
    .partners-section {
        padding: var(--space-16) 0;
    }
    
    .partners-section .section-title {
        font-size: var(--font-3xl);
    }
    
    .partners-section .section-subtitle {
        font-size: var(--font-lg);
    }
    
    .partners-track {
        gap: var(--space-4);
        animation: scrollCarousel 30s linear infinite;
    }
    
    .partner-card {
        width: 200px;
        padding: var(--space-4);
    }
    
    .partner-logo {
        height: 60px;
    }
    
    .partner-name {
        font-size: var(--font-sm);
    }
    
    .partners-carousel::before,
    .partners-carousel::after {
        width: 10px;
    }
}

@media (max-width: 480px) {
    .partner-card {
        width: 180px;
    }
    
    .partners-carousel::before,
    .partners-carousel::after {
        width: 10px;
    }
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.values-grid span {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    transition: transform var(--transition-base);
}

.values-grid span:hover {
    transform: translateY(-2px);
}

/* Trust Indicator */
.trust-indicator {
    font-size: var(--font-sm);
    color: var(--light-gray);
    margin-top: var(--space-4);
    font-style: italic;
}

/* ===== ENHANCED CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: var(--space-24) 0;
    background: #f5f5f5; /* Changed to a light gray color */
    overflow: hidden;
    isolation: isolate;
}

/* Background pattern overlay removed */

/* Floating particles removed */

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-6);
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-dark) 50%, 
        var(--primary-color) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    border-radius: var(--radius-3xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Shimmer effect on the content container */
.cta-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        135deg,
        transparent 20%,
        rgba(255, 255, 255, 0.7) 40%,
        transparent 60%
    );
    background-size: 400% 400%;
    border-radius: var(--radius-3xl);
    z-index: -1;
    animation: shimmerBorder 12s ease-in-out infinite;
}

@keyframes shimmerBorder {
    0% {
        background-position: 100% 0%; /* Top right position */
    }
    100% {
        background-position: 0% 100%; /* Bottom left position */
    }
}

.cta-content h2 {
    font-size: var(--font-4xl);
    font-weight: var(--font-extrabold);
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: var(--leading-tight);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
}

/* Glowing text effect */
.cta-content h2::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: rgba(255, 255, 255, 0.1);
    z-index: -1;
    animation: textGlow 4s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

.cta-content p {
    font-size: var(--font-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
    font-weight: var(--font-medium);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Enhanced CTA button with shimmer effect */
.cta-content .btn {
    position: relative;
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    background: linear-gradient(135deg, 
        var(--white) 0%, 
        rgba(255, 255, 255, 0.9) 25%,
        var(--white) 50%,
        rgba(255, 255, 255, 0.9) 75%,
        var(--white) 100%);
    background-size: 800% 800%; /* Increased from 400% to 800% */
    color: var(--primary-color);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-2xl);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all var(--transition-base);
    overflow: hidden;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 
        0 10px 10px rgba(0, 0, 0, 0.3),
        0 5px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: ultra-shimmer 8s infinite linear, border-glow 6s infinite ease-in-out;
}

/* Button shimmer overlay */
.cta-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%; /* Increased size */
    height: 200%; /* Increased size */
    background: linear-gradient(
        135deg, /* Changed from 90deg to 135deg */
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: shimmerSweep 5s ease-in-out infinite;
    z-index: 1;
}

/* Add particle effect behind the button */
.cta-content .btn::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 25%);
    border-radius: var(--radius-3xl);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.cta-content .btn:hover::after {
    opacity: 1;
}

.cta-content .btn span {
    position: relative;
    z-index: 2;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textGradientMove 3s linear infinite;
}

@keyframes textGradientMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.cta-content .btn:hover {
    transform: scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
    animation: ultra-shimmer 8s infinite linear, radial-pulse 4s infinite ease-in-out;
}

.cta-content .btn:active {
    transform: scale(1.02);
    animation-play-state: paused;
}

/* Trust indicator enhancement with advanced effects */
.cta-content .trust-indicator {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-lg);
    font-weight: var(--font-medium);
    margin-top: var(--space-6);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: glowing-text 4s ease-in-out infinite;
}

.cta-content .trust-indicator::before {
    content: '✨';
    margin-right: var(--space-2);
    animation: sparkle-stars 3s ease-in-out infinite alternate;
    display: inline-block;
}

.cta-content .trust-indicator::after {
    content: '✨';
    margin-left: var(--space-2);
    animation: sparkle-stars 3s ease-in-out infinite 1.5s alternate-reverse;
    display: inline-block;
}

/* Enhanced heading with 3D effect */
.cta-content h2 {
    font-size: var(--font-4xl);
    font-weight: var(--font-extrabold);
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: var(--leading-tight);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
    transform-style: preserve-3d;
    perspective: 500px;
}

/* 3D text effect */
.cta-content h2::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 4px;
    color: rgba(236, 38, 143, 0.6);
    z-index: -1;
    filter: blur(4px);
    transform: translateZ(-10px);
    animation: textGlow 4s ease-in-out infinite alternate;
}

/* Enhanced shimmer container */
.cta-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        transparent 20%,
        rgba(255, 255, 255, 0.6) 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 80%
    );
    background-size: 200% 200%;
    border-radius: var(--radius-3xl);
    z-index: -1;
    animation: shimmerBorder 3s ease-in-out infinite;
    opacity: 0.8;
}

/* Add sparkles to the container */
.cta-content {
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-6);
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-3xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

/* Add moving sparkles inside the container */
.cta-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 50px 50px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 100px 100px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 150px 150px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 200px 200px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 250px 250px, rgba(255, 255, 255, 0.9), transparent);
    background-size: 300px 300px;
    background-repeat: repeat;
    z-index: -1;
    background-color: #D91B7A;
    opacity: 0.3;
}

/* Enhanced pulse animation */
@keyframes animate-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 5px 15px rgba(0, 0, 0, 0.2),
            0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.4),
            0 8px 20px rgba(0, 0, 0, 0.3),
            0 0 0 15px rgba(255, 255, 255, 0.1);
    }
}

.animate-pulse {
    animation: animate-pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
