/* Undefiled Love Story '26 - Milestone 1 Foundation */
:root{
    --primary:#173A6A;
    --accent:#C76B29;
    --gold:#D4AF37;
    --ivory:#FFFDF8;
    --cream:#F8F5EF;
    --text:#2E2E2E;
    --muted:#777;
    --radius:18px;
    --shadow:0 15px 40px rgba(0,0,0,.12);

    /* Section vertical rhythm - "balanced" scale.
       One set of numbers, reused everywhere, so every
       section breathes the same amount. */
    --space-section: 3.5rem;      /* Desktop (approx 56px instead of 96px) */
    --space-section-md: 2.5rem;   /* Tablet */
    --space-section-sm: 2rem;     /* Mobile */
}

*{
    margin:0;padding:0;
    box-sizing:border-box

}

html{
    scroll-behavior:smooth
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--ivory);
    color:var(--text);
    line-height:1.7;
}

img{
    max-width:100%;display:block
}

a{
    text-decoration:none;color:inherit
}
.container{
    width:min(1200px,92%);margin:auto
}
h1,h2,h3{
    font-family:'Cormorant Garamond',serif;color:var(--primary)
}

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(255,255,255,.7);
    backdrop-filter:blur(12px);
    box-shadow:0 2px 20px rgba(0,0,0,.05)
}

.nav-container{
    max-width:1200px;
    margin:auto;padding:1rem 4%;display:flex;justify-content:space-between;align-items:center
}

.logo{
    font:700 2rem 'Cormorant Garamond',serif;
    color:var(--primary)
}

.logo span{
    color:var(--gold)
}

.logo img{
    height:auto;
    display:block;
    width:65px;

}

.nav-menu{
    display:flex;
    gap:2rem;
    list-style:none;
}

/* Push nav links flush right, desktop only.
   Scoped above the 992px breakpoint so it never touches
   the mobile off-canvas menu (which uses position:fixed). */
@media(min-width:993px){
    .nav-menu{
        margin-left:auto;
    }
}

.nav-link{
    padding:.5rem;
    transition:.3s;
}

.nav-link:hover,.nav-link.active{
    color:var(--accent)
}

.menu-toggle{
    display:none;
    background:none;
    border:0;
}

.hero{

    min-height:100vh;
    display:grid;
    place-items:center;
    text-align:center;
    padding:8rem 1rem 2rem;
    background:linear-gradient(rgba(23,58,106,.65),rgba(23,58,106,.65)),#ddd center/cover;

    position:relative;

    min-height:100vh;

    overflow:hidden;
}

.hero-background{

    position:absolute;

    inset:0;

    background-image:url("../images/hero/hero.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    z-index:0;

}

.hero-overlay {

    position: absolute;
    inset: 0;

    background: linear-gradient(
            rgba(11, 42, 91, 0.55),
            rgba(11, 42, 91, 0.65)
    );

    z-index: 1;

}

.hero-content {

    position: relative;

    z-index: 3;

}

.hero-subtitle{
    letter-spacing:.3rem;color:var(--gold)
}

.couple-name {

    font-family: "Great Vibes", cursive;

    font-size: 85px;

    font-weight: 400;

    color: #ffffff;

    line-height: 1.1;

    margin: 20px 0;

    position: relative;

    z-index: 2;

    text-shadow:
            0 3px 15px rgba(0,0,0,0.5);

}


.couple-name span {

    color: #d4af37;

    padding: 0 15px;

    font-size: 70px;

}


.scripture {

    font-family: "Playfair Display", serif;

    font-style: italic;

    font-size: 1.25rem;

    color: #ffffff;

    margin: 1rem 0;

    text-shadow: 0 2px 10px rgba(0,0,0,.45);

}

.hero-text small {

    color: rgba(255,255,255,.9);

    font-size: .95rem;

}

#countdown{
    display:flex;
    gap:1rem;
    justify-content:center;
    flex-wrap:wrap;
    margin:2rem 0;
}

.time-box {

    background: rgba(255,255,255,.12);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 16px;

    min-width: 110px;

    padding: 1rem 1.4rem;

}

.time-box span{
    font-size:2rem;
    font-weight:700;
    color:var(--gold)
}

.time-box p {

    color: #ffffff;

    margin-top: .5rem;

    font-size: .95rem;

    letter-spacing: 1px;

    text-transform: uppercase;

}

.btn{
    display:inline-block;
    padding:.9rem 2rem;
    border-radius:40px;
    background:var(--gold);
    color:#222;margin:.5rem;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow);
}
.btn-outline{
    background:transparent;
    border:2px solid #fff;
    color:#fff;
}


section{
    position:relative;
    padding:var(--space-section) 0;
}

@media(max-width:992px){
    section{
        padding:var(--space-section-md) 0;
    }
}

@media(max-width:768px){
    section{
        padding:var(--space-section-sm) 0;
    }
}
/* ==========================
   UNIVERSAL SECTION TITLE
========================== */

.section-title{

    max-width:900px;

    margin:0 auto 35px;

    text-align:center;

}

.section-heading{

    font-family:"Cormorant Garamond",serif;

    font-size:2.4rem;

    font-weight:700;

    color:var(--gold);

    letter-spacing:3px;

    text-transform:uppercase;

    margin:0;

    line-height:1.2;

}

.section-divider{

    display:flex;

    justify-content:center;

    align-items:center;

    margin: 10px 0 15px;

}

.section-divider::before,
.section-divider::after{

    content:"";

    width:90px;

    height:2px;

    background:var(--gold);

}

.section-divider::before{

    margin-right:18px;

}

.section-divider::after{

    margin-left:18px;

}

.section-divider span{

    color:var(--gold);

    font-size:1rem;

}

.section-title h2:last-of-type{

    font-family:"Cormorant Garamond",serif;

    font-size:2.5rem;

    font-weight:700;

    color:var(--primary);

    line-height:1.3;

    margin-bottom:18px;

}

.section-title p{

    max-width:700px;

    margin:0 auto;

    font-size:1.05rem;

    line-height:1.9;

    color:#555;

}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .section-heading{

        font-size:1.8rem;

    }

    .section-title h2:last-of-type{

        font-size:1.8rem;

    }

    .section-divider::before,
    .section-divider::after{

        width:55px;

    }

    .section-title{

        margin-bottom:50px;

    }

}


.story-timeline{
    position:relative;
}

.story-timeline:before{
    content:'';position:absolute;
    left:50%;top:0;bottom:0;width:3px;
    background:var(--gold);
}

.timeline-item{
    width:50%;
    padding:2rem;
}

.timeline-card{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
}

.timeline-content{
    padding:1.5rem;
}

.story-quote{
    border-left:4px solid var(--gold);
    padding-left:1rem;
    font-style:italic;
}


@media(max-width:768px){

    .nav-menu{
        display:none;
    }
    .menu-toggle{
        display:block;
    }

    .story-item{

        grid-template-columns:1fr;

        gap:25px;

        margin-bottom:60px;

    }

    .story-timeline:before{
        left:20px;
        display:none;
    }
    .timeline-item{
        width:100%;padding-left:3rem;
    }
    #countdown{
        gap:.5rem;
    }

}

/* =====================================================
   STORY SECTION
===================================================== */

.story-section{
    background:#faf8f4;

    color:var(--gold);

}

.story-timeline{

    position:relative;

    margin-top:80px;

}

.story-timeline::before{

    content:"";

    position:absolute;

    left:50%;

    top:0;

    bottom:0;

    width:3px;

    background:var(--gold);

    transform:translateX(-50%);

}

.story-item{

    display:grid;

    grid-template-columns:1fr 80px 1fr;

    align-items:center;

    gap:40px;

    margin-bottom:90px;

}

.story-item:last-child{

    margin-bottom:0;

}

.story-marker{

    display:flex;

    justify-content:center;

    position:relative;

}

.story-marker span{

    width:22px;

    height:22px;

    border-radius:50%;

    background:var(--gold);

    border:6px solid #fff;

    box-shadow:0 0 20px rgba(212,175,55,.45);

    z-index:2;

}

.story-image{

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.story-image img{
    width:100%;
    height:430px;
    object-fit:cover;

    display:block;
    transition:.6s;
}

/* Story 1 Photo: Frame the bottom where the faces are */
.story-timeline .story-item:nth-child(1) .story-image img {
    object-position: center center;
}

/* Story 2 Photo: Frame the bottom where the traditional caps/faces are */
.story-timeline .story-item:nth-child(2) .story-image img {
    object-position: center 55%;
}

/* Custom focus only for the 3rd story image */
.story-timeline .story-item:nth-child(3) .story-image img {
    object-position: center 15%;
}

/* Story 4 Photo: Frame the bottom where the traditional caps/faces are */
.story-timeline .story-item:nth-child(4) .story-image img {
    object-position: center 15%;
}




.story-image:hover img{

    transform:scale(1.08);

}


.story-image img{
    width:100%;
    height:430px;
    object-fit:cover;
    object-position: center 15%;
    display:block;
    transition:.6s;
}


.story-content{

    background:#fff;

    padding:40px;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.story-content small{

    display:inline-block;

    color:var(--gold);

    font-weight:700;

    letter-spacing:3px;

    margin-bottom:10px;

}

.story-content h3{

    margin-bottom:18px;

    font-size:2rem;

    color:var(--primary);

}

.story-content p{

    line-height:1.9;

    color:#555;

}

.story-item.right .story-content{

    order:1;

}

.story-item.right .story-marker{

    order:2;

}

.story-item.right .story-image{

    order:3;

}

@media(max-width:900px){

    .story-timeline::before{

        left:20px;

    }

    .story-item{

        grid-template-columns:40px 1fr;

        gap:25px;

    }

    .story-marker{


        display:none;

    }

    .story-image img{

        height:280px;

    }

    .story-image{

        order:2!important;

    }

    .story-content{

        order:3!important;

        margin-top:20px;

    }

}


/* =====================================================
   TIMELINE
===================================================== */

.story-timeline{
    position:relative;
    max-width:1200px;
    margin:auto;
    padding:40px 0;
}

.story-timeline::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    width:4px;
    height:100%;
    background:linear-gradient(
            to bottom,
            transparent,
            var(--gold),
            var(--gold),
            transparent
    );
    transform:translateX(-50%);
}


/* =====================================================
   TIMELINE ITEMS
===================================================== */

.timeline-item{
    position:relative;
    width:50%;
    margin-bottom:90px;
}

.timeline-item.left{
    left:0;
    padding-right:70px;
}

.timeline-item.right{
    left:50%;
    padding-left:70px;
}


/* =====================================================
   TIMELINE DOT
===================================================== */

.timeline-dot{
    position:absolute;
    width:24px;
    height:24px;
    background:var(--gold);
    border:5px solid #fff;
    border-radius:50%;
    top:40px;
    z-index:10;
    box-shadow:0 0 25px rgba(212,175,55,.45);
}

.timeline-item.left .timeline-dot{
    right:-12px;
}

.timeline-item.right .timeline-dot{
    left:-12px;
}


/* =====================================================
   CARD
===================================================== */

.timeline-card{

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.35);

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 25px 60px rgba(0,0,0,.08);

    transition:.45s ease;

}

.timeline-card:hover{

    transform:translateY(-12px);

    box-shadow:0 40px 80px rgba(0,0,0,.15);

}


/* =====================================================
   IMAGE
===================================================== */

.timeline-image{

    overflow:hidden;

    height:280px;

}

.timeline-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:1s;

}

.timeline-card:hover img{

    transform:scale(1.08);

}


/* =====================================================
   CONTENT
===================================================== */

.timeline-content{

    padding:35px;

}

.timeline-date{

    display:inline-block;

    padding:8px 18px;

    background:rgba(212,175,55,.15);

    color:var(--gold);

    border-radius:40px;

    font-size:.75rem;

    letter-spacing:2px;

    margin-bottom:18px;

    font-weight:600;

}

.timeline-content h3{

    color:var(--primary);

    font-size:2rem;

    margin-bottom:18px;

}

.timeline-content p{

    color:#666;

    line-height:1.9;

    margin-bottom:18px;

}


/* =====================================================
   QUOTE
===================================================== */

.story-quote{

    position:relative;

    margin-top:25px;

    padding:25px;

    background:#fdfbf6;

    border-left:5px solid var(--gold);

    border-radius:12px;

    font-style:italic;

    color:#555;

}

.story-quote::before{

    content:"“";

    position:absolute;

    top:-18px;

    left:15px;

    font-size:5rem;

    color:rgba(212,175,55,.25);

}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:992px){

    .story-timeline::before{

        left:25px;

    }

    .timeline-item{

        width:100%;

        left:0!important;

        padding-left:70px;

        padding-right:15px;

    }

    .timeline-dot{

        left:13px!important;

    }

    .timeline-image{

        height:240px;

    }

    .section-title h2{

        font-size:2.4rem;

    }

}

@media(max-width:576px){

    .timeline-content{

        padding:25px;

    }

    .timeline-content h3{

        font-size:1.6rem;

    }

    .timeline-image{

        height:200px;

    }

}

/* =====================================================
   HERO BUTTONS
===================================================== */

.hero-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-top:50px;
    flex-wrap:wrap;
}

.hero-buttons .btn{

    min-width:180px;

    padding:16px 35px;

    border-radius:50px;

    background:var(--gold);

    color:#fff;

    font-weight:600;

    letter-spacing:.5px;

    transition:all .35s ease;

    box-shadow:0 15px 35px rgba(212,175,55,.30);

}

.hero-buttons .btn:hover{

    transform:translateY(-5px);

    background:var(--accent);

    box-shadow:0 25px 45px rgba(199,107,41,.35);

}

.hero-buttons .btn-outline{

    background:transparent;

    border:2px solid rgba(255,255,255,.7);

    color:#fff;

    box-shadow:none;

}

.hero-buttons .btn-outline:hover{

    background:#fff;

    color:var(--primary);

}


/* =====================================================
   SCROLL INDICATOR
===================================================== */

.scroll-down{

    margin-top:70px;

    animation:bounce 2s infinite;

}

.scroll-down i{

    font-size:2rem;

    color:#fff;

    opacity:.8;

}

@keyframes bounce{

    0%,20%,50%,80%,100%{

        transform:translateY(0);

    }

    40%{

        transform:translateY(12px);

    }

    60%{

        transform:translateY(6px);

    }

}


/* =====================================================
   LOADER
===================================================== */

/* Full screen loading overlay */
#loader {

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: #0b2a5b; /* Deep wedding blue */

    display: grid;
    place-items: center;

    z-index: 99999;

    opacity: 1;
    visibility: visible;

    transition: opacity 0.8s ease, visibility 0.8s ease;

}


#loader.hidden {

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

}


/* Loader content */

.loader-content {

    text-align: center;

}


/* Elegant initials */

.loader-logo {

    font-family: "Great Vibes", "Playfair Display", serif;

    font-size: 95px;

    font-weight: 400;

    letter-spacing: 8px;

    color: #d4af37; /* Gold */

    text-shadow: 0 2px 10px rgba(212,175,55,0.35);

    animation: pulseLogo 2.5s infinite;

}



.loader-logo span {

    color: #ffffff;

    font-size: 75px;

    margin: 0 8px;

}


/* Loading text */

.loader-content h2 {

    margin-top: 30px;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 20px;

    font-weight: 400;

    letter-spacing: 4px;

}

.loader-date {

    margin-top: 18px;

    color: #d4af37;

    font-family: "Playfair Display", serif;

    font-size: 18px;

    font-weight: 400;

    letter-spacing: 5px;

    opacity: 0.95;

}


/* Logo animation */

@keyframes pulseLogo {

    0%, 100% {

        transform: scale(1);

        opacity: 1;

    }

    50% {

        transform: scale(1.08);

        opacity: 0.85;

    }

}






/* =====================================================
   NAVBAR SCROLL STATE
===================================================== */

.navbar.scrolled{

    background:rgba(255,255,255,.95);

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.nav-menu li{

    position:relative;

}

.nav-menu a{

    position:relative;

    font-weight:500;

}

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.35s;

}

.nav-menu a:hover::after,

.nav-menu a.active::after{

    width:100%;

}


/* =====================================================
   MOBILE NAVIGATION
===================================================== */

@media(max-width:992px){

    .menu-toggle{

        display:flex;

        flex-direction:column;

        justify-content:center;

        gap:6px;

        cursor:pointer;

        z-index:1001;

    }

    .menu-toggle span{

        width:28px;

        height:3px;

        background:var(--primary);

        border-radius:5px;

        transition:.4s;

    }

    .nav-menu{

        position:fixed;

        top:0;

        right:-100%;

        width:300px;

        height:100vh;

        background:#fff;

        display:flex;

        flex-direction:column;

        justify-content:center;

        align-items:center;

        gap:35px;

        transition:.45s ease;

        box-shadow:-10px 0 40px rgba(0,0,0,.10);

    }

    .nav-menu.active{

        right:0;

    }

    .menu-toggle.active span:nth-child(1){

        transform:translateY(9px) rotate(45deg);

    }

    .menu-toggle.active span:nth-child(2){

        opacity:0;

    }

    .menu-toggle.active span:nth-child(3){

        transform:translateY(-9px) rotate(-45deg);

    }

}


/* =====================================================
   SECTION ANIMATIONS
===================================================== */

.fade-up{

    opacity:0;

    transform:translateY(60px);

    transition:1s ease;

}

.fade-up.show{

    opacity:1;

    transform:none;

}


/* =====================================================
   GALLERY
===================================================== */

.gallery-section{

    background:#faf8f4;

    color:var(--gold);

}

.gallery-tabs{

    display:flex;

    justify-content:center;

    gap:15px;

    margin:30px 0;

    overflow-x:auto;

    padding-bottom:10px;

}

.gallery-tabs::-webkit-scrollbar{

    display:none;

}

.gallery-tab{

    border:none;

    background:#fff;

    color:var(--primary);

    padding:14px 28px;

    border-radius:50px;

    cursor:pointer;

    white-space:nowrap;

    transition:.3s;

    font-weight:600;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.gallery-tab.active{

    background:var(--gold);

    color:#fff;

}

.gallery-grid{

    display:none;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:20px;

    animation:fadeGallery .5s;

}

.gallery-grid.active{

    display:grid;

}

.gallery-grid img{

    width:100%;

    height:320px;

    object-fit:cover;

    border-radius:18px;

    cursor:pointer;

    transition:.4s;

    box-shadow:0 12px 25px rgba(0,0,0,.1);

}

.gallery-grid img:hover{

    transform:scale(1.04);

}

@keyframes fadeGallery{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

@media(max-width:768px){

    .gallery-grid{

        grid-template-columns:repeat(2,1fr);

        gap:12px;

    }

    .gallery-grid img{

        height:180px;

    }

    .gallery-tabs{

        flex-direction:column;

        gap:15px;

    }

    .gallery-tab{

        width:100%;

    }

}


/* =====================================================
   RSVP
===================================================== */

.rsvp-section{

    background:
        /*   linear-gradient(rgba(11,42,91,.90),rgba(11,42,91,.90)),
           url("../images/rsvp-bg.jpg") center/cover; */

            linear-gradient(rgba(11,42,91,.90),rgba(11,42,91,.90));,

color:var(--gold);

}

.rsvp-card{

    max-width:760px;

    margin:70px auto 0;

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:30px;

    padding:50px;

}

.rsvp-card h3{

    color:#fff;

    text-align:center;

    margin-bottom:35px;

}

.attendance-options{

    display:flex;

    gap:20px;

    justify-content:center;

    flex-wrap:wrap;

    margin-bottom:35px;

}

.attend-btn{

    border:none;

    cursor:pointer;

    padding:18px 30px;

    border-radius:50px;

    font-size:1rem;

    transition:.35s;

    min-width:250px;

}

.attending{

    background:var(--gold);

    color:#222;

}

.declining{

    background:#fff;

    color:#173a6a;

}

.attend-btn:hover{

    transform:translateY(-5px);

}

.rsvp-form{

    display:none;

}

.rsvp-form.active{

    display:block;

    animation:fadeForm .5s;

}

.form-group{

    margin-bottom:20px;

}

.form-group input,
.form-group textarea{

    width:100%;

    border:none;

    border-radius:15px;

    padding:18px;

    background:rgba(255,255,255,.90);

    font-size:1rem;

}

.name-group{

    display:flex;

    align-items:stretch;

    gap:12px;

}

select.title-select{

    -webkit-appearance:none;

    -moz-appearance:none;

    appearance:none;

    flex:0 0 130px;

    border:none;

    border-radius:15px;

    padding:18px 34px 18px 16px;

    background-color:rgba(255,255,255,.90);

    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23555' stroke-width='2' fill='none' fill-rule='evenodd'/></svg>");

    background-repeat:no-repeat;

    background-position:right 14px center;

    font-size:1rem;

    font-family:'Poppins', sans-serif;

    color:#555;

    cursor:pointer;

}

.name-group input{

    flex:1;

    min-width:0;

}

@media(max-width:768px){

    .name-group{

        flex-direction:column;

        gap:20px;

    }

    select.title-select{

        flex:1;

        width:100%;

    }

}

.submit-rsvp{

    width:100%;

    border:none;

    padding:18px;

    border-radius:50px;

    background:var(--gold);

    color:#222;

    font-size:1rem;

    cursor:pointer;

    transition:.3s;

}

.submit-rsvp:hover{

    transform:translateY(-4px);

}

@keyframes fadeForm{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

.attend-btn.selected{

    transform:translateY(-6px);

    box-shadow:0 15px 30px rgba(212,175,55,.35);

}

.rsvp-success{

    display:none;

    text-align:center;

    color:#fff;

    padding:40px 20px;

    animation:fadeForm .6s;

}

.rsvp-success.show{

    display:block;

}

.success-heart{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    display:grid;

    place-items:center;

    font-size:2rem;

    color:var(--gold);

    background:rgba(255,255,255,.08);

    margin-bottom:25px;

    animation:heartBeat 1.5s infinite;

}

.rsvp-success h3{

    font-size:2rem;

    margin-bottom:15px;

}

.rsvp-success p{

    color:rgba(255,255,255,.9);

    line-height:1.8;

}

.rsvp-success small{

    display:block;

    margin-top:25px;

    color:var(--gold);

    letter-spacing:2px;

}

/* Custom RSVP Content Tweaks */
.rsvp-text-white {
    color: rgba(255, 255, 255, 0.85) !important; /* Soft white for readability on the navy RSVP background */
}

@keyframes heartBeat{

    0%,100%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.12);

    }

}


/* =====================================================
   FOOTER
===================================================== */

.footer{

    background:linear-gradient(135deg,#0b2a5b,#173a6a);

    color:#fff;

    padding:90px 0 35px;

}

.footer-top{

    max-width:800px;

    margin:auto;

    text-align:center;

}

.footer-top h2{

    font-size:2.8rem;

    color:var(--gold);

    margin-bottom:20px;

}

.footer-message{

    line-height:1.9;

    color:rgba(255,255,255,.85);

}

.footer-divider{

    text-align:center;

    margin:25px 0;

}

.footer-divider span{

    color:var(--gold);

    font-size:1.6rem;

}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:45px;

}

.footer-column h3{

    color:var(--gold);

    margin-bottom:20px;

}

.footer-column ul{

    list-style:none;

    padding:0;

}

.footer-column li{

    margin-bottom:15px;

}

.footer-column a{

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.footer-column a:hover{

    color:var(--gold);

    padding-left:8px;

}

.footer-text{

    color:rgba(255,255,255,.8);

    line-height:1.8;

    margin-bottom:20px;

}

.contact-card{

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.1);

    border-radius:18px;

    padding:20px;

    margin-bottom:18px;

    backdrop-filter:blur(10px);

}

.contact-card h4{

    color:var(--gold);

    margin-bottom:8px;

}

.contact-card p{

    margin-bottom:12px;

}

.contact-card a{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:#fff;

    text-decoration:none;

}

.contact-card a:hover{

    color:var(--gold);

}

.contact-person{

    padding:12px 0;

    min-width:0;

}

.contact-person:not(:last-child){

    margin-bottom:12px;

    border-bottom:1px solid rgba(255,255,255,.12);

}

.contact-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-top:15px;

}

.contact-person p{

    margin-bottom:8px;

    font-size:1rem;

    font-weight:600;

    color:#fff;

}

.contact-person a{

    display:flex;

    align-items:center;

    gap:8px;

    font-size:.95rem;

    color:#fff;

    text-decoration:none;

    word-break:break-word;

}

.contact-person a i{

    color:var(--gold);

}


.hashtag{

    display:inline-block;

    margin-top:15px;

    padding:14px 24px;

    border-radius:40px;

    background:rgba(212,175,55,.15);

    border:1px solid rgba(212,175,55,.3);

    color:var(--gold);

    font-weight:600;

    letter-spacing:1px;

}

.footer-bottom{

    text-align:center;

}

.footer-bottom p{

    color:rgba(255,255,255,.85);

    margin-bottom:10px;

}

.footer-bottom small{

    color:rgba(255,255,255,.6);

}

@media(max-width:768px){

    .footer{

        padding:70px 0 30px;

    }

    .footer-top h2{

        font-size:2.2rem;

    }

    .footer-grid{

        grid-template-columns:1fr;

        gap:40px;

    }

    .footer-column{

        text-align:center;

    }

}


/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--gold);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:0 18px 35px rgba(0,0,0,.18);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

}

.back-to-top:hover{

    background:var(--accent);

    transform:translateY(-5px);

}


/* =====================================================
   DECORATIVE ELEMENTS
===================================================== */

.gold-divider{

    width:120px;

    height:4px;

    margin:25px auto;

    border-radius:10px;

    background:linear-gradient(
            to right,
            transparent,
            var(--gold),
            transparent
    );

}

.floral-circle{

    position:absolute;

    width:240px;

    height:240px;

    border:1px solid rgba(212,175,55,.15);

    border-radius:50%;

    pointer-events:none;

}

.floral-circle.top-left{

    top:-100px;

    left:-100px;

}

.floral-circle.bottom-right{

    right:-100px;

    bottom:-100px;

}


/* =====================================================
   UTILITY CLASSES
===================================================== */

.text-center{

    text-align:center;

}

.mb-1{margin-bottom:10px;}

.mb-2{margin-bottom:20px;}

.mb-3{margin-bottom:30px;}

.mb-4{margin-bottom:40px;}

.mt-1{margin-top:10px;}

.mt-2{margin-top:20px;}

.mt-3{margin-top:30px;}

.mt-4{margin-top:40px;}

.shadow{

    box-shadow:0 25px 60px rgba(0,0,0,.08);

}

.rounded{

    border-radius:20px;

}

.glass{

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.28);

}

/* =====================================================
   HERO DECORATIONS
===================================================== */

.hero::before,
.hero::after{
    content:"";
    position:absolute;
    border-radius:50%;
    filter:blur(60px);
    pointer-events:none;
}

.hero::before{
    width:380px;
    height:380px;
    top:-120px;
    left:-100px;
    background:rgba(212,175,55,.12);
    animation:floatSlow 14s ease-in-out infinite;
}

.hero::after{
    width:280px;
    height:280px;
    right:-80px;
    bottom:80px;
    background:rgba(255,255,255,.08);
    animation:floatSlowReverse 18s ease-in-out infinite;
}

/* =====================================================
   IMAGE ANIMATIONS
===================================================== */

.timeline-image img,
.gallery-item img{

    will-change:transform;

}

.timeline-card:hover{

    transition:.45s ease;

}

.gallery-item{

    transition:.35s;

}

.gallery-item:hover{

    transform:translateY(-10px);

}

/* =====================================================
   BUTTON RIPPLE
===================================================== */

.btn{

    position:relative;

    overflow:hidden;

}

.btn::after{

    content:"";

    position:absolute;

    width:20px;

    height:20px;

    background:rgba(255,255,255,.45);

    border-radius:50%;

    transform:scale(0);

    opacity:0;

    transition:.6s;

}

.btn:hover::after{

    transform:scale(18);

    opacity:0;

}

/* =====================================================
   FADE ANIMATIONS
===================================================== */

.fade-in{

    opacity:0;

    animation:fadeIn 1s forwards;

}

.slide-left{

    opacity:0;

    transform:translateX(-60px);

    animation:slideLeft 1s forwards;

}

.slide-right{

    opacity:0;

    transform:translateX(60px);

    animation:slideRight 1s forwards;

}

.zoom-in{

    opacity:0;

    transform:scale(.85);

    animation:zoomIn .9s forwards;

}

/* =====================================================
   KEYFRAMES
===================================================== */

@keyframes fadeIn{

    to{

        opacity:1;

    }

}

@keyframes slideLeft{

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes slideRight{

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes zoomIn{

    to{

        opacity:1;

        transform:scale(1);

    }

}

@keyframes floatSlow{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-35px);

    }

}

@keyframes floatSlowReverse{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(35px);

    }

}

/* =====================================================
   ACCESSIBILITY
===================================================== */

:focus-visible{

    outline:3px solid var(--gold);

    outline-offset:3px;

}

::selection{

    background:var(--gold);

    color:#fff;

}

html{

    scroll-padding-top:90px;

}

/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{

        animation:none!important;

        transition:none!important;

        scroll-behavior:auto!important;

    }

}

/* =====================================================
   LARGE DESKTOP
===================================================== */

@media(min-width:1600px){

    .container{

        max-width:1450px;

    }

    .couple-name{

        font-size:7rem;


    }

    .section-title h2{

        font-size:4rem;

    }

    .timeline-content{

        padding:50px;

    }

}

/* =====================================================
   TABLETS
===================================================== */

@media(max-width:992px){

    .hero{
        min-height:100vh;
        padding-top:120px;
        background-position:center center;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .hero-buttons .btn{

        width:100%;

        max-width:320px;

    }

    #countdown{

        justify-content:center;

    }

    .timeline-card{

        margin-bottom:30px;

    }

}

/* =====================================================
   MOBILE
===================================================== */

@media(max-width:768px){

    .couple-name{

        font-size:3rem;

    }

    .hero-subtitle{

        font-size:.9rem;

        letter-spacing:3px;

    }

    .scripture{

        font-size:1rem;

    }

    .time-box{

        min-width:90px;

        padding:18px 10px;

    }

    .time-box span{

        font-size:1.8rem;

    }

    .gallery-grid{

        grid-template-columns:1fr;

    }

    .footer-social{

        flex-wrap:wrap;

    }

}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media(max-width:480px){

    .container{

        width:94%;

    }

    .hero{

        min-height:100svh;

    }

    .section-title h2{

        font-size:2rem;

    }

    .timeline-content{

        padding:20px;

    }

    .timeline-content h3{

        font-size:1.35rem;

    }

    .btn{

        width:100%;

        text-align:center;

    }

    .back-to-top{

        width:48px;

        height:48px;

        right:20px;

        bottom:20px;

    }

}

/* =====================================================
   PRINT
===================================================== */

@media print{

    .navbar,
    .hero-buttons,
    .scroll-down,
    .back-to-top,
    #loader{

        display:none!important;

    }

    body{

        background:#fff;

        color:#000;

    }

    section{

        padding:20px 0;

        break-inside:avoid;

    }

}

/* Progress Bar */
#progressBar{
    position:fixed;
    top:0;
    left:0;
    height:4px;
    width:0;
    background:#D4AF37;
    z-index:99999;
}

/* Lightbox */
.lightbox{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.9);
    z-index:9999;
}

.lightbox.show{
    display:flex;
}

.lightbox img{
    max-width:90%;
    max-height:85%;
    border-radius:15px;
}

.close-lightbox{
    position:absolute;
    top:20px;
    right:30px;
    font-size:40px;
    color:#fff;
    cursor:pointer;
}

.lightbox-prev,
.lightbox-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(255,255,255,.15);
    border:none;
    color:#fff;
    font-size:28px;
    padding:15px;
    cursor:pointer;
    border-radius:50%;
}

.lightbox-prev{
    left:20px;
}

.lightbox-next{
    right:20px;
}


.events-section{

    background:#fff;

    color:var(--gold);
}

.events-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:40px;

    margin-top:70px;

}

.event-card{

    background:#fff;

    padding:45px;

    border-radius:25px;

    text-align:center;

    box-shadow:0 18px 45px rgba(0,0,0,.08);

    transition:.4s;

    border-top:5px solid var(--gold);

}

.event-card:hover{

    transform:translateY(-10px);

}

.event-card.featured{

    background:linear-gradient(135deg,#173a6a,#0b2a5b);

    color:#fff;

}

.event-card.featured h3,
.event-card.featured p,
.event-card.featured small,
.event-card.featured .event-time,
.event-card.featured .event-location{

    color:#fff;

}

.event-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    display:grid;

    place-items:center;

    background:rgba(212,175,55,.15);

    font-size:2rem;

    color:var(--gold);

}

.event-card small{

    color:var(--gold);

    letter-spacing:3px;

    font-weight:700;

}

.event-card h3{

    margin:15px 0 25px;

    color:var(--primary);

    font-size:2rem;

}

.event-time,
.event-location{

    margin:18px 0;

    color:#555;

    line-height:1.7;

}

.event-time i,
.event-location i{

    color:var(--gold);

    margin-right:8px;

}

.event-card p{

    line-height:1.9;

    color:#666;

}

.event-btn{

    display:inline-block;

    margin-top:30px;

    padding:14px 32px;

    border-radius:50px;

    background:var(--gold);

    color:#222;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.event-btn:hover{

    transform:translateY(-3px);

}

.event-card.featured .event-btn{

    background:#fff;

    color:#173a6a;

}

@media(max-width:768px){

    .events-grid{

        grid-template-columns:1fr;
        gap:30px;

    }

    .event-card{

        padding:35px 25px;

    }

}

.gift-section{

    background:#faf8f4;

    color:var(--gold);

}

.gift-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));

    gap:45px;

    margin-top:70px;

}

.gift-card{

    background:#fff;

    border-radius:25px;

    padding:45px;

    box-shadow:0 20px 45px rgba(0,0,0,.08);

    transition:.35s;

    border-top:5px solid var(--gold);

}

.gift-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}

/* "Support Our New Beginning" card only.
   Uses .gift-card.gift-card-bank (compound class) so these
   reliably beat the general .gift-card / .bank-details rules
   regardless of where they sit in the file. */
.gift-card.gift-card-bank{

    background:var(--primary);

}

.gift-card.gift-card-bank h3{

    color:#fff;

}

.gift-card.gift-card-bank .gift-note{

    color:rgba(255,255,255,.75);

}

.gift-card.gift-card-bank .bank-details div{

    border-bottom-color:rgba(255,255,255,.15);

}

.gift-card.gift-card-bank .bank-details strong{

    color:var(--gold);

}

.gift-card.gift-card-bank .bank-details span{

    color:#fff;

    font-weight:600;

}

.gift-icon{

    width:90px;

    height:90px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    display:grid;

    place-items:center;

    background:rgba(212,175,55,.12);

    color:var(--gold);

    font-size:2rem;

}

.gift-card h3{

    text-align:center;

    color:var(--primary);

    font-size:2rem;

    margin-bottom:18px;

}

.gift-note{

    text-align:center;

    color:#666;

    line-height:1.9;

    margin-bottom:35px;

}

/* ==========================
   GIFT SECTION TITLE
========================== */

.gift-section .section-title{

    max-width:780px;

}

.gift-section .section-title h2:last-of-type{

    max-width:620px;

    margin:0 auto 18px;

}

.gift-section .section-title p{

    max-width:620px;

    margin:0 auto;

    line-height:1.9;

}

/* -------------------------
   HOME ITEMS TABLE
--------------------------*/

.gift-table{

    margin-top:15px;

}

.gift-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    padding:16px 0;

    border-bottom:1px solid #ececec;

}

.gift-row:last-child{

    border-bottom:none;

}

.gift-row span{

    display: flex;

    color:#555;

    font-weight:500;

}

.gift-row strong{

    color:var(--primary);

    font-size:1rem;

    white-space:nowrap;

}

.gift-row span i{

    color:var(--gold);

    width:22px;

    margin-right:10px;

    text-align:center;

}

/* -------------------------
   BANK DETAILS
--------------------------*/

.bank-details{

    display:flex;

    flex-direction:column;

    gap:18px;

    margin-top:20px;

}

.bank-details div{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    padding:16px 0;

    border-bottom:1px solid #ececec;

}

.bank-details strong{

    color:var(--primary);

}

.bank-details span{

    color:#555;

    text-align:right;

}

/* -------------------------
   COPY BUTTON
--------------------------*/

.copy-btn{

    width:100%;

    margin-top:35px;

    padding:16px;

    border:none;

    border-radius:50px;

    background:var(--gold);

    color:#222;

    font-size:1rem;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.copy-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(212,175,55,.35);

}

/* -------------------------
   FOOTER
--------------------------*/

.gift-footer{

    max-width:850px;

    margin:80px auto 0;

    text-align:center;

    padding-top:40px;

    border-top:1px solid rgba(212,175,55,.35);

}

.gift-footer p{

    font-size:1.15rem;

    font-style:italic;

    color:var(--primary);

    line-height:1.9;

}

.gift-footer span{

    display:block;

    margin-top:15px;

    color:var(--gold);

    font-weight:600;

    letter-spacing:2px;

}

/* -------------------------
   MOBILE
--------------------------*/

@media(max-width:900px){

    .gift-grid{

        grid-template-columns:1fr;

        gap:30px;

    }

    .gift-card{

        padding:35px 25px;

    }

    .gift-row{

        flex-direction:column;

        align-items:flex-start;

        gap:8px;

    }

    .gift-row strong{

        font-size:1.05rem;

    }

    .bank-details div{

        flex-direction:column;

        align-items:flex-start;

        gap:8px;

    }

    .bank-details span{

        text-align:left;

    }

}

/* Gold Animated Line */

.footer-line{

    width:0;

    height:3px;

    margin:0 auto 30px;

    border-radius:20px;

    background:linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
    );

    transition:width 1.4s ease;

}

.footer-line.show{

    width:180px;

}

.coming-soon-gallery{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    min-height:500px;

}

.coming-card{

    width:100%;

    max-width:700px;

    padding:70px 50px;

    background:#fff;

    border-radius:25px;

    text-align:center;

    box-shadow:0 20px 45px rgba(0,0,0,.08);

    border:2px dashed rgba(212,175,55,.4);

}

.coming-card i{

    font-size:4rem;

    color:var(--gold);

    margin-bottom:25px;

}

.coming-card h3{

    font-family:"Cormorant Garamond",serif;

    font-size:2.3rem;

    color:var(--primary);

    margin-bottom:15px;

}

.coming-card p{

    max-width:500px;

    margin:0 auto 30px;

    color:#666;

    line-height:1.9;

}

.coming-card span{

    display:inline-block;

    padding:12px 28px;

    background:var(--gold);

    color:#fff;

    border-radius:50px;

    font-weight:600;

    letter-spacing:1px;

}


.dress-code{

    margin:30px 0;

}

.dress-code h4{

    color:var(--gold);

    margin-bottom:15px;

    font-size:1rem;

    letter-spacing:1px;

    text-transform:uppercase;

}

.dress-colours{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.colour-chip{

    padding:10px 18px;

    border-radius:50px;

    font-size:.9rem;

    font-weight:600;

    color:#fff;

}

.colour-chip.navy{

    background:#1f3d7a;

}

.colour-chip.gold{

    background:#d4af37;

    color:#222;

}

.colour-chip.burnt{

    background:#c96a2b;

}

/* =====================================================
   END OF MILESTONE 1
===================================================== */


/* ==========================================================
   MOBILE RESPONSIVE IMPROVEMENTS
   (Does NOT affect Desktop)
========================================================== */

@media screen and (max-width: 992px){

    /* ===========================
       HERO
    =========================== */

    .hero{

        min-height:100vh;
        padding-top:120px;
        background-position:center center;

    }

    .logo img{

        width:65px;

    }

    .hero h1{

        font-size:3.6rem;
        line-height:1;

    }

    .scripture{

        margin:25px 0;
        padding:0 20px;
        line-height:1.6;

    }

    /* ===========================
       COUNTDOWN
    =========================== */

    #countdown{

        flex-wrap:nowrap;
        gap:10px;
        margin-top:35px;

    }

    .time-box{

        flex:0 0 82px;
        width:82px;
        height:95px;
        padding:14px 8px;
        border-radius:18px;
        min-width:0;

    }

    .time-box span{

        font-size:2rem;
        line-height:1;
        margin-bottom:8px;

    }

    .time-box p{

        font-size:.75rem;
        letter-spacing:1px;

    }

    /* ===========================
       STORY
    =========================== */

    .story-item{
        display:flex;
        flex-direction:column;
        gap:20px;
        margin-bottom:50px;
    }

    .story-item.left,
    .story-item.right{
        display:flex;
        flex-direction:column;
    }

    .story-image{
        width:100%;
        order:1;
    }

    .story-image img{

        height:280px;

        object-fit: cover;


    }

    /* Apply matching positions to responsive viewports */
    .story-timeline .story-item:nth-child(1) .story-image img {
        object-position: center center;
    }

    .story-timeline .story-item:nth-child(2) .story-image img {
        object-position: center 55%;
    }

    .story-timeline .story-item:nth-child(3) .story-image img {
        object-position: center 15%;
    }

    .story-timeline .story-item:nth-child(4) .story-image img {
        object-position: center 15%;
    }

    .story-content{
        width:100%;
        order:2;
        padding:35px 25px;
        text-align:left;
    }

    .story-content h3{
        font-size:2rem;
        line-height:1.25;
    }

    .story-content p{
        font-size:1rem;
        line-height:1.8;
    }

    .story-marker{
        display:none;
    }

    .story-timeline::before{
        display:none;
    }

    /* ===========================
       EVENTS
    =========================== */

    .events-grid{

        grid-template-columns:1fr;
        gap:30px;

    }

    .event-card{

        padding:35px 25px;

    }

    /* ===========================
       GALLERY
    =========================== */

    .gallery-tabs{
        display:flex;
        justify-content:center;
        gap:12px;
        flex-wrap:wrap;
    }

    .gallery-tab{
        flex:1;
        min-width:100px;
        padding:14px 12px;
        font-size:.95rem;
    }

    .gallery-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .gallery-grid img{
        width:100%;
        height:320px;
        object-fit:cover;
    }

    /* ===========================
       RSVP
    =========================== */

    .envelope-icon{

        width:90px;
        height:90px;

    }

    /* ===========================
       GIFT REGISTRY
    =========================== */

    .gift-grid{

        grid-template-columns:1fr;

    }

    /* ===========================
       FOOTER
    =========================== */

    .footer-grid{

        grid-template-columns:1fr;
        gap:40px;

    }

    .footer-column{

        text-align:center;

    }

    .contact-card{

        width:100%;

    }

    /* ===========================
       SCROLL TO TOP
    =========================== */

    .back-to-top{

        width:50px;
        height:50px;
        right:18px;
        bottom:18px;

    }

}


/* ===================================
   MOBILE - STORY SECTION
=================================== */
@media (max-width:768px){

    .story-timeline::before{
        display: none; /* Hides the vertical timeline line completely */
    }

    .story-item{
        display: block;
        margin-bottom: 60px;
        position: relative;
        padding-left: 0; /* Changed from 65px to 0 to restore horizontal balance */
    }

    .story-marker{
        display: none; /* Hides the timeline dot indicator */
    }

    .story-image{
        width: 100%;
        margin-bottom: 25px;
    }

    .story-content{
        width: 100%;
        padding: 30px 20px; /* Adjust padding if you want it to feel less cramped inside */
    }

    .story-content h3{
        font-size: 2rem;
        line-height: 1.2;
    }

    .story-content p{
        font-size: 16px;
        line-height: 1.8;
    }
}

/* ===================================
   MOBILE - GALLERY
=================================== */

@media (max-width:768px){

    .gallery-tabs{

        display:grid;

        grid-template-columns:1fr;

        gap:15px;

        margin-bottom:35px;

    }

    .gallery-tab{

        width:100%;

        padding:18px;

        font-size:17px;

    }

}

@media (max-width:768px){

    .gallery-grid{

        grid-template-columns:1fr;

        gap:20px;

    }

    .gallery-grid img{

        height:280px;

        object-fit:cover;

        object-position:center 15%;

    }

}


@media (max-width:768px){

    .events-grid{

        grid-template-columns:1fr;

        gap:25px;

    }

}

@media (max-width:768px){

    .gift-grid{

        grid-template-columns:1fr;

    }

}

@media (max-width:768px){

    .footer-grid{

        grid-template-columns:1fr;

        gap:40px;

    }

}