/* ================================ */
/* Responsive */
/* ================================ */

/* 01. Table Responsive */
@media screen and (max-width: 1025px) {
    h1 {
        font-size: 70px;
    }

    h2 {
        font-size: 48px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 21px;
    }

    h5 {
        font-size: 18px;
    }

    button,
    a {
        font-size: 15px;
    }

    .section-wrapper {
        padding: 20px 20px 20px 20px;
    }

    .heading-section-container,
    .heading-section-container.pricing-heading {
        max-width: 100%;
    }

    .banner-home-top {
        flex-direction: column;
        gap: 0;
    }

    .banner-home-title {
        width: 53%;
        flex: 0 0 53%;
    }

    .banner-home-network {
        width: 100%;
        flex: 0 0 100%;
        margin-top: -120px;
    }

    .banner-home-social {
        width: 44%;
        flex-direction: row;
        align-self: flex-end;
    }

    .card-banner-reviewer {
        width: 31%;
    }

    .banner-home-bottom {
        gap: 20px;
    }

    .banner-home-community-container {
        width: 34%;
    }

    .banner-home-container{
        width: auto;
        height: 500px;
    }

    .nav-btn {
        display: block;
    }

    .navbar-container {
        padding: 40px 40px 0px 40px;
    }

    .navbar .logo-container {
        width: 30%;
    }

    .navbar .nav-link-container {
        display: none!important;
    }

    .navbar-container{
        top: 0px!important;
    }
    
    .navbar-cta-container {
        display: none;
    }

    .card.banner-home-community {
        flex-direction: column;
    }

    .home-community-img {
        width: 100%;
    }

    .banner-avatar {
        width: 45px;
        min-height: 45px;
    }

    .home-community-img img {
        height: 102px !important;
    }

    .home-community-highlight {
        font-size: 36px;
    }

    .home-community-content {
        width: 100%;
    }

    .banner-home-cta-container {
        width: 62%;
    }

    .banner-avatar-btn {
        width: 45px;
    }

    .about-wrapper {
        flex-direction: column-reverse;
        gap: 50px 50px;
    }

    .about-image-container {
        width: 100%;
    }

    .about-content-description {
        width: 100%;
    }

    .about-description-container {
        width: 100%;
    }

    .about-highlight-text {
        font-size: 36px;
    }

    .about-img img {
        height: 500px;
    }

    .chooseus-title-container {
        width: 100%;
    }

    .chooseus-img img {
        height: 275px;
    }

    .chooseus-card-container {
        width: 100%;
    }

    .booking-process-heading h2 {
        max-width: 100%;
    }

    .booking-content-wrapper {
        flex-direction: column-reverse;
        gap: 50px 50px;
    }

    .booking-content-container {
        width: 100%;
    }

    .booking-highlight-container {
        flex-direction: column-reverse;
        width: 100%;
    }

    .booking-tag-container {
        width: 62%;
        justify-content: flex-start;
        align-self: flex-start;
    }

    .booking-form-wrapper {
        flex-direction: column;
        gap: 50px 50px;
    }

    .card-booking-form {
        width: 100%;
    }

    .booking-form-detail {
        width: 100%;
    }

    .academy-title-container {
        flex-direction: column;
        gap: 20px 20px;
    }

    .academy-heading-container {
        width: 100%;
        padding: 0px;
    }

    .academy-title-image {
        width: 45%;
        align-self: center;
        order: 3;
    }

    .academy-title-cta {
        width: 100%;
        order: 2;
        padding: 0px;
    }

    .academy-video-wrapper {
        padding-top: 400px;
    }

    .academy-stat {
        font-size: 48px;
    }

    .benefit-item {
        font-size: 21px;
    }

    .tournament-grid {
        grid-template-columns: 1fr;
    }

    .card-tournament.main-event {
        min-height: 600px;
    }

    .card-tournament.main-event .tournament-tag-container {
        width: 48%;
    }

    .tournament-event-list {
        flex-direction: column-reverse;
    }

    .tournament-cta-title {
        padding: 20px 10px 20px 20px;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .community-images {
        width: 100%;
        height: 430px !important;
    }

    .card-membership-cta.cta-content {
        gap: 20px 20px;
        padding: 30px 30px 30px 30px;
    }

    .membership-cta-description {
        font-size: 18px;
    }

    .card-testimonial {
        width: 65%;
        padding: 20px 20px 20px 20px;
    }

    .testimonial-side .testimonial-avatar--lg {
        width: 70%;
        height: 70%;
    }

    .testimonial-side .testimonial-avatar--md {
        width: 60%;
        height: 60%;
    }

    .testimonial-side .testimonial-avatar--sm {
        width: 45%;
        height: 45%;
    }

    .testimonial-quote {
        font-size: 18px;
    }

    .testimonial-name {
        font-size: 18px;
    }

    .breadcrumb-icon,
    .breadcrumb-item {
        font-size: 18px;
    }

    .card-contact-cta {
        padding: 50px 50px 50px 50px;
    }

    .contact-cta-content {
        width: 62%;
    }

    .contact-cta-image .image-wrapper {
        margin: 0px -141px 0px 0px;
    }

    .benefit-img {
        height: 275px !important;
    }

    .team-content-wrapper {
        flex-direction: column-reverse;
        gap: 50px 50px;
    }

    .team-title-wrapper {
        position: relative;
        width: 100%;
        top: 0px;
    }

    .team-card-container {
        width: 100%;
    }

    .accordion .accordion-button {
        font-size: 18px;
    }

    .accordion-button:not(.collapsed)::after{
        background-color: #34379452;
    }

    .heading-notfound {
        font-size: 150px;
    }

    .card-blog-category {
        padding: 30px 30px 30px 30px;
    }

    .card-blog-recent {
        padding: 30px 30px 30px 30px;
    }

    .card-blog-tag {
        padding: 30px 30px 30px 30px;
    }

    .post-content-wrapper {
        flex-direction: column;
    }

    .post-main-content {
        width: 100%;
    }

    .post-sidebar-wrapper {
        width: 100%;
    }

    .recent-post-body {
        max-width: 100%;
    }

    .blog-title {
        font-size: 28px;
    }

    .recent-post-image img {
        border-radius: 10px 10px 10px 10px;
    }

    .card-contact-cta.cta-small-banner .cta-image {
        width: 30%;
    }

    .card-contact-cta.cta-small-banner .cta-image .cta-image-container {
        margin: 0px -66px -136px 0px;
    }

    .card-contact-form {
        padding: 30px 30px 30px 30px;
    }

    .footer-copyright-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-logo-container img {
        width: 60%;
    }

    .footer-content-container{
        gap: 30px;
    }
    /* Service Details - Tablet Fixes */
    .service-details-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }

    .service-sidebar {
        position: static;
        width: 100%;
    }
}

/* 02. Mobile Responsive */

@media screen and (max-width: 767px) {

    .nav-btn {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }

    .section {
        padding: 30px 10px;
    }

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 16px;
    }

    h6 {
        font-size: 14px;
    }

    p {
        font-size: 16px;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    button,
    a {
        font-size: 14px;
    }

    .section-wrapper {
        padding: 10px 10px 10px 10px;
    }

    .col:nth-child(even) .card-about-misson {
        margin-bottom: 0px;
    }

    .welcome-about-wrapper{
        grid: none;
        gap: 15px;
    }

    .view-our-service{
        display: none;
    }
    .nav-btn:hover{
        background: #3437947a;
    }

    .banner-home-title {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .banner-home-network {
        flex-direction: column;
        margin: 0;
    }

    .card-banner-reviewer {
        width: 100%;
        order: 1;
    }

    .card-booking-cta {
        width: 100%;
    }

    .reviewer-card-description {
        font-size: 14px;
    }

    .banner-home-social {
        justify-content: right;
        width: 100%;
        order: 2;
        margin-top: 50px;
    }

    .banner-home-social .social-link-banner {
        font-size: 14px;
    }

    .banner-home-bottom {
        flex-direction: column-reverse;
    }

    .banner-home-community-container {
        width: 100%;
    }

    .banner-home-cta-container {
        width: 100%;
        text-align: center;
    }

    .banner-home-cta {
        align-items: center;
    }

    .navbar-container {
        padding: 14px 14px 0px 14px;
    }
    .booking-card .image-container{
        width: 100%;
    }
    .card-image-about{
        display: none;
    }

    /* Force logo + hamburger button onto ONE line */
    .navbar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 10px 14px !important;
    }

    .navbar .logo-container {
        width: auto;
        max-width: 30%;
        flex-shrink: 0;
        padding: 0;
    }

    .navbar-nav-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        flex: 1 !important;
        padding: 0 !important;
    }

    /* The hamburger button stays visible and right-aligned */
    .nav-btn {
        display: block !important;
        margin-left: auto;
        color: #fff;
    }

    .sub-heading-title {
        font-size: 14px;
    }

    .about-description-container {
        padding: 20px 0px 0px 0px;
        border: none;
        border-top: 2px solid var(--accent-color-2);
    }

    .about-highlight-text {
        font-size: 28px;
    }

    .about-highlight-box {
        width: 55%;
        text-align: center;
        margin: 0 auto;
    }

    .booking-process-heading {
        text-align: center;
    }

    .booking-benefit-container {
        width: 100%;
    }

    .booking-tag-container {
        width: 100%;
        justify-content: center;
    }

    .academy-heading-container,
    .academy-title-cta {
        text-align: center;
    }

    .academy-title-image {
        width: 100%;
    }

    .academy-video-wrapper {
        padding-top: 250px;
    }

    .academy-stat {
        font-size: 36px;
    }

    .academy-stat-description {
        text-align: center;
        font-size: 14px;
    }

    .benefit-item {
        font-size: 18px;
    }

    .other-tournament-container {
        grid-template-columns: 1fr;
    }

    .card-tournament.tournament-cta {
        grid-template-columns: 1fr;
    }

    .tournament-cta-title {
        padding: 10px 10px 10px 10px;
        text-align: center;
    }

    .card-tournament.main-event .tournament-tag-container {
        width: 100%;
    }

    .tournament-tag-container {
        width: 100%;
    }

    .testimonial-content-container {
        flex-direction: column;
    }

    .testimonial-side {
        width: 100%;
        flex-direction: row;
    }

    .card-membership-cta.cta-content {
        padding: 20px 20px 20px 20px;
    }

    .card-testimonial {
        width: 100%;
    }

    .testimonial-side .testimonial-avatar--lg {
        width: 20%;
        height: 20%;
    }

    .testimonial-side .testimonial-avatar--md {
        width: 20%;
        height: 20%;
    }

    .testimonial-side .testimonial-avatar--sm {
        width: 25%;
        height: 25%;
    }

    .testimonial-side {
        width: 100%;
        min-height: 130px;
        gap: 50px 50px;
    }

    .testimonial-quote {
        font-size: 16px;
    }

    .testimonial-name {
        font-size: 16px;
    }

    .testimonial-designation {
        font-size: 14px;
    }

    .breadcrumb-icon,
    .breadcrumb-item {
        font-size: 16px;
    }

    .membership-cta-description {
        font-size: 16px;
    }

    .cta-tag-container {
        width: 100%;
    }

    .blog-section .card-blog,
    .card-blog {
        height: auto;
        width: 100%;
        background: transparent !important;
        border: none !important;
    }

    .blog-section .card-blog .blog-image,
    .blog-section .blog-image,
    .blog-image {
        height: 350px;
        width: 100%;
        border-radius: 16px;
        overflow: hidden;
    }

    .blog-section .card-blog .blog-image img,
    .blog-section .blog-image img,
    .blog-image img {
        height: 100%;
        min-height: 100%;
        max-height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 16px;
        display: block;
    }

    .blog-section .blog-content {
        padding: 18px;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .blog-section .blog-content h4 {
        font-size: 17px;
        line-height: 1.35em;
        color: #ffffff !important;
        margin: 0;
    }

    .blog-section .meta-data {
        font-size: 12px;
        color: #ffffff;
        opacity: 0.92;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .blog-section .meta-data i {
        font-size: 12px;
        color: #9d9fff;
    }

    .team-title-container {
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .card-contact-cta {
        flex-direction: column;
        padding: 20px 20px 300px 20px;
        overflow: hidden;
    }

    .contact-cta-content {
        width: 100%;
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    .contact-cta-image {
        width: 100%;
        justify-content: center;
    }

    .contact-cta-image .image-container {
        margin: 0px 0px -65px 0px;
    }

    /* coaching-section mobile centering */
    .coaching-section .card-contact-cta {
        padding: 40px 20px 0px 20px!important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 30px !important;
    }
    .coaching-section .contact-cta-content {
        width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .coaching-section .contact-cta-image {
        position: relative !important;
        width: 100% !important;
        min-height: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        right: auto !important;
        bottom: auto !important;
    }
    .coaching-section .contact-cta-image .image-wrapper {
        margin: 0 !important;
    }
    .coaching-section .contact-cta-image img {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .pricing-benefit-list li {
        font-size: 14px;
    }

    .card-benefit {
        flex-direction: column;
        align-items: center;
    }

    .accordion .accordion-button {
        font-size: 16px;
    }

    .heading-notfound {
        font-size: 100px;
    }

    .blog-title {
        font-size: 22px;
    }

    .chevron-circle-list a {
        font-size: 16px;
    }

    .chevron-circle-list li::before {
        font-size: 16px;
    }

    .chevron-list li::before {
        font-size: 14px;
    }

    .chevron-list a {
        font-size: 14px;
    }

    .card-blog-category {
        padding: 20px 20px 20px 20px;
    }

    .card-blog-recent {
        padding: 20px 20px 20px 20px;
    }

    .card-blog-tag {
        padding: 20px 20px 20px 20px;
    }

    .recent-post-title {
        font-size: 16px;
    }

    .card-contact-cta.cta-small-banner .cta-image {
        width: 46%;
    }

    .card-contact-cta.cta-small-banner .cta-image .cta-image-container {
        margin: 0px -71px -35px 0px;
    }

    .card-contact-form {
        padding: 30px 20px 30px 20px;
    }

    .footer-logo-container {
        justify-content: start;
        align-items: center;
    }

    .footer-logo-container img {
        width: 50%;
        display: block;
    }

    .footer-legalink-container .divider {
        height: 14px;
    }

    .legalink {
        font-size: 14px;
    }

    /* ============================== */
    /* Service Details - Mobile Fixes */
    /* ============================== */

    /* Ensure the whole wrapper fills the screen evenly */
    .service-details-wrapper {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
        overflow-x: hidden;
    }

    .service-details-main {
        width: 100%;
        overflow-x: hidden;
    }

    .service-sidebar {
        width: 100%;
        position: static;
    }

    /* Hero image shorter on mobile */
    .service-details-hero img {
        height: 220px;
    }
    .service-details-hero {
        display: none;
    }

    /* Feature highlights: 1 column on very small, 2 on a bit wider */
    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Gallery: 2 columns on mobile */
    .service-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 20px 0;
    }

    /* Pricing table: make it scrollable so it never stretches the page */
    .service-pricing-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 20px 0;
        width: 100%;
    }

    .service-pricing-table table {
        min-width: 480px; /* keeps columns readable while allowing scroll */
    }

    .service-pricing-table th,
    .service-pricing-table td {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* Inline CTA banner */
    .service-cta-inline {
        padding: 24px 20px;
        margin: 24px 0;
        align-items: flex-start;
    }

    .service-cta-inline h3 {
        font-size: 18px;
    }

    /* FAQ */
    .service-faq {
        margin: 20px 0;
    }

    .service-faq-question {
        font-size: 14px;
        padding: 14px 16px;
    }

    /* Sidebar cards full width */
    .service-sidebar-card {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .sidebar-contact-card {
        padding: 24px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Hours table full width */
    .hours-table {
        width: 100%;
    }

    /* Services nav list */
    .services-nav-list li a {
        font-size: 13px;
        padding: 12px 14px;
    }

    /* ====================================== */
    /* Blog Page - Category Card at Top       */
    /* (mobile only, desktop untouched)       */
    /* ====================================== */

    /* Make sidebar wrapper transparent to flex layout
       so its children participate directly in the
       post-content-wrapper column order */
    .post-sidebar-wrapper {
        display: contents;
    }

    /* Blog posts stay in the middle */
    .post-main-content {
        order: 2;
    }

    /* Category card jumps to the very top */
    .card-blog-category {
        order: 1;
    }

    /* Recent posts and tags drop below blog posts */
    .card-blog-recent,
    .card-blog-tag {
        order: 3;
    }

    /* ================================================ */
    /* Sticky Scroll-Stack Effect                        */
    /* card-service & card-chooseus — Mobile Only        */
    /* ================================================ */

    /* Fix: .section-chooseus has overflow:hidden in main.css
       which completely blocks position:sticky on its children.
       Override it to visible on mobile so sticky works.       */
    .section-chooseus,
    .section-wrapper {
        overflow: visible !important;
    }

    /* Fix: only target the CARDS row (has class w-100),
       NOT the heading/title row in .service-section        */
    .service-section .row.w-100,
    .chooseus-card-container .row {
        overflow: visible !important;
    }

    /* Each col becomes a sticky lane */
    .service-section .row.w-100 > .col,
    .chooseus-card-container .row > .col {
        position: sticky;
        border-radius: 20px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Stagger the top offset so each card parks
       slightly lower than the previous one          */
    .service-section .row.w-100 > .col:nth-child(1),
    .chooseus-card-container .row > .col:nth-child(1) {
        top: 60px;
        z-index: 10;
    }
    .service-section .row.w-100 > .col:nth-child(2),
    .chooseus-card-container .row > .col:nth-child(2) {
        top: 72px;
        z-index: 20;
    }
    .service-section .row.w-100 > .col:nth-child(3),
    .chooseus-card-container .row > .col:nth-child(3) {
        top: 84px;
        z-index: 30;
    }
    .service-section .row.w-100 > .col:nth-child(4),
    .chooseus-card-container .row > .col:nth-child(4) {
        top: 96px;
        z-index: 40;
    }

    /* Cards themselves: rounded corners + shadow */
    .service-section .card-service,
    .chooseus-card-container .card-chooseus {
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        will-change: transform;
        overflow: hidden;
    }

    /* Subtle scale-down on earlier cards to give
       a sense of depth as the next one slides over  */
    .service-section .row.w-100 > .col:nth-child(1) .card-service,
    .chooseus-card-container .row > .col:nth-child(1) .card-chooseus {
        transform-origin: top center;
        transform: scale(0.97);
    }
    .service-section .row.w-100 > .col:nth-child(2) .card-service,
    .chooseus-card-container .row > .col:nth-child(2) .card-chooseus {
        transform-origin: top center;
        transform: scale(0.985);
    }
    .service-section .row.w-100 > .col:nth-child(3) .card-service,
    .chooseus-card-container .row > .col:nth-child(3) .card-chooseus {
        transform-origin: top center;
        transform: scale(0.993);
    }
    .service-section .row.w-100 > .col:nth-child(4) .card-service,
    .chooseus-card-container .row > .col:nth-child(4) .card-chooseus {
        transform-origin: top center;
        transform: scale(1);
    }
}

/* 03. Table Spacing Responsive */

@media screen and (min-width: 1025px) {

    /* Flex spacing (gap) */
    .gspace-xl-0 {
        gap: 0px 0px;
    }

    .gspace-xl-1 {
        gap: 10px 10px;
    }

    .gspace-xl-2 {
        gap: 20px 20px;
    }

    .gspace-xl-3 {
        gap: 30px 30px;
    }

    .gspace-xl-4 {
        gap: 40px 40px;
    }

    .gspace-xl-5 {
        gap: 50px 50px;
    }

    .gspace-xl-100 {
        gap: 100px 100px;
    }

    /* Grid spacing (column-gap) */

    .gspace-x-xl-0 {
        column-gap: 0px;
    }

    .gspace-x-xl-1 {
        column-gap: 10px;
    }

    .gspace-x-xl-2 {
        column-gap: 20px;
    }

    .gspace-x-xl-3 {
        column-gap: 30px;
    }

    .gspace-x-xl-4 {
        column-gap: 40px;
    }

    .gspace-x-xl-5 {
        column-gap: 50px;
    }

    .gspace-x-xl-100 {
        column-gap: 100px;
    }

    /* Grid spacing (row-gap) */

    .gspace-y-xl-0 {
        row-gap: 0px;
    }

    .gspace-y-xl-1 {
        row-gap: 10px;
    }

    .gspace-y-xl-2 {
        row-gap: 20px;
    }

    .gspace-y-xl-3 {
        row-gap: 30px;
    }

    .gspace-y-xl-4 {
        row-gap: 40px;
    }

    .gspace-y-xl-5 {
        row-gap: 50px;
    }

    .gspace-y-xl-100 {
        row-gap: 100px;
    }

    /* Grid spacing (row-gap & column-gap) */

    .grid-spacer-xl-0 {
        --bs-gutter-x: 0px;
        --bs-gutter-y: 0px;
    }

    .grid-spacer-xl-1 {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 10px;
    }

    .grid-spacer-xl-2 {
        --bs-gutter-x: 20px;
        --bs-gutter-y: 20px;
    }

    .grid-spacer-xl-3 {
        --bs-gutter-x: 30px;
        --bs-gutter-y: 30px;
    }

    .grid-spacer-xl-4 {
        --bs-gutter-x: 40px;
        --bs-gutter-y: 40px;
    }

    .grid-spacer-xl-5 {
        --bs-gutter-x: 50px;
        --bs-gutter-y: 50px;
    }

    .grid-spacer-xl-100 {
        --bs-gutter-x: 100px;
        --bs-gutter-y: 100px;
    }

    /* Grid spacing (column-gap) */

    .grid-spacer-x-xl-0 {
        --bs-gutter-x: 0px;
    }

    .grid-spacer-x-xl-1 {
        --bs-gutter-x: 10px;
    }

    .grid-spacer-x-xl-1 {
        --bs-gutter-x: 10px;
    }

    .grid-spacer-x-xl-2 {
        --bs-gutter-x: 20px;
    }

    .grid-spacer-x-xl-3 {
        --bs-gutter-x: 30px;
    }

    .grid-spacer-x-xl-4 {
        --bs-gutter-x: 40px;
    }

    .grid-spacer-x-xl-5 {
        --bs-gutter-x: 50px;
    }

    .grid-spacer-x-xl-100 {
        --bs-gutter-x: 100px;
    }

    /* Grid spacing (row-gap) */

    .grid-spacer-y-xl-0 {
        --bs-gutter-y: 0px;
    }

    .grid-spacer-y-xl-1 {
        --bs-gutter-y: 10px;
    }

    .grid-spacer-y-xl-1 {
        --bs-gutter-y: 10px;
    }

    .grid-spacer-y-xl-2 {
        --bs-gutter-y: 20px;
    }

    .grid-spacer-y-xl-3 {
        --bs-gutter-y: 30px;
    }

    .grid-spacer-y-xl-4 {
        --bs-gutter-y: 40px;
    }

    .grid-spacer-y-xl-5 {
        --bs-gutter-y: 50px;
    }

    .grid-spacer-y-xl-100 {
        --bs-gutter-y: 100px;
    }
}

/* 04. Mobile Spacing Responsive */

@media screen and (min-width: 767px) {

    /* Flex spacing (gap) */

    .gspace-md-0 {
        gap: 0px 0px;
    }

    .gspace-md-1 {
        gap: 10px 10px;
    }

    .gspace-md-2 {
        gap: 20px 20px;
    }

    .gspace-md-3 {
        gap: 30px 30px;
    }

    .gspace-md-4 {
        gap: 40px 40px;
    }

    .gspace-md-5 {
        gap: 50px 50px;
    }

    .gspace-md-100 {
        gap: 100px 100px;
    }

    /* Grid spacing (column-gap) */

    .gspace-x-md-0 {
        column-gap: 0px;
    }

    .gspace-x-md-0 {
        column-gap: 0px;
    }

    .gspace-x-md-1 {
        column-gap: 10px;
    }

    .gspace-x-md-2 {
        column-gap: 20px;
    }

    .gspace-x-md-3 {
        column-gap: 30px;
    }

    .gspace-x-md-4 {
        column-gap: 40px;
    }

    .gspace-x-md-5 {
        column-gap: 50px;
    }

    .gspace-x-md-100 {
        column-gap: 100px;
    }

    /* Grid spacing (row-gap) */

    .gspace-y-md-0 {
        row-gap: 0px;
    }

    .gspace-y-md-1 {
        row-gap: 10px;
    }

    .gspace-y-md-2 {
        row-gap: 20px;
    }

    .gspace-y-md-3 {
        row-gap: 30px;
    }

    .gspace-y-md-4 {
        row-gap: 40px;
    }

    .gspace-y-md-5 {
        row-gap: 50px;
    }

    .gspace-y-md-100 {
        row-gap: 100px;
    }

    /* Grid spacing (row-gap & column-gap) */

    .grid-spacer-md-1 {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 10px;
    }

    .grid-spacer-md-2 {
        --bs-gutter-x: 20px;
        --bs-gutter-y: 20px;
    }

    .grid-spacer-md-3 {
        --bs-gutter-x: 30px;
        --bs-gutter-y: 30px;
    }

    .grid-spacer-md-4 {
        --bs-gutter-x: 40px;
        --bs-gutter-y: 40px;
    }

    .grid-spacer-md-5 {
        --bs-gutter-x: 50px;
        --bs-gutter-y: 50px;
    }

    .grid-spacer-md-100 {
        --bs-gutter-x: 100px;
        --bs-gutter-y: 100px;
    }

    /* Grid spacing (column-gap) */

    .grid-spacer-x-md-0 {
        --bs-gutter-x: 0px;
    }

    .grid-spacer-x-md-1 {
        --bs-gutter-x: 10px;
    }

    .grid-spacer-x-md-2 {
        --bs-gutter-x: 20px;
    }

    .grid-spacer-x-md-3 {
        --bs-gutter-x: 30px;
    }

    .grid-spacer-x-md-4 {
        --bs-gutter-x: 40px;
    }

    .grid-spacer-x-md-5 {
        --bs-gutter-x: 50px;
    }

    .grid-spacer-x-md-100 {
        --bs-gutter-x: 100px;
    }

    /* Grid spacing (row-gap) */

    .grid-spacer-y-md-0 {
        --bs-gutter-y: 0px;
    }

    .grid-spacer-y-md-1 {
        --bs-gutter-y: 10px;
    }

    .grid-spacer-y-md-2 {
        --bs-gutter-y: 20px;
    }

    .grid-spacer-y-md-3 {
        --bs-gutter-y: 30px;
    }

    .grid-spacer-y-md-4 {
        --bs-gutter-y: 40px;
    }

    .grid-spacer-y-md-5 {
        --bs-gutter-y: 50px;
    }

    .grid-spacer-y-md-100 {
        --bs-gutter-y: 100px;
    }
}

/* ==================================================== */
/* Responsive Rules: 768px to 991px & 992px to 1300px */
/* ==================================================== */

/* 1. Medium / Tablet Devices (768px - 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    /* Navbar Container */
    .navbar-container {
        padding: 33px 33px 0px 33px !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .navbar-container .hero-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .navbar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 10px 16px !important;
        border-radius: 16px !important;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar .logo-container {
        width: auto !important;
        max-width: 130px;
        flex-shrink: 0;
        padding: 0 !important;
        display: flex;
        align-items: center;
    }

    .navbar .logo-container img {
        max-height: 38px;
        width: auto;
        object-fit: contain;
    }

    .navbar-nav-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        flex: 1 !important;
        padding: 0 !important;
        gap: 12px;
    }

    .navbar .nav-link-container {
        display: none !important;
    }

    .navbar-cta-container {
        display: none !important;
    }

    .nav-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        color: #fff;
    }

    /* Blog Section */
    .blog-section .blog-title-container h2 {
        font-size: 38px;
    }

    .blog-section .card-blog {
        height: 100%;
        background: transparent !important;
        border: none !important;
    }

    .blog-section .card-blog .blog-image,
    .blog-section .blog-image {
        height: 360px;
        width: 100%;
        border-radius: 17px;
        overflow: hidden;
    }

    .blog-section .card-blog .blog-image img,
    .blog-section .blog-image img {
        min-height: 100%;
        height: 100%;
        max-height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 17px;
        display: block;
    }

    .blog-section .blog-content {
        padding: 20px;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .blog-section .blog-content h4 {
        font-size: 18px;
        line-height: 1.35em;
        color: #ffffff !important;
        margin: 0;
    }

    .blog-section .meta-data {
        font-size: 13px;
        color: #ffffff;
        opacity: 0.92;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .blog-section .meta-data i {
        font-size: 13px;
        color: #9d9fff;
    }

    /* Display only first 2 cards on tablet (768px - 991px) */
    .blog-section .row-cols-md-2 > .col:nth-child(n+3),
    .blog-section .row > .col:nth-child(n+3) {
        display: none !important;
    }

    .booking-card .image-container{
        width: 100%;
    }
    .section{
        padding: 60px 10px 60px 10px;
    }
    .card-image-about{
        display:none;
    }
    .service-details-hero {
        display: none;
    }
}

/* 2. Small Desktop / Laptop Devices (992px - 1300px) */
@media screen and (min-width: 992px) and (max-width: 1300px) {
    /* Navbar Container */
    .navbar-container {
        padding: 30px 30px 0px 30px !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .navbar-container .hero-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .navbar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 8px 16px !important;
        border-radius: 18px !important;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar .logo-container {
        width: auto !important;
        max-width: 130px;
        flex-shrink: 0;
        padding: 0 10px 0 0 !important;
        display: flex;
        align-items: center;
    }

    .navbar .logo-container img {
        max-height: 40px;
        width: auto;
        object-fit: contain;
    }

    .navbar-nav-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        flex: 1 !important;
        width: auto !important;
        padding: 0 !important;
        gap: 10px !important;
    }

    .navbar .nav-link-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        flex: 1 !important;
    }

    .navbar .navbar-collapse {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        flex-basis: auto !important;
        flex-grow: 1 !important;
        width: auto !important;
    }

    .navbar .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        margin: 0 !important;
    }

    .navbar .nav-item {
        display: inline-flex !important;
        align-items: center;
        white-space: nowrap !important;
    }

    .nav-link {
        font-size: 14px !important;
        padding: 6px 10px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px;
    }

    .nav-btn {
        display: none !important;
    }

    .navbar-cta-container {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }

    .navbar-cta-container .btn {
        padding: 8px 12px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-right: 20px;
    }

    .navbar-cta-container .btn .btn-title {
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .navbar-cta-container .icon-circle {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Blog Section */
    /* Ensure 3-column layout is maintained smoothly across 992px-1300px */
    .blog-section .row-cols-xl-3 > .col {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .blog-section .card-blog {
        height: 100%;
        background: transparent !important;
        border: none !important;
    }

    .blog-section .card-blog .blog-image,
    .blog-section .blog-image {
        height: 380px;
        width: 100%;
        border-radius: 18px;
        overflow: hidden;
    }

    .blog-section .card-blog .blog-image img,
    .blog-section .blog-image img {
        min-height: 100%;
        height: 100%;
        max-height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 18px;
        display: block;
    }

    .blog-section .blog-content {
        padding: 20px;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .blog-section .blog-content h4 {
        font-size: 17px;
        line-height: 1.35em;
        color: #ffffff !important;
        margin: 0;
    }

    .blog-section .meta-data {
        font-size: 12px;
        color: #ffffff;
        opacity: 0.92;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .blog-section .meta-data i {
        font-size: 12px;
        color: #9d9fff;
    }
    .service-details-hero {
        display: none;
    }
}

/* 3. Small Mobile Devices (<= 480px) */
@media screen and (max-width: 480px) {
    .blog-section .card-blog .blog-image,
    .blog-section .blog-image,
    .blog-image {
        height: 300px;
    }

    .blog-section .blog-content {
        padding: 16px;
        gap: 8px;
    }

    .blog-section .blog-content h4 {
        font-size: 16px;
        line-height: 1.3em;
    }
    .service-feature-icon img{
        width: 42px;
        height: 42px;
    }
}

/* 4. Footer Layout (768px - 1300px): Place Quick Links & Contact Info in the same right column */
@media screen and (min-width: 768px) and (max-width: 1300px) {
    .footer-content-container .row {
        display: grid !important;
        grid-template-columns: 1.15fr 1fr !important;
        gap: 40px 30px !important;
    }

    .footer-content-container .row > .col:nth-child(1) {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .footer-content-container .row > .col:nth-child(2) {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .footer-content-container .row > .col:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }
}
