
/* =========================================
   ACCE - Professional Association Theme
   ========================================= */

:root {
    --acce-primary: #0b2d50;
    --acce-secondary: #1769aa;
    --acce-accent: #e5a12a;
    --acce-text: #4b5563;
    --acce-heading: #0b2d50;
    --acce-light: #f5f8fc;
    --acce-white: #ffffff;
}

/* Global */
body {
    color: var(--acce-text);
    background: var(--acce-white);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--acce-heading);
}

/* Buttons */
.header-button a,
a.hero-button,
a.service-button {
    background: var(--acce-secondary);
    border-color: var(--acce-secondary);
    color: var(--acce-white);
}

.header-button a:hover,
a.hero-button:hover {
    color: var(--acce-secondary);
}

/* Section Headings */
.section-title h1 {
    color: var(--acce-primary);
}

.section-title.inner h4 {
    color: var(--acce-secondary);
}

p.section-text {
    color: var(--acce-primary);
}

/* About Section */
.about-area {
    background-color: var(--acce-white);
}

.about-list-item ul li i {
    color: var(--acce-secondary);
}

/* Service Cards */
.service-area {
    background-color: var(--acce-light);
}

.service-content:before {
    background: var(--acce-secondary);
}

.service-content a:hover {
    color: var(--acce-secondary);
}

/* Dark Sections */
.project-area {
    background-color: var(--acce-primary);
}

.project-content {
    background: var(--acce-primary);
}



/* Footer */
.footer-area {
    background-color: var(--acce-primary);
}

.footer-widget-menu ul li a:hover,
.footer-widget-contact ul li a:hover {
    color: var(--acce-accent);
}

.footer-social-icon ul li i:hover {
    background: var(--acce-secondary);
}

/* Member Spotlight */
.member-spotlight-title {
    text-align: center;
    margin-bottom: 35px;
}

.member-spotlight-title h2 {
    color: var(--acce-primary);
    font-size: 32px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 991px) {
    .member-spotlight-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .member-spotlight-title h2 {
        font-size: 24px;
    }

    .section-title h1 {
        font-size: 38px;
        line-height: 1.2;
    }

    p.section-text {
        font-size: 18px;
        margin-top: 20px;
    }
}


}

/* Header Button */
.header-button a {
    background: #1769aa;
    color: #ffffff;
    border: 1px solid #1769aa;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Button Hover */
.header-button a:hover {
    background: #0b2d50;
    color: #ffffff;
    border-color: #0b2d50;
}
/* HERO */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-style .slide-bg-image {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Text */
.hero-style .hero-content {
    position: absolute;
    left: 6%;
    top: 50%;
    transform: translateY(-50%);
    width: 42%;
    z-index: 2;
}

.hero-style .hero-content h1 {
    color: #07358c;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-style .hero-content p {
    color: #07358c;
    font-size: 22px;
    line-height: 1.5;
    margin: 0;
}

/* Tablet */
@media (max-width: 991px) {
    .hero-style .slide-bg-image {
        min-height: 500px;
    }

    .hero-style .hero-content {
        left: 5%;
        width: 45%;
    }

    .hero-style .hero-content h1 {
        font-size: 40px;
    }

    .hero-style .hero-content p {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-style .slide-bg-image {
        min-height: 480px;
        background-position: center;
    }

    .hero-style .hero-content {
        left: 25px;
        top: 40px;
        transform: none;
        width: calc(100% - 50px);
    }

    .hero-style .hero-content h1 {
        font-size: 32px;
    }

    .hero-style .hero-content p {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* =========================================
   ABOUT SECTION
========================================= */

.about-area {
    background: #fff;
    padding: 65px 0 30px !important;
}

/* Heading */
.about-area .section-title h1 {
    color: #064a9b;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
}

.about-area .section-text {
    color: #555;
    font-size: 17px;
    line-height: 1.5;
}

/* Description */
.about-area .about-desc {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

/* List */
.about-area .about-list-item ul {
    list-style: none;
    padding: 0;
}

.about-area .about-list-item li {
    color: #064a9b;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-area .about-list-item li i {
    color: #d71920;
    margin-right: 10px;
}

/* Images */
.about-area .single-about-thumb-left img {
    max-width: 100%;
    height: auto;
}

.about-area .about-association-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}


/* =========================================
   TABLET + MOBILE
========================================= */

@media (max-width: 991px) {

    .about-area {
        padding: 55px 0 30px !important;
    }

    /* Heading gets full row */
    .about-area .row:first-child > .col-lg-9,
    .about-area .row:first-child > .col-lg-3 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .about-area .section-title h1 {
        font-size: 30px;
    }

    /* Button moves below heading */
    .about-area .section-button {
        text-align: left;
        margin-top: 15px;
    }

    .about-area .about-association-img {
        height: 350px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .about-area {
        padding: 45px 0 25px !important;
    }

    .about-area .section-title h1 {
        font-size: 26px;
        line-height: 1.25;
    }

    .about-area .section-text {
        font-size: 15px;
    }

    .about-area .section-button {
        margin-top: 12px;
    }

    .about-area .section-button a {
        padding: 11px 20px;
    }

    .about-area .about-desc {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-area .about-association-img {
        height: auto;
        margin-top: 25px;
    }
}



/* =========================================
   ACCE NAVIGATION - FINAL THEME
========================================= */

/* Main Header */
.header-area {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

/* Navigation Links */
.header-menu ul li a {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Navigation Hover */
.header-menu ul li a:hover,
.header-menu ul li i:hover {
    color: #d71920;
}

/* Dropdown Menu */
.header-menu ul li .sub-menu {
    background: #ffffff;
    border-top: 2px solid #d71920;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
}

/* Dropdown Links */
.header-menu ul li .sub-menu li a {
    color: #000000;
    background: #ffffff;
}

/* Dropdown Hover */
.header-menu ul li .sub-menu li a:hover {
    color: #d71920;
    background: #ffffff;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .header-area {
        background: #ffffff;
    }

    .header-menu ul li a {
        color: #000000;
    }

    .header-menu ul li a:hover {
        color: #d71920;
    }
}

/* =========================================
   TOP BAR - RESPONSIVE DESIGN
========================================= */

/* Desktop and Laptop */
.top-bar-area {
    background: #07358C !important;
    min-height: 48px !important;
    height: auto !important;
    padding: 0 !important;
    position: relative;
}

/* Left Side Colour */
.top-bar-area:before {
    background: #D71920 !important;
}

/* Email Alignment */
.top-bar-area .top-bar-info {
    display: flex;
    align-items: center;
    min-height: 48px;
    height: auto;
}

.top-bar-area .top-bar-info ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-bar-area .top-bar-info ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
}

.top-bar-area .top-bar-info ul li i {
    color: #ffffff !important;
    font-size: 16px;
}

/* Social Alignment */
.top-bar-area .top-bar-social-address {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 48px;
    height: auto;
}

.top-bar-area .top-bar-social-address ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* Social Media - Centered Icons */
.top-bar-area .top-bar-social-address ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-bar-area .top-bar-social-address ul li a {
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50%;
    background: #fff !important;
}

.top-bar-area .top-bar-social-address ul li a i {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 14px;
    color: #0b2d50 !important;
}

@media (max-width: 991px) {
    .top-bar-area .top-bar-social-address ul li a {
        width: 28px;
        height: 28px;
    }

    .top-bar-area .top-bar-social-address ul li a i {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .top-bar-area .top-bar-social-address ul {
        justify-content: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .top-bar-area .top-bar-social-address ul li a {
        width: 26px;
        height: 26px;
    }

    .top-bar-area .top-bar-social-address ul li a i {
        font-size: 12px;
    }
}



/* =========================================
   TABLET - 768px to 991px
========================================= */

@media (max-width: 991px) {

    .top-bar-area {
        min-height: 44px !important;
    }

    .top-bar-area .top-bar-info,
    .top-bar-area .top-bar-social-address {
        min-height: 44px;
    }

    .top-bar-area .top-bar-info ul li {
        font-size: 13px;
    }
}


/* =========================================
   MOBILE - 767px and Below
========================================= */

@media (max-width: 767px) {

    .top-bar-area {
        min-height: auto !important;
        height: auto !important;
        padding: 8px 0 !important;
    }

    /* Email Center */
    .top-bar-area .top-bar-info {
        min-height: auto;
        height: auto;
        justify-content: center;
        text-align: center;
        padding: 2px 0 6px;
    }

    .top-bar-area .top-bar-info ul {
        justify-content: center;
        width: 100%;
    }

    .top-bar-area .top-bar-info ul li {
        justify-content: center;
        font-size: 12px;
        gap: 6px;
    }

    .top-bar-area .top-bar-info ul li i {
        font-size: 14px;
    }

    /* Social Icons Center */
    .top-bar-area .top-bar-social-address {
        min-height: auto;
        height: auto;
        justify-content: center;
        padding: 2px 0;
    }
}


/* =========================================
   SMALL MOBILE - 480px and Below
========================================= */

@media (max-width: 480px) {

    .top-bar-area {
        padding: 6px 0 !important;
    }

    .top-bar-area .top-bar-info ul li {
        font-size: 11px;
    }
}
/* Header Alignment */
.header-area {
    padding: 2px 0 !important;
    min-height: 70px !important;
}

.header-area .row {
    min-height: 70px;
    align-items: center !important;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    width: 220px !important;
    height: auto;
    display: block;
}

.header-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.header-menu ul.nav_scroll {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.header-menu ul.nav_scroll > li > a {
    font-size: 18px !important;
    line-height: 1.2 !important;
    padding: 10px 0 !important;
}

/* Tablet */
@media (max-width: 991px) {
    .header-area .row {
        min-height: 60px;
    }

    .header-logo img {
        width: 200px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .header-area .row {
        min-height: 55px;
    }

    .header-logo img {
        width: 180px !important;
    }
}


/* =========================================
   HERO SLIDER - CIRCULAR ARROW BUTTONS
========================================= */

/* Normal State - Red Circle */
.hero-style .swiper-button-next,
.hero-style .swiper-button-prev {
    width: 52px !important;
    height: 52px !important;
    border: 2px solid #D71920 !important;
    border-radius: 50% !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    margin-top: -26px !important;
    transition: all 0.3s ease !important;
}

/* Hide Default Arrow */
.hero-style .swiper-button-next:after,
.hero-style .swiper-button-prev:after {
    display: none !important;
}

/* Right Arrow */
.hero-style .swiper-button-next:before {
    content: "\2192";
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #D71920;
    line-height: 1;
}

/* Left Arrow */
.hero-style .swiper-button-prev:before {
    content: "\2190";
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #D71920;
    line-height: 1;
}

/* Hover - Green Background */
.hero-style .swiper-button-next:hover,
.hero-style .swiper-button-prev:hover {
    background: #20B486 !important;
    border-color: #20B486 !important;
}

/* Hover - White Arrow */
.hero-style .swiper-button-next:hover:before,
.hero-style .swiper-button-prev:hover:before {
    color: #ffffff !important;
}

/* Tablet */
@media (max-width: 991px) {
    .hero-style .swiper-button-next,
    .hero-style .swiper-button-prev {
        width: 46px !important;
        height: 46px !important;
        margin-top: -23px !important;
    }

    .hero-style .swiper-button-next:before,
    .hero-style .swiper-button-prev:before {
        font-size: 25px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-style .swiper-button-next,
    .hero-style .swiper-button-prev {
        display: flex !important;
        width: 38px !important;
        height: 38px !important;
        margin-top: -19px !important;
    }

    .hero-style .swiper-button-next:before,
    .hero-style .swiper-button-prev:before {
        font-size: 21px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-style .swiper-button-next,
    .hero-style .swiper-button-prev {
        width: 34px !important;
        height: 34px !important;
        margin-top: -17px !important;
    }

    .hero-style .swiper-button-next:before,
    .hero-style .swiper-button-prev:before {
        font-size: 19px;
    }
}

/* RESPONSIVE HERO SLIDER */

.hero-slider {
    width: 100%;
    height: 520px;
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-container,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-slider .slide-inner.slide-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Tablet */
@media (max-width: 991px) {
    .hero-slider {
        height: 380px !important;
    }
}

/* Mobile - Significantly Reduced Height */
@media (max-width: 767px) {
    .hero-slider {
        height: 250px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-slider {
        height: 220px !important;
    }
}


/* =========================================
   ACCE - WHO CAN JOIN SECTION THEME
========================================= */

.testi-area.join-section {
    background: linear-gradient(135deg, #07358c 0%, #0b2d50 100%) !important;
    padding: 60px 0 !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.join-section .section-title h1 {
    color: #ffffff !important;
    font-size: 34px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.join-section .section-text {
    color: #cbd5e1 !important;
    font-size: 16px;
    margin: 0;
}

.join-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 25px 20px;
    margin-bottom: 20px;
    height: calc(100% - 20px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.join-card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #d71920;
    transform: translateY(-4px);
}

.join-card h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Who Can Join Card Icons - Solid White Color */
.join-card h4 i {
    color: #ffffff !important;
    font-size: 22px;
}

.join-card p {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* APPLY NOW Button - Solid Red, No Hover Color Change, Arrow Matching About Us */
.join-btn-red,
.join-btn-red:hover,
.join-btn-red:focus,
.join-btn-red:active,
.join-btn-red:visited {
    display: inline-block !important;
    background: #d71920 !important;
    background-color: #d71920 !important;
    color: #ffffff !important;
    padding: 12px 26px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    text-decoration: none !important;
}

.join-btn-red::before,
.join-btn-red:hover::before,
.join-btn-red::after,
.join-btn-red:hover::after {
    display: none !important;
    content: "" !important;
    width: 0 !important;
    background: none !important;
}


/* =========================================
   ACCE - BRAND AREA / MEMBER SPOTLIGHT
========================================= */

.brand-area {
    background: #f8fafc !important;
    padding: 60px 0 !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.member-spotlight-title {
    text-align: center;
    margin-bottom: 35px;
}

.member-spotlight-title h2 {
    color: #064a9b !important;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.member-spotlight-title h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: #d71920;
    margin: 10px auto 0;
    border-radius: 2px;
}

.member-spotlight-title p {
    color: #64748b;
    font-size: 15px;
    margin-top: 6px;
}

.single-brand-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 20px 15px !important;
    text-align: center;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.single-brand-box:hover {
    border-color: #d71920 !important;
    box-shadow: 0 8px 20px rgba(215, 25, 32, 0.12) !important;
    transform: translateY(-3px);
}

.brand-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.brand-thumb img {
    max-height: 55px;
    max-width: 100% !important;
    width: auto !important;
    margin: 0 auto;
}

.brand-thumb .partner-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    color: #07358c;
    font-size: 15px;
}


/* =========================================
   4. FOOTER — FULL FIX
   ========================================= */

.footer-area {
    background-color: #07358c !important;
    color: #ffffff !important;
    padding: 60px 0 0 !important;
}

.footer-area .single-footer-widget-box {
    margin-bottom: 30px !important;
}

/* ── ACCE Widget: Heading on top, logo below (stacked) ── */
.footer-area .single-footer-widget-box {
    margin-bottom: 30px !important;
}

/* ACCE heading */
.footer-area .footer-widget-title h4 {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 10px !important;
}
.footer-area .footer-widget-title h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 35px; height: 3px;
    background-color: #d71920;
    border-radius: 2px;
}

/* Logo box — block below heading */
.footer-logo-box {
    display: block !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.footer-logo-box img {
    max-width: 130px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}

/* Description below header row */
.footer-widget-desc p {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;         /* override style.css 72% width */
}

/* ── Social Icons — Dark square boxes, white icons ── */
.footer-social-icon {
    margin-top: 18px !important;
}

.footer-social-icon ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Kill base style.css margin-top:20px on li */
.footer-social-icon ul li {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── The <a> IS the square box ── */
.footer-social-icon ul li a {
    position: relative !important;          /* contain the <i> inside */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    overflow: hidden !important;            /* CLIP anything that tries to overflow */
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.3s ease, border-color 0.3s ease !important;
}

.footer-social-icon ul li a:hover {
    background: #d71920 !important;
    border-color: #d71920 !important;
}

/* ── <i> tag: absolute centred inside <a>, kills ALL base-CSS box model ── */
.footer-social-icon ul li a i,
.footer-social-icon ul li i {
    /* position it dead-centre inside the <a> box */
    position: static !important;
    /* completely override inline-block box from style.css */
    display: flex !important;               /* flex kills inline-block model */
    align-items: center !important;
    justify-content: center !important;
    /* reset every dimension base CSS sets */
    width: 16px !important;
    height: 16px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    /* reset base CSS box decoration */
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    /* reset spacing */
    margin: 0 !important;
    padding: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    /* icon style */
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    /* prevent <i> from capturing hover events (stops i:hover orange from style.css) */
    pointer-events: none !important;
    transition: none !important;
}

/* Suppress ALL i:hover orange from base style.css — every selector pattern */
.footer-social-icon ul li i:hover,
.footer-social-icon ul li a i:hover,
.footer-social-icon ul li a:hover i,
.footer-social-icon ul li a:hover i:hover {
    pointer-events: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    border: none !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

/* ── Other footer columns (Quick Links, Useful Links) ── */
.footer-area .footer-widget-title h4 {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 10px !important;
}
.footer-area .footer-widget-title h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 35px; height: 3px;
    background-color: #d71920;
    border-radius: 2px;
}

.footer-widget-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.footer-widget-menu ul li {
    margin-bottom: 10px !important;
}
.footer-widget-menu ul li a {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-block;
    transition: color 0.3s ease, padding-left 0.3s ease;
    margin-bottom: 0 !important;
}
.footer-widget-menu ul li a:hover {
    color: #ffffff !important;
    padding-left: 5px !important;
}

/* Contact info — white square box icon + text layout (reference image 2) */
.footer-widget-contact ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.footer-widget-contact ul li {
    margin-bottom: 16px !important;
}
.footer-widget-contact ul li a {
    color: #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}
.footer-widget-contact ul li a:hover {
    color: #ffffff !important;
}

/* White box wrapping the icon */
.contact-icon-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 42px !important;
    height: 42px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
    transition: box-shadow 0.3s ease;
}

.contact-icon-box i {
    color: #d71920 !important;
    font-size: 18px !important;
    display: block !important;
    /* Reset base CSS box styling */
    border: none !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    margin: 0 !important;
}

/* ── Footer Bottom Bar ── */
.footer-bottom {
    background-color: #04225c !important;
    padding: 18px 0 !important;
    margin-top: 40px !important;
    width: 100% !important;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-bottom .container-fluid {
    padding-left: 5% !important;
    padding-right: 5% !important;
}
.footer-bottom .row {
    align-items: center;
}
.footer-bottom-content p {
    color: #94a3b8 !important;
    margin: 0 !important;
    font-size: 14px !important;
    text-align: left;
    line-height: 1.5;
}
.footer-list-item ul {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-wrap: wrap;
}
.footer-list-item ul li a {
    color: #94a3b8 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.footer-list-item ul li a:hover {
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-bottom .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
@media (max-width: 767px) {
    .footer-area { padding: 45px 0 0 !important; }
    .footer-bottom-content p { text-align: center !important; }
    .footer-list-item ul {
        justify-content: center !important;
        margin-top: 10px !important;
        gap: 14px !important;
    }
    .footer-bottom .row { flex-direction: column; text-align: center; gap: 8px; }
    .footer-acce-header { gap: 12px !important; }
    .footer-acce-header .footer-logo-box img { width: 55px !important; height: 55px !important; }
    .footer-acce-header .footer-widget-title h4 { font-size: 18px !important; }
}
@media (max-width: 480px) {
    .footer-list-item ul { gap: 10px !important; }
    .footer-list-item ul li a { font-size: 13px !important; }
}


.about-area .section-button a:hover,
.about-area .section-button a:focus,
.about-area .section-button a:active,
.about-area .section-button a:visited {
    background: #d71920 !important;
    color: #fff !important;
    border-color: #d71920 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ── Contact Info Icons — ACCE Theme (navy blue, red accent) ── */
.cda-icon i {
    background: #04225c !important;
    border-radius: 8px !important;
    border-bottom: 3px solid #d71920 !important;
    transition: background 0.3s ease, transform 0.3s ease !important;
    box-shadow: 0 4px 14px rgba(4, 34, 92, 0.4) !important;
}

.cda-single-content:hover .cda-icon i {
    background: #d71920 !important;
    border-bottom-color: #04225c !important;
    transform: translateY(-3px) !important;
}

.cda-content-inner h4 {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.content-info-area {
    background: linear-gradient(135deg, #04225c 0%, #0a1840 100%) !important;
}

/* ── Send Message Button — ACCE Theme (navy blue) ── */
.quote_button button {
    background: #04225c !important;
    border-bottom: 3px solid #d71920 !important;
    border-radius: 30px !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.quote_button button i {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

.quote_button button:hover {
    background: #d71920 !important;
    border-bottom-color: #04225c !important;
    transform: translateY(-2px) !important;
}

.quote_button button:hover i {
    color: #ffffff !important;
}


/* =========================================
   ABOUT US BUTTON - FIXED RED
========================================= */

.about-area .section-button {
    text-align: right;
}

.about-area .section-button a,
.about-area .section-button a:hover,
.about-area .section-button a:focus,
.about-area .section-button a:active,
.about-area .section-button a:visited,
.about-area .section-button a:focus-visible {
    display: inline-block !important;
    background: #d71920 !important;
    background-color: #d71920 !important;
    color: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.about-area .section-button a::before,
.about-area .section-button a::after {
    background: #d71920 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Tablet + Mobile */
@media (max-width: 991px) {
    .about-area .section-button {
        text-align: left;
        margin-top: 15px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .about-area .section-button {
        margin-top: 12px;
    }

    .about-area .section-button a {
        padding: 11px 20px;
    }
}

/* =========================================
   UPCOMING ACTIVITIES - RESPONSIVE
========================================= */

.service-area {
    width: 100%;
    overflow: hidden;
}

.service-area .section-title h1 {
    color: #07358c;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.service-area .section-text {
    color: #07358c;
    font-size: 17px;
    line-height: 1.5;
}

/* Upcoming Events Button */
.service-area .section-button {
    text-align: right;
}

.service-area .section-button a,
.service-area .section-button a:hover,
.service-area .section-button a:focus,
.service-area .section-button a:active,
.service-area .section-button a:visited,
.service-area .section-button a:focus-visible {
    display: inline-block !important;
    background: #d71920 !important;
    background-color: #d71920 !important;
    color: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Remove unwanted button effects */
.service-area .section-button a::before,
.service-area .section-button a::after {
    background: #d71920 !important;
    color: #ffffff !important;
}

/* Cards */
.service-area .single-service-box {
    width: 100%;
    height: auto;
}

.service-area .single-service-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.service-area .service-content {
    width: 100%;
}

.service-area .service-content p {
    line-height: 1.6;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .service-area {
        padding: 50px 0 !important;
    }

    .service-area .section-title h1 {
        font-size: 30px !important;
    }

    .service-area .section-text {
        font-size: 16px;
    }

    .service-area .section-button {
        text-align: left !important;
        margin-top: 15px !important;
    }

    .service-area .single-service-box {
        margin-bottom: 25px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .service-area {
        padding: 40px 0 !important;
    }

    .service-area .section-title h1 {
        font-size: 26px !important;
        line-height: 1.25;
    }

    .service-area .section-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .service-area .section-button {
        text-align: left !important;
        margin-top: 12px !important;
    }

    .service-area .section-button a {
        padding: 11px 18px !important;
        font-size: 14px;
    }

    .service-area .single-service-box {
        margin-bottom: 25px;
    }

    .service-area .service-content p {
        font-size: 14px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .service-area .section-title h1 {
        font-size: 22px !important;
    }

    .service-area .section-text {
        font-size: 14px;
    }

    .service-area .section-button a {
        padding: 10px 16px !important;
        font-size: 13px;
    }
}

/* Upcoming Activities */
.service-area .section-title h1 {
    color: #064a9b;
}

/* Header Row */
.service-area .container > .row:first-child {
    position: relative;
}

/* Upcoming Events Button */
.service-area .section-button {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.service-area .section-button a {
    display: inline-block;
    background: #d71920 !important;
    color: #fff !important;
    padding: 14px 28px;
    border: none !important;
    border-radius: 3px;
    text-decoration: none;
}

/* No color change on hover/touch */
.service-area .section-button a:hover,
.service-area .section-button a:focus,
.service-area .section-button a:active,
.service-area .section-button a:visited {
    background: #d71920 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

/* Tablet */
@media (max-width: 991px) {
    .service-area .section-button {
        position: static;
        margin-top: 15px;
    }

    .service-area .em-bar {
        margin-top: 20px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .service-area .section-button {
        text-align: left;
        margin-top: 15px;
    }

    .service-area .section-button a {
        padding: 11px 20px;
        font-size: 14px;
    }

    .service-area .em-bar {
        margin-top: 18px;
    }
}

/* =========================================
   ALL BUTTONS — RED, NO HOVER COLOUR CHANGE
   (About Us, Upcoming Events, Read More,
    Apply Now, service-button, join-btn-red)
========================================= */

/* --- Section Buttons (About Us / Upcoming Events) --- */
.section-button a,
.section-button a:hover,
.section-button a:focus,
.section-button a:active,
.section-button a:visited {
    display: inline-block !important;
    background: #d71920 !important;
    background-color: #d71920 !important;
    color: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    text-decoration: none !important;
}

.section-button a::before,
.section-button a::after {
    background: #d71920 !important;
    box-shadow: none !important;
}

/* --- READ MORE Button (service cards) --- */
a.service-button,
a.service-button:hover,
a.service-button:focus,
a.service-button:active,
a.service-button:visited {
    display: inline-block !important;
    background: #d71920 !important;
    background-color: #d71920 !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    text-decoration: none !important;
    outline: 0 !important;
}

a.service-button::before,
a.service-button::after {
    background: #d71920 !important;
    box-shadow: none !important;
}

/* --- APPLY NOW Button --- */
.join-btn-red,
.join-btn-red:hover,
.join-btn-red:focus,
.join-btn-red:active,
.join-btn-red:visited {
    background: #d71920 !important;
    background-color: #d71920 !important;
    color: #ffffff !important;
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
}

/* =========================================
   UPCOMING ACTIVITIES — EQUAL CARD HEIGHTS
========================================= */

/* Row flex so all cards in a row stretch to same height */
.service-area .row.section-title-gap {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

/* Each column stretches full height */
.service-area .row.section-title-gap > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 30px;
}

/* Service box fills column height */
.service-area .single-service-box {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.service-area .single-service-box:hover {
    box-shadow: 0 8px 24px rgba(215,25,32,0.14);
}

/* Image: fixed height so all images same size */
.service-area .single-service-thumb {
    flex-shrink: 0;
    overflow: hidden;
    height: 220px;
}

.service-area .single-service-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.4s ease;
}

.service-area .single-service-box:hover .single-service-thumb img {
    transform: scale(1.04);
}

/* Service icon box */
.service-area .service-icon {
    flex-shrink: 0;
}

/* Content fills remaining height */
.service-area .service-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Responsive: tablet */
@media (max-width: 991px) {
    .service-area .single-service-thumb {
        height: 200px;
    }
}

/* Responsive: mobile */
@media (max-width: 767px) {
    .service-area .single-service-thumb {
        height: 180px;
    }

    .service-area .row.section-title-gap > [class*="col-"] {
        margin-bottom: 20px;
    }
}

/* Responsive: small mobile */
@media (max-width: 480px) {
    .service-area .single-service-thumb {
        height: 160px;
    }
}

/* =========================================
   UPCOMING ACTIVITIES — SERVICE ICON
   Themed circle: red background, white icon
========================================= */

.service-area .service-icon {
    position: relative;
    margin-top: -28px;
    margin-left: 20px;
    z-index: 2;
    width: 56px;
    height: 56px;
    background: #d71920 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(215,25,32,0.35) !important;
    border: 3px solid #ffffff !important;
    margin-bottom: 14px;
}

.service-area .service-icon i {
    color: #ffffff !important;
    font-size: 22px !important;
    display: block !important;
    border: none !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

/* Remove any base-CSS box effects on service-icon i hover */
.service-area .service-icon i:hover {
    background: transparent !important;
    border: none !important;
}

/* Tablet */
@media (max-width: 991px) {
    .service-area .service-icon {
        width: 50px;
        height: 50px;
        margin-top: -25px;
    }

    .service-area .service-icon i {
        font-size: 20px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .service-area .service-icon {
        width: 46px;
        height: 46px;
        margin-top: -23px;
        margin-left: 15px;
    }

    .service-area .service-icon i {
        font-size: 18px !important;
    }
}

/* =========================================
   WHO CAN JOIN — THEMED ICON BOXES
   Red square with rounded corners, white icon
   (matching acce.in theme)
========================================= */

.join-icon-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
    background: #d71920 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(215,25,32,0.30) !important;
    margin-right: 4px;
    vertical-align: middle;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.join-icon-box i {
    color: #ffffff !important;
    font-size: 20px !important;
    display: block !important;
    border: none !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
}

/* Card heading aligns icon + text */
.join-card h4 {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap;
}

.join-card:hover .join-icon-box {
    background: #b71219 !important;
    box-shadow: 0 6px 16px rgba(215,25,32,0.40) !important;
}

/* Responsive */
@media (max-width: 767px) {
    .join-icon-box {
        width: 38px !important;
        height: 38px !important;
        border-radius: 6px !important;
    }

    .join-icon-box i {
        font-size: 17px !important;
    }

    .join-card h4 {
        font-size: 16px !important;
        gap: 8px !important;
    }
}

@media (max-width: 480px) {
    .join-icon-box {
        width: 34px !important;
        height: 34px !important;
    }

    .join-icon-box i {
        font-size: 15px !important;
    }
}

/* =========================================
   FOOTER CONTACT US — WHITE ICON BOXES
   (same style as about.html contact-icon-box)
========================================= */

/* Override the existing simple icon style in footer for index.html */
.footer-area .footer-widget-contact ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

/* White box wrapping the icon */
.footer-area .contact-icon-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
}

.footer-area .contact-icon-box i {
    color: #d71920 !important;
    font-size: 17px !important;
    display: block !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive */
@media (max-width: 767px) {
    .footer-area .contact-icon-box {
        width: 36px !important;
        height: 36px !important;
    }

    .footer-area .contact-icon-box i {
        font-size: 15px !important;
    }
}


/* ==================================================
   ACCE - FINAL RESPONSIVE FIX
================================================== */

html,
body {
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================= SECTION HEADER ================= */

.about-area .container > .row:first-child,
.service-area .container > .row:first-child {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    position: static !important;
    margin: 0 0 15px !important;
}

/* Title */
.about-area .section-title,
.service-area .section-title {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.about-area .section-title h1,
.service-area .section-title h1 {
    margin: 0 0 5px !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.about-area .section-text,
.service-area .section-text {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.45 !important;
}

/* ================= SECTION BUTTON ================= */

.about-area .section-button,
.service-area .section-button {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
}

.about-area .section-button a,
.about-area .section-button a:hover,
.about-area .section-button a:focus,
.about-area .section-button a:active,
.about-area .section-button a:visited,
.service-area .section-button a,
.service-area .section-button a:hover,
.service-area .section-button a:focus,
.service-area .section-button a:active,
.service-area .section-button a:visited {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;

    background: #d71920 !important;
    background-color: #d71920 !important;
    color: #ffffff !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    text-decoration: none !important;

    -webkit-tap-highlight-color: transparent !important;
}

/* ================= REMOVE DIVIDER ================= */

.about-area .em-bar,
.service-area .em-bar {
    display: none !important;
}

/* ================= ABOUT ================= */

.about-area .container > .row:nth-child(2) {
    margin-top: 0 !important;
}

.about-area .about-desc {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

.about-area .about-association-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

/* ================= UPCOMING ================= */

.service-area {
    width: 100% !important;
    overflow: visible !important;
}

.service-area .row.section-title-gap {
    margin-top: 10px !important;
    padding-top: 0 !important;
}

/* ================= SERVICE CARDS ================= */

.service-area .row.section-title-gap > [class*="col-"] {
    display: flex !important;
    margin-bottom: 25px !important;
}

.service-area .single-service-box {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
}

/* Card image */
.service-area .single-service-thumb {
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 6px 6px 0 0;
}

.service-area .single-service-thumb img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
}

/* ================= FULL ICON ================= */

.service-area .service-icon {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;

    width: 52px !important;
    height: 52px !important;

    margin: -26px 0 10px 20px !important;

    z-index: 10 !important;
    flex-shrink: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #d71920 !important;
    border: 3px solid #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.20) !important;
}

.service-area .service-icon i {
    position: static !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 20px !important;
    line-height: 1 !important;
}

/* ================= CARD HEADING ================= */

/* Normal = original colour */

.service-area .service-content > a:not(.service-button) {
    color: inherit !important;
}

/* Touch / hover = RED */

.service-area .service-content > a:not(.service-button):hover,
.service-area .service-content > a:not(.service-button):focus,
.service-area .service-content > a:not(.service-button):active {
    color: #d71920 !important;
}

/* ================= READ MORE ================= */

.service-area a.service-button,
.service-area a.service-button:hover,
.service-area a.service-button:focus,
.service-area a.service-button:active,
.service-area a.service-button:visited {
    display: inline-flex !important;
    width: fit-content !important;

    background: #d71920 !important;
    background-color: #d71920 !important;

    color: #ffffff !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;

    padding: 9px 18px !important;
    margin-top: 12px !important;

    font-size: 13px !important;
    line-height: 1.2 !important;

    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* ================= TABLET ================= */

@media (max-width: 991px) {

    .about-area .section-button,
    .service-area .section-button {
        text-align: right !important;
    }

    .about-area .section-button a,
    .service-area .section-button a {
        padding: 10px 18px !important;
        font-size: 14px !important;
    }

    .service-area .service-icon {
        width: 50px !important;
        height: 50px !important;
        margin: -25px 0 10px 18px !important;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 767px) {

    .about-area .container > .row:first-child,
    .service-area .container > .row:first-child {
        display: block !important;
        margin-bottom: 15px !important;
    }

    .about-area .section-title h1,
    .service-area .section-title h1 {
        font-size: 24px !important;
        margin-bottom: 5px !important;
    }

    .about-area .section-text,
    .service-area .section-text {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    .about-area .section-button,
    .service-area .section-button {
        width: 100% !important;
        margin-top: 10px !important;
        text-align: left !important;
    }

    .about-area .section-button a,
    .service-area .section-button a {
        padding: 9px 15px !important;
        font-size: 12px !important;
    }

    .about-area .about-desc {
        margin-bottom: 15px !important;
    }

    .service-area .row.section-title-gap {
        margin-top: 5px !important;
    }

    .service-area .service-icon {
        width: 46px !important;
        height: 46px !important;
        margin: -23px 0 10px 15px !important;
    }

    .service-area .service-icon i {
        font-size: 18px !important;
    }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

    .about-area .section-title h1,
    .service-area .section-title h1 {
        font-size: 22px !important;
    }

    .about-area .section-text,
    .service-area .section-text {
        font-size: 13px !important;
    }

    .about-area .section-button a,
    .service-area .section-button a {
        padding: 8px 14px !important;
        font-size: 11px !important;
    }
}

/* ==================================================
   FINAL FIX - UPCOMING HEADER MUST NOT OVERLAP CARD
================================================== */

.service-area {
    position: relative !important;
    overflow: visible !important;
}

.service-area > .container {
    position: relative !important;
}

/* Heading row */
.service-area > .container > .row:first-child {
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    clear: both !important;
    z-index: 20 !important;
    margin-bottom: 30px !important;
}

/* Heading */
.service-area > .container > .row:first-child .section-title {
    position: static !important;
    z-index: 20 !important;
}

/* Cards row must start AFTER heading */
.service-area > .container > .row.section-title-gap {
    position: relative !important;
    clear: both !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    z-index: 1 !important;
}

/* Card image must never cover heading */
.service-area .single-service-thumb {
    position: relative !important;
    z-index: 1 !important;
}

/* Mobile */
@media (max-width: 767px) {

    .service-area > .container > .row:first-child {
        display: block !important;
        margin-bottom: 25px !important;
    }

    .service-area > .container > .row.section-title-gap {
        margin-top: 0 !important;
    }
}

/* =========================================
   FINAL MOBILE/TABLET SPACING FIX
========================================= */

/* Remove About divider */
.about-area .em-bar,
.about-area .em-bar::before,
.about-area .em-bar::after {
    display: none !important;
}

/* Upcoming section - remove unwanted top space */
.service-area {
    padding-top: 15px !important;
}

/* Upcoming heading area */
.service-area > .container > .row:first-child {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

/* Heading */
.service-area .section-title {
    margin: 0 !important;
    padding: 0 !important;
}

.service-area .section-title h1 {
    margin: 0 0 6px !important;
}

/* Subtitle */
.service-area .section-text {
    margin: 0 !important;
}

/* Button */
.service-area .section-button {
    margin-top: 10px !important;
}

/* Cards start normally */
.service-area > .container > .row.section-title-gap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {

    .service-area {
        padding-top: 10px !important;
    }

    .service-area > .container > .row:first-child {
        margin-bottom: 18px !important;
    }

    .service-area .section-button {
        margin-top: 10px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {

    .service-area {
        padding-top: 8px !important;
    }

    .service-area > .container > .row:first-child {
        margin-bottom: 15px !important;
    }

    /* =========================================
   ABOUT SECTION - TABLET FIX
========================================= */

@media (min-width: 768px) and (max-width: 991px) {

    /* About paragraph */
    .about-area .section-text {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    /* About content row */
    .about-area .row:nth-child(2) {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
    }

    /* About image */
    .about-area .row:nth-child(2) > [class*="col-"]:first-child {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .about-area .about-association-img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
    }

    /* Checklist */
    .about-area .row:nth-child(2) > [class*="col-"]:last-child {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 25px !important;
    }

    /* Checklist items */
    .about-area .row:nth-child(2) > [class*="col-"]:last-child li {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }

    /* Keep checklist in two columns */
    .about-area .row:nth-child(2) > [class*="col-"]:last-child ul {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        column-gap: 35px !important;
        row-gap: 5px !important;
    }
}
}


/* ACCE TABLET HEADER FIX: 768px–991px */
@media (min-width: 768px) and (max-width: 991px) {

    /* Top Bar */
    .top-bar-area {
        display: block !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Compact Navigation Bar */
    .header-area {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 10px 0 !important;
        margin: 0 !important;
        background: #fff !important;
        overflow: visible !important;
    }

    .header-area .container > .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    /* Logo column */
    .header-area .container > .row > .col-md-4 {
        flex: 0 0 32% !important;
        width: 32% !important;
        max-width: 32% !important;
        padding: 0 8px !important;
    }

    /* Navigation column */
    .header-area .container > .row > .col-md-8 {
        flex: 0 0 68% !important;
        width: 68% !important;
        max-width: 68% !important;
        padding: 0 5px !important;
    }

    .header-area .header-logo,
    .header-area .header-menu {
        width: 100% !important;
        margin: 0 !important;
    }

    .header-area .header-logo img {
        display: block !important;
        width: 100% !important;
        max-width: 190px !important;
        height: auto !important;
    }

    .header-area .header-menu {
        display: block !important;
        text-align: right !important;
    }

    .header-area .header-menu ul.nav_scroll {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-area .header-menu ul.nav_scroll > li {
        display: block !important;
        flex: 0 1 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    .header-area .header-menu ul.nav_scroll > li > a {
        display: block !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        padding: 8px 0 !important;
        white-space: nowrap !important;
    }

    /* Hide duplicate mobile navigation and its space */
    .mobile-menu-area {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    /* Hero must start immediately after navigation */
    .header-area + .mobile-menu-area + .hero-slider,
    .header-area + .hero-slider {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-slider {
        margin-top: 0 !important;
    }
}
