/* ============================================================
   COMPLETE CSS - GRACE INSURANCE BROKERS
   Includes updated CTA Banner with Red/Green Gradient
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Source', 'Sans Pro';
    font-size: 1.1rem;
    background-color: #F8F9FA;
    color: #212529;
    scroll-behavior: smooth;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ============================================================
   ROOT VARIABLES
   ============================================================ */

:root {
    --primary-red: #C62828;
    --primary-red-dark: #B71C1C;
    --primary-green: #2E8B57;
    --secondary-green: #2E7D32;
    --secondary-green-light: #388E3C;
    --light-bg: #F8F9FA;
    --dark-text: #212529;
    --light-gray: #F8F9FA;
    --gray-border: #dee2e6;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
}

/* ============================================================
   CUSTOM ACCENT CLASSES
   ============================================================ */

.text-red { color: var(--primary-red); }
.text-green { color: var(--primary-green); }
.bg-red { background-color: var(--primary-red); }
.bg-green { background-color: var(--primary-green); }

.btn-red {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    transition: all 0.3s ease;
}

.btn-red:hover {
    background-color: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(198,40,40,0.2);
}

.btn-outline-green {
    border: 2px solid var(--secondary-green);
    color: var(--secondary-green);
    font-weight: 600;
    background: transparent;
    transition: 0.3s;
}

.btn-outline-green:hover {
    background: var(--secondary-green);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-red {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
    padding: 12px 32px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-red:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

.btn-outline-custom {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
    padding: 10px 26px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

/* ============================================================
   CTA BANNER - UPDATED WITH RED/GREEN GRADIENT & IMAGE
   ============================================================ */

.cta-banner {
    /* ===== PRIMARY GRADIENT (More Green - 70%) ===== */
    background: linear-gradient(
        135deg,
        /* Green side - dominant (70%) */
        rgba(26, 64, 50, 0.92) 0%,
        rgba(26, 64, 50, 0.88) 20%,
        rgba(26, 64, 50, 0.82) 35%,
        /* Transition zone - smooth blend */
        rgba(26, 64, 50, 0.72) 45%,
        rgba(178, 34, 52, 0.65) 55%,
        /* Red side - accent (30%) */
        rgba(178, 34, 52, 0.78) 70%,
        rgba(178, 34, 52, 0.88) 85%,
        rgba(178, 34, 52, 0.92) 100%
    ),
    /* ===== BACKGROUND IMAGE ===== */
    url('images/hero01.png');
    
    /* ===== IMAGE SETTINGS ===== */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    
    /* ===== SPACING & STYLING ===== */
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    
    /* ===== POSITIONING FOR DECORATIVE ELEMENTS ===== */
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    
     ===== OPACITY OVERLAY ===== 
    background-color: rgba(255, 255, 255, 0.88);
     
       Adjust opacity here:
       - 0.88 = 88% opaque (12% image visible)
       - 0.75 = 75% opaque (25% image visible)
       - 0.95 = 95% opaque (5% image visible)
    
}

/* ===== DECORATIVE BLUR ELEMENTS ===== */
/*.cta-banner::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: -40%;*/
/*    right: -10%;*/
/*    width: 400px;*/
/*    height: 400px;*/
/*    background: rgba(178, 34, 52, 0.08);*/
/*    border-radius: 50%;*/
/*    pointer-events: none;*/
/*    z-index: 0;*/
/*    filter: blur(60px);*/
/*}*/

/*.cta-banner::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -30%;*/
/*    left: -10%;*/
/*    width: 350px;*/
/*    height: 350px;*/
/*    background: rgba(26, 64, 50, 0.10);*/
/*    border-radius: 50%;*/
/*    pointer-events: none;*/
/*    z-index: 0;*/
/*    filter: blur(60px);*/
/*}*/

/* ===== ENSURE CONTENT IS ABOVE OVERLAYS ===== */
.cta-banner > * {
    position: relative;
    z-index: 1;
}

/* ===== CTA BANNER BUTTONS ===== */
.cta-banner .btn-light {
    background: #ffffff;
    color: #b22234 !important;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-light:hover {
    background: transparent;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-banner .btn-outline-light {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 14px 36px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-banner .btn-outline-light:hover {
    background: #ffffff;
    color: #b22234 !important;
    transform: translateY(-3px);
    border-color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */

.section-title {
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 3px;
}

.section-title-center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */

.service-card {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s ease;
    will-change: transform;
    border-left: 4px solid var(--primary-red);
    transition: 0.25s;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-left-color: var(--primary-green);
    background: white;
}

.service-icon { 
    font-size: 2.5rem;
    color: black !important;
    margin-bottom: 1rem;
}

/* Image Overlay Gradient */
.card-img-top {
    position: relative;
}

.card-img-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 42, 58, 0.6) 100%);
    pointer-events: none;
}

/* CTA Link Animation */
.service-card a {
    gap: 6px;
}

.service-card a:hover i {
    transform: translateX(4px);
    transition: transform 0.25s ease;
}

/* ============================================================
   CARD HOVER
   ============================================================ */

.card-hover {
    transition: all 0.3s ease;
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}

/* ============================================================
   VALUE CARDS
   ============================================================ */

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* ============================================================
   SWIPER STYLES
   ============================================================ */

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.1rem !important;
    font-weight: 700;
}

.swiper-button-next,
.swiper-button-prev {
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #b22234 !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(178, 34, 52, 0.3) !important;
}

.swiper-pagination-bullet {
    background: #b22234;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #b22234;
    opacity: 1;
    width: 28px;
    border-radius: 6px;
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
    background: rgba(255,255,255,0.5) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 10px 0;
    width: 90%;
    margin: 15px 5% 0px 5%;
    border-radius: 10px;
    z-index: 1000;
    border-bottom: 4px solid green;
    position: absolute;
    top: 0;
}

.navbar-brand {
    width: 80px;
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--primary-red);
}

.nav-link {
    font-weight: 700;
    color: black !important;
    font-family: Merriweather;
}

.nav-item .active {
    color: green !important;
}

.nav-link:hover {
    color: var(--primary-red) !important;
    border-bottom: 3px solid var(--primary-green);
}

.navbar-toggler {
    background: rgba(255,255,255,0.5) !important;
}

.navbar-scrolled {
    font-weight: 600;
    background-color: rgba(14, 8, 43, 0.4) !important;
    transition: background-color 0.3s ease;
}

.navbar-scrolled a {
    font-weight: 600;
}

/* ============================================================
   CONTAINER
   ============================================================ */

.container {
    margin: auto;
}

/* ============================================================
   CAROUSEL / HERO
   ============================================================ */

.carousel-item {
    height: 80vh;
    min-height: 550px;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
}

/* ============================================================
   MILESTONE / STATS
   ============================================================ */

.milestone-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
    border-left: 3px solid var(--primary-green);
}

.milestone-year {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1.2;
}

.counter-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--secondary-green);
}

/* ============================================================
   GLOBAL MAP
   ============================================================ */

.global-map {
    background: linear-gradient(135deg, #1a3c2c, #2E8B57);
    border-radius: 24px;
    padding: 40px;
    color: white;
    text-align: center;
}

.country-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
    margin: 5px;
    display: inline-block;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    padding: 3px;
    background: white;
}

.team-member-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-red);
    padding: 5px;
    background: white;
    margin-bottom: 20px;
}

.team-member-card {
    background: white;
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.1);
}

/* ============================================================
   PARTNER LOGOS
   ============================================================ */

.partner-logo {
    filter: grayscale(20%);
    transition: all 0.2s;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonial-card {
    background: var(--light-gray);
    border-radius: 24px;
    padding: 30px;
    margin: 15px;
    border-left: 5px solid var(--primary-green);
}

.testimonial-card-large {
    background: white;
    border-radius: 28px;
    padding: 35px;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.testimonial-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.rating-stars {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    font-style: italic;
    margin-bottom: 25px;
}

.client-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-red);
    padding: 3px;
}

/* ============================================================
   FILTER BUTTONS
   ============================================================ */

.filter-btn {
    cursor: pointer;
    padding: 10px 24px;
    background: white;
    border-radius: 50px;
    margin: 5px;
    transition: all 0.3s;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 12px;
    transition: var(--transition);
    color: white;
}

.social-icon:hover {
    background: transparent;
    transform: translateY(-3px);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border-radius: 50%;
    margin: 0 5px;
    color: var(--primary-red);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

/* ============================================================
   FLOATING CHAT
   ============================================================ */

.floating-chat {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1000;
    background: var(--secondary-green);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.2s;
}

.floating-chat:hover {
    background: var(--primary-red);
    transform: scale(1.05);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 25px;
    background: var(--primary-red);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
    z-index: 1040;
}

/* ============================================================
   MARQUEE
   ============================================================ */

.marq {
    width: 100%;
    height: 40px !important;
    background-color: var(--secondary-green);
    position: relative;
    display: flex;
    font-style: italic;
    padding: 4px 0;
}

.marq marquee {
    line-height: 2.1 !important;
    top: 0px;
    color: #C62828;
    font-size: 1.2rem;
    font-weight: bold;
    font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer a {
    text-decoration: none;
    color: #6c757d;
    transition: 0.2s;
}

footer a:hover {
    color: var(--primary-red);
}

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ddd;
    padding-top: 60px;
    padding-bottom: 30px;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.blog-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.category-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary-red);
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.category-badge-green {
    background: var(--primary-green);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 160px 0 80px;
    color: white;
    margin-top: 0;
}

.breadcrumb-custom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.breadcrumb-custom a:hover {
    color: var(--primary-red);
}

/* ============================================================
   SERVICE DETAILED CARDS
   ============================================================ */

.service-detailed-card {
    background: white;
    border-radius: 24px;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-detailed-card:hover {
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.service-icon-large {
    font-size: 3rem;
    color: var(--primary-black) !important;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list li i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

/* ============================================================
   CATEGORY TABS
   ============================================================ */

.category-tab {
    cursor: pointer;
    padding: 12px 24px;
    background: white;
    border-radius: 10px;
    margin: 5px;
    transition: all 0.3s;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

.category-tab.active,
.category-tab:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.department-tab {
    cursor: pointer;
    padding: 10px 24px;
    background: white;
    border-radius: 50px;
    margin: 5px;
    transition: all 0.3s;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

.department-tab.active,
.department-tab:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* ============================================================
   PRICING / STATS
   ============================================================ */

.pricing-badge {
    background: #e8f5e9;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-green);
    font-weight: 600;
}

.service-stats {
    background: linear-gradient(135deg, #C62828 0%, #8B0000 100%);
    padding: 60px 0;
    color: white;
}

.stat-number-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

/* ============================================================
   CULTURE / JOIN CARDS
   ============================================================ */

.culture-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
}

.join-card {
    background: linear-gradient(135deg, #C62828 0%, #8B0000 100%);
    border-radius: 24px;
    padding: 50px 40px;
}

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */

.search-box {
    position: relative;
}

.search-box input {
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid #dee2e6;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-red);
    border: none;
    border-radius: 50px;
    padding: 7px 20px;
    color: white;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #eef2f6;
}

.tag-cloud a {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f0f0;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.8rem;
    color: #555;
    transition: all 0.2s;
    text-decoration: none;
}

.tag-cloud a:hover {
    background: var(--primary-red);
    color: white;
}

.popular-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-post-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination .page-link {
    color: var(--primary-red);
    border-radius: 50px;
    margin: 0 5px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

/* ============================================================
   CONTACT / FORMS
   ============================================================ */

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(198,40,40,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--primary-red);
}

.contact-form,
.map-card {
    border-radius: 20px;
}

.bg-soft-green {
    background: #e8f5e9;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control,
.form-select {
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(198,40,40,0.25);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-question {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #6c757d;
}

.faq-item.active .faq-answer {
    display: block;
}

.office-hours {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

/* ============================================================
   EMAIL LIST
   ============================================================ */

.email-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    transition: 0.2s;
}

.copy-btn:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}

.toast-notify {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1100;
    min-width: 260px;
}

/* ============================================================
   TERMS & POLICIES
   ============================================================ */

.terms-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.terms-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-red);
}

.terms-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--primary-green);
}

.terms-card p,
.terms-card li {
    color: #4a5568;
    line-height: 1.7;
}

.terms-card ul,
.terms-card ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.terms-card li {
    margin-bottom: 8px;
}

.last-updated {
    background: var(--secondary-green);
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-block;
    font-size: 0.85rem;
}

.table-of-contents {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
}

.table-of-contents a {
    display: block;
    padding: 8px 0;
    color: #4a5568;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.9rem;
}

.table-of-contents a:hover {
    color: var(--primary-red);
    padding-left: 8px;
}

.table-of-contents h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-red);
}

.highlight {
    background: #fff3cd;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    margin: 20px 0;
}

.naicom-badge {
    background: #0a4d2e;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.badge-naicom {
    background-color: #1e3a5f;
    color: white;
    font-size: 0.7rem;
    padding: 6px 12px;
    border-radius: 30px;
}

/* ============================================================
   POLICY CARDS
   ============================================================ */

.policy-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.policy-card:hover {
    transform: translateY(-3px);
}

.policy-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-red);
}

.policy-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--primary-green);
}

.policy-card p,
.policy-card li {
    color: #4a5568;
    line-height: 1.7;
}

.policy-card ul,
.policy-card ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-card li {
    margin-bottom: 8px;
}

/* ============================================================
   CHAT MODAL
   ============================================================ */

.chat-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 1rem 1.5rem;
}

.chat-body {
    padding: 1.5rem;
    background: #fefefe;
}

.chat-messages {
    max-height: 350px;
    overflow-y: auto;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.message-bubble {
    background: white;
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border-left: 3px solid var(--primary-green);
}

.message-bubble strong {
    color: var(--primary-red);
}

.message-date {
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 4px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */

.newsletter-box {
    background: linear-gradient(135deg, #C62828 0%, #8B0000 100%);
    border-radius: 24px;
    padding: 40px;
}

/* ============================================================
   GRADIENT HELPERS
   ============================================================ */

.bg-gradient-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.stats-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 60px 0;
    color: white;
}

/* ============================================================
   WHO WE ARE IMAGE
   ============================================================ */

.who-we-are-image {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.who-we-are-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* ============================================================
   TESTIMONIAL SLIDER
   ============================================================ */

.testimonial-slider-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.owl-nav button {
    background: var(--primary-red) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
}

.owl-nav button:hover {
    background: var(--primary-red-dark) !important;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ===== TABLETS & SMALLER ===== */
@media (max-width: 991px) {
    .col-lg-4 .position-relative img {
        height: 350px !important;
    }
    
    .table-of-contents {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    /* Carousel */
    .carousel-item {
        height: 60vh;
    }
    
    .hero-carousel-item {
        height: 70vh;
    }
    
    /* Section Titles */
    .section-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-title {
        text-align: center;
        display: block;
    }
    
    /* CTA Banner */
    .cta-banner {
        padding: 40px 24px;
        border-radius: 16px;
        background: linear-gradient(
            145deg,
            rgba(26, 64, 50, 0.92) 0%,
            rgba(26, 64, 50, 0.85) 30%,
            rgba(178, 34, 52, 0.75) 55%,
            rgba(178, 34, 52, 0.88) 75%,
            rgba(178, 34, 52, 0.92) 100%
        ),
        url('images/hero01.png');
        background-size: cover;
        background-position: center;
        background-blend-mode: overlay;
    }
    
    .cta-banner::before,
    .cta-banner::after {
        display: none;
    }
    
    .cta-banner h2 {
        font-size: 1.6rem !important;
    }
    
    .cta-banner .lead {
        font-size: 1rem !important;
    }
    
    .cta-banner .btn-light,
    .cta-banner .btn-outline-light {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
    
    .cta-banner .d-flex {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-banner .d-flex a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Service Cards */
    .service-card .card-img-top {
        height: 160px !important;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    .service-card .card-body {
        padding: 1.25rem !important;
    }
    
    /* Misc */
    .floating-social {
        display: none;
    }
    
    .stat-badge {
        font-size: 0.8rem;
    }
    
    .category-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .department-tab {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    .team-member-img {
        width: 120px;
        height: 120px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    .testimonial-card-large {
        padding: 25px;
    }
    
    .terms-card {
        padding: 20px;
    }
    
    .policy-card {
        padding: 20px;
    }
    
    /* Stats */
    .who-we-are-stats .stat-number {
        font-size: 1.8rem !important;
    }
    
    .who-we-are-heading {
        font-size: 1.8rem !important;
    }
}

/* ===== SMALL PHONES ===== */
@media (max-width: 576px) {
    .col-lg-4 .position-relative img {
        height: 280px !important;
    }
}

/* ===== EXTRA SMALL ===== */
@media (max-width: 480px) {
    .cta-banner {
        padding: 30px 18px;
        border-radius: 12px;
    }
    
    .cta-banner h2 {
        font-size: 1.3rem !important;
    }
    
    .cta-banner .lead {
        font-size: 0.9rem !important;
    }
    
    .cta-banner .btn-light,
    .cta-banner .btn-outline-light {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* ============================================================
   UTILITY HELPERS
   ============================================================ */

.fw-semibold {
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 3rem;
}

/* ============================================================
   END OF CSS
   ============================================================ */