@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-light: rgba(255, 92, 57, 0.1);
    --light: #fff;
    --dark: black;
    --light-dark1: #333;
    --light-dark2: #666;
    --light-dark3: #777;
    --light-dark4: #ddd;

    --font1: 'Poppins', sans-serif;
}

/* ********** Common CSS Start ************ */
a {
    text-decoration: none;
}

.page-item.active .page-link {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: var(--light)
}

.page-item .page-link {
    color: var(--primary);
}

/* Swiper Customization */
.swiperCommonCss .swiper {
    padding: 20px 10px 30px;
    /* background-color: red; */
}

.swiperCommonCss .swiper-pagination {
    bottom: 10px !important;
}

.swiperCommonCss .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    opacity: 0.3;
}

.swiperCommonCss .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 10px;
}

.swiperCommonCss .swiper-button-next,
.swiperCommonCss .swiper-button-prev {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary) !important;
}

.swiperCommonCss .swiper-button-next:after,
.swiperCommonCss .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiperCommonCss .swiper-button-next:hover,
.swiperCommonCss .swiper-button-prev:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .swiperCommonCss .swiper-button-next,
    .swiperCommonCss .swiper-button-prev {
        display: none !important;
    }
}

.sectionBgColor {
    position: relative;
}

.sectionBgColor::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.position_z_index_top {
    position: relative;
    z-index: 9;
}

/* section heading */

.section-header h6 {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

/* ******* Button Rounded ******** */
.btn-rounded1 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s linear;
}

.btn-rounded1:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

.btn-rounded1 i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-rounded1:hover i {
    transform: translateX(5px);
}

.btn-border-radius-50{
    border-radius: 50px;
}

/* ********** Common CSS End ************ */

/* ************* Up Page Button Start *********** */
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* blogs */
.blogs .card {
    transition: all 0.4s ease-in-out;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.blogs .card-img-top {
    height: 240px;
    object-fit: cover;
}

.blogs .card .position-relative {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.blogs .card .position-relative::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 50%);
    z-index: 2;
    pointer-events: none;
    transition: left 0.6s ease-in;
}

.blogs .card:hover .position-relative::before {
    left: 100%;
    transition: left 0.6s ease-in;
}

.blogs .card .position-relative img {
    transition: all 0.5s ease-in-out;
}

.blogs .card:hover .position-relative img {
    transform: scale(1.08);
}

.blogs .card-text {
    font-size: 18px;
}


.catbtn {
    border-radius: 0 15px 0 15px;
    padding: 3px 20px;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.catbtn:hover {
    background: var(--dark);
}