.elementor-1875 .elementor-element.elementor-element-c3b5018{--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:-119px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-1875 .elementor-element.elementor-element-6f1666b2{--display:flex;--min-height:400px;--overlay-opacity:0.14;--overlay-mix-blend-mode:screen;}.elementor-1875 .elementor-element.elementor-element-6f1666b2:not(.elementor-motion-effects-element-type-background), .elementor-1875 .elementor-element.elementor-element-6f1666b2 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;background-position:center center;background-repeat:repeat;}.elementor-1875 .elementor-element.elementor-element-6f1666b2::before, .elementor-1875 .elementor-element.elementor-element-6f1666b2 > .elementor-background-video-container::before, .elementor-1875 .elementor-element.elementor-element-6f1666b2 > .e-con-inner > .elementor-background-video-container::before, .elementor-1875 .elementor-element.elementor-element-6f1666b2 > .elementor-background-slideshow::before, .elementor-1875 .elementor-element.elementor-element-6f1666b2 > .e-con-inner > .elementor-background-slideshow::before, .elementor-1875 .elementor-element.elementor-element-6f1666b2 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:#FFFFFF;--background-overlay:'';}@media(min-width:1025px){.elementor-1875 .elementor-element.elementor-element-6f1666b2:not(.elementor-motion-effects-element-type-background), .elementor-1875 .elementor-element.elementor-element-6f1666b2 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-attachment:fixed;}}@media(max-width:767px){.elementor-1875 .elementor-element.elementor-element-c3b5018{--margin-top:-113px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS *//* CORRECTED FINAL CSS - BIGGER DESKTOP SIZES & NO MOBILE GAP */
/* PASTE THIS IN ELEMENTOR PAGE CUSTOM CSS */

/* CSS CUSTOM PROPERTIES */
:root {
    --primary-gold: #D4A574;
    --secondary-gold: #B8956A;
    --accent-gold: #E6C896;
    --warm-cream: #F5F1E8;
    --rich-brown: #8B4513;
    --text-dark: #2C1810;
    --text-light: #6B5B47;
    --candlelight-glow: #FFB347;
    --modern-blue: #4A90E2;
    --modern-white: #F8FAFC;
    --shadow-soft: 0 10px 40px rgba(139, 69, 19, 0.1);
    --shadow-medium: 0 20px 60px rgba(139, 69, 19, 0.15);
    --shadow-strong: 0 30px 80px rgba(139, 69, 19, 0.2);
    --border-radius: 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET AND BASE STYLES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* MAIN CONTAINER - PROPER CENTERING */
.our-story-page {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    position: relative;
    background: linear-gradient(135deg, var(--warm-cream) 0%, #F8F4E6 100%);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 50%, var(--accent-gold) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: heroFadeIn 1.5s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-style: italic;
    color: var(--rich-brown);
    margin-bottom: 1rem;
    font-weight: 300;
}

/* UPDATED FONT TO MATCH IMAGE - SERIF FONT AS REQUESTED */
.handwriting-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    /* Removed all animation properties */
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    font-size: 2rem;
    color: var(--text-dark);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* STORY CONTAINER - PROPER CENTERING */
.story-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
}

/* STORY SECTIONS - CENTERED WITH PROPER SPACING */
.story-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem; /* INCREASED PADDING FOR BIGGER DESKTOP LAYOUT */
    position: relative;
    overflow: hidden;
}

/* STORY CONTENT - CENTERED CONTAINER WITH MUCH BIGGER SIZES */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem; /* INCREASED GAP FOR MUCH BIGGER LAYOUT */
    max-width: 1600px; /* INCREASED FROM 1400px FOR MUCH BIGGER CARDS */
    width: 100%;
    align-items: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* IMAGE CONTAINERS - MUCH BIGGER SIZES */
.story-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    will-change: transform;
}

.story-image {
    width: 100%;
    height: auto;
    min-height: 600px; /* INCREASED FROM 500px FOR MUCH BIGGER IMAGES */
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

/* DIARY CARDS - MUCH BIGGER SIZES */
.diary-card {
    background: linear-gradient(135deg, #FEFCF7 0%, #F9F5E9 100%);
    padding: 5rem; /* INCREASED FROM 4rem FOR MUCH BIGGER CARDS */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    position: relative;
    border: 2px solid var(--accent-gold);
    transition: var(--transition-smooth);
    will-change: transform;
    min-height: 500px; /* INCREASED MINIMUM HEIGHT FOR BIGGER CONSISTENCY */
}

.candlelight-card {
    background: linear-gradient(135deg, #FEFCF7 0%, #F9F5E9 100%);
    border: 2px solid var(--candlelight-glow);
    box-shadow: 
        0 0 30px rgba(255, 179, 71, 0.3),
        0 20px 60px rgba(139, 69, 19, 0.15);
}

.modern-card {
    background: linear-gradient(135deg, var(--modern-white) 0%, #F1F5F9 100%);
    border: 2px solid var(--modern-blue);
    box-shadow: 
        0 0 30px rgba(74, 144, 226, 0.2),
        0 20px 60px rgba(74, 144, 226, 0.1);
}

/* TYPOGRAPHY - MUCH BIGGER SIZES */
.story-title {
    font-size: clamp(2.8rem, 5vw, 4rem); /* INCREASED FONT SIZE FOR BIGGER CARDS */
    color: var(--rich-brown);
    margin-bottom: 2.5rem; /* INCREASED MARGIN */
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}

.title-underline {
    width: 100px; /* INCREASED FROM 80px */
    height: 6px; /* INCREASED FROM 5px */
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
    margin: 2rem 0 3rem 0; /* INCREASED MARGINS */
    border-radius: 3px;
}

/* MODERN UNDERLINE - CHANGED TO MATCH MODERN CARD COLOR */
.modern-underline {
    background: linear-gradient(90deg, var(--modern-blue), #3A7BD5);
}

.story-text {
    font-size: clamp(1.25rem, 2.5vw, 1.4rem); /* INCREASED FONT SIZE FOR BIGGER CARDS */
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 3rem; /* INCREASED MARGIN */
    text-align: justify;
}

/* BREATHING LED TEXT GLOW EFFECTS - CANDLELIGHT SECTIONS ONLY */
.glow-text {
    position: relative;
}

.glow-text.breathing-glow {
    animation: breathingTextGlow 3s ease-in-out infinite alternate;
}

/* DIARY SEAL - BIGGER */
.diary-seal {
    position: absolute;
    bottom: 2.5rem; /* ADJUSTED FOR MUCH BIGGER CARDS */
    right: 2.5rem; /* ADJUSTED FOR MUCH BIGGER CARDS */
    width: 60px; /* INCREASED FROM 50px */
    height: 60px; /* INCREASED FROM 50px */
    background: radial-gradient(circle, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.diary-seal::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-dark);
    font-size: 1.6rem; /* INCREASED FONT SIZE */
}

/* MODERN SEAL - MADE EXACTLY LIKE DIARY SEAL BUT IN BLUE */
.modern-seal {
    position: absolute;
    bottom: 2.5rem; /* SAME AS DIARY SEAL */
    right: 2.5rem; /* SAME AS DIARY SEAL */
    width: 60px; /* SAME AS DIARY SEAL */
    height: 60px; /* SAME AS DIARY SEAL */
    background: radial-gradient(circle, var(--modern-blue) 0%, #3A7BD5 100%);
    border-radius: 50%; /* CIRCULAR LIKE DIARY SEAL */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* SAME AS DIARY SEAL */
}

.modern-seal::after {
    content: '⚡';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.6rem; /* SAME SIZE AS DIARY SEAL */
}

/* CANDLELIGHT BACKGROUND EFFECTS */
.candlelight-era {
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 179, 71, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 179, 71, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, var(--warm-cream) 0%, #F0EBD8 100%);
    position: relative;
}

.candlelight-era::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 179, 71, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(255, 179, 71, 0.05) 0%, transparent 40%);
    pointer-events: none;
    animation: candleFlicker 4s ease-in-out infinite alternate;
}

/* MODERN LIGHTING EFFECTS */
.modern-era {
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 144, 226, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, var(--modern-white) 0%, #F1F5F9 100%);
    position: relative;
}

.modern-era::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(74, 144, 226, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(74, 144, 226, 0.04) 0%, transparent 40%);
    pointer-events: none;
    animation: modernPulse 3s ease-in-out infinite alternate;
}

/* LIGHTING TRANSITION SECTION - REDUCED HEIGHT TO ELIMINATE GAP */
.lighting-transition-section {
    height: 20vh; /* REDUCED FROM 50vh TO ELIMINATE MOBILE GAP */
    position: relative;
    background: linear-gradient(
        to bottom,
        rgba(255, 179, 71, 0.1) 0%,
        rgba(255, 179, 71, 0.05) 25%,
        rgba(74, 144, 226, 0.05) 75%,
        rgba(74, 144, 226, 0.1) 100%
    );
    overflow: hidden;
}

.transition-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        var(--candlelight-glow) 0%,
        transparent 50%,
        var(--modern-blue) 100%
    );
    opacity: 0.1;
    animation: lightingTransition 6s ease-in-out infinite;
}

/* CALL TO ACTION SECTION - MUCH REDUCED GAP FOR DESKTOP ONLY */
.cta-section {
    min-height: 30vh; /* MUCH REDUCED FROM 40vh FOR DESKTOP */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--modern-white) 0%, #F1F5F9 100%);
    position: relative;
    padding: 2rem 2rem; /* MUCH REDUCED PADDING FOR DESKTOP */
}

.cta-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 1.8rem 3.5rem; /* INCREASED PADDING FOR BIGGER BUTTON */
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.4rem; /* INCREASED FONT SIZE */
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(212, 165, 116, 0.3),
        0 0 0 0 rgba(212, 165, 116, 0.5);
}

.cta-button.breathing-glow {
    animation: breathingButtonGlow 2s ease-in-out infinite alternate;
}

.cta-text {
    position: relative;
    z-index: 2;
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    opacity: 0;
    animation: buttonPulse 2s ease-in-out infinite;
}

/* PARALLAX ELEMENTS */
.parallax-element {
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* ANIMATIONS */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* REMOVED HANDWRITING ANIMATION KEYFRAMES */

@keyframes candleFlicker {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
    100% {
        opacity: 0.9;
        transform: scale(0.98);
    }
}

@keyframes modernPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.01);
    }
    100% {
        opacity: 0.7;
        transform: scale(0.99);
    }
}

@keyframes lightingTransition {
    0% {
        transform: translateX(-100%) rotate(-45deg);
    }
    50% {
        transform: translateX(0%) rotate(-45deg);
    }
    100% {
        transform: translateX(100%) rotate(-45deg);
    }
}

/* BREATHING TEXT GLOW - CANDLELIGHT SECTIONS ONLY */
@keyframes breathingTextGlow {
    0% {
        text-shadow: 
            0 0 5px var(--candlelight-glow),
            0 0 10px var(--candlelight-glow),
            0 0 15px rgba(255, 179, 71, 0.3);
        opacity: 0.9;
    }
    100% {
        text-shadow: 
            0 0 10px var(--candlelight-glow),
            0 0 20px var(--candlelight-glow),
            0 0 30px rgba(255, 179, 71, 0.5);
        opacity: 1;
    }
}

/* BREATHING BUTTON GLOW - ENHANCED */
@keyframes breathingButtonGlow {
    0% {
        box-shadow: 
            0 10px 30px rgba(212, 165, 116, 0.4),
            0 0 20px rgba(212, 165, 116, 0.3),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }
    100% {
        box-shadow: 
            0 15px 40px rgba(212, 165, 116, 0.6),
            0 0 40px rgba(212, 165, 116, 0.5),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
        transform: scale(1.03);
    }
}

@keyframes buttonPulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

/* TABLET STYLES */
@media (max-width: 1024px) and (min-width: 769px) {
    .story-content {
        gap: 4rem;
        max-width: 1200px;
    }
    
    .diary-card {
        padding: 3.5rem;
        min-height: 400px;
    }
    
    .story-section {
        padding: 6rem 1.5rem;
    }
    
    .story-image {
        min-height: 450px;
    }
}

/* MOBILE STYLES - FIXED OVERLAPPING ISSUE + IMAGE-FIRST ORDER */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        padding: 0 1rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        max-width: 500px;
        display: flex;
        flex-direction: column;
    }
    
    /* ENSURE IMAGE COMES FIRST FOR ALL SECTIONS ON MOBILE */
    .story-image-container {
        order: 1;
    }
    
    .story-text-container {
        order: 2;
    }
    
    .story-section {
        min-height: auto;
        padding: 2rem 1rem; /* REDUCED PADDING TO ELIMINATE GAPS */
    }
    
    .story-image {
        min-height: 300px;
    }
    
    .diary-card {
        padding: 2rem;
        padding-bottom: 4rem; /* INCREASED BOTTOM PADDING TO PREVENT ICON OVERLAP */
        margin: 0 auto;
        max-width: 400px;
        min-height: auto;
        position: relative;
    }
    
    /* FIXED DIARY SEAL POSITIONING ON MOBILE */
    .diary-seal {
        position: absolute;
        bottom: 1rem; /* MOVED HIGHER TO PREVENT TEXT OVERLAP */
        right: 1rem;
        width: 40px; /* SMALLER ON MOBILE */
        height: 40px;
    }
    
    .diary-seal::after {
        font-size: 1.2rem; /* SMALLER ICON ON MOBILE */
    }
    
    /* MODERN SEAL ON MOBILE */
    .modern-seal {
        position: absolute;
        bottom: 1rem; /* SAME AS DIARY SEAL ON MOBILE */
        right: 1rem;
        width: 40px; /* SMALLER ON MOBILE */
        height: 40px;
    }
    
    .modern-seal::after {
        font-size: 1.2rem; /* SMALLER ICON ON MOBILE */
    }
    
    .story-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        text-align: center;
    }
    
    .story-text {
        font-size: clamp(1rem, 4vw, 1.1rem);
        text-align: left;
        margin-bottom: 1rem; /* REDUCED MARGIN TO PREVENT OVERLAP */
    }
    
    .cta-button {
        padding: 1.4rem 2.8rem;
        font-size: 1.2rem;
    }
    
    .cta-section {
        min-height: 30vh; /* KEEP ORIGINAL MOBILE HEIGHT */
        padding: 2rem 1rem; /* KEEP ORIGINAL MOBILE PADDING */
    }
    
    /* ELIMINATE TRANSITION SECTION GAP ON MOBILE */
    .lighting-transition-section {
        height: 10vh; /* VERY SMALL ON MOBILE */
    }
    
    /* DISABLE HANDWRITING ANIMATION ON MOBILE - ALREADY REMOVED */
    .handwriting-text {
        white-space: normal;
        overflow: visible;
    }
}

/* SMALL MOBILE STYLES */
@media (max-width: 480px) {
    .hero-section {
        height: 60vh;
    }
    
    .story-section {
        padding: 1.5rem 0.5rem; /* MINIMAL PADDING */
    }
    
    .story-content {
        gap: 1.5rem;
        max-width: none;
        display: flex;
        flex-direction: column;
    }
    
    /* ENSURE IMAGE COMES FIRST FOR ALL SECTIONS ON SMALL MOBILE */
    .story-image-container {
        order: 1;
    }
    
    .story-text-container {
        order: 2;
    }
    
    .diary-card {
        padding: 1.5rem;
        padding-bottom: 3rem; /* ENSURE SPACE FOR ICON */
        max-width: none;
    }
    
    .cta-section {
        min-height: 25vh; /* MINIMAL HEIGHT */
        padding: 1.5rem 0.5rem;
    }
    
    /* ELIMINATE TRANSITION SECTION ON SMALL MOBILE */
    .lighting-transition-section {
        height: 5vh;
    }
}

/* PERFORMANCE OPTIMIZATIONS */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
    
    .handwriting-text {
        /* Already removed animation */
    }
}/* End custom CSS */