/* ============================================================
   COMPONENTS CSS - Navigation, Footer, WhatsApp
   ============================================================ */

/* ============================================================
   NAVIGATION COMPONENT STYLES
   ============================================================ */

.custom-header {
    background: linear-gradient(135deg, #003366, #001a33) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

.im-navbar {
    background: transparent !important;
    height: 70px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.navbar-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 70px !important;
}

.brand-logo.logo {
    margin: 0 !important;
    padding: 0 !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
}

.logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    height: 100% !important;
}

.logo-image {
    height: 50px !important;
    width: auto !important;
    object-fit: contain !important;
}

.logo-text {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.back-button-container {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: 20px !important;
}

.back-btn {
    background: transparent !important;
    border: 1px solid #0099ff !important;
    color: #0099ff !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.back-btn:hover {
    background: #0099ff !important;
    color: #ffffff !important;
    transform: translateX(-2px) !important;
}

/* Desktop Navigation */
.nav-menu-desktop {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 1 1 auto !important;
    height: 70px !important;
    margin: 0 20px !important;
    padding: 0 !important;
    order: 2 !important;
    position: relative !important;
    z-index: 1000 !important;
}

.nav-items-container {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    height: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1000 !important;
}

.nav-item-wrapper {
    display: flex !important;
    align-items: center !important;
    height: 70px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-items-container .nav-link {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    padding: 8px 0 !important;
    border-bottom: 2px solid transparent !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: border-bottom-color 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
}

.nav-items-container .nav-link:hover {
    border-bottom-color: #0099ff !important;
    color: #0099ff !important;
    transform: translateY(-2px) !important;
}

.nav-item-dropdown {
    position: relative !important;
}

.nav-item-dropdown .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.nav-item-dropdown .dropdown-toggle i {
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
}

.nav-item-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg) !important;
}

.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #003366 !important;
    border: 1px solid rgba(0, 102, 204, 0.3) !important;
    border-radius: 8px !important;
    min-width: 200px !important;
    padding: 8px 0 !important;
    margin: 8px 0 0 0 !important;
    list-style: none !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
    z-index: 2000 !important;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.dropdown-menu li {
    list-style: none !important;
}

.dropdown-menu li a {
    display: block !important;
    padding: 12px 20px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
}

.dropdown-menu li a:hover {
    background: rgba(0, 153, 255, 0.2) !important;
    color: #0099ff !important;
    padding-left: 24px !important;
}

/* Search Button */
.search-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.search-btn:hover {
    background: rgba(0, 153, 255, 0.2) !important;
    color: #0099ff !important;
}

/* Mobile Navigation */
.nav-menu-mobile {
    display: none !important;
}

.nav-menu-mobile.show {
    display: flex !important;
}

.mobile-menu-btn {
    background: transparent !important;
    border: none !important;
    color: #0099ff !important;
    font-size: 24px !important;
    cursor: pointer !important;
    padding: 8px !important;
    transition: all 0.3s ease !important;
}

.mobile-menu-btn:hover {
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

/* Responsive Navigation */
@media (max-width: 992px) {
    .nav-menu-desktop {
        display: none !important;
    }
    
    .nav-menu-mobile {
        display: block !important;
    }
    
    .navbar-container {
        justify-content: space-between !important;
    }
}

/* ============================================================
   FOOTER COMPONENT STYLES
   ============================================================ */

.footer {
    background: linear-gradient(135deg, #003366, #001a33) !important;
    color: #d1d5db !important;
    padding: 60px 0 20px !important;
    margin-top: 60px !important;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    border-top: 1px solid rgba(0, 102, 204, 0.2) !important;
    display: block !important;
    width: 100% !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
    padding: 42px;
    color: #fff;
    background: #0066cc;
    border-radius: 12px;
}

.footer-cta .footer-eyebrow {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-cta h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
}

.footer-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
}

.footer-cta-btn {
    flex: 0 0 auto;
    color: #102b3f !important;
    background: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none !important;
    cursor: pointer !important;
}

.footer-cta-btn:hover {
    color: #fff !important;
    background: #003366;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3) !important;
}

@media (max-width: 600px) {
    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 40px;
        padding: 30px 24px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-section h4 {
    color: #fff !important;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: #9ca3af !important;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

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

.footer-section ul li a {
    color: #d1d5db !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #0099ff !important;
    transform: translateX(4px);
}

.footer-section.contact-list ul li a {
    flex-direction: row;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(0, 102, 204, 0.2);
    border-radius: 50%;
    color: #0099ff !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-links a:hover {
    background-color: #0099ff;
    color: #fff !important;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom p {
    margin: 0;
    color: #9ca3af !important;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #9ca3af !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0099ff !important;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #0099ff, #00ff00);
    width: 0%;
    z-index: 2000;
    transition: width 0.3s ease;
}

/* ============================================================
   WHATSAPP WIDGET STYLES
   ============================================================ */

.whatsapp-container {
    width: 100%;
    padding: 20px;
}

.whatsapp-counsel {
    margin: 40px 0 !important;
    padding: 40px 20px !important;
    background: linear-gradient(135deg, #001f3f, #0074d9) !important;
    border-radius: 12px !important;
    text-align: center !important;
    box-shadow: 0 8px 24px rgba(0, 20, 63, 0.2) !important;
}

.whatsapp-icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    margin: 0 auto 25px auto !important;
    font-size: 40px !important;
    color: #25d366 !important;
    animation: pulse-icon 2s ease-in-out infinite !important;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1) !important;
    }
    50% {
        transform: scale(1.1) !important;
    }
}

.whatsapp-counsel h3 {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    margin: 0 0 15px 0 !important;
}

.whatsapp-counsel p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px !important;
    margin: 0 0 25px 0 !important;
    line-height: 1.6 !important;
}

.whatsapp-qr-section {
    display: flex !important;
    justify-content: center !important;
    margin: 25px 0 !important;
}

.whatsapp-qr-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 15px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
}

.whatsapp-qr-code {
    width: 200px !important;
    height: 200px !important;
    border-radius: 8px !important;
    padding: 10px !important;
    background: #ffffff !important;
    display: block !important;
    margin-bottom: 10px !important;
    object-fit: contain !important;
}

.qr-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 32px !important;
    background: #25d366 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: none !important;
}

.whatsapp-btn:hover {
    background: #20ba5a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3) !important;
}

.whatsapp-btn:active {
    transform: translateY(0) !important;
}

.whatsapp-btn i {
    font-size: 20px !important;
}

/* Responsive WhatsApp Widget */
@media (max-width: 768px) {
    .whatsapp-counsel {
        margin: 30px 0 !important;
        padding: 30px 15px !important;
    }
    
    .whatsapp-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
        font-size: 30px !important;
        margin-bottom: 20px !important;
    }
    
    .whatsapp-counsel h3 {
        font-size: 22px !important;
    }
    
    .whatsapp-counsel p {
        font-size: 14px !important;
    }
    
    .whatsapp-qr-code {
        width: 150px !important;
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-counsel {
        margin: 20px 0 !important;
        padding: 20px 10px !important;
    }
    
    .whatsapp-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
        font-size: 25px !important;
        margin-bottom: 15px !important;
    }
    
    .whatsapp-counsel h3 {
        font-size: 18px !important;
    }
    
    .whatsapp-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}
