/* LGBTQ+ Health Page - Header & Hero Styles */

/* CSS Variables and Base Styles */
:root {
    --color-primary: #706d9c;
    --color-secondary: #926ecc;
    --color-text: #333333;
    --color-text-light: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Pride Flag Bar */
.pride-flag-bar {
    display: flex;
    width: 100%;
    height: 6px;
    position: relative;
    z-index: 100;
}

.pride-stripe {
    flex: 1;
    transition: flex 0.3s ease;
}

.pride-stripe.red { background-color: #e40303; }
.pride-stripe.orange { background-color: #ff8c00; }
.pride-stripe.yellow { background-color: #ffed00; }
.pride-stripe.green { background-color: #008026; }
.pride-stripe.blue { background-color: #24408e; }
.pride-stripe.purple { background-color: #732982; }

.pride-flag-bar:hover .pride-stripe {
    flex: 0.8;
}

.pride-flag-bar:hover .pride-stripe:hover {
    flex: 1.4;
}

/* Navigation */
.lgbtq-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982);
    transition: width 0.3s ease;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-outline-pride {
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982) 1;
    color: var(--color-text);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-pride::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline-pride:hover {
    color: white;
    border-color: transparent;
}

.btn-outline-pride:hover::before {
    left: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.lgbtq-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(228, 3, 3, 0.05) 0%,
        rgba(255, 140, 0, 0.05) 15%,
        rgba(255, 237, 0, 0.05) 30%,
        rgba(0, 128, 38, 0.05) 45%,
        rgba(36, 64, 142, 0.05) 60%,
        rgba(115, 41, 130, 0.05) 75%,
        rgba(228, 3, 3, 0.05) 100%
    );
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-5%) translateY(5%); }
    50% { transform: translateX(5%) translateY(-5%); }
    75% { transform: translateX(-5%) translateY(-5%); }
}

.pattern-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(228, 3, 3, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(115, 41, 130, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(36, 64, 142, 0.1) 0%, transparent 50%);
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #e40303, #ff8c00);
    top: 10%;
    left: -5%;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #24408e, #732982);
    bottom: 10%;
    right: -5%;
    animation: float2 25s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #ffed00, #008026);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.1); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(0.9); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    33% { transform: translate(-45%, -55%) scale(1.05); }
    66% { transform: translate(-55%, -45%) scale(0.95); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
    background: linear-gradient(
        90deg,
        #e40303 0%,
        #ff8c00 16.66%,
        #ffed00 33.33%,
        #008026 50%,
        #24408e 66.66%,
        #732982 83.33%,
        #e40303 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 5s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: white;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

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

.btn-primary-gradient {
    background: linear-gradient(135deg, #706d9c, #926ecc);
    color: white;
    box-shadow: 0 4px 20px rgba(146, 110, 204, 0.3);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(146, 110, 204, 0.4);
}

.btn-secondary-ghost {
    background: transparent;
    color: var(--color-text);
    border: 2px solid rgba(112, 109, 156, 0.3);
}

.btn-secondary-ghost:hover {
    background: rgba(112, 109, 156, 0.1);
    border-color: rgba(112, 109, 156, 0.5);
}

/* Trust Indicators */
.hero-trust-indicators {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.875rem;
}

.trust-item svg {
    opacity: 0.7;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1s ease 1s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(112, 109, 156, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(112, 109, 156, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: rgba(243, 243, 246, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-trust-indicators {
        flex-direction: column;
        align-items: center;
    }
}

/* Background Image Slider Styles */
.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Fallback background color */
    background-color: #f8f9fa;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 5;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: all;
}

.slider-prev:hover,
.slider-next:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-prev svg,
.slider-next svg {
    color: var(--color-text, #333);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 5;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Adjust gradient overlay for better contrast with images */
.gradient-overlay {
    background: linear-gradient(
        135deg,
        rgba(228, 3, 3, 0.15) 0%,
        rgba(255, 140, 0, 0.15) 15%,
        rgba(255, 237, 0, 0.15) 30%,
        rgba(0, 128, 38, 0.15) 45%,
        rgba(36, 64, 142, 0.15) 60%,
        rgba(115, 41, 130, 0.15) 75%,
        rgba(228, 3, 3, 0.15) 100%
    );
    z-index: 2;
}

.pattern-overlay {
    z-index: 3;
}

.floating-shapes {
    z-index: 4;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
    
    .slider-controls {
        padding: 0 1rem;
    }
    
    .slider-indicators {
        bottom: 2rem;
        gap: 0.75rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Navigation Anchor Links Section */
.lgbtq-anchor-nav {
    padding: 5rem 0;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        rgba(146, 110, 204, 0.02) 50%, 
        #ffffff 100%
    );
    position: relative;
    overflow: hidden;
}

.lgbtq-anchor-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(228, 3, 3, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(115, 41, 130, 0.05) 0%, transparent 40%);
    animation: floatGradient 20s ease-in-out infinite;
}

@keyframes floatGradient {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(25%); }
}

.anchor-wrapper {
    position: relative;
    z-index: 1;
}

.anchor-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 3rem;
    position: relative;
}

.anchor-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        #e40303 0%, 
        #ff8c00 20%, 
        #ffed00 40%, 
        #008026 60%, 
        #24408e 80%, 
        #732982 100%
    );
    border-radius: 2px;
}

/* Anchor Links Grid */
.anchor-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.anchor-card {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.anchor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(228, 3, 3, 0) 0%,
        rgba(255, 140, 0, 0) 16.66%,
        rgba(255, 237, 0, 0) 33.33%,
        rgba(0, 128, 38, 0) 50%,
        rgba(36, 64, 142, 0) 66.66%,
        rgba(115, 41, 130, 0) 83.33%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.anchor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.anchor-card:hover::before {
    opacity: 0.05;
}

.anchor-card > * {
    position: relative;
    z-index: 2;
}

/* Anchor Icon */
.anchor-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, 
        rgba(146, 110, 204, 0.1) 0%, 
        rgba(112, 109, 156, 0.1) 100%
    );
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.anchor-card:hover .anchor-icon {
    background: linear-gradient(135deg, 
        rgba(228, 3, 3, 0.1) 0%,
        rgba(115, 41, 130, 0.1) 100%
    );
    transform: rotate(-5deg) scale(1.05);
}

.anchor-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--color-primary);
    transition: all 0.3s ease;
}

.anchor-card:hover .anchor-icon svg {
    fill: #732982;
}

/* Anchor Content */
.anchor-content {
    flex: 1;
}

.anchor-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.anchor-card:hover .anchor-content h3 {
    background: linear-gradient(90deg, #706d9c, #926ecc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.anchor-content p {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

/* Anchor Arrow */
.anchor-arrow {
    width: 40px;
    height: 40px;
    background: rgba(146, 110, 204, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.anchor-card:hover .anchor-arrow {
    background: linear-gradient(135deg, #706d9c, #926ecc);
    transform: translateX(5px);
}

.anchor-arrow svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
    transition: all 0.3s ease;
}

.anchor-card:hover .anchor-arrow svg {
    fill: white;
    transform: translateX(3px);
}

/* Quick Stats Bar */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.quick-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        #e40303 0%, 
        #ff8c00 16.66%, 
        #ffed00 33.33%, 
        #008026 50%, 
        #24408e 66.66%, 
        #732982 83.33%,
        #e40303 100%
    );
    background-size: 200% 100%;
    animation: gradientSlide 4s linear infinite;
}

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

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-number::after {
    content: '+';
    position: absolute;
    right: -20px;
    top: 0;
    font-size: 1.5rem;
    opacity: 0.6;
}

.stat-item:last-child .stat-number::after {
    content: '';
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .anchor-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .anchor-card {
        padding: 1.5rem;
    }
    
    .anchor-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .anchor-title {
        font-size: 2rem;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
}

/* GAHT Section Styles */
.gaht-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        rgba(240, 240, 245, 0.5) 100%
    );
    position: relative;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(91, 206, 250, 0.1) 0%, 
        rgba(245, 169, 184, 0.1) 50%, 
        rgba(255, 255, 255, 0.1) 100%
    );
    border: 1px solid rgba(91, 206, 250, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.badge-icon {
    font-size: 1.5rem;
}

.header-badge span {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Tab Navigation */
.gaht-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button[data-tab="feminizing"]::before {
    background: linear-gradient(90deg, 
        #5bcefa 0%, 
        #f5a9b8 50%, 
        #ffffff 100%
    );
}

.tab-button[data-tab="masculinizing"]::before {
    background: linear-gradient(90deg, 
        #5bcefa 0%, 
        #f5a9b8 50%, 
        #ffffff 100%
    );
}

.tab-button:hover {
    background: rgba(146, 110, 204, 0.05);
    border-color: rgba(146, 110, 204, 0.3);
    transform: translateY(-2px);
}

.tab-button.active {
    background: white;
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.tab-button.active::before {
    transform: scaleX(1);
}

.tab-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(146, 110, 204, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tab-button.active .tab-icon {
    background: linear-gradient(135deg, #706d9c, #926ecc);
}

.tab-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
    fill: none;
}

.tab-button.active .tab-icon svg {
    stroke: white;
}

.tab-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
}

.tab-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    display: block;
}

/* Tab Content */
.tab-content {
    animation: fadeIn 0.6s ease;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

/* Medication Categories */
.medication-category {
    margin-bottom: 4rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2rem;
    position: relative;
}

.category-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(146, 110, 204, 0.3) 0%, 
        transparent 100%
    );
    margin-left: 1rem;
}

.category-icon {
    font-size: 2rem;
}

/* Medication Grid */
.medication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.medication-grid.single-item {
    grid-template-columns: minmax(280px, 400px);
}

/* Medication Cards */
.medication-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.medication-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.medication-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #5bcefa, #f5a9b8) border-box;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.card-badge.warning {
    background: linear-gradient(135deg, #f9a825, #ff6f00);
}

.controlled-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 0, 0, 0.1);
    color: #c62828;
    border: 1px solid rgba(198, 40, 40, 0.3);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.card-header {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, 
        rgba(146, 110, 204, 0.05) 0%, 
        rgba(112, 109, 156, 0.05) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.med-image {
    width: 150px;
    height: 150px;
    position: relative;
    z-index: 2;
}

.med-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
}

.trans-flag-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        #5bcefa 0%, 
        #f5a9b8 20%, 
        #ffffff 40%, 
        #f5a9b8 60%, 
        #5bcefa 80%, 
        #5bcefa 100%
    );
    opacity: 0.8;
}

.trans-flag-accent.masculinizing {
    background: linear-gradient(90deg, 
        #5bcefa 0%, 
        #f5a9b8 25%, 
        #ffffff 50%, 
        #f5a9b8 75%, 
        #5bcefa 100%
    );
}

.card-body {
    padding: 2rem;
}

.card-body h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.med-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.med-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.med-features li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.875rem;
    color: #495057;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.med-features li:last-child {
    border-bottom: none;
}

.med-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: 700;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-card-primary {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-card-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(146, 110, 204, 0.3);
}

/* Warning Notices */
.controlled-substance-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.controlled-substance-notice svg {
    width: 24px;
    height: 24px;
    fill: #ff6f00;
    flex-shrink: 0;
}

.transference-warning {
    padding: 1rem;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 8px;
    font-size: 0.875rem;
    color: #e65100;
    margin-bottom: 1rem;
}

/* Section CTA */
.section-cta {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, 
        rgba(91, 206, 250, 0.05) 0%, 
        rgba(245, 169, 184, 0.05) 50%, 
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: 24px;
    margin-top: 4rem;
}

.section-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-cta p {
    font-size: 1.125rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(146, 110, 204, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gaht-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 400px;
    }
    
    .medication-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-cta {
        padding: 3rem 2rem;
    }
}

/* GAHT Section - Compact Card Styles */
.gaht-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        rgba(250, 250, 252, 0.8) 100%
    );
    position: relative;
}

/* Medication Grid - Tighter spacing */
.medication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.medication-grid.single-item {
    grid-template-columns: minmax(300px, 420px);
}

/* Compact Medication Cards */
.medication-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.medication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(146, 110, 204, 0.2);
}

.medication-card.featured {
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #5bcefa 0%, #f5a9b8 50%, #ffffff 100%) border-box;
}

/* Compact Card Header */
.card-header {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, 
        rgba(146, 110, 204, 0.03) 0%, 
        rgba(112, 109, 156, 0.03) 100%
    );
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.med-image {
    width: 80px;
    height: 80px;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.med-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

/* Header Content - Side by side with image */
.card-header-content {
    flex: 1;
}

.card-body {
    padding: 1.5rem;
}

.card-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.med-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Compact Features List */
.med-features {
    list-style: none;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.med-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #495057;
    line-height: 1.4;
}

.med-features li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.med-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #5bcefa;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

/* Inline Badge */
.card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.card-badge.warning {
    background: linear-gradient(135deg, #ff6f00, #ff8f00);
}

.controlled-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 0, 0, 0.08);
    color: #c62828;
    border: 1px solid rgba(198, 40, 40, 0.2);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Trans Flag Accent - Subtle */
.trans-flag-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #5bcefa 0%, 
        #f5a9b8 20%, 
        #ffffff 40%, 
        #f5a9b8 60%, 
        #5bcefa 80%, 
        #5bcefa 100%
    );
    opacity: 0.6;
}

/* Compact Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    margin-top: auto;
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-label {
    font-size: 0.75rem;
    color: #6c757d;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Compact Button */
.btn-card-primary {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    color: white;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-card-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(146, 110, 204, 0.25);
}

/* Warnings - More compact */
.transference-warning {
    padding: 0.75rem;
    background: rgba(255, 152, 0, 0.08);
    border-radius: 8px;
    font-size: 0.75rem;
    color: #e65100;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Alternative Compact Card Layout */
.medication-card.compact-horizontal {
    display: flex;
    height: auto;
    padding: 1.5rem;
}

.medication-card.compact-horizontal .card-header {
    height: auto;
    background: none;
    border: none;
    padding: 0;
    width: 100px;
    border-bottom: none;
}

.medication-card.compact-horizontal .card-body {
    padding: 0;
    padding-left: 1.5rem;
    flex: 1;
}

/* Improved Tab Styles */
.tab-button {
    padding: 1rem 2rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
}

.tab-icon {
    width: 36px;
    height: 36px;
    background: rgba(146, 110, 204, 0.08);
    border-radius: 10px;
}

.tab-button.active {
    background: linear-gradient(135deg, 
        rgba(91, 206, 250, 0.08) 0%, 
        rgba(245, 169, 184, 0.08) 100%
    );
    border-color: rgba(91, 206, 250, 0.3);
    box-shadow: 0 4px 16px rgba(91, 206, 250, 0.15);
}

/* Quick Info Pills */
.info-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.info-pill {
    padding: 0.25rem 0.625rem;
    background: rgba(146, 110, 204, 0.08);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
}

/* Grid View Toggle Option */
.view-toggle {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.view-btn {
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

/* Mobile Optimization */
@media (max-width: 768px) {
    .medication-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-header {
        height: 100px;
        padding: 0 1rem;
    }
    
    .med-image {
        width: 60px;
        height: 60px;
        margin-right: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .med-features li {
        font-size: 0.8125rem;
        padding: 0.375rem 0;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-card-primary {
        width: 100%;
        text-align: center;
    }
}

/* Hover State Enhancements */
.medication-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.medication-card:hover .trans-flag-accent {
    opacity: 1;
    height: 4px;
}

.medication-card:hover .med-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Focus States for Accessibility */
.medication-card:focus-within {
    outline: 2px solid rgba(91, 206, 250, 0.5);
    outline-offset: 2px;
}

.btn-card-primary:focus {
    outline: 2px solid rgba(146, 110, 204, 0.5);
    outline-offset: 2px;
}

/* Sexual Health & Wellness Section */
.sexual-health-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 250, 252, 0.5) 100%
    );
    position: relative;
}

/* Section Header */
.sexual-health-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.sexual-health-section .header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.1) 0%, 
        rgba(254, 202, 87, 0.1) 100%
    );
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

/* Service Categories */
.service-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-category {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Category Header */
.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, 
        rgba(146, 110, 204, 0.1) 0%, 
        rgba(112, 109, 156, 0.1) 100%
    );
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon-wrapper svg {
    width: 28px;
    height: 28px;
    fill: var(--color-primary);
}

.category-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.category-info p {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-cards.horizontal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* PrEP/PEP Cards */
.service-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(250, 250, 252, 1) 100%
    );
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-highlight {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #ff6b6b 0%, 
        #4ecdc4 50%, 
        #45b7d1 100%
    );
}

.card-highlight.emergency {
    background: linear-gradient(90deg, 
        #ff6b6b 0%, 
        #ff8c00 100%
    );
}

/* Badges */
.effectiveness-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    text-align: center;
}

.effectiveness-badge .percentage {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4ecdc4, #44a3aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.effectiveness-badge .label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.urgency-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 20px;
}

.urgency-badge svg {
    width: 16px;
    height: 16px;
    fill: #ff6f00;
}

.urgency-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e65100;
}

/* Service Header */
.service-header {
    margin-bottom: 1.5rem;
}

.service-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.service-header h4 .subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6c757d;
}

.medication-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.med-pill {
    padding: 0.375rem 0.75rem;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #00897b;
}

.emergency-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Feature List */
.feature-list {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    fill: #4ecdc4;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.875rem;
    color: #495057;
}

/* Price Section */
.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
}

.price-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text);
}

.btn-service {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4ecdc4, #44a3aa);
    color: white;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.btn-service.emergency {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    width: 100%;
    padding: 1rem;
}

.btn-service.emergency:hover {
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Horizontal Service Cards */
.service-card-horizontal {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card-horizontal:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(78, 205, 196, 0.3);
}

.service-card-horizontal.highlight {
    background: linear-gradient(135deg, 
        rgba(255, 237, 0, 0.05) 0%, 
        rgba(255, 152, 0, 0.05) 100%
    );
    border-color: rgba(255, 152, 0, 0.2);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(146, 110, 204, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.card-icon.special {
    background: linear-gradient(135deg, 
        rgba(255, 237, 0, 0.2) 0%, 
        rgba(255, 152, 0, 0.2) 100%
    );
}

.card-icon.special svg {
    width: 32px;
    height: 32px;
    fill: #ff8c00;
}

.card-content {
    flex: 1;
}

.card-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.card-content h4 .condition {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6c757d;
}

.treatment-options {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.option-tag {
    padding: 0.25rem 0.625rem;
    background: rgba(146, 110, 204, 0.08);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
}

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

.price-compact {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.btn-text:hover {
    color: var(--color-secondary);
    transform: translateX(3px);
}

/* Wellness Grid */
.wellness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.wellness-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 250, 252, 1) 100%
    );
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.wellness-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(146, 110, 204, 0.2);
}

.wellness-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, 
        rgba(146, 110, 204, 0.1) 0%, 
        rgba(112, 109, 156, 0.1) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wellness-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
}

.wellness-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.wellness-card p {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.dosing-options {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dose-option {
    padding: 0.375rem 0.75rem;
    background: rgba(146, 110, 204, 0.08);
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary);
}

.product-note {
    font-size: 0.8125rem;
    color: #00897b;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.btn-wellness {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #706d9c, #926ecc);
    color: white;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-wellness:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(146, 110, 204, 0.3);
}

/* Trust & Privacy Section */
.trust-privacy {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, 
        rgba(146, 110, 204, 0.05) 0%, 
        rgba(112, 109, 156, 0.05) 100%
    );
    border-radius: 20px;
    margin-top: 4rem;
}

.trust-privacy .trust-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.trust-privacy .trust-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
}

.trust-privacy h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.trust-privacy p {
    font-size: 1.125rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-categories {
        gap: 2rem;
    }
    
    .service-category {
        padding: 2rem 1.5rem;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .price-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-service {
        width: 100%;
    }
    
    .wellness-grid {
        grid-template-columns: 1fr;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
        margin-right: 1rem;
    }
    
    .treatment-options {
        display: none;
    }
}

