.hero-section{
    background: url(../../../../../uploads/2025/07/banner-homepage.webp) no-repeat;
    background-size: cover;
    background-position: bottom center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero-content{
    width: 100%;
    text-align: center;
    /* max-width: 600px; */
    margin: 0 auto;
    color: #fff;
}

.hero-content .action-button i{
    font-size: 20px;
}

.hero-content .tag{
    color: #fff;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 30px;
}

.hero-heading{
    color: #fff;
    font-size: 50px;
    font-weight: 500;
    margin: 10px auto 20px;
    letter-spacing: -2px;
}

.main-features{
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 100px;
    border: 1px solid #0A1B26;
}

.main-features .feature-card{
    width: 100%;
    max-width: 25%;
    padding: 25px;
    color: #fff;
    background-color: rgba(0,5, 3, 0.1);
    backdrop-filter: blur(5px);
    transition: 0.3s all linear;
}

.main-features .feature-card:not(:last-child){
    border-right: 1px solid #0A1B26;
}

.main-features .feature-card:nth-child(even){
    background-color: rgba(150, 174, 221, 0.1);
}

.main-features .feature-card .icon{
    height: 37px;
}

.main-features .feature-card .icon img{
    object-fit: contain;
    height: 100%;
}

.main-features .feature-card .feature-title{
    font-size: 24px;
    text-transform: capitalize;
    margin: 15px auto 10px;
}

.main-features .feature-card p{
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* News Fold  */

.news-fold{
    padding: 70px 0;
}

.news-fold .custom-row{
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid #80808047;
    padding-bottom: 15px;
}

.news-fold .custom-row .right{
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    row-gap: 10px;
}

.new-heading-box .heading span{
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 18px;
}

.news-fold .custom-row p{
    width: 100%;
    max-width: 380px;
    line-height: 1.4;
    margin-bottom: 0;
}

/* New Gird Layout */

.grid-layout.one {
    display: grid;
    grid-template-columns: 40% 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 20px;
    row-gap: 25px;
}

.grid-layout.one .column:nth-child(1) {
    grid-column: 1 / 2; /* Occupies first column */
    grid-row: 1 / 3; /* Spans both rows */
}

.grid-layout.one .column:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.grid-layout.one .column:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.grid-layout.one .column:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.grid-layout.one .column:nth-child(5) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.grid-layout .column:not(:first-child) .new-card-excerpt,
.grid-layout .column:not(:first-child) .author-box{
    display: none;
}

.grid-layout .column img{
    max-width: 100%;
    height: auto;
}

.new-card-style .thumbnail-wrapper{
    display: block;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.new-card-style .thumbnail-wrapper img{
    width: 100%;
    transition: 0.5s all ease-in-out;
}

.new-card-style:hover .thumbnail-wrapper img{
    transform: scale(1.1);
}

.new-card-style .content-wrapper {
    padding: 0 10px;
}

.new-card-style .content-wrapper .meta-info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.new-card-style .new-card-title{
    margin: 10px auto;
    color: #000;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: capitalize;
}

.new-card-style .new-card-title.purple{
    color: var(--color-purple);
}

.new-card-style .new-card-title.skyblue{
    color: var(--color-skyblue);
}

.new-card-style .new-card-excerpt p{
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
            line-clamp: 2;
    -webkit-box-orient: vertical;
}

.new-card-style .author-box{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
    margin-top: 15px;
}

.new-card-style .author-box img{
    border-radius: 50px;
}

.new-card-style .author-box a{
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-transform: capitalize;
}

/* Events Fold */

.events-fold{
    padding: 70px 0;
}

.events-custom-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 30px;
    row-gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #80808047;
    padding-bottom: 20px;
}

.events-custom-row p{
    width: 100%;
    max-width: 400px;
    line-height: 1.4;
}

.grid-layout.two {
    display: grid;
    grid-template-columns: 1fr 40% 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 20px;
    row-gap: 25px;
}

.grid-layout.two .column:nth-child(1) {
    grid-column: 2 / 3; 
    grid-row: 1 / 3; 
}

.grid-layout.two .column:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.grid-layout.two .column:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.grid-layout.two .column:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.grid-layout.two .column:nth-child(5) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.new-card-style ul{
    margin-top: 5px !important;
}

.new-card-style ul li{
    list-style-type: none;
    font-size: 12px;
    text-transform: capitalize;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* flex-wrap: wrap; */
    column-gap: 10px;
}

.new-card-style ul li::before{
    content: "--";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    width: 12px;
    height: 15px;
    padding-top: 2px;
    line-height: 1;
    text-align: center;
    color: #434343;
}

.new-card-style ul li.date::before{
    content: "\f073";
}

.new-card-style ul li.time::before{
    content: "\f017";
}

.new-card-style ul li.address::before{
    content: "\f3c5";
}

.new-card-style ul li:not(:last-child){
    margin-bottom: 10px;
}

/* Guide Fold */

.guide-blogs{
    padding: 70px 0 100px;
    position: relative;
}

.guide-blogs .action-button{
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}

.guide-blogs::before{
    z-index: 1;
    content: "";
    display: block;
    background-image: url(../../../../../uploads/2025/07/blogs-background.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 100%;
    max-width: calc(100% - 50px);
}

.guide-blogs .inner-wrapper{
    position: relative;
    z-index: 2;
}

.guide-blogs .heading{
    width: calc(100% - 100px);
    text-align: center;
    margin: 0 auto;
    color: #fff;
}

.guide-blogs .heading p{
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
    color: #fff;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.guide-blogs .heading h2{
    margin: 10px auto 15px;
}

.blog-categories-tabs .nav-pills{
    width: calc(100% - 100px);
    max-width: 1200px;
    justify-content: center;
    gap: 12px;
    margin: 50px auto 60px !important;
}

.blog-categories-tabs .nav-pills .nav-link{
    border: 2px solid #fff;
    min-width: 130px;
    border-radius: 40px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 1;
    font-size: 14px;
    padding: 12px 20px;
    color: #fff;
    position: relative;
}

.blog-categories-tabs .nav-pills .nav-link span{
    position: relative;
    z-index: 1;
}

.blog-categories-tabs .nav-pills .nav-link.active{
    background: #fff;
    color: #22495e;
}

.blog-categories-tabs .owl-stage{
    display: flex;
    align-items: stretch;
}

.blog-categories-tabs .owl-stage .item{
    height: 100%;
}

.blog-categories-tabs .new-card-style{
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
    height: 100%;
}

.blog-categories-tabs .new-card-style .thumbnail-wrapper{
    border-radius: 20px 20px 0 0 ;
}

.blog-categories-tabs .new-card-style .content-wrapper{
    padding: 20px 30px;
}

.blog-categories-tabs .new-card-style img{
    width: auto;
    max-width: 100%;
    height: auto;
}

.blog-categories-tabs .new-card-title{
    margin: 15px auto;
}

.blog-categories-tabs .new-card-style .author-box img{
    width: 40px;
    height: 40px;
}

.blog-categories-tabs .new-card-style .author-box a{
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-transform: capitalize;
}

@media only screen and (max-width: 1200px){
    .blog-categories-tabs .nav-pills .nav-link {
        min-width: 120px;
        font-size: 12px;
        padding: 12px 20px;
    }
    .news-fold .custom-row{
        display: block;
    }
    .news-fold .custom-row .left{
        margin-bottom: 15px;
    }
    .events-custom-row{
        flex-wrap: wrap;
    }
    .events-custom-row .main-heading{
        width: 100%;
    }
    .events-custom-row p{
        width: 100%;
        max-width: 340px;
    }
    .grid-layout.one,
    .grid-layout.two{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .grid-layout.one .column:first-child,
    .grid-layout.two .column:first-child{
        width: 100%;
        max-width: 100%;
    }
    .grid-layout.one .column:not(:first-child),
    .grid-layout.two .column:not(:first-child){
        width: 100%;
        max-width: calc(50% - 10px);
    }
    
    .grid-layout.one .column:nth-child(4),
    .grid-layout.one .column:nth-child(5),
    .grid-layout.two .column:nth-child(4),
    .grid-layout.two .column:nth-child(5){
        display: none;
    }
}

@media only screen and (max-width: 991px){
    .hero-section{
        background-position:  center;
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .main-features{
        margin-top: 70px;
    }
    .main-features .feature-card{
        max-width: 50%;
    }
    .blog-categories-tabs .nav-pills{
        column-gap: 12px;
        margin: 50px auto !important;
    }
    .blog-categories-tabs .row > div:last-child{
        display: none;
    }
    .main-features .feature-card:nth-child(2){
        border-right: 0;
    }
    .main-features .feature-card:nth-child(1),
    .main-features .feature-card:nth-child(2){
        border-bottom: 1px solid #0A1B26;
    }
    .main-features .feature-card:nth-child(even){
        background-color: unset;
    }
    .main-features .feature-card:nth-child(2),
    .main-features .feature-card:nth-child(3){
        background-color: rgba(150, 174, 221, 0.1);
    }
}

@media only screen and (max-width: 575px){
    .hero-section{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .hero-content{
        width: 100%;
        max-width: 450px;
    }
    .hero-content .tag{
        font-size: 20px;
    }
    .hero-heading{
        font-size: 32px;
    }
    .main-features{
        margin-top: 60px;
    }
    .main-features .feature-card{
        border-right: 0 !important;
    }
    .main-features .feature-card:not(:last-child){
        border-right: 1px solid #0A1B26;
    }
    .main-features .feature-card:nth-child(3){
        border-bottom: 1px solid #0A1B26;
    }
    .main-features .feature-card:nth-child(2),
    .main-features .feature-card:nth-child(3){
        background-color: unset;
    }
    .main-features .feature-card:nth-child(even){
        background-color: rgba(150, 174, 221, 0.1);
    }
    .guide-blogs,
    .news-fold,
    .events-fold{
        padding: 50px 0;
    }
    .guide-blogs::before{
        max-width: calc(100% - 20px);
    }
    .guide-blogs .heading,
    .blog-categories-tabs .nav-pills {
        width: calc(100% - 60px);
    }
    .blog-categories-tabs .new-card-style .content-wrapper{
        padding: 10px 15px 20px;
    }
    .blog-categories-tabs .nav-pills .nav-link {
        min-width: auto;
        font-size: 10px;
        border-width: 1px;
        padding: 8px 12px;
    }
    .blog-categories-tabs .new-card-style{
        width: 100%;
        margin: 0 auto;
    }
    .news-fold .custom-row .left,
    .news-fold .custom-row .right p{
        margin-bottom: 15px;
        width: 100%;
        max-width: 100%;
    }
    .news-fold .custom-row,
    .events-custom-row{
        text-align: center;
    }
    .main-features .feature-card,
    .events-custom-row p,
    .grid-layout.one .column:not(:first-child),
    .grid-layout.two .column:not(:first-child){
        max-width: 100%;
    }
    .new-heading-box .heading{
        width: 100%;
    }
    .grid-layout .column:not(:first-child) .new-card-excerpt,
    .news-fold .custom-row,
    .news-fold .custom-row .right{
        display: block;
    }
    .grid-layout .column:not(:first-child) .author-box{
        display: flex;
    }
    .grid-layout.one .column:nth-child(3),
    .grid-layout.two .column:nth-child(3),
    .news-fold .custom-row .action-button,
    .events-custom-row .action-button{
        display: none;
    }

}