.elementor-1183 .elementor-element.elementor-element-c98d910{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:105px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1183 .elementor-element.elementor-element-c98d910.e-con{--align-self:stretch;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-82cc4a8 *//* Enhanced Responsive CSS for All Screen Sizes */

/* Base responsive units and fluid typography */
:root {
    /* Responsive font sizes using clamp for fluid scaling */
    --font-xs: clamp(0.75rem, 2vw, 0.875rem);
    --font-sm: clamp(0.875rem, 2.5vw, 1rem);
    --font-base: clamp(1rem, 3vw, 1.125rem);
    --font-lg: clamp(1.125rem, 3.5vw, 1.25rem);
    --font-xl: clamp(1.25rem, 4vw, 1.5rem);
    --font-2xl: clamp(1.5rem, 5vw, 2rem);
    --font-3xl: clamp(2rem, 6vw, 2.5rem);
    --font-4xl: clamp(2.5rem, 7vw, 3.5rem);
    --font-5xl: clamp(3rem, 8vw, 4.5rem);
    
    /* Responsive spacing */
    --spacing-xs: clamp(0.25rem, 1vw, 0.5rem);
    --spacing-sm: clamp(0.5rem, 2vw, 1rem);
    --spacing-md: clamp(1rem, 3vw, 1.5rem);
    --spacing-lg: clamp(1.5rem, 4vw, 2rem);
    --spacing-xl: clamp(2rem, 5vw, 3rem);
    --spacing-2xl: clamp(3rem, 6vw, 4rem);
    --spacing-3xl: clamp(4rem, 8vw, 6rem);
    
    /* Container max widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
}

/* Base responsive container */
.timeline-container {
    max-width: min(1300px, 95vw);
    margin: 0 auto;
    padding: 0 var(--spacing-md) var(--spacing-3xl);
    position: relative;
}

/* Enhanced responsive header */
.header-section {
    padding: var(--spacing-3xl) var(--spacing-md) var(--spacing-2xl);
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.05) 100%);
}

.history-logo {
    width: clamp(80px, 15vw, 120px);
    height: auto;
    margin: 0 auto var(--spacing-2xl);
    display: block;
    animation: logoEntrance 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(var(--shadow-medium));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.history-title {
    font-family: 'Playfair Display', serif;
    font-size: var(--font-5xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    animation: titleEntrance 1.2s ease-out 0.3s both, gradientText 8s ease infinite;
    text-shadow: var(--shadow-soft);
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    line-height: 1.1;
}

.history-subtitle {
    font-family: 'Source Serif Pro', serif;
    font-size: var(--font-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    animation: subtitleEntrance 1.4s ease-out 0.6s both;
    font-weight: 400;
    letter-spacing: 0.5px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced responsive timeline line */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(4px, 1vw, 6px);
    height: 100%;
    background: linear-gradient(
        180deg, 
        var(--primary) 0%, 
        var(--secondary) 25%, 
        var(--accent) 50%, 
        var(--gold) 75%, 
        var(--primary) 100%
    );
    border-radius: 3px;
    opacity: 0;
    animation: drawLine 4s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
    box-shadow: var(--shadow-glow) rgba(14, 165, 233, 0.3);
}

/* Enhanced responsive timeline items */
.timeline-item {
    display: flex;
    margin-bottom: var(--spacing-3xl);
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.timeline-content {
    flex: 1;
    padding: 0 var(--spacing-2xl);
    text-align: left;
    position: relative;
}

.timeline-card {
    background: var(--bg-glass);
    backdrop-filter: blur(25px);
    border: 2px solid var(--border-light);
    border-radius: clamp(16px, 4vw, 32px);
    padding: var(--spacing-2xl);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.timeline-year {
    position: absolute;
    right: clamp(-60px, -8vw, -80px);
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 60px;
    font-weight: 700;
    font-size: var(--font-lg);
    box-shadow: var(--shadow-glow) rgba(16, 185, 129, 0.5);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--bg-primary);
    letter-spacing: 1px;
    white-space: nowrap;
}

.timeline-card .timeline-event-title,
h3.timeline-event-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.2rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 2.5rem !important;
    position: relative !important;
    z-index: 2 !important;
    letter-spacing: 0.5px !important;
}

.event-card {
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-light);
    border-radius: clamp(12px, 3vw, 24px);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    backdrop-filter: blur(15px);
}

.event-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 30px;
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-glow) rgba(139, 92, 246, 0.4);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.event-subtitle {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--gold);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
    font-family: 'Source Serif Pro', serif;
}

.event-description {
    color: var(--text-secondary);
    font-size: var(--font-base);
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
}

.scripture-text {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(16, 185, 129, 0.06));
    border-left: 4px solid var(--primary);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--text-accent);
    font-family: 'Source Serif Pro', serif;
    font-size: var(--font-base);
    line-height: 1.6;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(20px, 3vw, 24px);
    height: clamp(20px, 3vw, 24px);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow-glow) rgba(245, 158, 11, 0.6);
    z-index: 20;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive breakpoints - Mobile First Approach */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    :root {
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 0.75rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.25rem;
        --spacing-2xl: 1.5rem;
        --spacing-3xl: 2rem;
    }
    
    .timeline-container {
        padding: 0 1rem 2rem;
    }
    
    .timeline-line {
        left: 30px;
        transform: none;
        width: 3px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-left: 60px;
        margin-bottom: 3rem;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
    
    .timeline-content {
        padding: 0;
    }
    
    .timeline-dot {
        left: 30px;
        transform: translate(-50%, -50%);
        width: 16px;
        height: 16px;
    }
    
    .timeline-year {
        right: auto;
        left: 65px;
        top: -20px;
        transform: none;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .timeline-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .event-card {
        padding: 1.25rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .event-subtitle {
        font-size: 1rem;
    }
    
    .event-description {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .scripture-text {
        padding: 1rem;
        font-size: 0.9rem;
        margin: 1rem 0;
    }
    
    .history-logo {
        width: 70px;
        margin-bottom: 1.5rem;
    }
    
    .header-section {
        padding: 2rem 1rem 1.5rem;
    }
    
    /* Hide floating shapes on very small screens */
    .floating-shapes {
        display: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .timeline-line {
        left: 35px;
        transform: none;
        width: 4px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-left: 70px;
        margin-bottom: 4rem;
    }
    
    .timeline-content {
        padding: 0;
    }
    
    .timeline-dot {
        left: 35px;
        transform: translate(-50%, -50%);
        width: 18px;
        height: 18px;
    }
    
    .timeline-year {
        right: auto;
        left: 75px;
        top: -25px;
        transform: none;
        font-size: 1rem;
    }
    
    .timeline-card {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .event-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .timeline-line {
        left: 40px;
        transform: none;
        width: 5px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-left: 80px;
        margin-bottom: 5rem;
    }
    
    .timeline-content {
        padding: 0;
    }
    
    .timeline-dot {
        left: 40px;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
    }
    
    .timeline-year {
        right: auto;
        left: 85px;
        top: -30px;
        transform: none;
    }
    
    .timeline-card {
        padding: 2.5rem;
        border-radius: 24px;
    }
    
    .event-card {
        padding: 1.75rem;
        border-radius: 18px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
        width: 5px;
    }
    
    .timeline-item {
        margin-bottom: 6rem;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-content {
        padding: 0 3rem;
    }
    
    .timeline-dot {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 22px;
        height: 22px;
    }
    
    .timeline-year {
        right: -70px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
        width: 6px;
    }
    
    .timeline-item {
        margin-bottom: 8rem;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-content {
        padding: 0 4rem;
    }
    
    .timeline-dot {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 24px;
    }
    
    .timeline-year {
        right: -80px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
    .timeline-container {
        max-width: 1400px;
    }
    
    .timeline-content {
        padding: 0 5rem;
    }
    
    .timeline-year {
        right: -100px;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .header-section {
        padding: 2rem 2rem 1rem;
    }
    
    .history-logo {
        width: 60px;
        margin-bottom: 1rem;
    }
    
    .timeline-item {
        margin-bottom: 3rem;
    }
    
    .floating-shapes {
        opacity: 0.3;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .timeline-line {
        box-shadow: var(--shadow-glow) rgba(14, 165, 233, 0.4);
    }
    
    .timeline-dot {
        box-shadow: var(--shadow-glow) rgba(245, 158, 11, 0.7);
    }
}

/* Print styles */
@media print {
    .animated-bg,
    .floating-shapes {
        display: none;
    }
    
    .timeline-card,
    .event-card {
        border: 1px solid #ccc;
        background: white;
        break-inside: avoid;
    }
    
    .timeline-item {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .timeline-card:hover,
    .event-card:hover {
        transform: none;
    }
    
    .timeline-card,
    .event-card {
        transition: none;
    }
    
    /* Increase touch targets */
    .event-date {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-shapes {
        display: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #e0e0e0;
        --border-light: rgba(255, 255, 255, 0.4);
        --border-medium: rgba(255, 255, 255, 0.6);
    }
    
    .timeline-card,
    .event-card {
        border: 2px solid #ffffff;
    }
}

/* Dark mode adjustments (if needed) */
@media (prefers-color-scheme: dark) {
    /* Already optimized for dark theme */
}

/* Container queries for modern browsers */
@supports (container-type: inline-size) {
    .timeline-container {
        container-type: inline-size;
    }
    
    @container (max-width: 768px) {
        .timeline-item {
            flex-direction: column;
        }
    }
}

/* Fallback for older browsers */
@supports not (clamp(1rem, 2vw, 2rem)) {
    .history-title {
        font-size: 3rem;
    }
    
    .timeline-event-title {
        font-size: 2rem;
    }
    
    .event-subtitle {
        font-size: 1.2rem;
    }
    
    @media (max-width: 768px) {
        .history-title {
            font-size: 2rem;
        }
        
        .timeline-event-title {
            font-size: 1.5rem;
        }
    }
}/* End custom CSS */