* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #0099ff 0%, #0066cc 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/soignants1.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 153, 255, 0.95), rgba(0, 153, 255, 0.7));
    border-radius: 0 50% 50% 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 60px;
    color: white;
    max-width: 700px;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    opacity: 0.95;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Features Overview Section
   ======================================== */
.features-overview {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
    font-weight: 600;
    padding: 0 20px;
    line-height: 1.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 153, 255, 0.15);
    border-color: #0099ff;
}

.feature-icon img{
    width: 80px;
    height: 80px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 18px;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.4;
}

.feature-card ul {
    list-style: none;
    padding-left: 0;
}

.feature-card li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.feature-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0099ff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits-section {
    padding: 80px 0;
    background: white;
}

.benefit-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 80px 0;
    padding: 0 20px;
}

.benefit-block.reverse {
    flex-direction: row-reverse;
}

.benefit-content {
    flex: 1;
}

.benefit-image {
    flex: 1;
    max-width: 500px;
}

.image-placeholder img{
    width: auto;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.image-placeholder.large {
    width: 450px;
    height: 350px;
    border-radius: 15px;
}

.benefit-icon {
    width: 65px;
    height: 65px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.benefit-title {
    font-size: 1.9rem;
    margin-bottom: 28px;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.4;
}

.benefit-list {
    list-style: none;
    padding-left: 0;
}

.benefit-list li {
    padding-left: 32px;
    margin-bottom: 18px;
    position: relative;
    color: #444;
    line-height: 1.8;
    font-size: 1.05rem;
}

.benefit-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0099ff;
    font-weight: bold;
    font-size: 1.3rem;
}

.benefit-list strong {
    color: #0066cc;
    font-weight: 600;
}

/* ========================================
   Paradigm Section - Tab Design
   ======================================== */
.paradigm-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Tab Navigation Wrapper */
.tab-navigation-wrapper {
    margin-bottom: 50px;
    border-bottom: 3px solid #e0e0e0;
}

.tab-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Individual Tab Buttons */
.tab-button {
    flex: 1;
    min-width: fit-content;
    padding: 18px 35px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
    outline: none;
    position: relative;
}

.tab-button:hover {
    color: #0099ff;
    background: rgba(0, 153, 255, 0.05);
}

.tab-button.active {
    color: #0099ff;
    border-bottom-color: #0099ff;
    font-weight: 600;
}

/* Mobile Dropdown Toggle */
.mobile-tab-dropdown {
    display: none;
    width: 100%;
    padding: 18px 20px;
    background: white;
    border: 2px solid #0099ff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #0099ff;
    text-align: left;
    position: relative;
    margin-bottom: 20px;
}

.mobile-tab-dropdown::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.mobile-tab-dropdown.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-tab-list {
    display: none;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.mobile-tab-list.show {
    display: block;
}

.mobile-tab-item {
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.mobile-tab-item:last-child {
    border-bottom: none;
}

.mobile-tab-item:hover {
    background: #f5f5f5;
    color: #0099ff;
}

.mobile-tab-item.active {
    background: #e3f2fd;
    color: #0099ff;
    font-weight: 600;
}

/* Tab Panels Container */
.tab-panels {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tab Content Layout */
.tab-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 50px 30px;
    background: white;
    border-radius: 0;
    position: relative;
}

.tab-image-container {
    flex: 1;
    max-width: 450px;
    display: flex;
    justify-content: center;
}

.tab-text-container {
    flex: 1;
    position: relative;
}

.tab-text-container h3 {
    font-size: 1.9rem;
    margin-bottom: 25px;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.4;
}

.tab-text-container p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 30px;
}

/* Tab Navigation Arrows */
.tab-arrows {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.arrow-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
    outline: none;
}

.arrow-btn:hover {
    background: #0099ff;
    border-color: #0099ff;
    color: white;
    transform: scale(1.1);
}

.arrow-btn:active {
    transform: scale(0.95);
}

/* ========================================
   Timeline Section
   ======================================== */
.timeline-section {
    padding: 80px 0;
    background: white;
}

.timeline-wrapper {
    text-align: center;
}

.timeline-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.timeline-note {
    margin-top: 20px;
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 40px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
}

.footer p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablets and smaller laptops */
@media (max-width: 968px) {
    .hero-content {
        padding: 60px 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .benefit-block,
    .benefit-block.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .benefit-image {
        max-width: 100%;
    }

    .image-placeholder {
        width: 350px;
        height: 350px;
    }

    .tab-content-wrapper {
        flex-direction: column;
        padding: 40px 20px;
    }

    .tab-image-container {
        max-width: 100%;
    }

    .image-placeholder.large {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }

    /* Show horizontal tabs on tablet */
    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1 1 auto;
        min-width: 150px;
        font-size: 0.95rem;
        padding: 15px 20px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .benefit-title {
        font-size: 1.6rem;
    }

    .tab-text-container h3 {
        font-size: 1.6rem;
    }
}

/* Mobile phones - Show Dropdown Style */
@media (max-width: 768px) {
    /* Hide horizontal tabs */
    .tab-navigation-wrapper {
        display: none;
    }

    /* Show mobile dropdown */
    .mobile-tab-dropdown {
        display: block;
    }

    .tab-arrows {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 500px;
    }

    .hero-overlay::before {
        width: 100%;
        border-radius: 0;
    }

    .hero-content {
        padding: 60px 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 25px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .benefit-block {
        margin: 50px 0;
    }

    .benefit-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .benefit-list li {
        font-size: 1rem;
        padding-left: 28px;
    }

    .image-placeholder {
        width: 280px;
        height: 280px;
    }

    .image-placeholder.large {
        width: 100%;
        height: 250px;
    }

    .tab-content-wrapper {
        padding: 30px 15px;
        gap: 30px;
    }

    .tab-text-container h3 {
        font-size: 1.4rem;
    }

    .tab-text-container p {
        font-size: 1rem;
    }

    .benefit-icon {
        width: 55px;
        height: 55px;
    }

    .benefit-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .feature-card {
        padding: 20px;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    .tab-content-wrapper {
        padding: 25px 10px;
    }

    .mobile-tab-dropdown {
        font-size: 0.95rem;
        padding: 15px 18px;
    }

    .mobile-tab-item {
        font-size: 0.95rem;
        padding: 14px 18px;
    }
}

/* ========================================
   Scrollbar Styling for Tab Buttons
   ======================================== */
.tab-buttons::-webkit-scrollbar {
    height: 3px;
}

.tab-buttons::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tab-buttons::-webkit-scrollbar-thumb {
    background: #0099ff;
    border-radius: 10px;
}

.tab-buttons::-webkit-scrollbar-thumb:hover {
    background: #0066cc;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .hero-section,
    .tab-arrows,
    .arrow-btn,
    .mobile-tab-dropdown {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    .feature-card,
    .tab-content-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .tab-navigation-wrapper,
    .mobile-tab-list {
        display: none;
    }

    .tab-panel {
        display: block !important;
        page-break-inside: avoid;
    }
}

/* ========================================
   Accessibility
   ======================================== */
.tab-button:focus,
.arrow-btn:focus,
.mobile-tab-dropdown:focus,
.mobile-tab-item:focus {
    outline: 3px solid #0099ff;
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}