/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
}

/* Tropical Color Variables */
:root {
    /* Tropical Colors */
    --tropical-turquoise: #38B8BF;
    --tropical-teal: #1D7886;
    --tropical-light-teal: #81D4D7;
    --tropical-sky-blue: #2C7FB8;
    --tropical-light-blue: #4A9DCF;
    --tropical-sandy-beige: #EBD9BF;
    --tropical-light-beige: #D5C0A4;
    --tropical-palm-green: #82A73F;
    --tropical-dark-green: #487A38;
    --tropical-clean-white: #F7F7F7;
    --tropical-ice-white: #F3FDFE;
    
    /* Gradients */
    --gradient-tropical: linear-gradient(135deg, #38B8BF 0%, #2C7FB8 50%, #81D4D7 100%);
    --gradient-sunset: linear-gradient(135deg, #EBD9BF 0%, #D5C0A4 50%, #82A73F 100%);
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.container-tropical {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-tropical);
    color: white;
    box-shadow: 0 4px 15px rgba(56, 184, 191, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 184, 191, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--tropical-palm-green), var(--tropical-dark-green));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(130, 167, 63, 0.4);
}

/* VIP Travel Button - Blue gradient */
.btn-vip-travel {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-vip-travel:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Bill Reduction Button - Purple to pink gradient */
.btn-bill-reduction {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-bill-reduction:hover {
    background: linear-gradient(135deg, #9333ea, #db2777);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

/* Prescription Savings Button - Green to teal gradient */
.btn-prescription {
    background: linear-gradient(135deg, #22c55e, #14b8a6);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-prescription:hover {
    background: linear-gradient(135deg, #16a34a, #0d9488);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* Benefits Hub Button - Orange to red gradient */
.btn-benefits-hub {
    background: linear-gradient(135deg, #f97316, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-benefits-hub:hover {
    background: linear-gradient(135deg, #ea580c, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 1.5rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(230, 230, 230, 0.5);
    transition: all 0.5s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(56, 184, 191, 0.15);
    border-color: rgba(56, 184, 191, 0.3);
}

/* Glass Morphism */
.glass {
    backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.125);
}

.glass-dark {
    backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.125);
}

/* Text Gradients */
.text-gradient-tropical {
    background: var(--gradient-tropical);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-sunset {
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes wave {
    0% { transform: rotate(0.0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10.0deg); }
    60% { transform: rotate(0.0deg); }
    100% { transform: rotate(0.0deg); }
}

@keyframes slide-in {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fade-in-up {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes pulse-tropical {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56, 184, 191, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(56, 184, 191, 0); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-wave {
    animation: wave 2s linear infinite;
}

.animate-slide-in {
    animation: slide-in 0.5s ease-out;
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out;
}

.pulse-tropical {
    animation: pulse-tropical 2s infinite;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tropical-turquoise);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--tropical-turquoise);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/tropical-beach-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(56, 184, 191, 0.2) 0%, rgba(44, 127, 184, 0.3) 50%, rgba(29, 120, 134, 0.4) 100%);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 4xl;
    margin: 0 auto;
}

.hero-title {
    font-size: 6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--tropical-ice-white);
    margin-bottom: 3rem;
    max-width: 2xl;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-welcome {
    color: rgba(243, 253, 254, 0.9);
    font-size: 1.125rem;
    margin-top: 2rem;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.6;
}

.floating-palmtree {
    top: 5rem;
    left: 2.5rem;
    color: var(--tropical-sandy-beige);
    animation: float 4s ease-in-out infinite;
}

.floating-waves {
    top: 8rem;
    right: 4rem;
    color: var(--tropical-ice-white);
    animation: float 5s ease-in-out infinite 1s;
    opacity: 0.5;
}

.floating-gift {
    bottom: 8rem;
    left: 4rem;
    color: var(--tropical-light-beige);
    animation: wave 6s ease-in-out infinite;
    opacity: 0.4;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
    cursor: pointer;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--tropical-ice-white), white, var(--tropical-clean-white));
    position: relative;
    overflow: hidden;
}

.benefits-background-decoration {
    position: absolute;
    inset: 0;
    opacity: 0.05;
}

.benefits-background-decoration::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    width: 8rem;
    height: 8rem;
    background: var(--tropical-turquoise);
    border-radius: 50%;
}

.benefits-background-decoration::after {
    content: '';
    position: absolute;
    bottom: 5rem;
    right: 5rem;
    width: 12rem;
    height: 12rem;
    background: var(--tropical-palm-green);
    border-radius: 50%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-tropical);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 3xl;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 6xl;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(230, 230, 230, 0.5);
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(56, 184, 191, 0.15);
    border-color: rgba(56, 184, 191, 0.3);
}

.benefit-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.benefit-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-savings {
    background: var(--gradient-tropical);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 1rem;
    cursor: default;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(56, 184, 191, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.benefit-features {
    list-style: none;
    padding: 0;
}

.benefit-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.benefit-features li::before {
    content: '✓';
    color: var(--tropical-palm-green);
    font-weight: bold;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 800px !important;
    width: 90vw !important;
    max-height: 80vh !important;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    margin: 1rem;
    text-align: center;
}

/* Responsive modal adjustments */
@media (max-width: 768px) {
    .modal-content {
        max-width: 90vw;
        max-height: 85vh;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 95vw;
        padding: 1rem;
    }
}

/* Additional modal and video size overrides */
.modal-dialog,
.modal-dialog-centered {
    max-width: 800px !important;
}

.modal-dialog .modal-content {
    max-width: 800px !important;
    width: 100% !important;
}

video {
    max-width: 700px !important;
}

.modal video,
.video-modal video,
.modal-body video {
    max-width: 650px !important;
    width: 100% !important;
}

/* Balanced sizes on desktop specifically */
@media (min-width: 992px) {
    .modal-content {
        max-width: 800px !important;
        width: 800px !important;
    }
    
    .video-container {
        max-width: 700px !important;
    }
    
    .compensation-video {
        max-width: 700px !important;
    }
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.modal-close:hover {
    background: #f3f4f6;
}

/* VIP Travel Modal */
.vip-savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.vip-savings-card {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.vip-hotel-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.vip-hotel-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vip-location {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.vip-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.vip-regular-price {
    text-decoration: line-through;
    color: #ef4444;
}

.vip-savings-amount {
    background: var(--gradient-tropical);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Video Modal */
.video-container {
    position: relative;
    width: 100% !important;
    max-width: 500px !important;
    aspect-ratio: 16/9;
}

.video-container video {
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

/* Compensation Section */
.compensation-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--tropical-ice-white) 0%, white 50%, var(--tropical-clean-white) 100%);
    color: #1f2937;
    position: relative;
    overflow: hidden;
}

.compensation-background {
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 1;
}

.compensation-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.compensation-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-tropical);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.compensation-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #374151;
}

.compensation-video {
    max-width: 500px !important;
    width: 100% !important;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.compensation-video video {
    width: 100%;
    height: auto;
}

/* Join Section */
.join-section {
    padding: 5rem 0;
    background: var(--gradient-tropical);
    color: white;
    text-align: center;
}

.join-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: white;
    background: white;
}

.form-select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    cursor: pointer;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--tropical-turquoise);
}

.footer-section p,
.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--tropical-light-teal);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 575px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .compensation-title {
        font-size: 2.5rem;
    }
    
    .floating-palmtree,
    .floating-waves,
    .floating-gift {
        display: none;
    }
    
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 0.5rem !important;
    }
    
        margin: 0 auto !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
        padding: 3rem 0;
    }
    
        margin-top: 2rem;
    }
    
    .carousel-controls {
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
        margin-bottom: 1rem;
    }
    
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container,
    .container-tropical {
        padding: 0 0.75rem;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Additional overflow prevention for small screens */
    html, body {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .benefit-card,
        padding: 1.5rem;
    }
    
        padding: 0 0.25rem !important;
        gap: 1rem !important;
    }
    
        max-width: 100% !important;
        padding: 1rem !important;
        margin: 0 !important;
    }
    
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
        width: 45px !important;
        height: 45px !important;
    }
    
    .carousel-controls {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .carousel-btn {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }
    
        font-size: 0.85rem;
    }
    
    /* Fix mobile padding/overflow issues */
    .container {
        padding: 0 1rem !important;
    }
    
    body, html {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Prevent horizontal overflow on all screen sizes */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

section, div, main, article, aside, header, nav, footer {
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure containers don't cause overflow */
.container {
    max-width: 100%;
    box-sizing: border-box;
}

/* Force any potential problematic elements to stay within bounds */
* {
    box-sizing: border-box;
}

*:not(html):not(body) {
    max-width: 100%;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

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

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 50%; }

.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Bill Reduction Modal Enhancements */
.step-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.step-icon {
    color: var(--tropical-turquoise);
    margin-bottom: 0.5rem;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gradient-tropical);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(56, 184, 191, 0.3);
}

.savings-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(56, 184, 191, 0.05);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(56, 184, 191, 0.1);
    transition: all 0.3s ease;
}

.savings-item:hover {
    background: rgba(56, 184, 191, 0.1);
    border-color: rgba(56, 184, 191, 0.2);
    transform: translateY(-2px);
}

.savings-icon {
    margin-right: 1rem;
    color: var(--tropical-turquoise);
    flex-shrink: 0;
}

.savings-type {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.savings-percentage {
    font-weight: 600;
    color: var(--tropical-teal);
    background: rgba(56, 184, 191, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

/* Enhanced Prescription Modal Styling */
.prescription-process {
    margin: 2rem 0;
}

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

.process-step {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1px solid rgba(56, 184, 191, 0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tropical-turquoise);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.step-icon {
    font-size: 2rem;
    margin: 1rem 0 0.5rem 0;
}

.process-step h5 {
    color: var(--tropical-teal);
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.process-step p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.savings-examples {
    margin: 2rem 0;
}

.medication-savings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.medication-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.medication-card h6 {
    color: #1e3a8a;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
}

.price-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.retail-price {
    color: #dc2626;
    font-size: 1rem;
    text-decoration: line-through;
    font-weight: 500;
}

.nexus-price {
    color: #059669;
    font-weight: 600;
    font-size: 1.125rem;
}

.savings-percent {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #10b981;
    color: white;
    border-radius: 1.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.key-benefits {
    margin: 2rem 0;
}

.benefits-list {
    background: #1e3a8a;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
}

.checkmark {
    color: #fbbf24;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-item span:last-child {
    color: white;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 400;
}

/* Mobile responsive adjustments for prescription modal */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .medication-savings {
        max-width: 100%;
        gap: 1rem;
    }
    
    .medication-card {
        padding: 1.25rem;
    }
    
    .medication-card h6 {
        font-size: 1rem;
    }
    
    .retail-price {
        font-size: 0.875rem;
    }
    
    .nexus-price {
        font-size: 1rem;
    }
    
    .savings-percent {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .benefits-list {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .benefit-item span:last-child {
        font-size: 0.9375rem;
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .step-icon {
        font-size: 1.5rem;
        margin: 0.75rem 0 0.25rem 0;
    }
}

@media (max-width: 480px) {
    .medication-savings {
        gap: 1rem;
        max-width: 100%;
    }
    
    .medication-card {
        padding: 1rem;
    }
    
    .medication-card h6 {
        font-size: 0.9375rem;
    }
    
    .retail-price {
        font-size: 0.8125rem;
    }
    
    .nexus-price {
        font-size: 0.9375rem;
    }
    
    .savings-percent {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .process-step {
        padding: 0.75rem;
    }
    
    .benefits-list {
        padding: 1.25rem;
        gap: 0.875rem;
    }
    
    .benefit-item span:last-child {
        font-size: 0.875rem;
    }
    
    .checkmark {
        font-size: 1.125rem;
    }
}

/* Enhanced button styling for modal */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(56, 184, 191, 0.3);
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 184, 191, 0.4);
}

/* Reference site button styling - purple to pink gradient */
.btn-reference.btn-large {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%) !important;
    color: #ffffff !important;
    border: none !important;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3);
}

.btn-reference.btn-large:hover {
    background: linear-gradient(135deg, #9333ea 0%, #db2777 100%) !important;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4) !important;
}

/* New Join Section Enhancements */
.membership-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(56, 184, 191, 0.2) !important;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: translateX(-50%) scale(1.05);
    }
}

/* Responsive grid improvements */
@media (max-width: 768px) {
    .membership-card {
        margin-bottom: 1rem;
    }
    
    #join h2 {
        font-size: 2rem !important;
    }
    
    #join .membership-card h3 {
        font-size: 1.25rem !important;
    }
    
        font-size: 2.5rem !important;
    }
    
        flex-direction: column !important;
        text-align: center !important;
    }
    
        touch-action: pan-y !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
    }
    

}

@media (min-width: 768px) {
        flex-direction: row !important;
        text-align: left !important;
    }
    
        text-align: left !important;
    }
    
        justify-content: flex-start !important;
    }
}

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

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

}

/* Touch optimization for mobile */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

button, .cursor-pointer {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

    border: 1px solid rgba(56, 184, 191, 0.1) !important;
}

    box-shadow: 0 20px 40px rgba(56, 184, 191, 0.2) !important;
}

/* Nexus Brand Colors */
:root {
    --nexus-blue-50: #eff6ff;
    --nexus-blue-800: #1e40af;
    --nexus-blue-900: #1e3a8a;
    --nexus-gold-300: #fcd34d;
    --nexus-gold-500: #f59e0b;
}

/* Testimonial Carousel Styles */
.testimonial-slide {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.testimonial-slide .card {
    flex: 1;
    max-width: 400px;
    background: white;
    border: none;
}

/* Mobile: 1 testimonial */
@media (max-width: 767px) {
    .testimonial-slide .card:not(:first-child) {
        display: none;
    }
    .testimonial-slide .card {
        max-width: 100%;
    }
}

/* Tablet: 2 testimonials */
@media (min-width: 768px) and (max-width: 991px) {
    .testimonial-slide .card:nth-child(n+3) {
        display: none;
    }
}

/* Desktop: 3 testimonials */
@media (min-width: 992px) {
    .testimonial-slide {
        gap: 2rem;
    }
}

/* Mobile: Individual testimonial slides */
@media (max-width: 767px) {
    #mobileTestimonialCarousel .carousel-control-prev,
    #mobileTestimonialCarousel .carousel-control-next {
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }
    
    #mobileTestimonialCarousel .carousel-control-prev-icon,
    #mobileTestimonialCarousel .carousel-control-next-icon {
        background-image: none;
        width: 32px;
        height: 32px;
        background: transparent;
        color: #3b82f6;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #mobileTestimonialCarousel .carousel-control-prev-icon::before {
        content: "‹";
        font-size: 32px;
        line-height: 1;
    }
    
    #mobileTestimonialCarousel .carousel-control-next-icon::before {
        content: "›";
        font-size: 32px;
        line-height: 1;
    }
}

/* Ensure both carousels have proper touch handling */
#testimonialCarousel,
#mobileTestimonialCarousel {
    touch-action: pan-y pinch-zoom;
    user-select: none;
}

/* Hide desktop carousel on mobile */
@media (max-width: 767px) {
    #testimonialCarousel {
        display: none !important;
    }
}

/* Hide mobile carousel on desktop */
@media (min-width: 768px) {
    #mobileTestimonialCarousel {
        display: none !important;
    }
}

/* Desktop carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    width: 40px;
    height: 40px;
    background: transparent;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev-icon::before {
    content: "‹";
    font-size: 40px;
    line-height: 1;
}

.carousel-control-next-icon::before {
    content: "›";
    font-size: 40px;
    line-height: 1;
}

.quotes {
    color: #93c5fd !important;
    margin-bottom: 0;
}

.card-title {
    color: #1e3a8a !important;
}

.card-text {
    color: #374151;
    font-style: italic;
}

.stars-rating {
    color: #fbbf24;
}

.section-header h2 {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Profile image styling */
.card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid #e5e7eb;
}

/* Tailwind custom colors */
.text-nexus-blue-900 {
    color: #1e3a8a;
}

.bg-nexus-blue-50 {
    background-color: #eff6ff;
}
