/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.6
*/

/* 1. Import Google Fonts (Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* 2. Header Layout & Background */
.bbbs-header {
    background-color: #ffffff;
    border-bottom: 4px solid #6CA6C1; /* Sky Blue Accent */
    padding: 15px 20px; /* Increased padding slightly */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 3. Logo Styling - INCREASED SIZE */
.site-branding .custom-logo-link img {
    height: auto;
    max-height: 160px; /* Increased from 120px */
    width: auto;
    display: block;
}

.site-title a {
    text-decoration: none;
    color: #1A3B5C; /* Dark Navy */
    font-weight: 700;
    font-size: 1.8rem;
}

/* 4. Navigation Styling (Desktop) */
.bbbs-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bbbs-menu li {
    position: relative;
}

.bbbs-menu > li > a {
    text-decoration: none;
    color: #1A3B5C; /* Dark Navy */
    font-weight: 600;
    font-size: 16px;
    padding: 10px 15px;
    transition: color 0.3s ease;
    display: block;
}

.bbbs-menu > li > a:hover {
    color: #6CA6C1; /* Sky Blue */
}

/* "Call to Action" Button (Last Item) */
.bbbs-menu > li:last-child > a {
    background-color: #1A3B5C; /* Dark Navy */
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(26, 59, 92, 0.2);
    transition: all 0.3s ease;
    margin-left: 10px;
}

.bbbs-menu > li:last-child > a:hover {
    background-color: #132b45;
    transform: translateY(-2px);
    color: #ffffff;
}

/* Sub-menus (Dropdowns) */
.bbbs-menu ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 3px solid #6CA6C1; /* Sky Blue */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    list-style: none;
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
}

.bbbs-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bbbs-menu ul.sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid #f5f5f5;
}

.bbbs-menu ul.sub-menu li:last-child a {
    border-bottom: none;
}

.bbbs-menu ul.sub-menu li a:hover {
    background-color: #F0F8FC; /* Soft Blue BG */
    color: #1A3B5C;
}

/* 5. Hamburger Button Styles */
.mobile-menu-toggle {
    display: none;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
    outline: none !important;
    background: transparent !important;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: #1A3B5C !important; /* Dark Navy */
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.mobile-menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 6. Mobile Responsiveness */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
    }

    .bbbs-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        border-top: 1px solid #eee;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 0;
    }

    .bbbs-menu.is-active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .bbbs-menu li {
        width: 100%;
        text-align: center;
    }

    .bbbs-menu > li > a {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .bbbs-menu > li:last-child > a {
        margin: 15px auto;
        display: inline-block;
        width: auto;
    }
    
    .bbbs-menu ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background-color: #f9f9f9;
        display: none;
    }

    .bbbs-menu li:hover > ul.sub-menu {
        display: block;
    }
}

/* 7. FOOTER STYLES */
.bbbs-footer {
    background-color: #1A3B5C; /* Dark Navy Background */
    color: #ffffff;
    padding: 60px 20px 20px;
    font-family: 'Poppins', sans-serif;
    margin-top: 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    padding-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.footer-col h3 {
    color: #6CA6C1; /* Sky Blue Accent */
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #6CA6C1; /* Sky Blue */
    padding-left: 5px; /* Subtle slide effect */
}

.footer-col p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
}

/* Footer Mobile Adjustments */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-col {
        text-align: center;
    }
}