/* ==========================================================================
   INOVA Energy - Rebranding Section Creative Redesign
   Modern, Beautiful, Compact Design with Creative Visual Elements
   ========================================================================== */

/* Enhanced Variables */
:root {
    /* Brand Colors */
    --rebranding-primary: #016A6E;
    --rebranding-primary-light: #028a8f;
    --rebranding-accent: #F3BD01;
    --rebranding-accent-light: #FFE47A;
    --rebranding-white: #FFFFFF;
    --rebranding-light: #f8fffe;
    --rebranding-dark: #1a1a1a;
    --rebranding-gray: #f0f8f8;
    --rebranding-border: #e8f4f4;
    
    /* Creative Gradients */
    --rebranding-hero-gradient: linear-gradient(135deg, #016A6E 0%, #028a8f 50%, #F3BD01 100%);
    --rebranding-timeline-gradient: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    --rebranding-impact-gradient: linear-gradient(135deg, #016A6E 0%, #028a8f 100%);
    --rebranding-card-gradient: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    --rebranding-current-gradient: linear-gradient(135deg, #F3BD01 0%, #f4c430 100%);
    
    /* Typography */
    --rebranding-font: 'IRANSansWeb', 'Vazirmatn', system-ui, sans-serif;
    
    /* Shadows */
    --rebranding-shadow-soft: 0 2px 8px rgba(1, 106, 110, 0.1);
    --rebranding-shadow-medium: 0 4px 16px rgba(1, 106, 110, 0.15);
    --rebranding-shadow-heavy: 0 8px 32px rgba(1, 106, 110, 0.2);
    --rebranding-shadow-glow: 0 0 20px rgba(243, 189, 1, 0.3);
    
    /* Transitions */
    --rebranding-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section Container */
.rebranding-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    font-family: var(--rebranding-font);
    overflow: hidden;
}

/* ==========================================================================
   HERO SECTION - COMPLETELY REDESIGNED
   ========================================================================== */

.rebranding-hero {
    position: relative;
    width: 100%;
    min-height: 40vh;
    background: var(--rebranding-hero-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.bg-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: waveFloat 12s ease-in-out infinite;
}

.bg-wave.wave-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.bg-wave.wave-2 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -100px;
    animation-delay: 4s;
}

.bg-wave.wave-3 {
    width: 250px;
    height: 250px;
    bottom: -125px;
    left: 30%;
    animation-delay: 8s;
}

@keyframes waveFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.3; 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
        opacity: 0.6; 
    }
}

.rebranding-hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rebranding-white);
    backdrop-filter: blur(10px);
    transition: var(--rebranding-transition);
}

.hero-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-badge i {
    font-size: 1.1rem;
    animation: iconSpin 6s linear infinite;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rebranding-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--rebranding-white);
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rebranding-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 500px;
}

.hero-visual-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: dotFloat 8s ease-in-out infinite;
}

.floating-dot.dot-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-dot.dot-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2.5s;
}

.floating-dot.dot-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 5s;
}

@keyframes dotFloat {
    0%, 100% { 
        transform: translateY(0px); 
        opacity: 0.6; 
    }
    50% { 
        transform: translateY(-20px); 
        opacity: 1;
    }
}

/* ==========================================================================
   TIMELINE SECTION - COMPLETELY REDESIGNED
   ========================================================================== */

.journey-timeline {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #f0f8f8 0%, #ffffff 25%, #f8fffe 50%, #ffffff 75%, #f0f8f8 100%);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(1, 106, 110, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 85% 85%, rgba(243, 189, 1, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 80%),
        radial-gradient(circle at 30% 70%, rgba(1, 106, 110, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(243, 189, 1, 0.03) 0%, transparent 40%);
    z-index: 1;
    animation: backgroundFloat 20s ease-in-out infinite;
}

.journey-timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 25%, rgba(243, 189, 1, 0.04) 45%, rgba(243, 189, 1, 0.02) 55%, transparent 75%),
        linear-gradient(-45deg, transparent 15%, rgba(1, 106, 110, 0.04) 45%, rgba(1, 106, 110, 0.02) 55%, transparent 85%),
        linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    animation: shimmer 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes backgroundFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.8;
    }
    33% { 
        transform: translateY(-15px) rotate(0.5deg) scale(1.02); 
        opacity: 0.9;
    }
    66% { 
        transform: translateY(-10px) rotate(-0.5deg) scale(0.98); 
        opacity: 0.85;
    }
}

@keyframes shimmer {
    0% { 
        transform: translateX(-100%) skewX(-15deg); 
        opacity: 0;
    }
    50% { 
        transform: translateX(0%) skewX(0deg); 
        opacity: 1;
    }
    100% {
        transform: translateX(100%) skewX(15deg); 
        opacity: 0;
    }
}

.timeline-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.timeline-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--rebranding-primary);
    margin: 0;
    line-height: 1.2;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--rebranding-accent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(243, 189, 1, 0.3);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 10;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--rebranding-gradient);
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.marker-icon {
    width: 70px;
    height: 70px;
    background: var(--rebranding-gradient);
    border: 4px solid var(--rebranding-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--rebranding-shadow-heavy);
    position: relative;
    z-index: 10;
    transition: var(--rebranding-transition);
}

.timeline-item:hover .marker-icon {
    transform: scale(1.15);
    box-shadow: var(--rebranding-shadow-glow);
    border-color: var(--rebranding-accent);
}

.timeline-item.current .marker-icon {
    background: var(--rebranding-current-gradient);
    border-color: var(--rebranding-white);
    box-shadow: 0 0 25px rgba(243, 189, 1, 0.5);
}

.marker-icon i {
    font-size: 1.8rem;
    color: var(--rebranding-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Special styling for different icons */
.timeline-item:nth-child(1) .marker-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.timeline-item:nth-child(2) .marker-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.timeline-item:nth-child(3) .marker-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.timeline-item:nth-child(4) .marker-icon {
    background: var(--rebranding-current-gradient);
}

.timeline-item:nth-child(5) .marker-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.timeline-item:nth-child(6) .marker-icon {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}
.timeline-item:nth-child(7) .marker-icon {
    background: linear-gradient(135deg, #cde402 0%, #057a14 100%);
}


.marker-year {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rebranding-primary);
    background: var(--rebranding-white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    border: 2px solid var(--rebranding-primary);
    box-shadow: var(--rebranding-shadow-soft);
}

.timeline-content {
    flex: 1;
    min-width: 0;
    background: var(--rebranding-card-gradient);
    border: 2px solid var(--rebranding-border);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--rebranding-shadow-soft);
    transition: var(--rebranding-transition);
    position: relative;
    text-align: right;
}

/* LTR Support for Timeline Content */
.ltr-section .timeline-content {
    text-align: left;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: var(--rebranding-shadow-medium);
    border-color: var(--rebranding-primary);
}

.timeline-item.current .timeline-content {
    background: linear-gradient(135deg, rgba(1, 106, 110, 0.95) 0%, rgba(1, 106, 110, 0.9) 100%);
    border: 2px solid var(--rebranding-accent);
    color: var(--rebranding-white);
    box-shadow: 0 8px 32px rgba(1, 106, 110, 0.3), 0 0 20px rgba(243, 189, 1, 0.2);
    backdrop-filter: blur(10px);
}

.timeline-item.current .timeline-content .timeline-title {
    color: var(--rebranding-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.timeline-item.current .timeline-content .timeline-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.current-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--rebranding-primary);
    color: var(--rebranding-white);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: var(--rebranding-shadow-soft);
}

.timeline-content .timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rebranding-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.timeline-item.current .timeline-content .timeline-title {
    color: var(--rebranding-white);
}

.timeline-description {
    font-size: 0.9rem;
        line-height: 1.5;
    color: rgba(26, 26, 26, 0.8);
    margin: 0;
}

.timeline-item.current .timeline-description {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   IMPACT SECTION - CALM & ELEGANT WHITE DESIGN (NO ANIMATIONS)
   ========================================================================== */

.impact-section {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #fafbfc 50%,
        #f5f7fa 100%
    );
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(1, 106, 110, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(243, 189, 1, 0.015) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.impact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(1, 106, 110, 0.01) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.impact-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
}

.impact-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
}

.impact-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(1, 106, 110, 0.3) 50%, 
        transparent 100%
    );
    border-radius: 2px;
}

.impact-stats {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
}

.stat-item {
    background: #ffffff;
    border: 1px solid rgba(1, 106, 110, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 2px 12px rgba(1, 106, 110, 0.04),
        0 1px 4px rgba(1, 106, 110, 0.02);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(1, 106, 110, 0.2) 50%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-6px);
    border-color: rgba(1, 106, 110, 0.15);
    box-shadow: 
        0 8px 24px rgba(1, 106, 110, 0.08),
        0 2px 8px rgba(1, 106, 110, 0.04);
}

/* Individual stat item subtle accents */
.stat-item:nth-child(1)::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.25) 50%, 
        transparent 100%
    );
}

.stat-item:nth-child(1):hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 
        0 8px 24px rgba(59, 130, 246, 0.1),
        0 2px 8px rgba(59, 130, 246, 0.05);
}

.stat-item:nth-child(2)::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(243, 189, 1, 0.25) 50%, 
        transparent 100%
    );
}

.stat-item:nth-child(2):hover {
    border-color: rgba(243, 189, 1, 0.2);
    box-shadow: 
        0 8px 24px rgba(243, 189, 1, 0.1),
        0 2px 8px rgba(243, 189, 1, 0.05);
}

.stat-item:nth-child(3)::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(20, 184, 166, 0.25) 50%, 
        transparent 100%
    );
}

.stat-item:nth-child(3):hover {
    border-color: rgba(20, 184, 166, 0.2);
    box-shadow: 
        0 8px 24px rgba(20, 184, 166, 0.1),
        0 2px 8px rgba(20, 184, 166, 0.05);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, 
        rgba(1, 106, 110, 0.06) 0%, 
        rgba(1, 106, 110, 0.04) 100%
    );
    border: 1.5px solid rgba(1, 106, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.stat-item:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.08) 0%, 
        rgba(59, 130, 246, 0.05) 100%
    );
    border-color: rgba(59, 130, 246, 0.15);
}

.stat-item:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, 
        rgba(243, 189, 1, 0.08) 0%, 
        rgba(243, 189, 1, 0.05) 100%
    );
    border-color: rgba(243, 189, 1, 0.15);
}

.stat-item:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, 
        rgba(20, 184, 166, 0.08) 0%, 
        rgba(20, 184, 166, 0.05) 100%
    );
    border-color: rgba(20, 184, 166, 0.15);
}

.stat-item:hover .stat-icon {
    transform: scale(1.05);
}

.stat-item:nth-child(1):hover .stat-icon {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.12) 0%, 
        rgba(59, 130, 246, 0.08) 100%
    );
    border-color: rgba(59, 130, 246, 0.25);
}

.stat-item:nth-child(2):hover .stat-icon {
    background: linear-gradient(135deg, 
        rgba(243, 189, 1, 0.12) 0%, 
        rgba(243, 189, 1, 0.08) 100%
    );
    border-color: rgba(243, 189, 1, 0.25);
}

.stat-item:nth-child(3):hover .stat-icon {
    background: linear-gradient(135deg, 
        rgba(20, 184, 166, 0.12) 0%, 
        rgba(20, 184, 166, 0.08) 100%
    );
    border-color: rgba(20, 184, 166, 0.25);
}

.stat-icon i {
    font-size: 1.5rem;
    color: rgba(1, 106, 110, 0.7);
    transition: all 0.3s ease;
}

.stat-item:nth-child(1) .stat-icon i {
    color: rgba(59, 130, 246, 0.8);
}

.stat-item:nth-child(2) .stat-icon i {
    color: rgba(243, 189, 1, 0.8);
}

.stat-item:nth-child(3) .stat-icon i {
    color: rgba(20, 184, 166, 0.8);
}

.stat-item:hover .stat-icon i {
    color: rgba(1, 106, 110, 0.9);
}

.stat-item:nth-child(1):hover .stat-icon i {
    color: rgba(59, 130, 246, 1);
}

.stat-item:nth-child(2):hover .stat-icon i {
    color: rgba(243, 189, 1, 1);
}

.stat-item:nth-child(3):hover .stat-icon i {
    color: rgba(20, 184, 166, 1);
}

.stat-number {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    line-height: 1;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.stat-item:nth-child(1) .stat-number {
    color: rgba(59, 130, 246, 0.9);
}

.stat-item:nth-child(2) .stat-number {
    color: rgba(243, 189, 1, 0.9);
}

.stat-item:nth-child(3) .stat-number {
    color: rgba(20, 184, 166, 0.9);
}

.stat-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.5;
    margin: 0;
    letter-spacing: 0.1px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1200px) {
    .rebranding-hero {
        padding: 2.5rem 1rem;
        min-height: 45vh;
    }
    
    .timeline-container {
        gap: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.2rem;
    }
    
    .impact-section {
        padding: 4rem 1.5rem;
    }
    
    .impact-header {
        margin-bottom: 3rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .stat-item {
        padding: 2.5rem 1.5rem;
    }
    
    .stat-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 1.75rem;
    }
    
    .stat-icon i {
        font-size: 1.875rem;
    }
    
    .stat-number {
        font-size: clamp(2.25rem, 3.5vw, 3rem);
    }
    
    .stat-label {
        font-size: 1.0625rem;
    }
}

@media (max-width: 992px) {
    .rebranding-hero {
        padding: 2rem 1rem;
        min-height: 40vh;
    }
    
    .journey-timeline {
        padding: 3rem 1.5rem;
    }
    
    .timeline-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .timeline-line {
        left: 50px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .timeline-content {
        flex: 1;
        text-align: right;
        min-width: 0;
        max-width: none;
    }
    
    .timeline-title {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .timeline-description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: 1.6;
    }
    
    .marker-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        border-width: 3px;
        font-size: 1.5rem;
    }
    
    .marker-icon i {
        font-size: 1.5rem;
    }
    
    .marker-year {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .timeline-content {
        padding: 1rem 0.75rem;
        max-width: none;
        width: 100%;
    }
    
    .impact-section {
        padding: 3.5rem 1rem;
    }
    
    .impact-header {
        margin-bottom: 2.5rem;
    }
    
    .impact-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        max-width: 450px;
    }
    
    .stat-item {
        padding: 2.25rem 1.5rem;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .stat-icon i {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: clamp(2rem, 4.5vw, 2.75rem);
        margin-bottom: 0.875rem;
    }
    
    .stat-label {
        font-size: 1.0625rem;
    }
}

@media (max-width: 768px) {
    .rebranding-hero {
        padding: 1.5rem 0.8rem;
        min-height: 35vh;
    }
    
    .rebranding-title {
        font-size: clamp(1.8rem, 4vw, 3rem);
        white-space: normal;
        text-align: center;
    }
    
    .journey-timeline {
        padding: 2.5rem 0.75rem;
        width: 100%;
    }
    
    .timeline-container {
        max-width: 100%;
        width: 100%;
        padding: 0 0.25rem;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        gap: 1.2rem;
        padding: 1.2rem 0.5rem;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .timeline-content {
        flex: 1;
        text-align: right;
        min-width: 0;
        max-width: none;
        width: 100%;
    }
    
    .timeline-title {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        line-height: 1.4;
        margin-bottom: 0.6rem;
    }
    
    .timeline-description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        line-height: 1.6;
    }
    
    .marker-icon {
        width: 50px;
        height: 50px;
        border-width: 2px;
        font-size: 1.3rem;
    }
    
    .marker-icon i {
        font-size: 1.3rem;
    }
    
    .marker-year {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
    
    .timeline-content {
        padding: 0.8rem 0.5rem;
        max-width: none;
        width: 100%;
        min-width: 0;
    }
    
    .timeline-content .timeline-title {
        font-size: 1rem;
    }
    
    .timeline-description {
        font-size: 0.8rem;
    }
    
    .impact-section {
        padding: 3rem 1rem;
    }
    
    .impact-header {
        margin-bottom: 2rem;
    }
    
    .impact-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }
    
    .impact-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 2rem 1.25rem;
    }
    
    .stat-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1.25rem;
    }
    
    .stat-icon i {
        font-size: 1.625rem;
    }
    
    .stat-number {
        font-size: clamp(1.875rem, 5vw, 2.5rem);
        margin-bottom: 0.75rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .rebranding-hero {
        padding: 1rem 0.5rem;
        min-height: 30vh;
    }
    
    .rebranding-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
        white-space: normal;
        text-align: center;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero-badge i {
        font-size: 1rem;
    }
    
    .journey-timeline {
        padding: 2rem 0.5rem;
        width: 100%;
    }
    
    .timeline-container {
        max-width: 100%;
        width: 100%;
        padding: 0 0.15rem;
    }
    
    .timeline-line {
        left: 25px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        gap: 1rem;
        padding: 1rem 0.3rem;
        margin-bottom: 1.2rem;
        width: 100%;
    }
    
    .timeline-content {
        flex: 1;
        text-align: right;
        min-width: 0;
        max-width: none;
        width: 100%;
    }
    
    .timeline-title {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .timeline-description {
        font-size: clamp(0.8rem, 3.5vw, 0.9rem);
        line-height: 1.6;
    }
    
    .marker-icon {
        width: 45px;
        height: 45px;
        border-width: 2px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    .marker-icon i {
        font-size: 1.2rem;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .marker-icon {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
    
    .marker-icon i {
        font-size: 1.2rem;
    }
    
    .marker-year {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    
    .timeline-content {
        padding: 0.6rem 0.4rem;
        max-width: none;
        width: 100%;
        min-width: 0;
    }
    
    .timeline-content .timeline-title {
        font-size: 0.9rem;
    }
    
    .timeline-description {
        font-size: 0.75rem;
    }
    
    .current-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
        top: -8px;
        right: 10px;
    }
    
    .impact-section {
        padding: 3rem 1rem;
    }
    
    .impact-header {
        margin-bottom: 2.5rem;
    }
    
    .impact-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
    }
    
    .stat-item {
        padding: 2rem 1.5rem;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .stat-icon i {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: clamp(2rem, 5vw, 2.75rem);
        margin-bottom: 0.75rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* ==========================================================================
   PERFORMANCE OPTIMIZATIONS
   ========================================================================== */

    .impact-card,
.timeline-item,
.floating-dot {
    will-change: transform;
}

.rebranding-section * {
    backface-visibility: hidden;
}

/* RTL Support */
.rtl .timeline-item:nth-child(even) {
    flex-direction: row;
}

.rtl .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

@media (max-width: 992px) {
    .rtl .timeline-item:nth-child(even),
    .rtl .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
}