/********** Template CSS **********/
:root {
    --primary: #F2652C;
    --light: #F1F8FF;
    --dark: #0F172B;
    --paulBlue: #0D2C71;
    --paulOrange: #F2652C;
    --paulLight: #C7CFDA;
    --paulDark: #3F454F;

}

.ff-secondary {
    font-family: 'Pacifico', cursive;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.section {
    padding: 4rem 3rem !important;
    /* padding-top: 3rem !important; */
    /* padding-bottom: 3rem !important; */
}

.section1 {
    padding: 2rem 3rem !important;
    /* padding-top: 3rem !important; */
    /* padding-bottom: 3rem !important; */
}

.section2 {
    padding: 3rem 8rem !important;
    /* padding-top: 3rem !important; */
    /* padding-bottom: 3rem !important; */
}

.admin-section {
    padding: 1rem 3rem !important;
    /* padding-top: 3rem !important; */
    /* padding-bottom: 3rem !important; */
}

@media (max-width: 767px) {
    .section {
        padding: 4rem 2rem !important;
        /* padding-top: 3rem !important; */
        /* padding-bottom: 3rem !important; */
    }
}

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


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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: 2px;
}

.btn-circle {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--paulBlue) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}
/* Dropdown Menu Styling */
.nav-item.dropdown .dropdown-menu {
    background-color: var(--paulLight);
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-item.dropdown .dropdown-menu .dropdown-item {
    color: var(--paulBlue);
}

.nav-item.dropdown .dropdown-menu .dropdown-item:hover {
    background-color: var(--primary);
    color: #fff;
}


@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: fixed;
        width: 100% !important;
        background: var(--paulLight) !important;


    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }

    .navbar-dark {
        background: var(--paulLight) !important;

    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: relative !important;
        width: 100% !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 999 !important;
        /* background: #C7CFDA; */
        background: var(--paulLight) !important;
    }

    .navbar-dark .navbar-brand img {
        max-width: 180px;
    }

    .sticky-top.navbar-dark {
        position: fixed !important;
        width: 100% !important;
        background: var(--paulLight) !important;
    }
}
@media (min-width: 1300px) {
    .navbar-dark .navbar-brand img {
        max-width: 250px;
    }
}


/*** Hero Header ***/
.hero-header {
    background-image: url('../img/herohome3.jpg');
    /* Ensure the correct path to your image */
    background-size: cover;
    /* Makes sure the image covers the entire container */
    background-position: center center;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Prevents repeating the image */
    width: 100%;
    /* Ensures the header stretches the full width */
    height: 100vh;
    /* Makes the header cover the full viewport height */
    color: white;
    /* Ensures text is readable */
    display: flex;
    /* Use flexbox for centering content */
    align-items: center;
    /* Centers content vertically */
    justify-content: center;
    /* Centers content horizontally */
    text-align: center;
    /* Centers text inside */
    margin: 0;
    /* Removes any default margin */
    padding: 0;
    /* Removes any default padding */
    position: relative;
    /* Allows absolute positioning of child elements if needed */
}


.text-area {
    position: absolute;
    /* Allows positioning relative to .hero-header */
    /* bottom: 0; */
    /* Aligns it to the bottom */
    left: 0;
    /* Aligns it to the left */
    padding-bottom: 3rem;
    /* Adds padding around the text */
    color: white;
    /* White text color */
    text-align: left;
    /* Aligns text to the left */
    width: 60%;
}

/*** About Header ***/
.about-header {
    background-image: url('../img/aboutPaul.jpg');
    /* Ensure the correct path to your image */
    background-size: cover;
    /* Makes sure the image covers the entire container */
    background-position: center center;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Prevents repeating the image */
    width: 100%;
    /* Ensures the header stretches the full width */
    height: 100vh;
    /* Makes the header cover the full viewport height */
    color: black;
    /* Ensures text is readable */
    display: flex;
    /* Use flexbox for centering content */
    align-items: center;
    /* Centers content vertically */
    justify-content: center;
    /* Centers content horizontally */
    text-align: center;
    /* Centers text inside */
    margin: 0;
    /* Removes any default margin */
    padding: 0;
    /* Removes any default padding */
    position: relative;
    /* Allows absolute positioning of child elements if needed */
}


.text-area {
    position: absolute;
    /* Allows positioning relative to .hero-header */
    bottom: 0;
    /* Aligns it to the bottom */
    left: 0;
    /* Aligns it to the left */
    padding-bottom: 3rem;
    /* Adds padding around the text */
    color: white;
    /* White text color */
    text-align: left;
    /* Aligns text to the left */
    width: 60%;
}


.about-header h1 {
    margin: 0;
    /* Removes default margin */
    /* font-size: 3rem; */
    /* Adjust font size as needed */
    color: white;
}

/* Mobile screen*/
@media (min-width: 0rem) {

    .img-home{
        width:250px;
        max-height: 300px;
    }
    .img-home-col6{
        width:250px;
        max-height: 300px;
    }
    .text-area {
        width: 80%;
        padding-right: 0;
    }
    
}
/* Tablet screen*/

@media (min-width: 768px) {

    .img-home{
        width:260px;
        max-height: 500px;
    }
    .img-home-col6{
        width:260px;
        max-height: 500px;
    }
}

/* Small lap screen*/
@media (min-width: 1024px) {

    .img-home{
        width:400px;
    }
    .img-home-col6{
        width:450px;
    }
}
/* Big lap screen*/
@media (min-width: 1400px) {

    .img-home{
        width:600px;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** About ***/


/* Feature Speaking Section */


.feature-speaking {
    background-color: #f8f9fa;
    /* Light background color */
    padding: 5rem 0;
    /* Vertical padding for spacing */
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* Aspect ratio for 16:9 */
    margin-top: 2rem;
    /* Space above the button */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 0.5rem;
    /* Optional: Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Optional: Shadow effect */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.feature-speaking p {
    font-size: 1.125rem;
    /* Adjust font size as needed */
    color: #333;
    /* Dark text color for readability */
}

.feature-speaking .btn {
    margin-top: 1rem;
    /* Space above the button */
}
.public-back{
    padding-left:2rem;

}


/*** Book section ***/
.book-img {

    display: flex;
    /* Use flexbox to align items */
    justify-content: center;
    /* Center the image horizontally */
    padding-bottom: 1.5rem;
}

.left-book {
    flex: 0 0 auto;
}

.right-book {
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .left-book {
        width: 60%;
    }

    .right-book {
        flex: 0 0 auto;
        width: 40%;
    }
}

/*** Follow me ***/

.social-icons {
    display: flex;
    /* Use flexbox for alignment */
    justify-content: center;
    /* Center the icons horizontally */
    gap: 1.5rem;
    /* Spacing between icons */
    flex-wrap: wrap;
    /* Allow wrapping of icons if they exceed container width */
}

.social-icon {
    display: inline-block;
    font-size: 4rem;
    /* Size of the icons */
    color: #333;
    /* Color of the icons */
    padding: 0.5rem;
    /* Space inside the border */
    transition: color 0.3s ease, border-color 0.3s ease;
    /* Smooth transition for color and border */
}

.social-icon:hover {
    color: #007bff;
    /* Change color on hover */
    border-color: #007bff;
    /* Change border color on hover */
}

@media (max-width: 767px) {
    .social-icons {
        gap: 0.25rem;
        /* Spacing between icons */
    }

    .social-icon {
        font-size: 2rem;
        /* Size of the icons */
    }
}

/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer-right-links a {
    text-decoration: none; /* Remove underline by default */
    transition: color 0.3s, text-decoration 0.3s; /* Smooth transition for color and underline */
}

.footer-right-links a:hover {
    text-decoration: underline; /* Underline on hover */
}


.footer .footer-flex{
    display: flex !important;
    flex-wrap: wrap;
}
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;

}

.phone-me-3 {
    margin-right: .75rem !important
}

@media (max-width: 575.98px) {
    .footer .footer-menu a {
        margin-right: 10px;
        padding-right: 10px;
        border-right: 1px solid rgba(255, 255, 255, .1);
    }
}

/* Ensure .container-xxl is always full width */
@media (min-width: 1400px) {
    .container-xxl {
        max-width: none !important;
        /* Remove any max-width constraints */
        width: 100% !important;
        /* Force width to be 100% */
    }
}

@media (max-width: 767.98px) {
    .side-nav {
        width: 100%;
        margin: 0;
        padding: 15px;
        box-sizing: border-box;
    }

    .d-flex.align-items-center {
        flex-direction: column;
    }

    .flex-sm-shrink-0 {
        width: auto;
        /* Make sure this does not conflict with the img-fluid class */
        margin-bottom: 15px;
    }
}



/*-- -------------------------- -->
<---          Gallery           -->
<--- -------------------------- -*/

.gallery {
    text-align: center;
    background-color: #F1F8FF;
}

/* Mobile - 360px */
#gallery-1446 {
    padding: var(--sectionPadding);
}

#gallery-1446 .cs-container {
    width: 100%;
    max-width: 80rem;
    /* Adjust as needed */
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
    position: relative;
}

#gallery-1446 .cs-gallery {
    width: 100%;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: clamp(1rem, 1.5vw, 1.25rem);
}

#gallery-1446 .cs-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* Maintain aspect ratio, adjust as needed */
    border-radius: 1rem;
    overflow: hidden;
}

#gallery-1446 .cs-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image covers the container */
}

/* Media queries for different viewports */
@media (min-width: 768px) {
    #gallery-1446 .cs-gallery {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns for medium screens */
    }
}



/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/
.contact {
    text-align: center;
    background-color: white;
}

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #contact-1150 {
        padding: var(--sectionPadding);
        background-color: white;
        position: relative;
        z-index: 1;
    }

    #contact-1150 .cs-container {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 44rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
        flex-direction: column;
        column-gap: auto;
        /* 48px - 80px */
        row-gap: clamp(3rem, 6vw, 5rem);
        position: relative;
    }

    #contact-1150 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }

    #contact-1150 .cs-topper {
        color: #767676;
    }

    #contact-1150 .cs-title {
        max-width: 23ch;
        margin: 0;
    }

    #contact-1150 .cs-picture {
        width: 100%;
        /* 240px - 300px */
        height: clamp(15rem, 35vw, 18.75rem);
        margin: 0 0 1.5rem;
        border-radius: 1.5rem;
        /* clips image corners */
        overflow: hidden;
        display: block;
        position: relative;
    }

    #contact-1150 .cs-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    #contact-1150 .cs-contact-text {
        font-size: 1rem;
        line-height: 1.5em;
        text-align: left;
        margin: 0 0 1.5rem;
        color: var(--bodyTextColor);
    }

    #contact-1150 .cs-ul {
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        position: relative;
    }

    #contact-1150 .cs-li {
        list-style: none;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1.25rem;
    }

    #contact-1150 .cs-li:hover .cs-icon-wrapper {
        transform: scale(1.1);
    }

    #contact-1150 .cs-header {
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.2em;
        margin-bottom: 0.75rem;
        color: var(--headerColor);
        display: block;
    }

    #contact-1150 .cs-link {
        font-size: 1rem;
        line-height: 1.5em;
        text-decoration: none;
        color: #767676;
        display: block;
        position: relative;
    }

    #contact-1150 .cs-link:hover {
        text-decoration: underline;
    }

    #contact-1150 .cs-icon-wrapper {
        width: 3.75rem;
        height: 3.75rem;
        margin: 0;
        border-radius: 50%;
        border: 1px solid #bababa;
        display: flex;
        justify-content: center;
        align-items: center;
        /* prevents flexbox from squishing it */
        flex: none;
        transition: transform 0.3s;
    }

    #contact-1150 .cs-icon {
        width: 1.5rem;
        height: auto;
        display: block;
    }

    #contact-1150 .cs-form {
        width: 100%;
        /* Prevents flexbox from affecting height and width */
        box-sizing: border-box;
        background-color: #F1F8FF;
        border-radius: 1rem;
        display: flex;
        justify-content: center;
        /* Center the iframe horizontally */
        align-items: stretch;
        /* Center the iframe vertically */
        gap: 0.75rem;
        /* To ensure the container behaves well with flex */
        flex-wrap: wrap;
    }

    .responsive-iframe {
        width: 100%;
        height: 600px;
        /* Adjust height as needed */
        border: none;
        border-radius: 1rem;
    }

    @media (max-width: 600px) {
        .responsive-iframe {
            height: 400px;
            /* Adjust height for smaller screens */
        }
    }

    #contact-1150 .cs-label {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        width: 100%;
        color: var(--headerColor);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0.25rem;
    }

    #contact-1150 .cs-input {
        font-size: 1rem;
        width: 100%;
        height: 3.5rem;
        padding: 0;
        padding-left: 1.5rem;
        color: var(--headerColor);
        background-color: #f7f7f7;
        border-radius: 0.5rem;
        border: none;
        /* prevents padding from adding to height and width */
        box-sizing: border-box;
    }

    #contact-1150 .cs-input::placeholder {
        color: #7d799c;
        opacity: 0.6;
    }

    #contact-1150 .cs-textarea {
        min-height: 7.5rem;
        padding-top: 1.5rem;
        margin-bottom: 0.75rem;
        font-family: inherit;
    }

    #contact-1150 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875em, 5.5vw, 3.5em);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #1a1a1a;
        border: none;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--secondary);
        border-radius: 0.25rem;
        overflow: hidden;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
        transition: color 0.3s;
    }

    #contact-1150 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.25rem;
        transition: width 0.3s;
    }

    #contact-1150 .cs-button-solid:hover {
        color: #fff;
    }

    #contact-1150 .cs-button-solid:hover:before {
        width: 100%;
    }

    #contact-1150 .cs-submit {
        width: 100%;
        min-width: 17.6875rem;
        border-radius: 0.5rem;
    }

    #contact-1150 .cs-submit:hover {
        cursor: pointer;
    }

    #contact-1150 .cs-graphic {
        display: none;
    }

    #contact-1150 .cs-graphic1 {
        width: 13rem;
        height: auto;
        position: absolute;
        left: -7.5rem;
        top: 8.625rem;
    }

    #contact-1150 .cs-graphic2 {
        width: 12.8125rem;
        height: auto;
        position: absolute;
        right: -9.75rem;
        top: 0.5rem;
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #contact-1150 .cs-container {
        max-width: 80rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        display: flex;
    }

    #contact-1150 .cs-contact-group {
        width: 50%;
        max-width: 39.375rem;
    }

    #contact-1150 .cs-form {
        width: 46%;
        max-width: 100%;
    }

    #contact-1150 .cs-submit {
        width: auto;
    }
}

/* Large Desktop - 1500px */
@media only screen and (min-width: 93.75rem) {
    #contact-1150 .cs-graphic {
        display: block;
    }
}

/*-- -------------------------- -->
<---          Speaking          -->
<--- -------------------------- -*/

.speaking-header {
    background-image: url('../img/sp.jpg');
    /* Ensure the correct path to your image */
    background-size: cover;
    /* Makes sure the image covers the entire container */
    background-position: center center;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Prevents repeating the image */
    width: 100%;
    /* Ensures the header stretches the full width */
    height: 80vh;
    /* Makes the header cover the full viewport height */
    color: white;
    /* Ensures text is readable */
    display: flex;
    /* Use flexbox for centering content */
    align-items: center;
    /* Centers content vertically */
    justify-content: center;
    /* Centers content horizontally */
    text-align: center;
    /* Centers text inside */
    margin: 0;
    /* Removes any default margin */
    padding: 0;
    /* Removes any default padding */
    position: relative;
    /* Allows absolute positioning of child elements if needed */
}

.speaking-text-area {
    position: absolute;
    /* bottom: 0; */
    left: 0;
    padding-bottom: 0rem;
    color: white;
    text-align: center;
    width: 90%;
}

.speaking-hero-title {
    font-size: 3rem;
    color: white;

}

.video-wrapper1 {
    position: relative;
    padding-top: 75%;
    /* 16:9 Aspect Ratio */
    height: 0;
}

.video-wrapper1 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.speaking-container {
    text-align: center;
    background: linear-gradient(to right, #463856 0%, #335289 100%);
    padding: 20px;
    border-radius: 8px;
}



.speaking-text {
    color: white;
    margin-bottom: 4rem;
    font-size: 1.2em;
}

.speaking-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* 圆角效果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* 添加阴影 */
    margin-bottom: 20px;
    /* 底部边距 */
}

.speaking-img img {
    width: 100%;
    /* 确保图片适应容器 */
    height: auto;
    display: block;
}



/* Mobile - 360px */
@media (max-width: 767px) {
    .speaking-header {
        height: 50vh;
        background-position: center center;
    }

    .speaking-hero-title {
        font-size: 1.5rem;
        padding: 0 20px;
    }

    .container,
    .speaking-text-area {
        width: 100%;
        padding: 10px;
        font-size: 0.9rem;
        bottom: 10%;
    }

    .speaking-container {
        padding: 10px;
    }

    .speaking-text {
        margin-bottom: 2rem;
        font-size: 1em;
    }

    .btn {
        font-size: 0.8rem;
        padding: 10px 20px;
    }

    .social-icons a {
        font-size: 1.5rem;
    }

    .video-wrapper1 {
        padding-top: 0;
        height: 300px;
    }

    .video-wrapper1 iframe {
        height: 100%;
    }

}

@media (max-width: 767px) {
    .container-xxl {
        width: 100%;
        /* Ensures the container takes full width */
        padding: 0 15px;
        /* Adds padding to avoid content touching the screen edges */
        margin: auto;
        /* Centers the container */
        box-sizing: border-box;
        /* Includes padding in width calculation */

    }
}

/* Tablet View (768px to 1024px) */

@media (min-width: 768px) and (max-width: 1024px) {
    .speaking-header {
        height: 70vh;
    }

    .speaking-hero-title {
        font-size: 2.5rem;
    }

    .speaking-text-area {
        width: 80%;
        padding: 0 15px;
    }

    .speaking-container {
        padding: 20px;
    }

    .speaking-text {
        font-size: 1.25rem;
    }

    .btn {
        font-size: 0.75rem;
        padding: 15px 30px;
    }

    .social-icons a {
        font-size: 4rem;
    }

    .video-wrapper1 {
        padding-top: 56.25%;
        /* 保持16:9的视频比例 */
    }
}

/* Desktop View (Above 1024px) */

@media (min-width: 1025px) {
    .speaking-header {
        height: 80vh;
    }

    .speaking-hero-title {
        font-size: 3rem;
    }

    .speaking-text-area {
        width: 60%;
        padding: 0 30px;
    }

    .speaking-container {
        padding: 30px;
    }

    .speaking-text {
        font-size: 1.5rem;
    }

    .btn {
        font-size: 1rem;
        padding: 20px 40px;
    }

    .social-icons a {
        font-size: 4rem;
    }
}


/*-- -------------------------- -->
<---         Books Page          -->
<--- -------------------------- -*/


/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    @keyframes floatAnimation {
        0% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-2rem);
        }

        100% {
            transform: translateY(0);
        }
    }

    @keyframes floatAnimation2 {
        0% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-3rem);
        }

        100% {
            transform: translateY(0);
        }
    }

    .book-text-area {
        position: absolute;
        /* bottom: 0; */
        left: 0;
        padding-bottom: 6rem;
        color: white;
        text-align: left;
        width: 90%;
    }

    .book-hero-title {
        font-size: 2rem;
        color: white;
    }

    .book-hero {
        background-image: url('../img/book0.jpg');
        /* Ensure the correct path to your image */
        background-size: cover;
        /* Makes sure the image covers the entire container */
        background-position: center center;
        /* Centers the image */
        background-repeat: no-repeat;
        /* Prevents repeating the image */
        width: 100%;
        /* Ensures the header stretches the full width */
        height: 80vh;
        /* Makes the header cover the full viewport height */
        color: white;
        /* Ensures text is readable */
        display: flex;
        /* Use flexbox for centering content */
        align-items: center;
        /* Centers content vertically */
        justify-content: center;
        /* Centers content horizontally */
        text-align: center;
        /* Centers text inside */
        margin: 0;
        /* Removes any default margin */
        padding: 0;
        /* Removes any default padding */
        position: relative;
        /* Allows absolute positioning of child elements if needed */
    }

    #sbsr-1363 {
        padding: var(--sectionPadding);
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    #sbsr-1363 .cs-container {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 36.5rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
        /* padding:4rem 0; */
    }

    #sbsr-1363 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        max-width: 39.375rem;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
    }

    #sbsr-1363 .cs-topper {
        color: #767676;
    }

    #sbsr-1363 .cs-title {
        /* 23 characters wide including spaces */
        max-width: 26ch;
    }

    #sbsr-1363 .cs-book-title {
        /* 23 characters wide including spaces */
        max-width: 20ch;
        color: #fd7e14;

    }

    #sbsr-1363 .cs-text {
        margin-bottom: 1rem;
    }

    #sbsr-1363 .cs-text:last-of-type {
        margin-bottom: 1.5rem;
    }

    #sbsr-1363 .cs-card-group {
        width: 100%;
        max-width: 39.375rem;
        margin: 0 0 1.5rem 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
        align-items: center;
        gap: clamp(1rem, 2vw, 1.25rem);
    }

    #sbsr-1363 .cs-item {
        list-style: none;
        /* 16px - 24px */
        padding: clamp(1rem, 3vw, 1.5rem);
        /* prevents padding from affecting height and width */
        box-sizing: border-box;
        background-color: #f7f7f7;
        border-radius: 1rem;
        border: 1px solid #e8e8e8;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    #sbsr-1363 .cs-h3 {
        font-size: 1.25rem;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0;
        color: var(--headerColor);
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
    }

    #sbsr-1363 .cs-h3-icon {
        width: 2rem;
        height: auto;
        display: block;
    }

    #sbsr-1363 .cs-item-text {
        font-size: 0.875rem;
        line-height: 1.5em;
        margin: 0;
        color: var(--bodyTextColor);
    }

    #sbsr-1363 .cs-ul {
        width: 100%;
        margin: 0 0 1.5rem 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    #sbsr-1363 .cs-li {
        font-size: var(--bodyFontSize);
        list-style: none;
        line-height: 1.5em;
        width: 100%;
        color: var(--bodyTextColor);
        display: flex;
        justify-content: flex-start;
        /* push icon top the top so if the list item goes to two lines the icon stays at the top */
        align-items: flex-start;
        gap: 0.5rem;
    }

    #sbsr-1363 .cs-icon {
        width: 1.5rem;
        height: auto;
        /* adds extra space between the icon and top of parent so it's more centered */
        margin-top: 1px;
        display: block;
    }

    #sbsr-1363 .cs-button-solid {
        font-size: 1rem;
        line-height: 3.5rem;
        text-decoration: none;
        font-weight: 700;
        overflow: hidden;
        margin: 0;
        color: #fff;
        padding: 0 3rem;
        border-radius: 1.875rem;
        background-color: var(--primary);
        display: inline-block;
        position: relative;
        z-index: 1;
        transition: color 0.3s;
    }

    #sbsr-1363 .cs-button-solid:before {
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 0%;
        background: #1a1a1a;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }

    #sbsr-1363 .cs-button-solid:hover {
        color: var(--primary);
    }

    #sbsr-1363 .cs-button-solid:hover:before {
        width: 100%;
    }

    #sbsr-1363 .cs-image-group {
        width: 100%;
        max-width: 36.625rem;
        /* Changes to auto at desktop */
        /* height: 32.5rem; */
        /* 32px - 48px */
        /* clips the corners of the children around the border radius */
        overflow: hidden;
        position: relative;
    }

    #sbsr-1363 .cs-image-group2 {
        width: 100%;
        max-width: 36.625rem;
        /* Changes to auto at desktop */
        /* height: 32.5rem; */
        /* 32px - 48px */
        /* clips the corners of the children around the border radius */
        overflow: hidden;
        position: relative;
    }

    #sbsr-1363 .cs-background {
        width: 100%;
        height: 100%;
        /* makes it cover the parent dimensions */
        object-fit: cover;
        display: block;
    }

    #sbsr-1363 .cs-background img {
        width: 100%;
        height: 100%;
        /* makes it cover the parent like a backgorund image */
        object-fit: cover;
        display: block;
    }

    #sbsr-1363 .cs-box {
        text-align: left;
        width: 100%;
        max-width: 19rem;
        padding: 2rem;
        /* prevents padding from affecting height and width */
        box-sizing: border-box;
        background-color: var(--primary);
        /* 48px - 80px */
        border-radius: 2rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        position: absolute;
        /* 12px - 20px */
        right: clamp(0.75rem, 1.9vw, 1.5rem);
        /* 12px - 20px */
        bottom: clamp(0.75rem, 1.9vw, 1.5rem);
    }

    #sbsr-1363 .cs-box-icon {
        width: 3.75rem;
        height: auto;
        display: block;
    }

    #sbsr-1363 .cs-desc {
        font-size: 1.25rem;
        line-height: 1.2em;
        text-align: inherit;
        font-weight: 700;
        width: 100%;
        margin: 0;
        color: var(--bodyTextColorWhite);
    }

    #sbsr-1363 .cs-bubbles {
        font-size: min(2.5vw, 0.7em);
        width: 26.1875em;
        height: 26.6875em;
        position: absolute;
        /* reset at larger desktop */
        right: -16.25em;
        /* changes to 30px at desktop */
        bottom: -3.125em;
        z-index: -1;
    }

    #sbsr-1363 .cs-bubbles:before {
        /* white border bubble */
        content: "";
        width: 20.625em;
        height: 20.625em;
        background: transparent;
        border: 1px solid #1a1a1a;
        border-radius: 50%;
        opacity: 1;
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        animation-name: floatAnimation;
        animation-duration: 5s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
    }

    #sbsr-1363 .cs-bubbles:after {
        /* orange bubble */
        content: "";
        width: 16.25em;
        height: 16.25em;
        background: var(--primary);
        opacity: 0.15;
        border-radius: 50%;
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        animation-name: floatAnimation2;
        animation-duration: 14s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
    }
}

/* Tablet - 768px */

@media only screen and (min-width: 767px) {

    .book-text-area {

        width: 60%;
    }

    .book-hero-title {
        font-size: 3rem;
        color: white;
    }

    .book-hero {
        height: 50vh;
    }
}

/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {

    #sbsr-1363 .cs-container {
        max-width: 80rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
    }

    #sbsr-1363 .cs-image-group {
        /* height: auto; */
        /* sends it to the right in the 2nd position */
        order: 2;
    }

    #sbsr-1363 .cs-image-group2 {
        height: auto;
    }

    #sbsr-1363 .cs-bubbles {
        font-size: min(2.5vw, 1em);
        right: -6.25rem;
        bottom: 0rem;
    }
}

/* Large Desktop 1440px+ */
@media only screen and (min-width: 1439px) {
    #sbsr-1363 .cs-bubbles {
        margin-right: 46.875rem;
        left: auto;
        right: 50%;
    }

    .book-hero-title {
        font-size: 4.5rem;
    }

}

/* Large Desktop 1660px+ */
@media only screen and (min-width: 100rem) {

    .book-hero-title {
        font-size: 6rem;
    }

}


/*-- -------------------------- -->
<---         Contact Page          -->
<--- -------------------------- -*/

.contact-mes {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    margin-bottom: 0;
    color: #0F172B;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;

}

.contact-mes1 {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    color: #0F172B;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;

}

.contact-text-area {
    position: absolute;
    /* bottom: 0; */
    left: 0;
    padding-bottom: 6rem;
    color: white;
    text-align: left;
    width: 90%;
}

.contact-hero-title {
    font-size: 2rem;
    color: white;
}

.contact-hero {
    background-image: url('../img/contact5-1.jpg');
    /* Ensure the correct path to your image */
    background-size: cover;
    /* Makes sure the image covers the entire container */
    background-position: center center;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Prevents repeating the image */
    width: 100%;
    /* Ensures the header stretches the full width */
    height: 80vh;
    /* Makes the header cover the full viewport height */
    color: white;
    /* Ensures text is readable */
    display: flex;
    /* Use flexbox for centering content */
    align-items: center;
    /* Centers content vertically */
    justify-content: center;
    /* Centers content horizontally */
    text-align: center;
    /* Centers text inside */
    margin: 0;
    /* Removes any default margin */
    padding: 0;
    /* Removes any default padding */
    position: relative;
    /* Allows absolute positioning of child elements if needed */
}

/* Tablet - 768px */

@media only screen and (min-width: 767px) {



    .contact-hero-title {
        font-size: 3rem;
        color: white;
    }

    .contact-hero {
        height: 50vh;
    }
}

/* Small Desktop 1024+ */
@media only screen and (min-width: 1023px) {
    .contact-text-area {
        font-size: 4.5rem;
        width: 60%;
    }

    .contact-mes,
    .contact-mes1 {
        font-size: 1.2rem;
    }
}


/* Large Desktop 1660px+ */
@media only screen and (min-width: 100rem) {
    .contact-text-area {
        font-size: 4.5rem;
        width: 60%;
    }

    .contact-hero-title {
        font-size: 6rem;
    }

    .contact-mes,
    .contact-mes1 {
        font-size: 2rem;
    }
}

.review-container {
    text-align: center;
    background: linear-gradient(to right, #463856 0%, #335289 100%);
    padding: 20px;
    border-radius: 8px;
}

.rounded-corners {
    border-radius: 5%
}

.cb-heading {
    color: var(--paulOrange)
}



/* Speaking form  */


.speaking-mes {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    margin-bottom: 0;
    color: #0F172B;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

.speaking-mes1 {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    color: #0F172B;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

.bookSpeech {
    /*background-image: url('../img/herohome3.jpg');*/
    background-size: cover;
    /* Makes the image cover the entire element */

}

/* Text Border for readability on bright backgrounds */

.text-border {
    text-shadow: 0 0 5px #000000, 0 0 15px #000000;
}

/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #sbs-1308 {
        padding: var(--sectionPadding);
        overflow: hidden;
    }

    #sbs-1308 .cs-container {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 36.5rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: clamp(3rem, 4vw, 4rem);
    }

    #sbs-1308 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        max-width: 33.875rem;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
        position: relative;
        z-index: 10;
    }

    #sbs-1308 .cs-text {
        margin-bottom: 1rem;
    }

    #sbs-1308 .cs-text:last-of-type {
        margin-bottom: 2rem;
    }

    #sbs-1308 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #1a1a1a;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primary);
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
        transition: color 0.3s;
    }

    #sbs-1308 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }

    #sbs-1308 .cs-button-solid:hover {
        color: #fff;
    }

    #sbs-1308 .cs-button-solid:hover:before {
        width: 100%;
    }

    #sbs-1308 .cs-ul {
        width: 100%;
        padding: 0;
        /* 32px - 48px */
        margin: clamp(2rem, 5vw, 3rem) 0 0 0;
        /* 32px - 48px */
        padding: clamp(2rem, 5vw, 3rem) 0 0 0;
        border-top: 1px solid #e8e8e8;
        display: flex;
        justify-content: space-between;
        align-items: center;
        column-gap: 0.75rem;
    }

    #sbs-1308 .cs-item {
        list-style: none;
        width: 32%;
        /* making flex so we can align a heading with 1 line to the bottom */
        display: flex;
        flex-direction: column;
        align-self: stretch;
        align-content: space-between;
    }

    #sbs-1308 .cs-number {
        font-size: 1.5625rem;
        line-height: 1.2em;
        font-weight: 700;
        text-align: left;
        color: var(--primary);
        display: block;
        margin: 0 0 0.5rem 0;
    }

    #sbs-1308 .cs-h3 {
        font-size: 1rem;
        line-height: 1.5em;
        font-weight: 400;
        text-align: left;
        /* auto margin top will push text to bottom if there's only one line */
        margin: 0;
        color: var(--bodyTextColor);
    }

    #sbs-1308 .cs-image-group {
        width: 100%;
        max-width: 41.875rem;
        height: 100vw;
        max-height: 39.375rem;
        position: relative;
        display: block;
        z-index: 1;
    }

    #sbs-1308 .cs-picture {
        /* big background image */
        width: 93%;
        height: 93%;
        position: absolute;
        top: 0;
        left: 0;
        display: block;
    }

    #sbs-1308 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    #sbs-1308 .cs-box {
        text-align: left;
        width: 70%;
        max-width: 19rem;
        /* 20px - 40px */
        padding: clamp(1.25rem, 4vw, 2.5rem);
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        background-color: #1a1a1a;
        display: inline-flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 10;
    }

    #sbs-1308 .cs-desc {
        /* 16px - 31px */
        font-size: clamp(1rem, 2.5vw, 1.9375rem);
        line-height: 1.2em;
        font-weight: 700;
        text-align: inherit;
        width: 100%;
        color: var(--bodyTextColorWhite);
        position: relative;
        z-index: 10;
    }

    #sbs-1308 .cs-graphic {
        width: 150%;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: -1;
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #sbs-1308 .cs-container {
        max-width: 80rem;
        /* set to horizontal arrangement */
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
    }

    #sbs-1308 .cs-content {
        width: 48%;
        padding: 3rem 0;
        align-self: center;
        /* prevents flexbox from squishing it */
        flex: none;
    }

    #sbs-1308 .cs-image-group {
        width: 55%;
        max-width: 41.875rem;
        min-height: 41.875rem;
        max-height: 100%;
        height: auto;
        margin: 0;
    }

    #sbs-1308 .cs-picture {
        width: 93%;
        height: 94%;
    }

    #sbs-1308 .cs-box {
        bottom: 0rem;
    }

    #sbs-1308 .cs-graphic {
        max-width: 44.6875rem;
        left: auto;
        right: 8.125rem;
        transform: translateY(-50%);
    }
}

/* Mobile Styles (default) */
.hero-section {
    display: flex;
    flex-direction: column;
    /* Stack items vertically on mobile screens */
    height: auto;
    /* Allow height to adjust based on content */
    /* background-color: #ffffff; */
}

.hero-section .hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section .hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-section .hero-content {
    padding: 10px;
    /* Padding suitable for mobile screens */
    color: #333333;
}

.hero-section .hero-content h1 {
    font-size: 1.5rem;
    /* Font size adjusted for mobile */
    margin-bottom: 15px;
}

.hero-section .hero-content span {
    font-size: 1.2rem;
    /* Font size adjusted for mobile */
    margin-bottom: 15px;
    color: var(--paulOrange);
}

.hero-section .hero-content p {
    font-size: 0.8rem;
    /* Font size adjusted for mobile */
    margin-bottom: 15px;
    line-height: 1.4;
}

.sign-up-content {
    background-color: var(--paulLight);
    margin-top: 2rem
}


/* Category Filters */
.category-filters {
    padding: 10px;
    /* Padding for category filters section */
    background-color: #f9f9f9;
    /* Light background color */
    text-align: center;
    /* Center align text */
}

@media (max-width: 480px) {
    .category-filters {
        margin-top: 20px;

    }
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    display: inline;
    margin: 0 10px;
}

.category-list a {
    text-decoration: none;
    color: #333333;
    font-size: 0.9rem;
}

.category-list a.active {
    font-weight: bold;
    border-bottom: 2px solid var(--paulOrange);
    color: var(--paulOrange);
    padding-bottom: 5px;
}

/* Blog Cards Section */

.load-more {
    display: flex;
    justify-content: center;
}
.blog-section {
    margin-top: 20px;
    /* Margin suitable for mobile screens */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.blog-card {
    width: 100%;
    /* Full width for blog cards on mobile screens */
    /* height: 300px; */
    margin: 10px 0;
    /* Adjusted margin for mobile screens */
    background-color: #ffffff;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 45%;
    /* Full width for images on mobile screens */
    object-fit: cover;
}

.blog-card .blog-content {
    padding: 15px;
    /* Padding suitable for mobile screens */
    flex: 1;

    width: 50%;
    overflow-wrap: break-word;
}

/* Blog Meta - Flexbox adjustment */
.blog-card .blog-content .blog-meta {
    display: flex;
    flex-direction: column;
    /* Stack items vertically on mobile screens */
}

.blog-card .blog-content .blog-meta .date {
    font-size: 0.75rem;
    /* Smaller font size */
    color: #666;
    padding-right: 1rem;
    /* Spacing around the topic */
    margin-bottom: 8px;
    display: block;
}

.blog-card .blog-content .blog-meta .topic {
    background-color: #ecedf0;
    /* Light shaded background for the topic */
    padding: 0px 1rem;
    /* Spacing around the topic */
    border-radius: 12px;
    display: inline-block;
    font-size: 0.75rem;
    color: var(--paulOrange);
    margin-bottom: 8px;
}
.hero-section .hero-content .blog-meta .topic {
    background-color: #ecedf0;
    /* Light shaded background for the topic */
    padding: 0px 1rem;
    /* Spacing around the topic */
    border-radius: 12px;
    display: inline-block;
    font-size: 0.75rem;
    color: var(--paulOrange);
    margin-bottom: 8px;
}

/* Title and description */
.blog-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    /* Font size adjusted for mobile */
}

.blog-card p {
    font-size: 0.8rem;
    /* Font size adjusted for mobile */
    color: #666666;
    display: none;
}

.blog-card a {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    /* Font size adjusted for mobile */
    padding-bottom: 4px;
}
.btn-blog {
    text-align: center;
}
.btn-blog .btn-group {
    gap: 10px; /* Adjust the spacing between buttons as needed */
    width: auto;  /* Allow width to adjust to content */

}


/* Tablet Styles */
@media (min-width: 481px) {
    .hero-section {
        flex-direction: column;
        /* Keep vertical layout for tablets */
    }

    .hero-section .hero-content {
        padding: 20px;
        /* Increased padding for tablets */
    }

    .hero-section .hero-content h1 {
        font-size: 1.8rem;
        /* Larger font size for tablets */
    }

    .hero-section .hero-content p {
        font-size: 0.9rem;
        /* Larger font size for tablets */
    }

    .hero-section .hero-content a {
        font-size: 0.9rem;
        /* Larger font size for tablets */
    }

    .category-filters {
        padding: 20px;
        /* Increased padding for tablets */
    }

    .category-list a {
        font-size: 1rem;
        /* Larger font size for tablets */
    }

    .blog-card .blog-content .blog-meta {
        flex-direction: row;
        /* Align items in a row on tablets and larger screens */
        justify-content: flex-start;
        /* Space between date and topic */
    }

    .blog-card .blog-content .date {
        margin-bottom: 0;
        /* Remove bottom margin when aligned horizontally */
    }

    .blog-card .blog-content .topic {
        margin-bottom: 0;
        /* Remove bottom margin when aligned horizontally */
    }

    .blog-card {
        width: 80%;
        /* Adjust width for tablets */
        margin: 10px;
        /* Adjust margin for tablets */
    }

    .blog-card img {
        width: 40%;
        /* Adjust image width for tablets */
    }

    .blog-card h3 {
        font-size: 1.2rem;
        /* Larger font size for tablets */
    }

    .blog-card p {
        font-size: 0.9rem;
        /* Larger font size for tablets */
        display: block;
    }
}

/* Laptop  Screens Styles */
@media (min-width: 769px) {
    .hero-section {
        flex-direction: row;
        /* Switch to row layout for larger screens */
    }

    .hero-section .hero-image {
        flex: 1;

    }

    .hero-section .hero-image img {
        height: 75vh;

    }

    .hero-section .hero-content {
        flex: 1;
        padding: 40px;
        /* Padding suitable for larger screens */
    }

    .hero-section .hero-content h1 {
        font-size: 2.5rem;
        /* Larger font size for larger screens */
    }

    .hero-section .hero-content p {
        font-size: 1.1rem;
        /* Larger font size for larger screens */
    }

    .hero-section .hero-content a {
        font-size: 1.1rem;
        /* Larger font size for larger screens */
    }

    .category-filters {
        padding: 30px;
        /* Increased padding for larger screens */
    }

    .category-list a {
        font-size: 1.1rem;
        /* Larger font size for larger screens */
    }

    .blog-card {
        width: 80%;
        /* Adjust width for larger screens */
        margin: 20px;
        /* Adjust margin for larger screens */
        flex-direction: row;
        /* Arrange items in a row for larger screens */
    }

    .blog-card img {
        width: 30%;
        /* Adjust image width for larger screens */
        height: auto;
        /* Ensure image maintains aspect ratio */
    }

    .blog-card .blog-content {
        padding: 20px;
        /* Increased padding for larger screens */
    }

    .blog-card h3 {
        font-size: 1.5rem;
        /* Larger font size for larger screens */
    }

    .blog-card p {
        font-size: 1rem;
        /* Larger font size for larger screens */
    }

    .blog-card .blog-content span {
        font-size: 0.9rem;
        /* Font size adjusted for mobile */
        color: var(--paulOrange);
    }

    .blog-card a {
        font-size: 1rem;
        /* Larger font size for larger screens */
    }
}

/* Larger laptop */
@media (min-width: 1439px) {

    .hero-section .hero-image img {
        width: 100%;
        /* height: 70vh; */

    }
}

/* media page */
.media-section {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.podcast-grid {
    width: 100%;
    margin: 20px 0;
    background-color: #ffffff;
    display: flex;
    align-items: stretch; /* Ensures both children have the same height */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.podcast-grid .media-content {
    padding: 15px;
    flex: 1; /* Ensures the content takes the remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Media Meta - Flexbox adjustment */
.podcast-grid .media-content .media-meta {
    display: flex;
    flex-direction: row;
    align-items: center; /* Align date and topic vertically */
    justify-content: flex-start; /* Align them to the start */
}

.podcast-grid .media-content .media-meta .date {
    font-size: 0.75rem;
    color: #666;
    margin-right: 10px; /* Add spacing between date and topic */
    display: inline-block;
}

.podcast-grid .media-content .media-meta .topic {
    max-width: 90px;
    background-color: #ecedf0;
    padding: 0px 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--paulOrange);
    display: inline-block;
}

/* Title and description */
.podcast-grid h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.podcast-grid p {
    font-size: 0.8rem;
    color: #666666;
    display: block;
}

.podcast-grid a {
    display: block;
    width: 35%; /* Match the image width */
    height: auto;
    object-fit: cover; /* Make sure the image fills its container */
}

.podcast-grid img {
    width: 100%; /* Image will fully fill the anchor element */
    height: 100%; /* Ensure image fills the height */
    object-fit: cover; /* Ensure the image fits properly */
}
.podcast-grid .btn {
    font-size: 0.9rem;  /* Set button font size for media section */
    padding: 10px 15px;  /* Adjust padding for buttons in media cards */
}

@media (max-width: 768px) {
    /* For tablets and smaller devices */
    .podcast-grid {
        flex-direction: column;
        padding: 10px 15px; /* Adjust padding */
    }

    .podcast-grid a {
        width: 100%; /* Image takes full width */
        height: 180px; /* Set a fixed height for images */
    }

    .podcast-grid img {
        width: 100%; /* Maintain full width */
        height: 100%; /* Fill the height */
        object-fit: cover; /* Keep the image cover style */
    }

    .podcast-grid h3 {
        font-size: 1.2rem; /* Adjust title size for smaller screens */
        margin-bottom: 10px; /* Add some space below the title */
    }

    .podcast-grid p {
        font-size: 0.9rem; /* Adjust paragraph font size */
        margin-bottom: 10px; /* Add some space below the description */
    }

    .podcast-grid .btn {
        font-size: 0.85rem;  /* Reduce button font size for smaller screens */
        padding: 8px 12px;  /* Adjust padding for buttons */
    }

    .podcast-grid .media-content .media-meta .topic,
    .podcast-grid .media-content .media-meta .date {
        font-size: 0.7rem; /* Adjust topic and date size for smaller screens */
    }
}

@media (max-width: 480px) {
    /* For mobile devices */
    .podcast-grid {
        flex-direction: column;
        padding: 10px; /* Reduce padding for mobile */
    }

    .podcast-grid a {
        width: 100%; /* Image takes full width */
        height: 150px; /* Set a smaller height for images */
    }

    .podcast-grid img {
        width: 100%; /* Maintain full width */
        height: 100%; /* Fill the height */
        object-fit: cover; /* Keep the image cover style */
    }

    .podcast-grid h3 {
        font-size: 1rem; /* Adjust title size for mobile screens */
        margin-bottom: 8px; /* Adjust space below the title */
    }

    .podcast-grid p {
        font-size: 0.8rem; /* Adjust paragraph font size */
        margin-bottom: 8px; /* Adjust space below the description */
    }

    .podcast-grid .media-content .media-meta .topic,
    .podcast-grid .media-content .media-meta .date {
        font-size: 0.65rem; /* Further reduce topic and date size */
    }

    .podcast-grid .btn {
        font-size: 0.8rem; /* Reduce button font size for mobile */
        padding: 6px 10px; /* Further reduce padding */
        width: 100%; /* Make buttons full width on mobile */
    }

    .podcast-grid .media-content {
        padding: 8px; /* Adjust padding for content on mobile */
    }
}


/* Blog details */
/* Blog details */
/* Blog details */

.unique-blog-detail-view {
    font-family: 'Arial', sans-serif;
    color: #333;
    max-width: 1200px;
    margin: auto;
    padding: 4rem 3rem

}

/* Typography */
.unique-blog-topic {
    text-transform: uppercase;
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.unique-blog-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: bold;
}

.unique-blog-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.unique-blog-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Image Styling */
.unique-blog-image img {
    width: 250px;
    max-height:200px;
    flex-direction: column;
    border-radius: 8px;

}

/* Blog Content */
.unique-blog-content {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 1rem;
    color: #444;
}

.back-arrow {
    display: block;
    margin-top: 1.5rem; /* Adjust spacing as needed */
    font-size: 16px; /* Adjust font size as needed */
    color: #ff6b6b; /* Match the color with your theme */
    text-decoration: none;
}

.back-arrow:hover {
    text-decoration: underline;
}

/* For tablet devices (768px to 1024px) */
@media (min-width: 768px) {
    .unique-blog-image img {
    width: 600px;
    max-height: 400px;
    }
    .unique-blog-header {
        flex-direction: column;
        align-items: center;
    }

    .unique-blog-title {
        font-size: 28px;
    }

    .unique-blog-content {
        font-size: 17px;
        padding-top: 2.5rem;

    }
    .back-arrow {
        font-size: 17px; /* Adjust for tablets */
    }
}

/* For desktop  devices */
@media (min-width: 1024px) {
    .unique-blog-detail-view {
        padding: 4rem 6rem

    }
    .unique-blog-image img {
    width: 800px;
    max-height: 600px;
    }
    .unique-blog-title {
        font-size: 36px;
    }

    .unique-blog-content {
        font-size: 18px;
    }
    .back-arrow {
        font-size: 18px; /* Adjust for tablets */
    }
}
/* For desktop large devices */
@media (min-width: 1440px) {
    .unique-blog-image img {
    width: 1200px;
    max-width: 1000px;
    }

    .unique-blog-title {
        font-size: 45px;
    }

    .unique-blog-content {
        font-size: 25px;
    }
    .back-arrow {
        font-size: 25px; /* Adjust for tablets */
    }
}

.error-message {
    margin-top: .25rem;
    font-size: .875em;
    color: red;
}

.homepageEmbedForm {
    padding: 1rem 2rem !important;
    flex: auto;
}


/* Add this CSS to your stylesheet */
.topic-column {
    width: 450px; /* Set the desired width */
    word-wrap: break-word; /* Allow long words to break and wrap to the next line */
    word-break: break-word; /* Ensure long unbreakable words also break correctly */
}

/* POLICY PAGE */
/*  */
/* Style for the policy wrapper */
.policy-wrapper {
    display: flex;
    position: relative; /* Set relative positioning */
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent overflow from affecting layout */
}

@media (max-width: 1023px) { /* Adjust this value as needed for your design */
    .section-links {
        display: none; /* Hide the sidebar */
    }

    .policy-content {
        margin-left: 0; /* Remove left margin since sidebar is hidden */
        width: 100%; /* Make content full width */
        padding: 20px; /* Padding for content */
        overflow-y: auto; /* Allow vertical scrolling */
        height: 100vh; /* Full viewport height */
        color: black;    }
}
@media (min-width: 1024px) { /* Adjust this value as needed for your design */
   /* Fixed section links on the left */
.section-links {
    width: 30%; /* 30% of the left side */
    position: absolute; /* Change to absolute positioning */
    top: 0; /* Stick to the top */
    bottom: 0; /* Stretch to the bottom */
    height: auto; /* Auto height */
    padding: 20px; /* Padding for aesthetics */
    display: flex;
    justify-content: center; /* Center contents */
    align-items: flex-start; /* Align items to the top */
    overflow-y: auto; /* Allow vertical scrolling within the sidebar */
}

/* Rectangle container for the section links */
.links-container {
    background-color: #ffffff; /* White background for contrast */
    padding: 20px; /* Inner padding */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    height: 100%; /* Full height of the section links */
}
/* Style for the main content */
.policy-content {
    margin-left: 30%; /* Leave space for the fixed section links */
    padding: 20px; /* Padding for content */
    overflow-y: auto; /* Allow vertical scrolling */
    height: 100vh; /* Full viewport height */
    color: black;
}

}


.paginator ul.pagination {
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
}

.paginator ul.pagination li {
    display: inline; /* Display items inline */
    margin: 0 5px; /* Add margin for spacing */
}

.paginator ul.pagination li a {
    text-decoration: none; /* Remove underline from links */
    padding: 5px 10px; /* Add padding for better click area */
}

.paginator ul.pagination li a:hover {
    background-color: #f8f9fa; /* Background color on hover */
}
