
/*==================================================
                RESET
==================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

body{

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

    background:#F8FCFF;

    color:var(--black);

    overflow-x:hidden;

}

img{

    width:100%;

    display:block;

}

.container{

    width:min(1400px,92%);

    margin:auto;

}


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

.gallery-hero{

    position:relative;

    padding:150px 0 90px;

    text-align:center;

    overflow:hidden;

    background:

    radial-gradient(

    circle at top left,

    rgba(37,167,222,.10),

    transparent 45%),

    radial-gradient(

    circle at bottom right,

    rgba(37,167,222,.08),

    transparent 45%),

    #ffffff;

}


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

.gallery-hero::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    background:

    rgba(37,167,222,.08);

    border-radius:50%;

    top:-180px;

    left:-150px;

    filter:blur(90px);

}

.gallery-hero::after{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    background:

    rgba(37,167,222,.06);

    border-radius:50%;

    right:-100px;

    bottom:-120px;

    filter:blur(80px);

}


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

.gallery-tag{

    display:inline-block;

    padding:8px 20px;

    border-radius:30px;

    background:var(--primary-light);

    color:var(--primary);

    font-size:.78rem;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}

.gallery-hero h1{

    margin-top:22px;

    font-size:4rem;

    font-weight:800;

    line-height:1.1;

}

.gallery-hero h1 span{

    color:var(--primary);

}

.gallery-hero p{

    max-width:760px;

    margin:25px auto 0;

    font-size:1.05rem;

    color:var(--text);

    line-height:1.9;

}


/*==================================================
                FILTER SECTION
==================================================*/

.gallery-filter-section{

    padding:45px 0 70px;

    background:#ffffff;

}


/*==================================================
                FILTER BAR
==================================================*/

.gallery-filter{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:14px;

}

.filter-btn{

    border:none;

    outline:none;

    cursor:pointer;

    padding:13px 24px;

    border-radius:50px;

    background:#ffffff;

    border:1px solid var(--border);

    color:var(--black);

    font-size:.92rem;

    font-weight:600;

    transition:.35s ease;

}

.filter-btn.active{

    background:var(--primary);

    color:#ffffff;

}

.filter-btn:hover{

    transform:translateY(-3px);

}


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

.gallery-grid-section{

    padding:20px 0 120px;

}


/*==================================================
                MASONRY GRID
==================================================*/

.gallery-grid{

    display:grid;

    grid-template-columns:

    repeat(4,1fr);

    gap:22px;

    grid-auto-flow:dense;

}
/*==================================================
                GALLERY CARD
==================================================*/

.gallery-card{

    position:relative;

    overflow:hidden;

    border-radius:24px;

    background:#ffffff;

    cursor:pointer;

    min-height:280px;

    border:1px solid rgba(37,167,222,.08);

    box-shadow:

        0 18px 40px rgba(15,23,42,.08);

    transition:

        transform .45s ease,

        box-shadow .45s ease;

}


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

.gallery-card.large{

    grid-column:span 2;

    grid-row:span 2;

    min-height:620px;

}

.gallery-card.tall{

    grid-row:span 2;

    min-height:620px;

}

.gallery-card.wide{

    grid-column:span 2;

    min-height:300px;

}


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

.gallery-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:

        transform .9s ease,

        filter .5s ease;

}


/*==================================================
                HOVER
==================================================*/

.gallery-card:hover{

    transform:

        translateY(-10px);

    box-shadow:

        0 30px 70px rgba(37,167,222,.18);

}

.gallery-card:hover img{

    transform:scale(1.08);

}


/*==================================================
                DARK OVERLAY
==================================================*/

.gallery-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:26px;

    background:

        linear-gradient(

            180deg,

            transparent 35%,

            rgba(0,0,0,.18),

            rgba(0,0,0,.78)

        );

    transition:.45s;

}


/*==================================================
                DATE
==================================================*/

.gallery-date{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:#ffffff;

    font-size:.82rem;

    font-weight:500;

    opacity:.9;

    margin-bottom:10px;

}

.gallery-date i{

    color:#25A7DE;

}


/*==================================================
                TITLE
==================================================*/

.gallery-overlay h3{

    color:#ffffff;

    font-size:1.25rem;

    font-weight:700;

    line-height:1.45;

    max-width:85%;

}


/*==================================================
                PREMIUM BORDER
==================================================*/

.gallery-card::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:24px;

    border:1px solid

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

    pointer-events:none;

    z-index:2;

}


/*==================================================
                SHINE EFFECT
==================================================*/

.gallery-card::after{

    content:"";

    position:absolute;

    top:0;

    left:-140%;

    width:45%;

    height:100%;

    background:

        linear-gradient(

            90deg,

            transparent,

            rgba(255,255,255,.45),

            transparent

        );

    transform:skewX(-20deg);

    transition:left .9s ease;

}

.gallery-card:hover::after{

    left:140%;

}


/*==================================================
                OVERLAY HOVER
==================================================*/

.gallery-card:hover .gallery-overlay{

    background:

        linear-gradient(

            180deg,

            transparent 25%,

            rgba(0,0,0,.28),

            rgba(0,0,0,.88)

        );

}


/*==================================================
                TITLE ANIMATION
==================================================*/

.gallery-date,

.gallery-overlay h3{

    transform:translateY(15px);

    opacity:.92;

    transition:

        transform .45s ease,

        opacity .45s ease;

}

.gallery-card:hover .gallery-date,

.gallery-card:hover .gallery-overlay h3{

    transform:translateY(0);

    opacity:1;

}
/*==================================================
                SCROLL REVEAL
==================================================*/

.gallery-card{

    opacity:0;

    transform:translateY(60px);

    transition:

        opacity .8s ease,

        transform .8s cubic-bezier(.19,1,.22,1),

        box-shadow .4s ease;

}

.gallery-card.show{

    opacity:1;

    transform:translateY(0);

}


/*==================================================
                FLOATING ANIMATION
==================================================*/

.gallery-card:nth-child(odd){

    animation:

        floatCard 6s ease-in-out infinite;

}

.gallery-card:nth-child(even){

    animation:

        floatCard 7s ease-in-out infinite;

}

@keyframes floatCard{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0px);

    }

}


/*==================================================
                LIGHTBOX
==================================================*/

.gallery-lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.45s ease;

    z-index:9999;

    padding:40px;

}

.gallery-lightbox.active{

    opacity:1;

    visibility:visible;

}

.gallery-lightbox img{

    max-width:90%;

    max-height:90vh;

    border-radius:18px;

    box-shadow:

        0 30px 80px rgba(0,0,0,.45);

    animation:zoomImage .45s ease;

}

@keyframes zoomImage{

    from{

        opacity:0;

        transform:scale(.8);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}


/*==================================================
                CLOSE BUTTON
==================================================*/

.lightbox-close{

    position:absolute;

    top:35px;

    right:45px;

    width:52px;

    height:52px;

    border-radius:50%;

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

    backdrop-filter:blur(12px);

    display:flex;

    justify-content:center;

    align-items:center;

    color:#ffffff;

    font-size:1.3rem;

    cursor:pointer;

    transition:.35s;

}

.lightbox-close:hover{

    background:var(--primary);

    transform:rotate(90deg);

}


/*==================================================
                FILTER ACTIVE EFFECT
==================================================*/

.filter-btn{

    position:relative;

    overflow:hidden;

}

.filter-btn::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(

            90deg,

            transparent,

            rgba(255,255,255,.35),

            transparent

        );

    transform:translateX(-130%);

}

.filter-btn:hover::before{

    animation:

        shine .8s linear;

}

@keyframes shine{

    to{

        transform:translateX(130%);

    }

}


/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:1200px){

    .gallery-grid{

        grid-template-columns:

        repeat(3,1fr);

    }

}


@media(max-width:992px){

    .gallery-grid{

        grid-template-columns:

        repeat(2,1fr);

    }

    .gallery-card.large,

    .gallery-card.wide{

        grid-column:span 2;

    }

}


@media(max-width:768px){

    .gallery-hero{

        padding:120px 0 70px;

    }

    .gallery-hero h1{

        font-size:2.8rem;

    }

    .gallery-grid{

        grid-template-columns:1fr;

        gap:18px;

    }

    .gallery-card.large,

    .gallery-card.wide,

    .gallery-card.tall{

        grid-column:auto;

        grid-row:auto;

        min-height:320px;

    }

    .gallery-card{

        min-height:280px;

    }

    .gallery-filter{

        justify-content:flex-start;

        overflow-x:auto;

        flex-wrap:nowrap;

        padding-bottom:8px;

        scrollbar-width:none;

    }

    .gallery-filter::-webkit-scrollbar{

        display:none;

    }

}


@media(max-width:480px){

    .gallery-hero h1{

        font-size:2.2rem;

    }

    .gallery-hero p{

        font-size:.95rem;

    }

    .gallery-overlay{

        padding:18px;

    }

    .gallery-overlay h3{

        font-size:1rem;

    }

}


/*==================================================
                PERFORMANCE
==================================================*/

.gallery-card,

.gallery-card img,

.filter-btn{

    will-change:

        transform;

    backface-visibility:hidden;

    transform:translateZ(0);

}
/*==================================================
        IMAGE REFRESH ANIMATION
==================================================*/

.gallery-card.changing{

    pointer-events:none;

}

.gallery-card.changing img{

    opacity:.35;

    transform:scale(1.12);

    filter:blur(4px);

    transition:.45s;

}

.gallery-card.changing .gallery-overlay{

    opacity:.4;

}















/* FOOTER SECTION */

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

.footer{
    font-family: 'Poppins', sans-serif;
    position: relative;
    background: linear-gradient(180deg, #1F2937 0%, #111827 55%, #0B1220 100%);
    color: var(--text);
    overflow: hidden;
    padding-top: 80px;
    border-top: 1px solid rgba(37,167,222,0.15);
}

/* Subtle background glow */

.footer::before{
    content: "";
    position: absolute;
    top: -140px;
    left: -120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(37,167,222,0.18) 0%, rgba(37,167,222,0) 70%);
    pointer-events: none;
}

.footer::after{
    content: "";
    position: absolute;
    right: -140px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(37,167,222,0.12) 0%, rgba(37,167,222,0) 72%);
    pointer-events: none;
}

/* ================= CONTAINER ================= */

.footer-container{
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 0.9fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 2;
}

/* ================= BRAND ================= */

.footer-brand{
    padding-right: 10px;
}

.footer-logo{
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    text-decoration: none;
}

.footer-logo img{
    height: 62px;
    width: auto;
    filter: drop-shadow(0 6px 18px rgba(37,167,222,0.18));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.footer-logo:hover img{
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 10px 26px rgba(37,167,222,0.32));
}

.footer-brand p{
    color: #C7CED8;
    font-size: 15px;
    line-height: 1.9;
    max-width: 380px;
    letter-spacing: 0.2px;
}

/* ================= COLUMNS ================= */

.footer-column h3{
    position: relative;
    color: var(--cream);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: 0.4px;
}

.footer-column h3::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 54px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sky), rgba(37,167,222,0.18));
    box-shadow: 0 0 14px rgba(37,167,222,0.28);
}

.footer-column ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li{
    margin-bottom: 14px;
}

.footer-column a{
    position: relative;
    color: #C7CED8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.28s ease, transform 0.28s ease;
}

/* underline animation base */

.footer-column a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1.5px;
    background: var(--sky);
    transition: width 0.3s ease;
}

/* ================= CONTACT ================= */

.footer-contact .contact-item{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact .contact-item i{
    color: var(--sky);
    font-size: 16px;
    margin-top: 3px;
    width: 18px;
}

.footer-contact .contact-item span{
    color: #C7CED8;
    font-size: 15px;
    line-height: 1.7;
}

/* ================= QUICK LINKS HOVER ================= */

.footer-column a:hover{
    color: var(--cream);
    transform: translateX(6px);
    text-shadow: 0 0 12px rgba(37,167,222,0.22);
}

.footer-column a:hover::after{
    width: 100%;
}

/* ================= SOCIAL ICONS ================= */

.footer-social{
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.footer-social a{
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(248,245,239,0.08);
    border: 1px solid rgba(37,167,222,0.16);
    color: var(--cream);
    text-decoration: none;
    overflow: hidden;
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        background 0.45s ease,
        border-color 0.45s ease;
}

/* Soft glow ring */

.footer-social a::before{
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(37,167,222,0.0),
        rgba(37,167,222,0.55),
        rgba(37,167,222,0.0)
    );
    animation: ringRotate 8s linear infinite;
    opacity: 0.9;
}

/* Inner circle */

.footer-social a::after{
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #111827;
}

/* Icon */

.footer-social a i{
    position: relative;
    z-index: 2;
    font-size: 18px;
    animation: iconRotate 14s linear infinite;
    transition: transform 0.45s ease, color 0.45s ease;
}

/* Hover */

.footer-social a:hover{
    transform: translateY(-6px) scale(1.08);
    background: rgba(37,167,222,0.18);
    border-color: rgba(37,167,222,0.5);
    box-shadow:
        0 0 16px rgba(37,167,222,0.32),
        0 12px 28px rgba(0,0,0,0.28);
}

.footer-social a:hover i{
    color: #ffffff;
    transform: rotateY(180deg) scale(1.12);
}

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

@keyframes ringRotate{
    from{ transform: rotate(0deg); }
    to{ transform: rotate(360deg); }
}

@keyframes iconRotate{
    from{ transform: rotate(0deg); }
    to{ transform: rotate(360deg); }
}

/* ================= BOTTOM BAR ================= */

.footer-bottom{
    width: 90%;
    max-width: 1280px;
    margin: 54px auto 0;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.08);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    position: relative;
    z-index: 2;
}

.footer-bottom p{
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.2px;
}

.footer-bottom-links{
    display: flex;
    align-items: center;
    gap: 26px;
}

.footer-bottom-links a{
    position: relative;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.28s ease;
}

.footer-bottom-links a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1.5px;
    background: var(--sky);
    transition: width 0.28s ease;
}

.footer-bottom-links a:hover{
    color: var(--cream);
}

.footer-bottom-links a:hover::after{
    width: 100%;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px){

    .footer-container{
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-brand{
        padding-right: 0;
    }

    .footer-bottom{
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px){

    .footer{
        padding-top: 64px;
    }

    .footer-container{
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-logo img{
        height: 56px;
    }

    .footer-social{
        gap: 12px;
    }

    .footer-social a{
        width: 48px;
        height: 48px;
    }

    .footer-bottom{
        align-items: flex-start;
    }

    .footer-bottom-links{
        flex-wrap: wrap;
        gap: 16px;
    }
}