/* ===== CSS VARIABLES & RESET ===== */
:root {
    --primary: #00c8ff;
    --light: #ffffff;
    --dark: #05080f;
    --gray: #8a9ba8;
    --border-radius: 8px;
    --border-radius-sm: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* ===== SLIDER HERO SECTION ===== */
.slider-hero-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 3rem;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.slider-hero-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-hero {
    position: relative;
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 8, 15, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    color: var(--light);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: fit-content;
}

.hero-cta:hover {
    background: #00b4e6;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
    transform: translateY(-2px);
}

/* ===== SLIDER CONTROLS SECTION ===== */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.slider-nav-btn {
    background: rgba(0, 200, 255, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
    transform: translateY(-2px);
}

.slider-nav-btn:active {
    transform: translateY(0);
}

.slider-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.slider-nav-btn:disabled:hover {
    background: rgba(0, 200, 255, 0.1);
    color: var(--primary);
    box-shadow: none;
}

.slider-indicator {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.7);
}

.edge-nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 20;
    pointer-events: none;
    display: none;
}

.edge-nav-arrow {
    background: rgba(0, 200, 255, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(5px);
}

.edge-nav-arrow:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
    transform: translateY(-2px);
}

.edge-nav-arrow:active {
    transform: translateY(0);
}

.edge-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.edge-nav-arrow:disabled:hover {
    background: rgba(0, 200, 255, 0.1);
    color: var(--primary);
    box-shadow: none;
}

/* ===== TAB CONTENT SECTION ===== */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ===== MEDICAL TREATMENT CARDS SECTION ===== */
.medical-treatment-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    border: 1px solid #e1e8ed;
    position: relative;
}

.medical-treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}

.badge.evidence {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge.popular {
    background: rgba(155, 89, 182, 0.15);
    color: #8e44ad;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.badge.advanced {
    background: rgba(231, 76, 60, 0.15);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.badge.independent {
    background: rgba(52, 152, 219, 0.15);
    color: #2980b9;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.card-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.medical-treatment-card:hover .card-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    color: white;
}

.treatment-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.treatment-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.card-content {
    padding: 25px;
}

.treatment-description {
    color: #5d6d7e;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.treatment-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.treatment-benefits {
    margin-bottom: 20px;
}

.benefits-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #5d6d7e;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.benefit-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.benefit-item i {
    color: #27ae60;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.benefit-text {
    font-weight: 500;
}

.clinical-rationale {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
}

.rationale-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rationale-text {
    font-size: 0.85rem;
    color: #5d6d7e;
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn {
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    width: 100%;
}

.btn-secondary {
    background: transparent;
    color: #3498db;
    border: 1px solid #3498db;
}

.btn-secondary:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* ===== TREATMENT GRID SECTION ===== */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0;
    width: 100%;
}

.treatment-grid.multi-column {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 1.5rem;
}

.treatment-grid.multi-column .medical-treatment-card {
    margin-bottom: 1rem;
}

/* ===== DESKTOP HEADER ===== */
@media (min-width: 769px) {
    .mobile-header,
    .mobile-nav,
    .mobile-nav-overlay,
    .mobile-bottom-nav,
    .mobile-footer {
        display: none !important;
    }

    .desktop-header {
        background: rgba(5, 8, 15, 0.85);
        backdrop-filter: blur(62px);
        position: fixed;
        width: 100%;
        z-index: 1000;
        transition: opacity 0.3s ease;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(0, 200, 255, 0.1);
        display: block !important;
    }

    .desktop-footer {
        display: block;
    }

    .header-container {
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }

    .logo {
        height: 45px;
        display: flex;
        align-items: center;
    }

    .logo svg {
        height: 100%;
        width: auto;
    }

    .top-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.2rem 1rem;
        background-color: transparent;
        flex-wrap: wrap;
    }

    .bottom-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.2rem 1rem;
        background-color: transparent;
        flex-wrap: wrap;
    }

    .nav-menu,
    .contact-info,
    .nav-links {
        display: flex;
        align-items: center;
        gap: 1.3px;
    }

    .nav-links a {
        position: relative;
        color: var(--light);
        text-decoration: none;
        margin: 0 8px;
        padding: 4px 8px;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.3s ease;
        letter-spacing: 0.3px;
        border-radius: 4px;
        cursor: pointer;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background-color: var(--primary);
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--primary);
        background-color: rgba(0, 200, 255, 0.1);
        transform: translateY(-2px);
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .nav-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .search-bar {
        position: relative;
        width: 200px;
    }

    .search-bar input {
        padding: 0.5rem 1rem;
        border: 1px solid var(--gray);
        border-radius: 2rem;
        background: rgba(5, 8, 15, 0.5);
        color: var(--light);
        transition: all 0.3s ease;
        width: 100%;
        cursor: pointer;
    }

    .search-bar input:focus {
        border-color: var(--primary);
        outline: none;
    }

    .search-bar button {
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: var(--light);
        cursor: pointer;
        transition: all 0.3s ease;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .search-bar button:hover {
        color: var(--primary);
        background: rgba(0, 200, 255, 0.1);
    }

    .medical-tourism {
        font-weight: 600;
        color: var(--primary);
        transition: all 0.3s ease;
        padding: 8px 12px;
        border-radius: 4px;
        background: rgba(5, 8, 15, 0.85);
        backdrop-filter: blur(10px);
        cursor: pointer;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .medical-tourism:hover {
        color: var(--primary);
        transform: translateY(-2px);
        background: rgba(0, 200, 255, 0.1);
    }

    .cta-buttons {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .footer-cta {
        display: inline-block;
        background: var(--primary);
        color: var(--dark);
        padding: 0.8rem 1.5rem;
        border-radius: 6px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 0.9rem;
        position: relative;
        overflow: hidden;
        z-index: 1;
        white-space: nowrap;
    }

    .header-bottom-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.2rem 1rem;
        background-color: transparent;
        flex-wrap: nowrap;
        gap: 210px;
        min-height: 60px;
        width: 100%;
        margin-top: 10px;
    }

    .desktop-content-container {
        display: block;
    }

    /* Hide edge arrows on desktop */
    .edge-nav-arrows {
        display: none;
    }
    
    /* Show previous/next buttons on desktop */
    .slider-controls {
        display: flex;
    }

    .mobile-carousel {
        display: none;
    }
    
    .mobile-carousel-container {
        display: none;
    }
    
    .treatment-cards-grid {
        display: grid;
    }

    .search-bar {
        display: flex;
    }

    .mobile-search {
        display: none;
    }

    /* Push desktop main content down below fixed header */
    body {
        padding-top: 120px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: var(--dark);
    color: var(--light);
    margin-top: 0rem;
    position: relative;
    border-top: 1px solid rgba(0, 200, 255, 0.1);
}

.footer-logo svg {
  height: 58px;
  width: auto;
  max-width: none;
}

.footer-logo {
  display: inline-block;
  margin-bottom: .5rem;
}

.footer-container {
    max-width: 100vw;
    margin: 0;
    padding: 0 1rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.footer-column {
    padding: 1rem;
}

.footer-about {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--primary);
    background: rgba(0, 200, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    margin-bottom: 1.5rem;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 0.2rem;
}

.footer-cta {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.footer-cta:hover {
    animation: pulse 1.5s infinite;
    transform: translateY(-3px) scale(1.03);
}

.footer-cta:hover::before {
    transform: translateX(100%);
}

.footer-bottom {
    border-top: 1px solid rgba(138, 155, 184, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--gray);
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ===== COOKIE CONSENT STYLES ===== */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: white;
    color: #2c3e50;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

#cookie-banner.visible {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

#cookie-banner .popup-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cookie-banner .popup-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

#cookie-banner .cookie-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px 15px;
}

#cookie-banner .cookie-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

#cookie-banner .cookie-name {
    font-size: 0.9rem;
    font-weight: 500;
}

#cookie-banner .toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

#cookie-banner .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#cookie-banner .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: .4s;
    border-radius: 20px;
}

#cookie-banner .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

#cookie-banner input:checked + .slider {
    background-color: #2ecc71;
}

#cookie-banner input:checked + .slider:before {
    transform: translateX(20px);
}

#cookie-banner .popup-actions {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    background: #f9f9f9;
}

#cookie-banner .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    font-size: 0.85rem;
}

#cookie-banner .btn-primary {
    background: #2ecc71;
    color: white;
}

#cookie-banner .btn-primary:hover {
    background: #27ae60;
}

#cookie-banner .btn-secondary {
    background: #95a5a6;
    color: white;
}

#cookie-banner .btn-secondary:hover {
    background: #7f8c8d;
}

#cookie-banner .btn-accept-all {
    background: #3498db;
    color: white;
}

#cookie-banner .btn-accept-all:hover {
    background: #2980b9;
}

#cookie-banner .cookie-policy-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #3498db;
    text-decoration: none;
    font-size: 0.85rem;
}

#cookie-banner .cookie-policy-link:hover {
    text-decoration: underline;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
    body {
        padding: 1rem;
        padding-top: 0;
        width: 100%;
    }
    
    .container {
        padding: 0;
        width: 100%;
    }
    
    .slider-hero-container {
        height: 300px;
        margin-bottom: 2rem;
        border-radius: 0;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    /* Show edge arrows on mobile */
    .edge-nav-arrows {
        display: flex;
        padding: 0 0.5rem;
    }
    
    .edge-nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    /* Hide previous/next buttons on mobile */
    .slider-controls {
        display: none;
    }
    
    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .treatment-grid.multi-column {
        grid-template-columns: 1fr;
    }
    
    .treatment-stats {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .treatment-description,
    .rationale-text {
        text-align: left;
        text-justify: auto;
    }

    /* ===== MOBILE HEADER & NAVIGATION ===== */
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(5, 8, 15, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1100;
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(0, 200, 255, 0.1);
        box-sizing: border-box;
        height: 60px;
        display: flex;
        align-items: center;
    }

    .mobile-header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-logo {
        height: 35px;
        display: flex;
        align-items: center;
    }
    
    .mobile-logo svg {
        height: 100%;
        width: auto;
    }

    .mobile-menu-toggle {
        background: none;
        border: none;
        color: var(--primary);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 4px;
        transition: all 0.3s ease;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-toggle:hover {
        background: rgba(0, 200, 255, 0.1);
        transform: scale(1.1);
    }

    .mobile-nav {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--dark);
        padding: 1.5rem;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1101;
        box-sizing: border-box;
    }

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav-header {
        display: none;
    }

    .mobile-search {
        position: relative;
        margin-bottom: 1.5rem;
    }

    .mobile-search input {
        width: 100%;
        padding: 0.8rem 1rem;
        border: 1px solid var(--gray);
        border-radius: 2rem;
        background: rgba(5, 8, 15, 0.5);
        color: var(--light);
        font-size: 0.9rem;
    }

    .mobile-search button {
        position: absolute;
        right: 0.8rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: var(--primary);
        cursor: pointer;
    }

    .mobile-nav-links {
        list-style: none;
        margin-bottom: 2rem;
    }

    .mobile-nav-links li {
        margin-bottom: 0.5rem;
    }

    .mobile-nav-links a {
        display: flex;
        align-items: center;
        padding: 0.8rem 0;
        color: var(--light);
        text-decoration: none;
        font-size: 1rem;
        transition: all 0.3s ease;
        border-radius: 4px;
    }

    .mobile-nav-links a:hover {
        color: var(--primary);
        background: rgba(0, 200, 255, 0.1);
    }

    .mobile-nav-links i {
        margin-right: 0.8rem;
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }

    .mobile-social-icons {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0, 200, 255, 0.1);
    }

    .mobile-social-icons a {
        color: var(--primary);
        font-size: 1.5rem;
        transition: all 0.3s ease;
    }

    .mobile-social-icons a:hover {
        color: var(--primary);
        transform: translateY(-2px);
    }

    .mobile-cta {
        display: block;
        margin-top: 1.5rem;
        padding: 0.8rem;
        background: var(--primary);
        color: var(--dark);
        text-align: center;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .mobile-cta:hover {
        background: #00b4e6;
        transform: translateY(-2px);
    }

    .mobile-nav-overlay {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0.7);
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .desktop-header,
    .desktop-footer,
    .site-footer {
        display: none !important;
    }

    .mobile-footer {
        display: block;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--dark);
        z-index: 1000;
        border-top: 1px solid rgba(0, 200, 255, 0.1);
        box-sizing: border-box;
        padding: 0.5rem 1rem;
        justify-content: space-around;
        align-items: center;
        height: 70px;
    }

    .mobile-bottom-nav a {
        flex: 1;
        text-align: center;
        padding: 0.5rem 0;
        color: var(--gray);
        text-decoration: none;
        font-size: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: all 0.3s ease;
        box-sizing: border-box;
        min-width: 0;
        border-radius: 6px;
        margin: 0 0.25rem;
    }

    .mobile-bottom-nav a i {
        font-size: 1.4rem;
        margin-bottom: 0.25rem;
        transition: all 0.3s ease;
    }

    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a.active {
        color: var(--primary);
        background: rgba(0, 200, 255, 0.1);
    }

    .mobile-bottom-nav a:hover i {
        transform: translateY(-2px);
    }
    
    .floating-cta-container {
        bottom: 90px;
        right: 15px;
    }

    .search-bar {
        display: none;
    }
    
    .mobile-search {
        display: block;
        margin: 10px 0;
    }
    
    .mobile-search input {
        font-size: 16px;
    }

    /* Adjust medical treatment cards for mobile */
    .medical-treatment-card {
        margin-bottom: 1.5rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .treatment-title {
        font-size: 1.3rem;
    }
    
    .treatment-subtitle {
        font-size: 0.9rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .treatment-description {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    /* Add these to prevent overflow */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
        position: relative;
    }
    
    * {
        box-sizing: border-box;
    }
    
    /* Ensure containers don't exceed viewport */
    .container, 
    .slider-hero-container,
    .treatment-grid,
    .benefits-grid {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Adjust body padding to prevent double padding */
    body {
        padding-left: 1rem;
        padding-right: 1rem;
        margin: 0;
    }
    
    /* Remove horizontal padding from inner containers if body has padding */
    .container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ===== TABLET STYLES ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .treatment-grid.multi-column {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Show edge arrows on tablet */
    .edge-nav-arrows {
        display: flex;
    }
    
    /* Hide previous/next buttons on tablet */
    .slider-controls {
        display: none;
    }
    
    .header-bottom-container {
        gap: 60px;
    }
}

/* ===== LARGE DESKTOP STYLES ===== */
@media (min-width: 1025px) {
    .treatment-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1200px) {
    .header-bottom-container {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .header-bottom-container {
        gap: 40px;
    }
    
    .medical-tourism {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .footer-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .footer-column > div:not(h3) {
        display: block !important;
    }

    .footer-column h3::after {
        display: none;
    }
    
    .slider-hero-container {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        width: 95%;
        padding: 1rem;
        margin: 30px auto;
    }
}

@media (max-width: 576px) {
    body {
        padding: 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }

    .cta-button {
        width: 100%;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0;
        margin: 0 auto;
    }
}

@media (min-width: 1401px) {
    .container {
        max-width: 1600px;
    }
}

.footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: var(--dark);
    z-index: 1000;
    border-top: 1px solid rgba(0, 200, 255, 0.1);
    box-sizing: border-box;
    padding: 0.5rem;
    justify-content: space-around;
    align-items: center;
    height: 70px;
}

.mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-width: 0;
}

.mobile-bottom-nav a i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.mobile-bottom-nav a:hover {
    color: var(--primary);
}

/* ===== ENHANCED CONTAINER GLOW EFFECTS ===== */
.footer-column,
.footer-cta,
.footer-social a,
.footer-container,
.footer-bottom {
    box-shadow: 0 0 6px rgba(123, 45, 255, 0.15), 
                0 0 10px rgba(0, 200, 255, 0.1);
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(0, 100, 255, 0.4);
}

.footer-column:hover,
.footer-cta:hover,
.footer-social a:hover {
    box-shadow: 0 0 10px rgba(123, 45, 255, 0.25), 
                0 0 15px rgba(0, 200, 255, 0.15);
    border-color: rgba(0, 150, 255, 0.7);
}

/* ===== BORDER RADIUS ===== */
.footer-column,
.footer-cta,
.footer-social a,
.footer-container,
.footer-bottom {
    border-radius: var(--border-radius);
}

.footer-cta {
    border-radius: var(--border-radius-sm);
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    .slider-hero-wrapper {
        transition: none;
    }
    
    .tab-content {
        transition: none;
    }
    
    .slider-nav-btn {
        transition: none;
    }
    
    .medical-treatment-card {
        transition: none;
    }
    
    .medical-treatment-card:hover .card-image img {
        transform: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.site-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    left: 0;
    position: relative;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== FLOATING CTAs ===== */
.floating-cta-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.floating-cta {
  padding: 14px 28px;
  color: var(--light);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  font-weight: 600;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.floating-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.floating-cta:hover::before {
  transform: translateX(100%);
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
}

.floating-cta-glow {
  animation: pulse 2s infinite;
}

.whatsapp-cta {
  background-color: rgba(37, 211, 102, 0.2);
  border-color: #25D366;
}

.whatsapp-cta:hover {
  background-color: rgba(37, 211, 102, 0.3);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
  animation: pulse-whatsapp 1.5s infinite;
  transform: translateY(-3px) scale(1.03);
}

.schedule-cta {
  background-color: rgba(0, 200, 255, 0.15);
  border-color: var(--primary);
}

.schedule-cta:hover {
  background-color: rgba(0, 200, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
  animation: pulse 1.5s infinite;
  transform: translateY(-3px) scale(1.03);
}

.cta-text {
  display: inline;
}

/* Mobile adjustments for floating CTAs */
@media (max-width: 768px) {
  .floating-cta-container {
    bottom: 90px;
    right: 15px;
  }
  
  .floating-cta-container {
    bottom: 80px;
    right: 15px;
  }
  
  .floating-cta {
    padding: 12px 20px;
    font-size: 0.85rem;
  }
  
  .floating-cta-container {
    right: 10px !important;
    left: auto !important;
  }
  
  .floating-cta {
    max-width: calc(100vw - 20px) !important;
    white-space: normal !important;
  }
  
  .floating-cta-container {
    bottom: 100px;
  }
}

/* Animation keyframes used by floating CTAs */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(0, 200, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 255, 0); }
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero-background {
  transition: background-image 0.8s ease-in-out;
}

/* ===== ACCESSIBILITY AND UTILITY CLASSES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .mobile-header,
    .mobile-bottom-nav,
    .floating-cta-container,
    .edge-nav-arrows,
    .slider-controls {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}