/* ----------------- MMB Community Base Stylesheet ----------------- */

:root {
    --primary-forest: #14532D;      /* Primary Green */
    --primary-mountain: #166534;    /* Secondary Green */
    --accent-orange: #F97316;       /* Accent Orange */
    --accent-gold: #F59E0B;         /* Premium Gold */
    --bg-white: #ffffff;
    --bg-cream: #F8FAFC;            /* Clean Slate Gray/Blue Background */
    --bg-dark-green: #061F0E;       /* Very Dark Premium Forest Green */
    --text-dark: #1F2937;           /* Tailwind Gray 800 */
    --text-light: #F9FAFB;          /* Tailwind Gray 50 */
    --text-muted: #4B5563;          /* Tailwind Gray 600 */
    --border-color: #E2E8F0;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(20, 83, 45, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Fonts Setup */
@font-face {
    font-family: Gilroy;
    src: url("/static/assets/fonts/Gilroy-Medium.ttf");
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: Gilroy-Bold;
    src: url("/static/assets/fonts/Gilroy-Bold.ttf");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: BrushKing;
    src: url("/static/assets/fonts/BrushKing.otf");
    font-style: normal;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
    border: 2px solid var(--bg-cream);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-forest);
}

/* Global Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: Gilroy-Bold, sans-serif;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.02em;
}

p {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
}

a,
a:hover,
a:focus,
a:visited,
a:active {
    text-decoration: none !important;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Navigation Layout */
.navigation {
    position: relative;
    z-index: 1000;
}

.navbar {
    width: 90%;
    max-width: 1200px;
    min-height: 76px;
    height: auto;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: fixed !important;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(20, 83, 45, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    z-index: 1000;
}

.navbar.bgColor {
    width: 100%;
    max-width: 100%;
    top: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid rgba(20, 83, 45, 0.06);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 0 50px;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-text {
    font-family: Gilroy-Bold, sans-serif;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--primary-forest);
}

.menu-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 8px;
}

.menu-list li {
    display: flex;
    align-items: center;
}

.menu-list li a {
    font-family: Gilroy-Bold, sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    position: relative;
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    transition: var(--transition-smooth);
}

.menu-list li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 2px;
    background-color: var(--accent-orange);
    transition: var(--transition-smooth);
}

.menu-list li a:hover {
    color: var(--accent-orange) !important;
    background: rgba(249, 115, 22, 0.05);
}

.menu-list li a.active {
    color: var(--primary-forest) !important;
    background: rgba(20, 83, 45, 0.06);
}

.menu-list li a.active::after {
    width: 16px;
}

.menu-btn {
    display: none;
    cursor: pointer;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.menu-btn:hover {
    background: rgba(20, 83, 45, 0.05);
}

.menu-btn img {
    width: 24px;
    height: auto;
}

.cancle-btn {
    display: none;
}

/* Floating WhatsApp Button */
.phone-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.cbh-ph-img-circle1 {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.cbh-ph-img-circle1:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer Styles */
.footer_section {
    background-color: var(--bg-dark-green);
    color: var(--text-light);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold), var(--primary-mountain));
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
}

.footer-column h3 {
    color: var(--text-light);
    font-size: 20px;
    margin-bottom: 25px !important;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-column p {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a,
.footer-bottom a,
.footer-bottom-logo a,
.social-btns a,
.phone-call a {
    color: #a0aec0;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
}

.footer-column ul li a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

/* Newsletter styling */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.newsletter-form button {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: Gilroy-Bold, sans-serif !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.footer-social-info {
    margin-top: 20px;
}

.social-btns {
    display: flex;
    gap: 15px;
}

.social-btns a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-btns a:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0aec0;
    font-size: 13px;
}

.footer-bottom-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-logo img {
    height: 38px;
    width: auto;
}

.footer-bottom-logo span {
    font-family: Gilroy-Bold, sans-serif;
    color: white;
    font-size: 16px;
}

/* Animations */
.micro-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.micro-fade.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Loading skeletons */
.skeleton {
    background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s ease infinite;
    border-radius: 8px;
}

.skeleton-image {
    height: 220px;
    border-radius: 0;
}

.skeleton-line {
    height: 14px;
    margin-bottom: 10px;
}

.skeleton-line-sm {
    width: 40%;
}

.skeleton-line-lg {
    width: 75%;
    height: 20px;
}

.skeleton-btn {
    height: 36px;
    width: 110px;
    margin-top: 12px;
    margin-left: auto;
}

.skeleton-card {
    pointer-events: none;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.data-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.data-state-error {
    color: var(--accent-orange);
}

.data-state i {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.loading-message {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-family: Gilroy-Bold, sans-serif !important;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .navbar {
        width: 95%;
        padding: 0 24px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 92%;
        padding: 0 20px;
        min-height: 68px;
        top: 12px;
    }
    
    .navbar.bgColor {
        width: 100%;
        padding: 0 24px;
        top: 0;
    }

    .logo img {
        height: 36px;
    }

    .logo-text {
        font-size: 18px;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .menu-list {
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 85%;
        max-width: 320px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 90px 40px;
        transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: var(--shadow-lg);
        height: 100vh;
        border-right: 1px solid rgba(20, 83, 45, 0.08);
        gap: 16px;
    }
    
    .menu-list.active {
        left: 0;
    }
    
    .menu-list li {
        width: 100%;
    }
    
    .menu-list li a {
        font-size: 18px;
        color: var(--text-dark) !important;
        display: block;
        width: 100%;
        padding: 12px 18px;
        border-radius: var(--border-radius-sm);
        background: transparent;
    }

    .menu-list li a::after {
        display: none;
    }

    .menu-list li a.active {
        color: var(--primary-forest) !important;
        background: rgba(20, 83, 45, 0.06);
        font-family: Gilroy-Bold, sans-serif !important;
    }
    
    .cancle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: var(--border-radius-sm);
        font-size: 28px;
        color: var(--text-dark);
        transition: var(--transition-smooth);
    }

    .cancle-btn:hover {
        background: rgba(20, 83, 45, 0.05);
        color: var(--accent-orange);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
