/* ================================
   Variables
================================ */

:root {
    --primary: #0d6efd;
    --dark: #212529;
    --light: #f8f9fa;
    --border: #dee2e6;
    --header-dark: #0e3a43;
    --header-mid: #1f5f5b;
    --header-light: #2d7f6f;
}

/* ================================
   Base Reset
================================ */

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Figtree', sans-serif;
    font-size: 15px;
    color: var(--dark);
    background-color: #ffffff;
}

/* ================================
   Layout
================================ */

#layout-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.page-content {
    padding: 25px 0;
}



/* ================================
   HEADER – COMMON / DESKTOP
================================= */

.site-header {
    background: linear-gradient(
        90deg,
        #0b3a40 0%,
        #1f5857 50%,
        #2f6f63 100%
    );
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    position: relative;
    z-index: 1000;
}

.header-inner {
    height: 74px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Logo */
.header-logo img {
    height: 36px;
    margin-left: 20px;
    margin-top: 15px;
    
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav li {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Desktop Buttons */
.header-actions.desktop-actions {
    display: flex;
    gap: 15px;
    margin-left: auto;
    margin-right: 15px;

}

/* Buttons */
.btn-login {
    color: #ffffff;
    font-size: 14px;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
    background: transparent;
    

}

.btn-login:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
}



.btn-expert {
    background: #7edc8b;
    color: #0f3a2e;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
        font-weight: bold;
        transition: all 0.2s ease;

}

.btn-expert:hover {
    background-color: #6dd77a; 
    color: #0f3a2e;
}

/* Mobile toggle button hidden on desktop */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    margin-left: auto;
}

/* Mobile menu hidden on desktop */
.mobile-menu {
    display: none;
}

/* Dropdown parent */
.header-nav .dropdown {
    position: relative;
}


/* Mega menu container */
.header-nav .mega-dropdown .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;   
    min-width: 220px;
    display: none;
    background-color: #0c161c; /* dark background */
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 999;
}

/* Show dropdown on hover */
.header-nav .mega-dropdown:hover .mega-menu {
    display: flex;
    justify-content: flex-start;
    
}



/* Remove auto-added dropdown icon */
.dropdown-toggle::after {
    display: none;
}

.dropdown-toggle{
    text-decoration: none;
    color: #fff;
}


/* Columns inside mega menu */
.mega-menu-column {
    display: flex;
    flex-direction: column;
    min-width: 180px; /* adjust as needed */
}

/* Links in mega menu */
.mega-menu-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.mega-menu-item img {
    height: 20px;
    width: 20px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 3px;
}

.mega-menu-item:hover {
    color: #a3e887; /* highlight color */
}

/* Optional: responsive */
@media(max-width: 992px) {
    .header-nav .mega-dropdown .mega-menu {
        flex-direction: column;
    }
    .mega-menu-column {
        min-width: 100%;
    }
}



/* ================================
   FOOTER – IMAGE MATCH
================================ */

.site-footer {
    background: #214a55;
    color: #d9e6ea;
    padding: 70px 0 25px;
    font-size: 14px;
    bottom: 0;            
    width: 100%;      
    z-index: 999;    
}

/* Layout */
.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
}

/* Brand */
.footer-logo {
    height: 40px;
    margin-bottom: 18px;
}

.footer-desc {
    max-width: 320px;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
}

/* Columns */
.footer-col h6 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a {
    color: #d9e6ea;
    text-decoration: none;
    font-weight: 400;
}

/* Contact */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: #3fe0c5;
    font-size: 16px;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.25);
    margin: 50px auto 25px;
    max-width: 1200px;
}

/* Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.7);
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
}


