@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

body {
    font-size: clamp(15px, 2vw, 18px);
    font-family: "Plus Jakarta Sans", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-size: clamp(25px, 4vw, 70px);
    font-weight: 400;
    line-height: 1.2em;
    font-family: "Plus Jakarta Sans", sans-serif;
}

#inner-banner h1 {
    font-size: clamp(25px, 2.604vw, 50px);
    font-weight: 400;
    line-height: 1.2em;
    font-family: "Plus Jakarta Sans", sans-serif;
}

h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 600;
    line-height: 1.1em;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.text-font-size h1 {
    font-size: clamp(28px, 2.604vw, 50px);
}

h3 {
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.2em;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", sans-serif;
}

h4 {
    font-size: clamp(20px, 3vw, 26px);
    line-height: 1.2em;
    font-family: "Plus Jakarta Sans", sans-serif;
}

h5 {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.2em;
    font-family: "Plus Jakarta Sans", sans-serif;
}

h6 {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.4em;
    font-family: "Plus Jakarta Sans", sans-serif;
}

p, a {
    font-style: normal;
    font-weight: 400;
    font-size: clamp(15px, 2vw, 17px) !important;
    color: #3A3A3A;
    font-family: "Plus Jakarta Sans", sans-serif;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a, a:hover, a:focus {
    text-decoration: none !important;
}

img {
    border-style: none;
}

.padding-100 {
    padding: 80px 0px;
}

.padding-top {
    padding-top: 80px;
}

.padding-bottom {
    padding-bottom: 80px;
}

.text-blue {
    color: #125DAB;
}

.btn-blue {
    background: #125DAB;
    padding: 5px 20px 4px 3px;
    color: #fff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

    .btn-blue img {
        transition: transform 0.3s ease;
    }

    .btn-blue:hover {
        background: #0e4c8c;
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 8px 20px rgba(18, 93, 171, 0.2);
        color: #fff;
    }

        .btn-blue:hover img {
            transform: translateX(2px);
        }

    .btn-blue::after {
        content: "";
        position: absolute;
        top: 0;
        left: -75%;
        width: 50%;
        height: 100%;
        background: linear-gradient(120deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
        transform: skewX(-20deg);
        transition: left 0.6s ease;
    }

    .btn-blue:hover::after {
        left: 125%;
    }

#inner-banner {
    background: url('../img/inner-banner.png');
    background-repeat: no-repeat;
    background-size: cover;
    color: #125DAB;
    padding: 80px;
}


/*header*/
header .navbar-brand img {
    width: 220px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #ffffffcc;
    border-bottom: 2px solid #125DAB;
    backdrop-filter: blur(5px);
}

.navbar-collapse ul li a {
    color: #3A3A3A;
}

@media(min-width: 992px) {

    .active {
        color: #125DAB !important;
        font-weight: 700 !important;
    }
}

@media(max-width: 992px) {
    .navbar-collapse {
        background: #125DAB;
    }

        .navbar-collapse ul li a.nav-link {
            color: #ffffff;
        }

            .navbar-collapse ul li a.nav-link:hover, .navbar-collapse ul li a.nav-link.active {
                font-weight: 600;
                color: rgba(0, 0, 0, 0.85) !important;
            }

        .navbar-collapse ul li a.dropdown-item, .navbar-collapse ul li a.dropdown-item {
            color: #125DAB !important;
            text-align: center;
        }

            .navbar-collapse ul li a.dropdown-item:hover, .navbar-collapse ul li a.dropdown-item.active {
                color: #125DAB !important;
                background: #0000 !important;
                font-weight: 600;
            }

    header .navbar-brand img {
        width: 170px;
    }
}

/*footer*/

#footer {
    background: url('../img/footer-bg-img.png'), url('../img/footer-bg-img.webp') #F2F5F9;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.text-small p, .text-small p a {
    font-size: clamp(15px, 2vw, 15px) !important;
}

.link_hover:hover {
    color: #125DAB;
}

.border-line {
    border: 1px solid #3A3A3A;
    opacity: unset !important;
    border-radius: 20px;
}

@media(min-width: 768px) {
    .list-dots {
        list-style: disc;
    }
}

@media(min-width: 1400px) {
    .content-shift {
        margin-left: 150px;
    }
}

@media(max-width: 1400px) and (min-width: 1200px) {
    .content-shift {
        margin-left: 90px;
    }
}

@media(max-width: 1200px) and (min-width: 992px) {
    .content-shift {
        margin-left: 41px;
    }
}

@media(max-width: 992px) and (min-width: 768px) {
    .content-shift {
        margin-left: 41px;
    }
}

.social-icons .bi {
    background: #125DAB;
    color: #FFFFFF;
    padding: 13px;
    border-radius: 10px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

    .social-icons .bi:hover {
        background: #0e4c8c;
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 18px rgba(18, 93, 171, 0.4);
        color: #fff;
    }

.rogers-footer-logo img {
    width: 220px;
}

#footer ul li a:hover {
    color: #125DAB;
}

/*home*/

#rogers-bg {
    background: url('../img/rogers-bg-imgs.png'), url('../img/rogers-bg-imgs.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.headings {
    padding-top: 210px;
    padding-bottom: 210px;
}

@media(max-width: 992px) {
    .headings {
        padding-top: 170px;
        padding-bottom: 170px;
    }
}

@media(max-width: 768px) {
    .headings {
        padding-top: 110px;
        padding-bottom: 110px;
    }
}

.banner-content {
    position: absolute;
    top: 50%;
    width: fit-content;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transform: translateY(-50%);
}

@media (max-width:992px) {
    .banner-content {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        transform: translate(-50%, -50%);
    }
}

.banner-video {
    transform: scaleX(-100%);
    object-fit: cover;
    height: 600px;
}

@media (max-width: 992px) {
    .banner-video {
        height: 400px;
    }
}


@media (max-width: 768px) {
    .banner-video {
        height: 300px;
    }
}

.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    text-align: center;
}

    .image-card img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.6s ease;
    }

    .image-card .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: center;
        background: rgba(0, 0, 0, 0.85); /* solid black instead of gradient */
        transition: all 0.6s ease-in-out;
        overflow: hidden;
    }

    .image-card:hover .overlay {
        height: 100%;
        background: rgba(0, 0, 0, 0.85); /* keep same solid black on hover */
        align-items: center;
    }

    .image-card .overlay h3 {
        color: #fff;
        margin: 0;
        font-size: 1.25rem;
        text-align: center;
        text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.9);
        transition: transform 0.6s ease-in-out; /* smooth move up/down */
        transform: translateY(20px); /* start slightly lower */
    }

    .image-card:hover img {
        transform: scale(1.08);
    }

    .image-card:hover .overlay {
        height: 100%; /* expand full height */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4));
        align-items: center;
    }

        .image-card:hover .overlay h3 {
            transform: translateY(-20px); /* move upward smoothly */
        }


.border-line img {
    margin-top: -70px;
}

@media(max-width: 992px) {
    .tab_space {
        margin-top: 95px;
    }
}

@media(max-width: 768px) {
    .tab_spaces {
        margin-top: 95px;
    }
}

#connect-with-us .border-line p a:hover {
    color: #125DAB !important;
}

.bg-greys {
    background: #F2F5F9;
    padding: 50px 50px;
    border-radius: 50px;
}

@media(max-width: 768px) {
    .bg-greys {
        padding: 50px 12px;
    }
}

#rogers-tour ul li {
    list-style: disc;
}


/*blogs*/

.blog-card {
    border: 1px solid #125DAB;
    border-radius: 22px;
    overflow: hidden;
    transition: 0.3s ease;
    background: #fff;
}

    .blog-card:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .blog-card picture img {
        height: auto;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        border: 3px solid #fff;
    }

    .blog-card h4 {
        font-size: 1.1rem;
        font-weight: 500;
        color: #333;
        padding: 15px 15px 0;
    }

    .blog-card a {
        margin: 15px;
    }

    .blog-card .btn-theme {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #1a5cff;
        color: #fff;
        border-radius: 8px;
        font-size: 0.9rem;
        padding: 6px 14px;
        text-decoration: none;
        margin: 10px 15px 20px;
        transition: background 0.3s ease;
    }

        .blog-card .btn-theme:hover {
            background: #003ecb;
            color: #fff;
        }

        .blog-card .btn-theme i {
            font-size: 1rem;
        }

.nav-pills .nav-link {
    border: 1px solid #3A3A3A;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 24px;
    padding: 0;
    font-weight: 500;
    color: #000;
    background: #fff;
}

    .nav-pills .nav-link.active {
        background: #125DAB;
        color: #fff;
        border-color: #125DAB;
    }

    .nav-pills .nav-link.prev,
    .nav-pills .nav-link.next {
        background: #125DAB;
        color: #fff;
        border-color: #125DAB;
        font-size: 18px;
        width: 40px;
    }

.card {
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
}

.search-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 3px 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .search-box input {
        border: none;
        outline: none;
        width: 100%;
        padding: 5px;
    }

    .search-box button {
        background: #125DAB;
        border: none;
        color: #fff;
        border-radius: 8px;
        padding: 8px 12px;
    }

.categories span {
    display: inline-block;
    border: 1px solid #125DAB;
    padding: 4px 10px;
    margin: 0px 0px 9px 5px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

    .categories span:hover {
        background: #125DAB;
        color: #fff;
        border: 1px solid #000;
    }

@media (min-width: 992px) {

    #blogs .col-lg-3 ul {
        list-style-type: disc !important;
        padding-left: 20px;
    }
}

/*@media (max-width: 992px) {
    .search-box {
        max-width: 300px;
        margin: auto;
    }
}*/

.blog-card .blog-content {
    padding: 15px 0 15px 0px;
}

.blog-content h4 {
    margin-bottom: 8px !important;
}

.recent-posts ul li a {
    font-weight: 600 !important;
    color: #3A3A3A;
}

    .recent-posts ul li a:hover, .archive_content ul li a:hover {
        color: #125DAB;
    }

.recent-posts ul, .archive_content ul {
    list-style: disc;
}

.list-dot {
    list-style: disc;
}
