/* Font Display Swap for better performance */
@font-face {
    font-family: 'Poppins';
    font-display: swap;
}

@font-face {
    font-family: 'Rozha One';
    font-display: swap;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #FFF5EE;
    overflow-x: hidden;
}

/* ===== FILTER BUTTONS ===== */
.filter-section {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 20px 18px 10px;
    background: #FDF5EF;
}

.filter-container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    /* width: 144px; */
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #FF550021;
    color: #111111;
    font-family: 'Baloo 2', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-btn:hover {
    background: #F2D4C4;
    /* border-color: #FF550021; */
    color: #D9590B;
}

.filter-btn.active {
    background: #F2D4C4;
    color: #D9590B;
    /* border-color: #FF550021; */
}

@media (max-width:576px) {
    .filter-btn {
        padding: 5px 14px;
        font-size: 12px;
        min-height: 32px;
    }

    .filter-section {
        padding: 15px 10px 5px;
    }
}

@media (max-width: 1024px) {
    .filter-section {
        padding: 20px 22px 10px;
    }
}

@media (max-width: 768px) {
    .filter-section {
        padding: 15px 10px 5px;
    }
}

/* ===== SLIDE ANIMATIONS (Desktop) ===== */
@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-80px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gallery-row.slide-out-left {
    animation: slideOutLeft 0.4s ease forwards;
}

.gallery-row.slide-in-right {
    animation: slideInRight 0.4s ease forwards;
}

/* ===== GALLERY ===== */
.gallery-section {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 15px 0;
    background: #FDF5EF;
}

.gallery-container {
    width: 100%;
    max-width: 1340px;
    margin: auto;
    padding: 0 20px;
}

.gallery-row {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: .4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-row-1 {
    grid-template-columns: 1fr 2fr;
}

.gallery-row-1 .gallery-item {
    height: 605px;
}

.gallery-row-2 {
    grid-template-columns: 1fr 1fr 1fr;
}

.gallery-row-2 .gallery-item {
    height: 605px;
}

.gallery-row-3 {
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
}

.gallery-row-3 .gallery-left .gallery-item {
    height: 1230px;
}

.gallery-row-3 .gallery-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.gallery-row-3 .gallery-right .gallery-item {
    height: 605px;
}

.gallery-row-4 {
    grid-template-columns: 1fr 2fr;
}

.gallery-row-4 .gallery-item {
    height: 605px;
}

.gallery-row-5 {
    grid-template-columns: 1fr 1fr 1fr;
}

.gallery-row-5 .gallery-item {
    height: 605px;
}

.gallery-row-6 {
    grid-template-columns: 2fr 1fr;
}

.gallery-row-6 .gallery-item {
    height: 605px;
}

.gallery-row-7 {
    grid-template-columns: 1fr 1fr 1fr;
}

.gallery-row-7 .gallery-item {
    height: 605px;
}

/* 1400px */
@media (max-width:1400px) {
    .gallery-container {
        max-width: 1180px;
    }

    .gallery-row {
        gap: 10px;
        margin-bottom: 10px;
    }

    .gallery-row-1 .gallery-item,
    .gallery-row-2 .gallery-item,
    .gallery-row-4 .gallery-item,
    .gallery-row-5 .gallery-item,
    .gallery-row-6 .gallery-item,
    .gallery-row-7 .gallery-item,
    .gallery-row-3 .gallery-right .gallery-item {
        height: 500px;
    }

    .gallery-row-3 .gallery-left .gallery-item {
        height: 1012px;
    }
}

/* 1200px */
@media (max-width:1200px) {
    .gallery-container {
        max-width: 1000px;
        padding: 0 15px;
    }

    .gallery-row {
        gap: 8px;
        margin-bottom: 8px;
    }

    .gallery-row-1 .gallery-item,
    .gallery-row-2 .gallery-item,
    .gallery-row-4 .gallery-item,
    .gallery-row-5 .gallery-item,
    .gallery-row-6 .gallery-item,
    .gallery-row-7 .gallery-item,
    .gallery-row-3 .gallery-right .gallery-item {
        height: 420px;
    }

    .gallery-row-3 .gallery-left .gallery-item {
        height: 852px;
    }
}

/* 1024px */
@media (max-width:1024px) {
    .gallery-section {
        padding: 20px 0;
    }

    .gallery-container {
        padding: 0 15px;
    }

    .gallery-row {
        gap: 7px;
        margin-bottom: 7px;
    }

    .gallery-row-1 .gallery-item,
    .gallery-row-2 .gallery-item,
    .gallery-row-4 .gallery-item,
    .gallery-row-5 .gallery-item,
    .gallery-row-6 .gallery-item,
    .gallery-row-7 .gallery-item,
    .gallery-row-3 .gallery-right .gallery-item {
        height: 400px;
    }

    .gallery-row-3 .gallery-left .gallery-item {
        height: 810px;
    }
}

/* 768px */
@media (max-width:768px) {
    .gallery-section {
        padding: 20px 0;
    }

    .gallery-container {
        padding: 0 12px;
    }

    .gallery-row {
        gap: 6px;
        margin-bottom: 6px;
    }

    .gallery-row-1 .gallery-item,
    .gallery-row-2 .gallery-item,
    .gallery-row-4 .gallery-item,
    .gallery-row-5 .gallery-item,
    .gallery-row-6 .gallery-item,
    .gallery-row-7 .gallery-item,
    .gallery-row-3 .gallery-right .gallery-item {
        height: 315px;
    }

    .gallery-row-3 .gallery-left .gallery-item {
        height: 640px;
    }
}

/* 576px - Mobile */
@media (max-width:576px) {
    .gallery-section {
        padding: 10px 0;
    }

    .gallery-container {
        padding: 0 10px;
    }

    .gallery-row {
        display: none !important;
    }
}

/* ===== TITLE SECTION ===== */
.gallery-title-section {
    width: 100%;
    max-width: 1920px;
    margin: 65px auto 0;
    padding: 10px 0 22px;
    background: #FDF5EF;
}

.gallery-title-container {
    width: 100%;
    max-width: 1340px;
    margin: 70px auto 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-title-container img {
    width: 135px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.gallery-title-container h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 50px;
    font-weight: 600;
    color: #111111;
    line-height: 58px;
    margin: 0;
    text-align: center;
}

@media (max-width:1024px) {
    .gallery-title-section {
        padding: 40px 0 20px;
    }

    .gallery-title-container img {
        width: 120px;
    }

    .gallery-title-container h2 {
        font-size: 40px;
    }
}

@media (max-width:768px) {
    .gallery-title-section {
        padding: 5px 0 20px;
    }

    .gallery-title-container img {
        width: 110px;
    }

    .gallery-title-container h2 {
        font-size: 34px;
    }
}

@media (max-width:576px) {
    .gallery-title-section {
        padding: 10px 0 15px;
            margin: 40px auto 0;
    }

    .gallery-title-container {
        padding: 0 15px;
    
    }

    .gallery-title-container img {
        width: 100px;
        margin-bottom: 4px;
    }

    .gallery-title-container h2 {
        font-size: 28px;
    }
}

/* ===== MOBILE GALLERY ===== */
.gallery-mobile {
    display: none;
}

@media (max-width:576px) {
    .gallery-mobile {
        display: block;
        column-count: 2;
        column-gap: 8px;
    }

    .gallery-mobile-item {
        display: inline-block;
        width: 100%;
        margin-bottom: 8px;
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
    }

    .gallery-mobile-item img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .gallery-mobile-item:nth-child(10) img,
    .gallery-mobile-item:nth-child(2) img,
    .gallery-mobile-item:nth-child(8) img,
    .gallery-mobile-item:nth-child(6) img,
    .gallery-mobile-item:nth-child(14) img,
    .gallery-mobile-item:nth-child(16) img,
    .gallery-mobile-item:nth-child(12) img,
    .gallery-mobile-item:nth-child(4) img,
    .gallery-mobile-item:nth-child(18) img {
        height: 215px;
        object-fit: cover;
    }
}

/* ===== LOAD MORE ===== */
.load-more-wrapper {
    text-align: center;
    margin-top: 50px;
        margin-bottom: 30px;
}

.load-more-btn {
    width: 128px;
    height: 44px;
    background: #D9590B;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    white-space: nowrap;
}

@media (max-width:576px) {
    .load-more-btn {
        width: 120px;
        height: 40px;
        font-size: 14px;
    }
}


/*====================================
JOURNEY SECTION
====================================*/
.journey-section {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto 0px;
    background: url("https://storeyourcode.com/demo/bharat_jagrati/wp-content/themes/bharat/assets/images/j-bg.png") center top/100% 100% no-repeat;
    padding: 0 40px;
    position: relative;
}

.journey-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 435px;
    padding: 30px 0;
    position: relative;
    z-index: 1;
    padding-bottom: 0px;
}

.journey-left {
    flex: 0 0 349.6px;
    width: 349.6px;
    height: 386.51px;
}

.journey-flag-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.journey-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.journey-icon {
    width: 180.35px;
    height: 46.75px;
    margin-bottom: 10px;
}

.journey-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.journey-heading {
    font-family: 'Baloo 2', cursive;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: #111111;
    margin: 0 0 10px 0;
}

.journey-heading span {
    color: #D9590B;
}

.journey-desc {
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    font-weight: 400;
    line-height: 34px;
    color: #000000;
    max-width: 780px;
    margin: 0 0 20px 0;
}

.journey-btn {
    width: 158px;
    height: 44px;
    border: none;
    background: #D9590B;
    color: #FFFFFF;
    font-family: 'Baloo 2', cursive;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-btn:hover {
    background: #B87333;
}

@media (max-width: 1440px) {
    .journey-container {
        max-width: 1440px;
        gap: 244px;
        min-height: 435px;
    }

    .journey-left {
        flex: 0 0 374.6px;
        width: 349.6px;
        height: 386.51px;
        margin-top: 18px;
    }

    .journey-heading {
        font-size: 50px;
    }

    .journey-desc {
        font-size: 20px;
        line-height: 34px;
    }
}

@media (max-width: 1200px) {
    .journey-container {
        gap: 25px;
        min-height: auto;
        padding: 30px 0;
    }

    .journey-left {
        flex: 0 0 280px;
        width: 280px;
        height: 310px;
    }

    .journey-heading {
        font-size: 40px;
    }

    .journey-desc {
        font-size: 18px;
        line-height: 30px;
    }

    .journey-btn {
        width: 140px;
        height: 40px;
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .journey-section {
        padding: 0 20px;
    }

    .journey-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 30px 0;
        min-height: auto;
    }

    .journey-left {
        flex: 0 0 auto;
        width: 280px;
        height: 310px;
        margin-left: 270px;
    }

    .journey-right {
        align-items: center;
        text-align: center;
    }

    .journey-heading {
        font-size: 38px;
    }

    .journey-desc {
        font-size: 17px;
        line-height: 28px;
        max-width: 100%;
    }

    .journey-btn {
        width: 140px;
        height: 40px;
        font-size: 15px;
    }

    .journey-icon {
        width: 150px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .journey-section {
        padding: 0 15px;
    }

    .journey-left {
        width: 220px;
        height: 244px;
        margin-left: 210px;
    }

    .journey-heading {
        font-size: 32px;
    }

    .journey-desc {
        font-size: 16px;
        line-height: 26px;
    }

    .journey-btn {
        width: 130px;
        height: 38px;
        font-size: 14px;
    }

    .journey-icon {
        width: 130px;
        height: 34px;
    }
}

@media (max-width: 576px) {
    .journey-section {
        padding: 0 15px;
    }

    .journey-left {
        width: 180px;
        height: 200px;
        margin-left: 170px;
    }

    .journey-heading {
        font-size: 26px;
    }

    .journey-desc {
        font-size: 15px;
        line-height: 24px;
    }

    .journey-btn {
        width: 120px;
        height: 34px;
        font-size: 13px;
    }

    .journey-icon {
        width: 110px;
        height: 30px;
    }
}

@media (max-width: 400px) {
    .journey-section {
        padding: 0 12px;
    }

    .journey-left {
        width: 150px;
        height: 166px;
    }

    .journey-heading {
        font-size: 22px;
    }

    .journey-desc {
        font-size: 14px;
        line-height: 22px;
    }

    .journey-btn {
        width: 110px;
        height: 32px;
        font-size: 12px;
    }

    .journey-icon {
        width: 90px;
        height: 24px;
    }
}

/*====================================
FRAME 550 SECTION
====================================*/
.frame-550-section {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: 54px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF5EE;
}

.frame-550-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1440px) {
    .frame-550-section {
        height: 54px;
    }
}

@media (max-width: 1200px) {
    .frame-550-section {
        height: 50px;
    }
}

@media (max-width: 1024px) {
    .frame-550-section {
        height: 46px;
    }
}

@media (max-width: 768px) {
    .frame-550-section {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .frame-550-section {
        height: 34px;
    }
}

@media (max-width: 400px) {
    .frame-550-section {
        height: 28px;
    }
}


/*====================================
ABOUT VISION SECTION
====================================*/
.about-vision-section {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 40px 0;
    background: #F9F3EE;
}

.about-vision-container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 30px;
}

.about-vision-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: start;
}

.about-vision-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 10px;
    line-height: 1.2;
}

.about-vision-box .line {
    width: 55px;
    height: 3px;
    background: #222;
    margin-bottom: 22px;
}

.about-vision-box p {
    font-weight: 400;
    font-size: 16px;
    line-height: 34px;
    color: #111111;
    margin: 0;
}

@media (max-width: 1024px) {
    .about-vision-bottom {
        gap: 45px;
    }

    .about-vision-box h3 {
        font-size: 22px;
    }

    .about-vision-box p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .about-vision-section {
        padding: 50px 0;
    }

    .about-vision-bottom {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-vision-box {
        text-align: center;
    }

    .about-vision-box .line {
        margin: 15px auto 25px;
    }

    .about-vision-box h3 {
        font-size: 28px;
    }

    .about-vision-box p {
        font-size: 16px;
        line-height: 1.9;
    }
}

@media (max-width: 576px) {
    .about-vision-box h3 {
        font-size: 20px;
    }

    .about-vision-box p {
        font-size: 14px;
    }
}