/* ==========================
   GOOGLE FONTS
========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f5f8fc;
    color:#222;
}




/* ==========================
   HERO
========================== */

.gallery-hero {
    background:
        linear-gradient(rgb(3, 17, 51),
                        rgb(3, 17, 51)),
        url("../images/gallery-bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;
    text-align: center;

    padding: 40px 20px;
}


/* ==========================
   HERO HEADING
========================== */

.gallery-hero h1 {
    font-size: 52px;
    color: #D4A017;

    margin: 70px 0 20px;

    line-height: 1.2;
}


/* ==========================
   HERO PARAGRAPH
========================== */

.gallery-hero p {
    max-width: 700px;

    margin: 0 auto;

    font-size: 18px;
    line-height: 1.8;
}


/* ==========================
   HERO BUTTON
========================== */

.hero-btn {
    display: inline-block;

    margin-top: 20px;
    padding: 12px 28px;

    color: #fff;
    text-decoration: none;

    border: 2px solid #D4A017;
    border-radius: 6px;

    transition: 0.35s;

    font-weight: 600;
}

.hero-btn:hover {
    background: #0B2E6B;

    transform: translateY(-4px);

    box-shadow: 0 15px 30px rgba(212, 160, 23, 0.35);
}


/* ==========================
   TABLET
========================== */

@media (max-width: 768px) {

    .gallery-hero {
        padding: 70px 20px;
    }

    .gallery-hero h1 {
        font-size: 42px;
        margin-bottom: 15px;
    }

    .gallery-hero p {
        font-size: 17px;
        line-height: 1.7;
    }

    .hero-btn {
        padding: 11px 25px;
        font-size: 15px;
    }
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 600px) {

    .gallery-hero {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 55px 18px 45px;
        overflow: hidden;
    }

    .hero-overlay {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    .gallery-hero h1 {
        font-size: 32px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .gallery-hero p {
        font-size: 15px;
        line-height: 1.6;
        max-width: 100%;
    }

    .hero-btn {
        margin-top: 18px;
        padding: 11px 22px;
        font-size: 14px;
    }

    .hero-btn:hover {
        transform: none;
    }
}


/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 360px) {

    .gallery-hero {
        padding: 45px 15px;
    }

    .gallery-hero h1 {
        font-size: 28px;
    }

    .gallery-hero p {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* ==========================
   GALLERY
========================== */

.gallery-section {
    width: 100%;
    max-width: 1300px;

    margin: 70px auto;
    padding: 0 30px;

    box-sizing: border-box;
}


/* ==========================
   GALLERY TITLE
========================== */

.gallery-title {
    text-align: center;

    font-size: 40px;
    color: #0B2F78;

    margin: 0 0 50px;

    line-height: 1.2;
}


/* ==========================
   GALLERY GRID
========================== */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 30px;
}


/* ==========================
   GALLERY CARD
========================== */

.gallery-card {
    background: #fff;

    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    transition: 0.4s;
}

.gallery-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);
}


/* ==========================
   GALLERY IMAGE
========================== */

.gallery-card img {
    display: block;

    width: 100%;
    height: 260px;

    object-fit: cover;

    transition: 0.5s;
}

.gallery-card:hover img {
    transform: scale(1.08);
}


/* ==========================
   GALLERY CONTENT
========================== */

.gallery-content {
    padding: 22px;
}

.gallery-content h3 {
    color: #0B2F78;

    margin: 0 0 12px;

    font-size: 22px;
    line-height: 1.3;
}

.gallery-content p {
    color: #666;

    margin: 0;

    line-height: 1.7;
    font-size: 16px;
}


/* ==========================
   TABLET
========================== */

@media (max-width: 768px) {

    .gallery-section {
        margin: 55px auto;
        padding: 0 25px;
    }

    .gallery-title {
        font-size: 34px;
        margin-bottom: 35px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .gallery-card img {
        height: 220px;
    }

    .gallery-content {
        padding: 18px;
    }

    .gallery-content h3 {
        font-size: 20px;
    }

    .gallery-content p {
        font-size: 15px;
    }
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 600px) {

    .gallery-section {
        margin: 45px auto;
        padding: 0 18px;
    }

    .gallery-title {
        font-size: 30px;
        margin-bottom: 28px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .gallery-card {
        border-radius: 16px;
    }

    .gallery-card img {
        height: 230px;
    }

    .gallery-content {
        padding: 18px;
    }

    .gallery-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .gallery-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .gallery-card:hover {
        transform: none;
    }

    .gallery-card:hover img {
        transform: none;
    }
}


/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 360px) {

    .gallery-section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .gallery-title {
        font-size: 27px;
        margin-bottom: 25px;
    }

    .gallery-grid {
        gap: 20px;
    }

    .gallery-card img {
        height: 200px;
    }

    .gallery-content {
        padding: 16px;
    }

    .gallery-content h3 {
        font-size: 18px;
    }

    .gallery-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ==========================
   LIGHTBOX BUTTON
========================== */

.view-btn {
    display: inline-block;

    margin-top: 20px;
    padding: 12px 28px;

    background: #D4A017;
    color: #fff;

    text-decoration: none;

    border-radius: 30px;

    font-weight: 600;

    transition: 0.3s;
}

.view-btn:hover {
    background: #0B2F78;
}


/* ==========================
   STATS
========================== */

.stats {
    width: 100%;
    max-width: 1200px;

    margin: 90px auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    padding: 0 30px;
    box-sizing: border-box;

    text-align: center;
}


/* ==========================
   STAT BOX
========================== */

.stat-box {
    background: #fff;

    padding: 35px;

    border-radius: 15px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}


/* ==========================
   STAT NUMBER
========================== */

.stat-box h2 {
    color: #D4A017;

    font-size: 40px;

    margin: 0;
}


/* ==========================
   STAT TEXT
========================== */

.stat-box p {
    margin: 10px 0 0;

    color: #666;

    font-size: 16px;
    line-height: 1.5;
}


/* ==========================
   TABLET
========================== */

@media (max-width: 768px) {

    .view-btn {
        padding: 11px 25px;
        font-size: 15px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px;

        margin: 65px auto;
        padding: 0 25px;
    }

    .stat-box {
        padding: 28px 20px;
    }

    .stat-box h2 {
        font-size: 35px;
    }

    .stat-box p {
        font-size: 15px;
    }
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 600px) {

    .view-btn {
        margin-top: 16px;
        padding: 10px 22px;
        font-size: 14px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);

        gap: 18px;

        margin: 50px auto;
        padding: 0 18px;
    }

    .stat-box {
        padding: 25px 15px;
        border-radius: 13px;
    }

    .stat-box h2 {
        font-size: 30px;
    }

    .stat-box p {
        font-size: 14px;
        margin-top: 8px;
    }

    .stat-box:hover {
        transform: none;
    }
}


/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 360px) {

    .stats {
        gap: 15px;
        padding: 0 15px;
        margin: 40px auto;
    }

    .stat-box {
        padding: 22px 12px;
    }

    .stat-box h2 {
        font-size: 27px;
    }

    .stat-box p {
        font-size: 13px;
    }

    .view-btn {
        padding: 9px 19px;
        font-size: 13px;
    }
}


/* ==========================
   ANIMATIONS
========================== */

.gallery-card {
    animation: fadeUp 0.8s ease both;
}


/* ==========================
   FADE UP ANIMATION
========================== */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================
   TABLET
========================== */

@media (max-width: 768px) {

    .gallery-card {
        animation-duration: 0.7s;
    }
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 600px) {

    .gallery-card {
        animation-duration: 0.6s;
    }
}


/* ==========================
   REDUCED MOTION
========================== */

@media (prefers-reduced-motion: reduce) {

    .gallery-card {
        animation: none;
    }
}


/* ==========================
   SCROLLBAR
========================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-thumb{
    background:#d4a017;
    border-radius:10px;
}

::-webkit-scrollbar-track{
    background:#eee;
}




/* ==========================
   LIGHTBOX
========================== */

.lightbox {
    display: none;

    position: fixed;
    z-index: 9999;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.9);

    justify-content: center;
    align-items: center;

    padding: 20px;
    box-sizing: border-box;
}


/* ==========================
   LIGHTBOX IMAGE
========================== */

.lightbox-image {
    display: block;

    max-width: 90%;
    max-height: 85%;

    border-radius: 12px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);

    animation: zoom 0.3s ease;
}


/* ==========================
   CLOSE BUTTON
========================== */

.close {
    position: absolute;

    top: 20px;
    right: 35px;

    color: #fff;

    font-size: 45px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition: 0.3s;

    z-index: 10000;
}

.close:hover {
    color: #D4A017;
    transform: rotate(90deg);
}


/* ==========================
   LIGHTBOX ANIMATION
========================== */

@keyframes zoom {

    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* ==========================
   PRODUCT CTA
========================== */

.product-cta {
    width: 100%;
    max-width: 1200px;

    margin: 80px auto;

    background: #D4A017;
    color: #fff;

    text-align: center;

    padding: 60px 40px;

    border-radius: 30px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    box-sizing: border-box;
}


/* ==========================
   CTA HEADING
========================== */

.product-cta h2 {
    font-size: 40px;

    margin: 0 0 20px;

    font-weight: 700;

    color: #0B2F78;

    line-height: 1.2;
}


/* ==========================
   CTA TEXT
========================== */

.product-cta p {
    font-size: 18px;

    max-width: 750px;

    margin: 0 auto 35px;

    line-height: 1.8;
}


/* ==========================
   CTA BUTTON
========================== */

.product-cta .btn-primary {
    display: inline-block;

    background: #080E61;
    color: #fff;

    padding: 15px 35px;

    text-decoration: none;

    font-size: 17px;
    font-weight: 600;

    border-radius: 50px;

    transition: 0.3s;
}

.product-cta .btn-primary:hover {
    background: #0B2F45;
    transform: translateY(-3px);
}


/* ==========================
   TABLET
========================== */

@media (max-width: 768px) {

    /* LIGHTBOX */

    .lightbox-image {
        max-width: 90%;
        max-height: 80%;
    }

    .close {
        top: 18px;
        right: 25px;
        font-size: 40px;
    }


    /* PRODUCT CTA */

    .product-cta {
        margin: 60px 25px;
        padding: 50px 30px;

        width: calc(100% - 50px);

        border-radius: 25px;
    }

    .product-cta h2 {
        font-size: 34px;
    }

    .product-cta p {
        font-size: 17px;
        line-height: 1.7;
    }

    .product-cta .btn-primary {
        padding: 14px 30px;
        font-size: 16px;
    }
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 600px) {

    /* LIGHTBOX */

    .lightbox {
        padding: 15px;
    }

    .lightbox-image {
        max-width: 95%;
        max-height: 75%;

        border-radius: 8px;
    }

    .close {
        top: 15px;
        right: 18px;

        font-size: 36px;
    }


    /* PRODUCT CTA */

    .product-cta {
        margin: 45px 18px;

        width: calc(100% - 36px);

        padding: 40px 20px;

        border-radius: 20px;
    }

    .product-cta h2 {
        font-size: 29px;
        margin-bottom: 15px;
    }

    .product-cta p {
        font-size: 15px;
        line-height: 1.7;

        margin-bottom: 25px;
    }

    .product-cta .btn-primary {
        padding: 13px 27px;
        font-size: 15px;
    }

    .product-cta .btn-primary:hover {
        transform: none;
    }
}


/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 360px) {

    /* LIGHTBOX */

    .lightbox-image {
        max-width: 96%;
        max-height: 70%;
    }

    .close {
        top: 12px;
        right: 15px;
        font-size: 32px;
    }


    /* PRODUCT CTA */

    .product-cta {
        margin: 40px 15px;

        width: calc(100% - 30px);

        padding: 35px 16px;

        border-radius: 18px;
    }

    .product-cta h2 {
        font-size: 26px;
    }

    .product-cta p {
        font-size: 14px;
        line-height: 1.6;
    }

    .product-cta .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }
}


/* ==========================
   REDUCED MOTION
========================== */

@media (prefers-reduced-motion: reduce) {

    .lightbox-image {
        animation: none;
    }

    .close,
    .product-cta .btn-primary {
        transition: none;
    }
}

.gallery-hero{
    animation:fadeUp 1s ease;
}
