/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(219, 15, 14, 0.2);
    /* Light red border */
    border-top-color: #DB0F0E;
    /* Solid red border */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Standard Section Spacing */
.section-padding {
    padding: 50px 0;
}

.section-title-margin {
    margin-bottom: 50px !important;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .section-title-margin {
        margin-bottom: 30px !important;
    }
}

body,
.description {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

p,
.intro-text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #1e1b1b;
    line-height: 37px;
    margin-bottom: 30px;
    text-align: left;
}

/* Global Heading Styles for Upcoming Design Concept */
h1,
h2,
h3,
h4,
h5,
h6,
.main-title,
.global-heading {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    line-height: 1.3em;
}

/* Specific main title override to match requested 45px size */
h1,
h2,
.main-title,
.global-heading-large {
    font-size: 45px;
}

.head-one {
    font-size: 40px !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/home-banner.jpg') center/cover no-repeat;
    background-color: #ddd;
    min-height: 70vh;
}

/* Top Bar */
.top-bar {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #0000003D;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Custom Icons */
.custom-icon {
    font-size: 26px !important;
    color: #850909;
}

.text-theme {
    color: #DB0F0E !important;
}

.main-header .nav-link:hover,
.main-header .nav-link:focus {
    color: #DB0F0E !important;
}

/* Page Banner */
.page-banner {
    background-color: #DB0F0E;
    background-image: linear-gradient(90deg, #DB0F0E 50%, rgba(219, 15, 14, 0.8) 100%);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 0;
}

/* Custom Menu Links */
.custom-menu-link {
    color: #C50C0C !important;
    transition: color 0.3s ease;
}

.custom-menu-link:hover,
.custom-menu-link.active {
    color: #000 !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    color: #850909;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.5px;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
}

.contact-item .material-symbols-outlined {
    color: #850909;
    font-size: 20px;
}

/* Navigation */
.main-nav {
    padding: 20px 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #850909;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.nav-links a .arrow {
    font-size: 18px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #111;
}

/* Floating Right Sidebar */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #850909;
    display: flex;
    flex-direction: column;
    z-index: 100;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.floating-sidebar a {
    color: white;
    padding: 15px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.floating-sidebar a:last-child {
    border-bottom: none;
}

.floating-sidebar a:hover {
    background: #b50c0c;
}

/* Intro Section */
.intro-section {
    padding: 60px 20px 80px;
    text-align: center;
    background: white;
}

.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    color: #381A1A;
    /* Dark brownish color matching the design */
    font-size: 45px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

.intro-text {
    max-width: 1250px;
    margin: 0 auto 35px auto;
    color: #1e1b1b;
    font-size: 16px;
    line-height: 37px;
    text-align: left;
}

.intro-text strong {
    font-weight: 700;
    color: #111;
}

/* Read More Button */
.btn-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #DB0F0E;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    padding: 20px 50px;
    border-radius: 50px;
    margin: 20px;
    border: 1px solid #000000;
    transition: all 0.3s ease;
    will-change: transform;
}

.btn-read-more:hover {
    background-color: #B11313;
}

.hover-icon {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-15px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-read-more:hover .hover-icon {
    max-width: 40px;
    /* enough space for the icon */
    opacity: 1;
    transform: translateX(0);
    margin-right: 5px;
}

/* Info Cards Section */
.info-cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 1250px;
    margin: 40px auto 0;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    padding: 40px 60px !important;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-3px);
}

.card-icon {
    font-size: 68px;
    color: #DB0F0E !important;
    margin-bottom: 15px;
    font-variation-settings: 'FILL' 1, 'wght' 700;
}

.card-title {
    font-size: 22px !important;
    font-weight: 700;
    color: #000 !important;
    text-align: center;
    white-space: nowrap;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 1250px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: transparent;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
    transform: scale(0.92);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 380px;
    width: 100%;
}

/* Mobile: increase flip card height so content doesn't overflow */
@media (max-width: 575px) {
    .service-flip-card {
        height: 430px;
    }
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s;
    transform-style: preserve-3d;
}

.service-flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Front Styling */
.flip-card-front .service-img-container {
    padding: 0;
    width: 100%;
    height: 240px;
}

/* Restore desktop decorative padding only on large screens */
@media (min-width: 992px) {
    .flip-card-front .service-img-container {
        padding: 40px 120px 15px 120px;
    }
}

/* Tablet — moderate padding so image still shows well */
@media (min-width: 576px) and (max-width: 991px) {
    .flip-card-front .service-img-container {
        padding: 20px 60px 10px 60px;
    }
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 10px 25px 25px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
}

.service-title {
    font-size: 30px !important;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
}

.service-desc {
    text-align: center;
    font-size: 15px;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

/* Back Styling */
.flip-card-back {
    transform: rotateY(180deg);
    position: relative;
}

.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.flip-card-back .service-hover-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-back .service-title {
    color: #fff !important;
    font-size: 32px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 42%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.karate-mascot {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.karate-mascot:hover {
    transform: scale(1.05);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

/* Footer Section */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    margin-top: 50px;
    padding: 60px 0 20px;
    font-size: 15px;
}

.site-footer .footer-logo {
    max-width: 140px;
    margin-bottom: 20px;
}

.site-footer p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.site-footer h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #DB0F0E;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.footer-socials a:hover {
    opacity: 0.8;
}

.bg-facebook {
    background-color: #3b5998;
}

.bg-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.bg-linkedin {
    background-color: #0077b5;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    font-size: 16px;
    color: #ffffff !important;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: color 0.3s ease;
}

/* Ensure white footer links on all screen sizes */
@media (max-width: 767px) {
    .footer-links a {
        color: #ffffff !important;
    }
}

.footer-links a:hover {
    color: #DB0F0E;
}

.footer-links .material-symbols-outlined {
    font-size: 11px;
    color: #000;
    background-color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    color: #aaaaaa;
}

.footer-bottom span {
    color: #DB0F0E;
}

/* Diagonal Banner */
.diagonal-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #DB0F0E;
    display: flex;
    overflow: hidden;
}

.diagonal-banner .banner-content {
    width: 70%;
    display: flex;
    align-items: center;
    padding-left: 10%;
    z-index: 2;
}

.diagonal-banner .banner-content h1 {
    color: #fff;
    font-size: 65px;
    font-weight: 800;
    margin: 0;
}

.diagonal-banner .banner-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    z-index: 1;
}

.diagonal-banner .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 35% 100%);
}

@media (max-width: 768px) {
    .diagonal-banner {
        height: 300px;
    }

    .diagonal-banner .banner-content {
        width: 100%;
        justify-content: center;
        padding-left: 0;
        z-index: 3;
    }

    .diagonal-banner .banner-image {
        width: 100%;
        opacity: 0.3;
    }

    .diagonal-banner .banner-image img {
        clip-path: none;
    }
}

/* About Page Content */
.about-main-title {
    font-size: 40px;
    font-weight: 700;
    color: #000000;
}

.title-underline {
    width: 50px;
    height: 2px;
    background-color: #DB0F0E;
    margin-top: 15px;
}

.about-text-content p {
    margin-bottom: 25px;
}

.about-sub-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
}

.about-review-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
}

.bg-youtube {
    background-color: #c4302b;
}

/* Instructor Cards */
.instructor-card {
    display: flex;
    align-items: flex-start;
    border: 1px solid #B11313;
    border-radius: 12px;
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    gap: 30px;
}

.instructor-card.reverse {
    flex-direction: row-reverse;
}

.instructor-image {
    width: 280px;
    height: 280px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.instructor-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.instructor-name {
    color: #B11313;
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
}

.instructor-title {
    font-family: 'Lato';
    color: black;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.6;
}

.instructor-credentials {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instructor-credentials li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 17px;
    color: #444;
    line-height: 1.7;
}

.instructor-credentials li::before {
    content: 'chevron_right';
    font-family: 'Material Symbols Outlined';
    font-weight: bold;
    color: #fff;
    background-color: #DB0F0E;
    border-radius: 50%;
    font-size: 14px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 768px) {

    .instructor-card,
    .instructor-card.reverse {
        flex-direction: column;
        text-align: center;
    }

    .instructor-image {
        width: 100%;
        height: auto;
        max-width: 320px;
        aspect-ratio: 1;
    }

    .instructor-credentials li {
        text-align: left;
    }
}

/* News & Events Page Classes */
.news-grid-container {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    max-width: 1250px;
    margin: 0 auto;
}

.news-col-border {
    border-color: #eaeaea !important;
}

.news-card-img {
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    height: auto;
}

.news-card-title {
    color: #B11313 !important;
    font-family: 'Lato', sans-serif;
    font-size: 24px !important;
    font-weight: 700;
}

.news-card-divider {
    width: 60%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 20px auto;
}

.news-social-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #B11313 !important;
    color: #B11313 !important;
}

.news-card-body {
    font-size: 15px;
    color: #545454;
    line-height: 2;
}

/* Gallery Hover Effect */
.gallery-img-wrapper {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    background-color: #fff;
}

.gallery-img-wrapper img {
    width: 100%;
    object-fit: cover;
    /* cover looks best with grid and zoom */
    height: 300px;
    /* fixed height makes the grid look uniform */
    transition: transform 0.4s ease;
    display: block;
}

.gallery-img-wrapper:hover img {
    transform: scale(1.08);
}

/* Contact Us Page Classes */
.contact-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    border: 1px solid #eaeaea;
}

.contact-title {
    color: black;
    font-size: 30px;
    font-weight: 700;
}

.contact-info-link {
    padding-top: 8px;
    font-size: 17px;
    font-weight: 500;
}

.contact-icon {
    color: #B11313;
}

.contact-map-wrapper {
    border-radius: 4px;
    overflow: hidden;
}

.contact-input {
    padding: 12px;
    border-color: #ddd;
}

.contact-recaptcha-mock {
    width: 300px;
    max-width: 100%;
    background: #f9f9f9;
    border-color: #ddd !important;
}

.contact-btn {
    background-color: #B11313;
    border-radius: 4px;
}

.contact-btn:hover {
    background-color: #cf1515 !important;
    border-radius: 4px;
}

/* Shotokan Zoom Out Effect */
.shotokan-img-box {
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    border-right: 1px solid #eaeaea;
}

.shotokan-img {
    transition: transform 0.5s ease;
    transform: scale(1.1);
    /* Start zoomed in */
}

.shotokan-img-box:hover .shotokan-img {
    transform: scale(1);
    /* Zoom out on hover */
}

.shotokan-text {
    font-size: 16px;
    color: #545454;
    line-height: 2;
    text-align: justify;
}

.shotokan-keyword {
    color: #B11313;
    font-weight: bold;
}

.shotokan-content-box {
    padding: 1rem !important;
}

/* Hover Dropdown for Desktop */
@media (min-width: 992px) {
    .hover-dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0 !important;
    }
}

/* Menu Zoom Effect on Hover */
.navbar-nav .nav-link {
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    transform: scale(1.05);
}

.dropdown-item {
    transition: color 0.3s ease, background-color 0.3s ease;
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
    line-height: 1.6;
}

.dropdown-item:hover {
    color: #B11313 !important;
    background-color: transparent;
    /* Or a light grey if you prefer, but typical is transparent with text color change */
}

/* Branch Page Styles */
.branch-title-prefix {
    font-size: 45px !important;
}

.branch-title-highlight {
    color: #B11313 !important;
    border-color: #000 !important;
    font-size: 32px !important;
    font-weight: 600 !important;
}

.branch-card {
    border-radius: 4px;
    overflow: hidden;
}

.branch-info-title {
    font-size: 22px;
}

.branch-info-icon {
    font-size: 20px;
}

.branch-info-icon-lg {
    font-size: 22px;
}

.branch-info-text {
    line-height: 1.6;
    font-size: 17px;
    font-weight: 500;
}

.branch-qr-img {
    width: 140px;
    border: 1px solid #eaeaea;
    padding: 5px;
    border-radius: 4px;
}

.branch-map-box {
    min-height: 400px;
    border: 1px solid #eaeaea;
    border-radius: 2px;
}

.branch-map-container iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px;
    display: block;
}

/* Floating Sidebar Styles */
.floating-sidebar {
    background-color: #da251d;
    overflow: visible;
    right: 0;
    transform: translateY(-50%) translateX(calc(100% - 50px));
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
}

.floating-sidebar:hover {
    transform: translateY(-50%) translateX(0);
}

.floating-item {
    transition: background-color 0.3s;
    width: max-content;
    min-width: 220px;
    height: 50px;
    padding: 0 !important;
    justify-content: flex-start !important;
}

.floating-item:hover {
    background-color: #b11313;
}

.floating-icon-container {
    width: 50px;
    height: 100%;
    flex-shrink: 0;
    text-align: center;
    font-size: 20px;
}

.floating-text {
    opacity: 1;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    font-size: 15px;
    letter-spacing: 0.3px;
    padding-left: 5px;
    padding-right: 25px;
}

.floating-social-dropdown {
    visibility: hidden;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    background-color: transparent;
}

.floating-social-dropdown a {
    transition: background-color 0.3s;
}

.floating-social-dropdown a:hover {
    background-color: #b11313 !important;
}

.floating-share:hover .floating-social-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}



/* FAQ Page Styles */
.faq-accordion .accordion-item {
    border: 1px solid #eaeaea !important;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background-color: #fff;
    color: #000;
    padding: 0;
    box-shadow: none !important;
    font-size: 16px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #000;
    box-shadow: none;
    border-bottom: 1px solid #eaeaea;
}

/* Customizing the accordion arrow to + and - */
.faq-accordion .accordion-button::after {
    background-image: none !important;
    content: '\002B';
    /* Plus sign */
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    transform: none !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 25px;
    color: #000 !important;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    content: '\2212';
    /* Minus sign */
}

.faq-icon {
    font-size: 18px;
    color: #000;
}

.faq-question {
    font-weight: 600;
}

.faq-accordion .accordion-body {
    padding: 25px;
    font-size: 17px;
    color: #000;
    line-height: 1.8;
}

/* FAQ Mobile Responsiveness */
@media (max-width: 768px) {
    /* Allow question text to wrap properly */
    .faq-accordion .accordion-button {
        align-items: flex-start;
    }

    .faq-question {
        font-size: 15px !important;
        text-align: left;
        word-break: break-word;
        min-width: 0;
        flex: 1;
        padding-top: 12px;
        padding-bottom: 12px;
        line-height: 1.5;
    }

    /* Shrink the icon box on mobile */
    .faq-icon-box {
        width: 50px !important;
        min-height: 50px !important;
        flex-shrink: 0;
    }

    /* Reduce the +/- padding so it doesn't push text off screen */
    .faq-accordion .accordion-button::after {
        padding-right: 12px;
        font-size: 20px;
    }

    .faq-accordion .accordion-body {
        padding: 15px;
        font-size: 15px;
    }
}

/* Mobile Sidebar — expand on 1st tap, navigate on 2nd tap (natural :hover touch behavior) */
@media (max-width: 768px) {
    /* Social dropdown: show on tap */
    .floating-share:active .floating-social-dropdown,
    .floating-share:focus-within .floating-social-dropdown {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Navigation Tweaks */
.navbar-toggler-icon {
    display: inline-block;
    width: 1.8em;
    height: 1.8em;
}

@media (max-width: 991px) {
    #homeNavbar {
        background-color: #ffffff !important;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .home-nav-list {
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .home-nav-list {
        gap: 75px;
    }
}

/* Pure white hamburger icon for navbar-dark */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Change hamburger to close icon when expanded */
.navbar-light .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
    background-size: 1.2em;
    background-repeat: no-repeat;
    background-position: center;
}

.navbar-dark .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
    background-size: 1.2em;
    background-repeat: no-repeat;
    background-position: center;
}

/* =============================================
   Mobile Global Font Size +2px Increase
   ============================================= */
@media (max-width: 768px) {
    /* Raise root so inherited / em-based sizes scale up */
    html {
        font-size: 18px; /* browser default 16px + 2px */
    }

    /* Body / general paragraph text */
    body,
    p,
    li,
    td,
    th,
    label,
    input,
    select,
    textarea,
    button {
        font-size: 16px; /* was ~14px default, now 16px */
    }

    /* Navigation links */
    .nav-link,
    .custom-menu-link,
    .dropdown-item {
        font-size: 16px;
    }

    /* Footer text */
    .site-footer p,
    .site-footer li {
        font-size: 17px; /* was 15px */
    }

    .footer-links a {
        font-size: 18px; /* was 16px */
    }

    /* Service cards */
    .service-desc {
        font-size: 17px; /* was 15px */
    }

    /* FAQ accordion */
    .faq-question {
        font-size: 18px; /* was ~16px */
    }

    .faq-accordion .accordion-body {
        font-size: 19px; /* was 17px */
    }

    /* Intro / general content text */
    .intro-text {
        font-size: 18px; /* was 16px */
    }

    /* Contact / info text */
    .contact-item span {
        font-size: 18px; /* was 16px */
    }
}