/**
 * SafeSante Homepage Styles
 * Template: front-page.php
 *
 * Table of Contents:
 * 1. Hero Section
 * 2. Mission Section
 * 3. Partners Marquee
 * 4. Statistics
 * 5. Pharmacy Section
 * 6. Values Slider
 * 7. Blog Section
 * 8. Social Media Section
 * 9. Testimonials Section
 * 10. CTA Section
 * 11. Medecin Section
 * 12. Responsive Styles
 */

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #202B6D 0%, #2F4ACD 100%);
    padding-bottom: 7px;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
    max-width: 1200px;
    width: 100%;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
    color: var(--white);
    text-align: center;
}

/* Dynamic Text Animation */
.hero-dynamic-text {
    display: inline;
    position: relative;
    color: #ffffff;
}

.dynamic-word {
    display: none;
    opacity: 0;
}

.dynamic-word.active {
    display: inline;
    opacity: 1;
    animation: fadeInWord 0.4s ease-out;
}

.dynamic-word.exit {
    display: inline;
    opacity: 0;
    animation: fadeOutWord 0.3s ease-in;
}

@keyframes fadeInWord {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutWord {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 18px;
    font-weight: 400;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hero-btn {
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--coral-color);
    color: var(--white);
    border: none;
    min-width: 160px;
}

.hero-btn:hover {
    background: linear-gradient(135deg, var(--coral-color) 0%, #ff8578 50%, #ffd700 100%);
    color: var(--white);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 107, 91, 0.45);
}

/* ==========================================================================
   Hero Button-to-Card Transformation
   ========================================================================== */

/* Button-Card Container */
.hero-btn-card {
    /* Default: Button appearance */
    width: 160px;
    height: 48px;
    position: relative;
    perspective: 1000px;
    text-decoration: none;
    display: inline-block;
    /* Smooth size transition */
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover: Expand to card size */
.hero-btn-card:hover {
    width: 140px;
    height: 200px;
    transform: translateY(-20px);
    z-index: 10;
}

/* Inner container for flip */
.btn-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Flip on hover */
.hero-btn-card:hover .btn-card-inner {
    transform: rotateY(180deg);
}

/* Front & Back shared */
.btn-card-front,
.btn-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 30px;
    overflow: hidden;
    transition: border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Front: Button style */
.btn-card-front {
    background-color: var(--coral-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(255, 107, 91, 0.3);
}

.btn-card-front i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-card-front span {
    transition: opacity 0.3s ease;
}

/* Hover effect on front before flip */
.hero-btn-card:hover .btn-card-front {
    border-radius: 12px;
}

/* Back: Card style */
.btn-card-back {
    background: linear-gradient(180deg, #202B6D 0%, #2F4ACD 100%);
    transform: rotateY(180deg);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    border: 3px solid #FEC400;
}

/* Card Icon Area - Styled icon with effects */
.card-icon-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Decorative background circle */
.card-icon-bg {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

/* Main icon styling */
.card-icon-area > i {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Decorative elements behind icon */
.card-icon-area::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: rotate-slow 10s linear infinite;
}

.card-icon-area::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate-slow 15s linear infinite reverse;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Card overlay with title/subtitle */
.card-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.card-overlay .card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.card-overlay .card-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    text-align: center;
    line-height: 1.3;
}

/* Category-specific colors and effects */

/* Pharmacien - Red/Coral theme */
.hero-btn-card[data-category="pharmacien"]:hover {
    filter: drop-shadow(0 15px 30px rgba(230, 57, 70, 0.4));
}

.hero-btn-card[data-category="pharmacien"] .btn-card-back {
    border-color: #e63946;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-btn-card[data-category="pharmacien"] .card-icon-area > i {
    color: #e63946;
    text-shadow: 0 0 20px rgba(230, 57, 70, 0.6);
}

.hero-btn-card[data-category="pharmacien"] .card-icon-bg {
    background: radial-gradient(circle, #e63946 0%, transparent 70%);
}

/* Medecin - Blue theme */
.hero-btn-card[data-category="medecin"]:hover {
    filter: drop-shadow(0 15px 30px rgba(168, 218, 220, 0.4));
}

.hero-btn-card[data-category="medecin"] .btn-card-back {
    border-color: #a8dadc;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #1d3557 100%);
}

.hero-btn-card[data-category="medecin"] .card-icon-area > i {
    color: #a8dadc;
    text-shadow: 0 0 20px rgba(168, 218, 220, 0.6);
}

.hero-btn-card[data-category="medecin"] .card-icon-bg {
    background: radial-gradient(circle, #a8dadc 0%, transparent 70%);
}

/* Partenaire - Gold/Orange theme */
.hero-btn-card[data-category="partenaire"]:hover {
    filter: drop-shadow(0 15px 30px rgba(244, 162, 97, 0.4));
}

.hero-btn-card[data-category="partenaire"] .btn-card-back {
    border-color: #f4a261;
    background: linear-gradient(180deg, #1a1a2e 0%, #2d132c 50%, #3d1f1f 100%);
}

.hero-btn-card[data-category="partenaire"] .card-icon-area > i {
    color: #f4a261;
    text-shadow: 0 0 20px rgba(244, 162, 97, 0.6);
}

.hero-btn-card[data-category="partenaire"] .card-icon-bg {
    background: radial-gradient(circle, #f4a261 0%, transparent 70%);
}

/* Curieux - Teal/Green theme */
.hero-btn-card[data-category="curieux"]:hover {
    filter: drop-shadow(0 15px 30px rgba(42, 157, 143, 0.4));
}

.hero-btn-card[data-category="curieux"] .btn-card-back {
    border-color: #2a9d8f;
    background: linear-gradient(180deg, #1a1a2e 0%, #0d2137 50%, #134e4a 100%);
}

.hero-btn-card[data-category="curieux"] .card-icon-area > i {
    color: #2a9d8f;
    text-shadow: 0 0 20px rgba(42, 157, 143, 0.6);
}

.hero-btn-card[data-category="curieux"] .card-icon-bg {
    background: radial-gradient(circle, #2a9d8f 0%, transparent 70%);
}

/* Curieux button - wider to fit "Concurrent curieux" text */
.hero-btn-card[data-category="curieux"] {
    width: 200px;
}

.hero-btn-card[data-category="curieux"] .btn-card-front {
    font-size: 14px;
    padding: 0 12px;
}

/* ==========================================================================
   2. Mission Section
   ========================================================================== */
.mission-section {
    background: linear-gradient(180deg, #202B6D 0%, #1a2158 100%);
    padding: 100px 0;
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.mission-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 0px;
}

.mission-title {
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.mission-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--coral-color), #fec400);
    border-radius: 2px;
}

.mission-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 20px auto 20px;
    line-height: 1.7;
}

.mission-arrow {
    font-size: 1.2rem;
    color: var(--coral-color);
    animation: bounce 2s infinite;
    opacity: 0.8;
}

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

/* ==========================================================================
   3. Partners Marquee
   ========================================================================== */
.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 50px;
    padding: 25px 0;
}

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

.partners-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #1a2158 0%, transparent 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, #1a2158 0%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 40px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo {
    flex-shrink: 0;
    width: 250px;
    height: 180px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.4s ease;
}

.partner-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.partner-logo:hover img {
    opacity: 1;
}

/* ==========================================================================
   4. Statistics Section
   ========================================================================== */
.stats-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #A7DBEE;
    transition: transform 0.3s ease;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number .stat-suffix {
    font-size: 1.6rem;
    margin-left: 2px;
    color: #8fd0e6;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ==========================================================================
   5. Pharmacy Section
   ========================================================================== */
.pharmacy-section {
    background: linear-gradient(180deg, #c5e6f5 0%, #A7DBEE 50%, #b8e2f2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.pharmacy-header {
    text-align: center;
    margin-bottom: 40px;
}

.pharmacy-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 400;
    margin-bottom: 20px;
}

.pharmacy-subtitle {
    font-size: 1.15rem;
    color: var(--primary-color);
    max-width: 850px;
    margin: 0 auto 10px;
    line-height: 1.6;
}

.pharmacy-highlight-text {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 5px;
}

/* Highlight underline effect - yellow gradient */
.highlight-underline {
    background: linear-gradient(transparent 60%, #FEC400 60%, #FEC400 90%, transparent 90%);
    padding: 0 5px;
}

/* Tab Buttons - Horizontal Separated */
.pharmacy-tabs {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.tab-btn {
    flex: 1;
    max-width: 220px;
    padding: 14px 24px;
    border: 2px solid #b8dce8;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    color: #4E585B;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tab-btn-text {
    font-weight: 500;
}

.tab-btn-icon {
    font-size: 0.9rem;
    opacity: 0.6;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #A7DBEE;
}

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

.tab-btn.active .tab-btn-icon {
    opacity: 1;
}

/* Tab Content Container - Separate card below tabs */
.pharmacy-tabs-container {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

/* Tab Panel */
.tab-panel {
    display: none;
    width: 100%;
}

.tab-panel.active {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    animation: fadeIn 0.4s ease;
}

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

/* Tab Image - Left Side */
.tab-image {
    flex: 0 0 38%;
    max-width: 38%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Tab Text - Right Side */
.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 1.7rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.35;
}

.tab-text p {
    color: #4E585B;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.tab-text p:last-child {
    margin-bottom: 0;
}

/* CTA Button */
.pharmacy-cta {
    text-align: center;
    margin-top: 10px;
}

.pharmacy-cta-btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.pharmacy-cta-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #ffd700 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   Section Header - General
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--coral-color);
    color: var(--white);
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #4E585B;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   6. Values Slider Section
   ========================================================================== */
.values-section {
    background: linear-gradient(180deg, #202B6D 0%, #2F4ACD 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

/* Decorative background shapes */
.values-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    transform: rotate(15deg);
}

.values-section::after {
    content: '';
    position: absolute;
    top: 100px;
    right: 100px;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    transform: rotate(30deg);
}

/* Additional decorative shape */
.values-layout::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 200px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 30px;
    transform: rotate(45deg);
    z-index: -1;
}

/* 2-Column Layout */
.values-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Column */
.values-left {
    padding-right: 20px;
}

.values-title {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.values-title .highlight {
    color: var(--white);
}

.values-subtitle {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-weight: 400;
}

/* Values CTA */
.values-cta {
    text-align: left;
}

.values-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--coral-color);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 91, 0.3);
}

.values-cta-btn:hover {
    background: linear-gradient(135deg, var(--coral-color) 0%, #ff8578 50%, #ffd700 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 91, 0.45);
}

/* Right Column - Carousel */
.values-right {
    position: relative;
    perspective: 1200px;
}

.values-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.values-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: visible;
    padding: 30px 0;
    position: relative;
    width: 100%;
    perspective: 1000px;
    min-height: 380px;
}

/* Value Cards - All cards use absolute positioning for smooth transitions */
.values-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: visible;
    width: 260px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -130px;
    margin-top: -175px;
    transform: scale(0.7) translateX(0) rotateY(0deg);
    transform-style: preserve-3d;
    will-change: transform, opacity;
    pointer-events: none;
    z-index: 0;
}

/* Active card - center, full size */
.values-card.active {
    opacity: 1;
    width: 300px;
    margin-left: -150px;
    transform: scale(1) translateX(0) rotateY(0deg) translateZ(50px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    z-index: 10;
    pointer-events: auto;
}

/* Previous card - positioned to the LEFT */
.values-card.prev-card {
    opacity: 0.7;
    transform: scale(0.85) translateX(-200px) rotateY(15deg) translateZ(-30px);
    z-index: 5;
    pointer-events: auto;
}

/* Next card - positioned to the RIGHT */
.values-card.next-card {
    opacity: 0.7;
    transform: scale(0.85) translateX(200px) rotateY(-15deg) translateZ(-30px);
    z-index: 5;
    pointer-events: auto;
}

/* Hidden cards - invisible at center */
.values-card.hidden-card {
    opacity: 0;
    transform: scale(0.6) translateX(0) rotateY(0deg) translateZ(-100px);
    z-index: 0;
    pointer-events: none;
}

.values-card-image {
    height: 200px;
    overflow: hidden;
    margin: 14px;
    border-radius: 18px;
}

.values-card.active .values-card-image {
    height: 220px;
}

.values-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-card-content {
    padding: 16px 24px 28px;
}

.values-card-title {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #202B6D;
    margin-bottom: 10px;
}

.values-card.active .values-card-title {
    font-size: 1.35rem;
}

.values-card-text {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.85rem;
    color: #4E585B;
    line-height: 1.6;
}

.values-card.active .values-card-text {
    font-size: 0.9rem;
}

/* Slider Navigation - Positioned at carousel edges */
.values-carousel-wrapper .slider-nav {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    color: #4E585B;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.values-carousel-wrapper .slider-nav:hover {
    background: #f8fafc;
    color: #202B6D;
    border-color: #CBD5E1;
}

.values-carousel-wrapper .slider-nav.prev {
    left: 0;
}

.values-carousel-wrapper .slider-nav.next {
    right: 0;
}

/* ==========================================================================
   7. Blog Section
   ========================================================================== */
/* Blog Section - Modern Medical Design */
.blog-section {
    background: #F4F4F4;
    padding: 50px 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-title {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #202B6D;
    margin-bottom: 0;
    display: inline-block;
    position: relative;
    letter-spacing: -0.5px;
}

.blog-title::after {
    display: none;
}

/* Blog Tabs - Toggle Pills */
.blog-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    background: #E8ECF1;
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.blog-tab-btn {
    padding: 14px 32px;
    background: transparent;
    border: none;
    color: #4E585B;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    border-radius: 50px;
}

.blog-tab-btn:first-child {
    border-radius: 50px;
    border-right: none;
}

.blog-tab-btn:last-child {
    border-radius: 50px;
}

.blog-tab-btn.active {
    background: #2F4ACD;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(47, 74, 205, 0.3);
}

.blog-tab-btn:hover:not(.active) {
    color: #2F4ACD;
    background: rgba(47, 74, 205, 0.08);
}

/* Blog Grid - 2 Column Layout */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.blog-column-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-column-right {
    display: flex;
}

/* Base Blog Card */
.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
}

/* Horizontal Card (Left Column) */
.blog-card-horizontal {
    display: flex;
    flex-direction: row;
    min-height: 180px;
}

.blog-card-horizontal .blog-card-image {
    width: 200px;
    min-width: 200px;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    margin: 12px;
}

.blog-card-horizontal .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-horizontal .blog-card-content {
    flex: 1;
    padding: 20px 24px 20px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Featured Card (Right Column) */
.blog-card-featured {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.blog-card-featured .blog-card-image {
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    margin: 12px 12px 0 12px;
}

.blog-card-featured .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-featured .blog-card-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

/* Card Content Styles */
.blog-card-date {
    color: #4E585B;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 10px;
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

.blog-card-title {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #202B6D;
    line-height: 1.5;
    margin-bottom: 16px;
}

.blog-card-featured .blog-card-title {
    font-size: 1.15rem;
}

/* Blog Card Button */
.blog-card-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #2F4ACD;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    width: fit-content;
    margin-top: auto;
}

.blog-card-btn:hover {
    background: #2539A8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 74, 205, 0.3);
}

/* Legacy link style (for backwards compatibility) */
.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2F4ACD;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

.blog-card-link:hover {
    color: #2539A8;
    gap: 14px;
}

.blog-card-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-link i {
    transform: translateX(4px);
}

/* Blog Panel */
.blog-panel {
    display: none;
}

.blog-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* ==========================================================================
   7b. Blog Section - Stacked Cards (Tinder-style) Design
   ========================================================================== */

/* Main Layout - 3 Columns: Info | Cards | Title+Tabs */
.swipe-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
    padding: 20px 0;
}

/* LEFT Column - Info/Description */
.swipe-info-column {
    width: 260px;
    min-width: 260px;
    text-align: left;
    flex-shrink: 0;
}

/* CENTER Column - Cards */
.swipe-deck-column {
    flex-shrink: 0;
}

/* Deck Container */
.swipe-deck {
    position: relative;
    width: 360px;
    height: 440px;
    flex-shrink: 0;
}

/* RIGHT Column - Title + Tabs */
.swipe-nav-column {
    width: 260px;
    min-width: 260px;
    text-align: left;
    flex-shrink: 0;
}

/* Section Title - Centered at top */
.swipe-section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #202B6D;
    margin-bottom: 25px;
    line-height: 1.2;
    text-align: center;
}

/* Redesigned Tabs - Vertical Style */
.swipe-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.swipe-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #F5F7FA;
    border: 2px solid transparent;
    border-radius: 12px;
    color: #6B7280;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.swipe-tab-btn i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.swipe-tab-btn:hover {
    background: #EEF2FF;
    color: #2F4ACD;
    border-color: #C7D2FE;
}

.swipe-tab-btn.active {
    background: linear-gradient(135deg, #2F4ACD 0%, #5B6FE3 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(47, 74, 205, 0.3);
}

.swipe-tab-btn.active i {
    color: #ffffff;
}

/* Info Content Container */
.swipe-info-content {
    position: relative;
}

/* Side Info Panel */
.swipe-info-panel {
    display: none;
    text-align: left;
    animation: fadeIn 0.4s ease;
}

.swipe-info-panel.active {
    display: block;
}

.swipe-info-label {
    display: inline-block;
    background: linear-gradient(135deg, #2F4ACD 0%, #5B6FE3 100%);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.swipe-info-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #202B6D;
    line-height: 1.3;
    margin-bottom: 14px;
}

.swipe-info-text {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.swipe-info-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2F4ACD;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.swipe-info-link i {
    transition: transform 0.3s ease;
}

.swipe-info-link:hover {
    color: #FF6B5B;
}

.swipe-info-link:hover i {
    transform: translateX(4px);
}

/* Deck Section - Contains deck and actions */
.swipe-deck-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Swipe Card Base */
.swipe-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.swipe-card:active {
    cursor: grabbing;
}

.swipe-card-inner {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(32, 43, 109, 0.2);
    display: flex;
    flex-direction: column;
}

/* Card Stack Positions */
.swipe-card[data-card="0"] {
    z-index: 30;
    transform: translateY(0) scale(1);
}

.swipe-card[data-card="1"] {
    z-index: 20;
    transform: translateY(12px) scale(0.96);
    opacity: 0.85;
}

.swipe-card[data-card="2"] {
    z-index: 10;
    transform: translateY(24px) scale(0.92);
    opacity: 0.6;
}

/* Active Card State */
.swipe-card.active {
    z-index: 30;
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Swipe Out Animations */
.swipe-card.swipe-left {
    transform: translateX(-150%) rotate(-30deg) !important;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.swipe-card.swipe-right {
    transform: translateX(150%) rotate(30deg) !important;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Dragging State */
.swipe-card.dragging {
    transition: none;
}

/* Card Image */
.swipe-card-image {
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.swipe-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Gradient overlay */
.swipe-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

/* Card Body */
.swipe-card-body {
    padding: 20px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Badge */
.swipe-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2F4ACD 0%, #5B6FE3 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    width: fit-content;
}

/* Title */
.swipe-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #202B6D;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Text */
.swipe-card-text {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Info Row */
.swipe-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

.swipe-card-date {
    font-size: 0.8rem;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    gap: 6px;
}

.swipe-card-date i {
    color: #2F4ACD;
}

/* Card Button */
.swipe-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FF6B5B 0%, #FF8F7D 100%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.swipe-card-btn:hover {
    background: linear-gradient(135deg, #FF5A48 0%, #FF7D6A 100%);
    box-shadow: 0 8px 20px rgba(255, 107, 91, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Swipe Actions - Compact inline style */
.swipe-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 35px;
}

.swipe-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.swipe-action-btn.swipe-prev {
    background: #ffffff;
    color: #6B7280;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.swipe-action-btn.swipe-prev:hover {
    color: #2F4ACD;
    transform: scale(1.1);
}

.swipe-action-btn.swipe-next {
    background: linear-gradient(135deg, #2F4ACD 0%, #5B6FE3 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 74, 205, 0.3);
}

.swipe-action-btn.swipe-next:hover {
    transform: scale(1.1);
}

.swipe-action-btn:active {
    transform: scale(0.95);
}

/* Indicator - Compact */
.swipe-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'DM Sans', sans-serif;
    padding: 0 12px;
}

.swipe-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: #202B6D;
}

.swipe-sep {
    font-size: 0.85rem;
    color: #9CA3AF;
}

.swipe-total {
    font-size: 0.85rem;
    color: #9CA3AF;
    font-weight: 500;
}

/* Hint Text - Hidden by default, show on mobile */
.swipe-hint {
    display: none;
}

/* Responsive - Swipe Cards */
@media (max-width: 1200px) {
    .swipe-layout {
        gap: 60px;
    }

    .swipe-info-column {
        width: 220px;
        min-width: 220px;
    }

    .swipe-nav-column {
        width: 220px;
        min-width: 220px;
    }

    .swipe-deck {
        width: 320px;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .swipe-layout {
        flex-direction: column;
        gap: 20px;
    }

    /* On tablet: Title+Tabs at top, Cards in middle, Info at bottom */
    .swipe-nav-column {
        order: -1;
        max-width: 100%;
        text-align: center;
    }

    .swipe-deck-column {
        order: 0;
    }

    .swipe-info-column {
        order: 1;
        max-width: 500px;
        text-align: center;
    }

    .swipe-section-title {
        font-size: 2rem;
    }

    .swipe-tabs {
        flex-direction: row;
        justify-content: center;
    }

    .swipe-tab-btn {
        flex: 1;
        justify-content: center;
        max-width: 200px;
    }

    .swipe-info-panel {
        text-align: center;
    }

    .swipe-info-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .swipe-layout {
        gap: 15px;
        padding: 15px 0;
    }

    .swipe-nav-column {
        padding: 0 10px;
    }

    .swipe-info-column {
        max-width: 100%;
        padding: 0 10px;
    }

    .swipe-section-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .swipe-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .swipe-tab-btn {
        max-width: 100%;
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .swipe-deck {
        width: 100%;
        max-width: 320px;
        height: 400px;
    }

    .swipe-card-image {
        height: 150px;
    }

    .swipe-card-body {
        padding: 14px 18px 18px;
    }

    .swipe-card-title {
        font-size: 1rem;
    }

    .swipe-card-text {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .swipe-card-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 12px;
    }

    .swipe-card-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .swipe-info-panel {
        max-width: 100%;
    }

    .swipe-info-title {
        font-size: 1.25rem;
    }

    .swipe-info-text {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .swipe-actions {
        margin-top: 16px;
    }

    .swipe-action-btn {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .swipe-hint {
        display: flex;
        font-size: 0.7rem;
        margin-top: 12px;
    }

    /* Smaller stack offset on mobile */
    .swipe-card[data-card="1"] {
        transform: translateY(8px) scale(0.97);
    }

    .swipe-card[data-card="2"] {
        transform: translateY(16px) scale(0.94);
    }
}

/* ==========================================================================
   End Stacked Cards Design
   ========================================================================== */

/* ==========================================================================
   8. Social Media Section
   ========================================================================== */
.social-section {
    background: linear-gradient(180deg, #202B6D 0%, #2F4ACD 100%);
    padding: 80px 0;
    color: var(--white);
}

.social-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.social-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--white);
}

.social-follow {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-follow-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 30px;
    height: 30px;
    border: 1px solid var(--white);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Social Profile */
.social-profile {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 50px;
    padding-bottom: 0;
    border-bottom: none;
}

.social-profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    padding: 0;
}

.social-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-profile-info h4 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.social-profile-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 800px;
}

/* Instagram Feed - Let Smash Balloon handle all styling */
.instagram-feed-wrapper {
    margin-top: 20px;
}

/* ==========================================================================
   9. Testimonials Section
   ========================================================================== */
.testimonials-section {
    background: linear-gradient(180deg, #202B6D 0%, #2F4ACD 100%);
    padding: 80px 0;
    color: var(--white);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 40px;
}

/* Testimonials Logo Marquee */
.testimonials-logos-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 50px;
    padding: 20px 0;
}

.testimonials-logos {
    display: flex;
    gap: 80px;
    animation: testimonials-marquee 20s linear infinite;
    width: max-content;
}

@keyframes testimonials-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonials-logos img {
    height: 45px;
    width: auto;
    flex-shrink: 0;
    opacity: 0.9;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.testimonial-card {
    background: rgba(26, 31, 61, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--white);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.testimonial-stars {
    color: #FEC400;
    font-size: 1rem;
    margin-bottom: 15px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

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

.testimonial-author {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-badge {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Testimonials CTA */
.testimonials-cta {
    text-align: center;
}

.testimonials-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--coral-color);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.testimonials-cta-btn:hover {
    background: linear-gradient(135deg, var(--coral-color) 0%, #ff8578 50%, #ffd700 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 91, 0.45);
}

/* ==========================================================================
   10. CTA Section
   ========================================================================== */
.cta-section {
    background: var(--gradient-blue);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 18px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

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

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

.cta-btn.primary:hover,
.cta-btn.secondary:hover {
    background: linear-gradient(135deg, var(--coral-color) 0%, #ff8578 50%, #ffd700 100%);
    color: var(--white);
}

.cta-btn:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 91, 0.45);
}

/* ==========================================================================
   11. Medecin Section
   ========================================================================== */
.medecin-section {
    background: linear-gradient(180deg, #d0ebf5 0%, #A7DBEE 100%);
    padding: 60px 0;
}

.medecin-header {
    text-align: center;
    margin-bottom: 40px;
}

.medecin-title {
    font-size: 3.2rem;
    color: #202B6D;
    font-weight: 400;
    margin-bottom: 20px;
}

.medecin-subtitle {
    font-size: 1.25rem;
    color: #4E585B;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.medecin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Accordion Styles */
.medecin-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid rgba(26, 31, 61, 0.1);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Progress bar for auto-rotate accordion */
.accordion-progress-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: rgba(26, 31, 61, 0.1);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-item.active .accordion-progress-bar {
    opacity: 1;
}

.accordion-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--coral-color), #ff7b6b);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.accordion-item.active .accordion-progress-fill {
    animation: progressFill 5s linear forwards;
}

.accordion-item.active.paused .accordion-progress-fill {
    animation-play-state: paused;
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
}

.accordion-header .accordion-icon {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-inner {
    padding: 0 0 15px 0;
}

.accordion-inner p {
    color: #4E585B;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.accordion-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--coral-color);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.accordion-btn:hover {
    background: linear-gradient(135deg, var(--coral-color) 0%, #ff8578 50%, #ffd700 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 91, 0.4);
}

/* Medecin Form Card */
.medecin-form-card {
    background: var(--white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-badge {
    color: var(--coral-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.form-description {
    font-size: 0.85rem;
    color: #4E585B;
    line-height: 1.6;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input::placeholder {
    color: rgba(78, 88, 91, 0.6);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--electric-color);
}

/* Checkbox Styles */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--coral-color);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: #4E585B;
    cursor: pointer;
}

/* Specialty Checkboxes */
.specialty-group {
    margin-bottom: 15px;
}

.specialty-group label.group-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.specialty-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.specialty-option {
    display: flex;
    align-items: center;
    gap: 6px;
}

.specialty-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--coral-color);
    cursor: pointer;
}

.specialty-option label {
    font-size: 0.85rem;
    color: #4E585B;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--coral-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--coral-color) 0%, #ff8578 50%, #ffd700 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 107, 91, 0.45);
}

/* Form Validation Error Styles */
.field-error {
    display: none;
    color: #dc3545;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
}

.field-error.visible {
    display: block;
}

.checkbox-error {
    margin-left: 28px;
    display: none;
}

.checkbox-error.visible {
    display: block;
}

.form-group input.input-error,
.form-group select.input-error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.form-group input.input-error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

/* ==========================================================================
   12. Responsive Styles
   ========================================================================== */

/* Mission Section Responsive */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 768px) {
    .mission-section {
        padding: 70px 0;
    }

    .mission-title {
        font-size: 2.5rem;
    }

    .mission-subtitle {
        font-size: 1.15rem;
    }

    .partner-logo {
        width: 150px;
        height: 95px;
    }

    .stats-container {
        padding: 30px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-number .stat-suffix {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .partners-marquee::before,
    .partners-marquee::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
    }

    .stat-item {
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* Pharmacy Section Responsive */
@media (max-width: 992px) {
    .pharmacy-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab-btn {
        flex: 1 1 45%;
        max-width: none;
    }

    .tab-panel.active {
        flex-direction: column;
    }

    .tab-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pharmacy-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .pharmacy-tabs-container {
        padding: 30px 25px;
    }

    .tab-panel.active {
        gap: 25px;
    }

    .pharmacy-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.75rem;
        border-radius: 25px;
    }

    .tab-btn-icon {
        display: none;
    }

    .tab-text h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .tab-text p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .pharmacy-title {
        font-size: 1.8rem;
    }

    .pharmacy-subtitle {
        font-size: 1rem;
    }

    .pharmacy-highlight-text {
        font-size: 1.2rem;
    }
}

/* Values Section Responsive */
@media (max-width: 992px) {
    .values-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .values-left {
        text-align: center;
        padding-right: 0;
    }

    .values-cta {
        text-align: center;
    }

    .values-right {
        perspective: 1000px;
    }

    .values-carousel-wrapper {
        justify-content: center;
        padding: 0 50px;
        min-height: 400px;
    }

    .values-card {
        width: 240px;
        min-width: 240px;
        max-width: 240px;
    }

    .values-card.active {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }

    .values-card.prev-card {
        transform: scale(0.85) translateX(30px) rotateY(6deg) translateZ(-20px);
    }

    .values-card.next-card {
        transform: scale(0.85) translateX(-30px) rotateY(-6deg) translateZ(-20px);
    }

    .values-card.active .values-card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .values-section {
        padding: 80px 0;
    }

    .values-title {
        font-size: 2rem;
    }

    .values-right {
        perspective: 800px;
    }

    .values-carousel-wrapper {
        min-height: 380px;
    }

    .values-carousel {
        gap: 0;
        min-height: 320px;
    }

    .values-card {
        width: 200px;
        margin-left: -100px;
        margin-top: -150px;
    }

    .values-card.active {
        width: 240px;
        margin-left: -120px;
        transform: scale(1) translateX(0) rotateY(0deg) translateZ(30px);
    }

    .values-card.prev-card {
        transform: scale(0.82) translateX(-150px) rotateY(12deg) translateZ(-15px);
    }

    .values-card.next-card {
        transform: scale(0.82) translateX(150px) rotateY(-12deg) translateZ(-15px);
    }

    .values-card-image {
        height: 140px;
        margin: 10px;
    }

    .values-card.active .values-card-image {
        height: 160px;
    }

    .values-card-content {
        padding: 14px 18px 22px;
    }

    .values-card-title {
        font-size: 1rem;
    }

    .values-card.active .values-card-title {
        font-size: 1.15rem;
    }

    .values-card-text {
        font-size: 0.8rem;
    }

    .values-carousel-wrapper .slider-nav {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .values-section {
        padding: 60px 0;
    }

    .values-title {
        font-size: 1.6rem;
    }

    .values-subtitle {
        font-size: 0.95rem;
    }

    .values-carousel-wrapper {
        padding: 0 40px;
    }

    .values-carousel {
        min-height: 280px;
    }

    .values-card {
        width: 160px;
        margin-left: -80px;
        margin-top: -130px;
    }

    .values-card.active {
        width: 200px;
        margin-left: -100px;
    }

    .values-card.prev-card {
        transform: scale(0.8) translateX(-120px) rotateY(10deg) translateZ(-10px);
    }

    .values-card.next-card {
        transform: scale(0.8) translateX(120px) rotateY(-10deg) translateZ(-10px);
    }

    .values-card-image {
        height: 100px;
        margin: 8px;
        border-radius: 12px;
    }

    .values-card.active .values-card-image {
        height: 120px;
    }

    .values-card-content {
        padding: 10px 14px 18px;
    }

    .values-card-title {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .values-card-text {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .values-carousel-wrapper .slider-nav {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

/* Blog Section Responsive */
@media (max-width: 992px) {
    .blog-section {
        padding: 40px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-column-left {
        order: 2;
    }

    .blog-column-right {
        order: 1;
    }

    .blog-card-featured .blog-card-image {
        height: 240px;
    }

    .blog-card-horizontal .blog-card-image {
        width: 180px;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .blog-tabs {
        padding: 4px;
    }

    .blog-tab-btn {
        padding: 12px 24px;
        font-size: 0.75rem;
    }

    .blog-card-horizontal {
        flex-direction: column;
    }

    .blog-card-horizontal .blog-card-image {
        width: calc(100% - 24px);
        min-width: unset;
        height: 180px;
        margin: 12px 12px 0 12px;
    }

    .blog-card-horizontal .blog-card-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .blog-section {
        padding: 30px 0;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-tabs {
        width: 100%;
        max-width: 300px;
    }

    .blog-tab-btn {
        padding: 10px 16px;
        font-size: 0.7rem;
        flex: 1;
        text-align: center;
    }

    .blog-card-featured .blog-card-image {
        height: 200px;
    }

    .blog-card-title {
        font-size: 0.95rem;
    }

    .blog-card-btn {
        padding: 8px 20px;
        font-size: 0.7rem;
    }
}

/* Social Section Responsive */
@media (max-width: 992px) {
    .social-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .social-title {
        font-size: 2.5rem;
    }

    .social-profile {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .social-profile-logo {
        width: 100px;
        height: 100px;
    }

    .social-profile-info h4 {
        font-size: 1.5rem;
    }

    .social-profile-info p {
        font-size: 1rem;
    }

}

@media (max-width: 576px) {
    .social-title {
        font-size: 2rem;
    }

    .social-profile-logo {
        width: 80px;
        height: 80px;
    }

    .social-profile-info h4 {
        font-size: 1.25rem;
    }

    .social-profile-info p {
        font-size: 0.9rem;
    }
}

/* Testimonials Responsive */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-title {
        font-size: 1.6rem;
    }

    .testimonials-logos {
        gap: 30px;
    }

    .testimonials-logos img {
        height: 30px;
    }
}

/* Medecin Section Responsive */
@media (max-width: 992px) {
    .medecin-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .medecin-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .medecin-title {
        font-size: 1.8rem;
    }

    .medecin-form-card {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .specialty-options {
        flex-direction: column;
        gap: 10px;
    }
}

/* General Responsive */
@media (max-width: 1200px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-dynamic-text {
        min-width: 220px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .physician-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-dynamic-text {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 1.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .hero-dynamic-text {
        min-width: unset;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
        font-size: 14px;
        min-width: unset;
    }

    /* Button-to-Card Responsive - Tablet */
    .hero-btn-card {
        width: 140px;
        height: 44px;
    }

    .hero-btn-card:hover {
        width: 120px;
        height: 170px;
        transform: translateY(-15px);
    }

    .btn-card-front {
        font-size: 14px;
    }

    .card-icon-area > i {
        font-size: 2.5rem;
    }

    .card-icon-bg {
        width: 60px;
        height: 60px;
    }

    .card-icon-area::before {
        width: 50px;
        height: 50px;
    }

    .card-icon-area::after {
        width: 70px;
        height: 70px;
    }

    .card-overlay .card-title {
        font-size: 0.8rem;
    }

    .card-overlay .card-subtitle {
        font-size: 0.6rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .physician-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Button-to-Card Mobile Responsive
   ========================================================================== */
@media (max-width: 576px) {
    .hero-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-btn-card {
        width: calc(50% - 5px);
        height: 42px;
    }

    .hero-btn-card:hover {
        width: calc(50% - 5px);
        height: 140px;
        transform: translateY(-10px);
    }

    .btn-card-front {
        font-size: 13px;
        gap: 5px;
        border-radius: 25px;
    }

    .btn-card-back {
        border-radius: 10px;
        border-width: 2px;
    }

    .card-icon-area > i {
        font-size: 2rem;
    }

    .card-icon-bg {
        width: 50px;
        height: 50px;
    }

    .card-icon-area::before,
    .card-icon-area::after {
        display: none;
    }

    .card-overlay {
        padding: 8px 6px;
    }

    .card-overlay .card-title {
        font-size: 0.7rem;
    }

    .card-overlay .card-subtitle {
        font-size: 0.5rem;
    }

    /* Curieux button responsive - fit "Concurrent curieux" on mobile */
    .hero-btn-card[data-category="curieux"] {
        width: calc(50% - 5px);
    }

    .hero-btn-card[data-category="curieux"] .btn-card-front {
        font-size: 11px;
        padding: 0 8px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .hero-btn-card {
        width: 100%;
        height: 40px;
    }

    .hero-btn-card:hover {
        width: 100%;
        height: 120px;
    }

    .btn-card-front {
        font-size: 12px;
    }

    .card-icon-area > i {
        font-size: 1.8rem;
    }

    .card-overlay .card-subtitle {
        display: none;
    }

    /* Curieux button on extra small devices */
    .hero-btn-card[data-category="curieux"] {
        width: 100%;
    }

    .hero-btn-card[data-category="curieux"] .btn-card-front {
        font-size: 12px;
    }
}
