/*Style topbar menu*/
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Dark Header Style - NZ Migration Style */
#site-header.dark-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(42, 45, 58, 0.95);
    padding: 15px 0;
    z-index: 99999;
    border-bottom: none;
    box-shadow: none;
}

/* Adjust for WP Admin Bar */
.admin-bar #site-header.dark-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar #site-header.dark-header {
        top: 46px;
    }
}

#site-header {
    position: relative;
    background-color: rgba(42, 45, 58, 0.95);
    padding: 15px 0;
    width: 100%;
}

.top-bar-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 5%;
    max-width: 1920px;
}

.logo a {
    display: inline-block;
}

.logo-img {
    height: 80px;
    width: auto;
}

/* Menu Styles */
.menu {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    margin-right: 20px;
}

/* Hide mobile contact button on desktop */
.mobile-contact-cta {
    display: none;
}

.menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.menu-items li {
    display: inline-block;
    position: relative;
}

.menu-items li a {
    text-decoration: none;
    font-size: 15px;
    color: #ffffff;
    font-weight: 400;
    padding: 10px 15px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Dropdown arrow for menu items with children */
.menu-items li.has-dropdown > a::after,
.menu-items li.menu-item-has-children > a::after {
    content: '';
    border: solid #ffffff;
    border-width: 0 1.5px 1.5px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 5px;
    margin-bottom: 3px;
    transition: transform 0.3s ease;
}

.menu-items li.has-dropdown:hover > a::after,
.menu-items li.menu-item-has-children:hover > a::after {
    transform: rotate(-135deg);
    margin-bottom: 0;
}

/* Submenu Dropdown */
.menu-items li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(42, 45, 58, 0.98);
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.menu-items li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-items li .sub-menu li {
    display: block;
}

.menu-items li .sub-menu li a {
    padding: 12px 20px;
    font-size: 14px;
    display: block;
}

.menu-items li .sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #c64f2e;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    color: #ffffff;
    position: relative;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.menu-toggle.active svg {
    transform: rotate(90deg);
}

/* ============================================
   MOBILE MENU - PROFESSIONAL & SEXY
   ============================================ */
@media (max-width: 1024px) {
    .top-bar-menu {
        padding: 0 20px;
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 3;
    }
    
    .header-cta {
        display: none;
    }
    
    .logo {
        order: 1;
    }
    
    /* Mobile Menu Container */
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: linear-gradient(180deg, #1a2a3a 0%, #0f1a24 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        margin: 0;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
    }
    
    .menu.active {
        right: 0;
    }
    
    /* Menu Header */
    .menu::before {
        content: 'Menu';
        display: block;
        padding: 25px 30px;
        font-size: 1.4rem;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: 2px;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(212, 164, 55, 0.1);
    }
    
    /* Menu Items Container */
    .menu-items {
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
        width: 100%;
        align-items: stretch;
    }
    
    /* Mobile Contact Button in Menu */
    .mobile-contact-cta {
        display: none;
    }
    
    .menu.active .mobile-contact-cta {
        display: block;
        padding: 20px 30px 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 20px;
    }
    
    .menu.active .mobile-contact-cta a {
        display: block;
        padding: 16px 30px;
        background-color: #c64f2e;
        color: #ffffff;
        text-align: center;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(198, 79, 46, 0.4);
    }
    
    .menu.active .mobile-contact-cta a:hover {
        background-color: #a8432a;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(198, 79, 46, 0.5);
    }
    
    /* Menu Items */
    .menu-items > li {
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .menu-items > li:last-child {
        border-bottom: none;
    }
    
    .menu-items > li > a {
        font-size: 1rem;
        font-weight: 500;
        padding: 18px 30px;
        justify-content: space-between;
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.3s ease;
        position: relative;
    }
    
    .menu-items > li > a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, #d4a437, #c64f2e);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    .menu-items > li > a:hover,
    .menu-items > li > a:focus {
        background: rgba(255, 255, 255, 0.05);
        color: #d4a437;
        padding-left: 35px;
    }
    
    .menu-items > li > a:hover::before {
        transform: scaleY(1);
    }
    
    /* Dropdown Arrow - Mobile */
    .menu-items li.has-dropdown > a::after,
    .menu-items li.menu-item-has-children > a::after {
        border-color: rgba(255, 255, 255, 0.5);
        padding: 4px;
        margin-left: auto;
        margin-bottom: 0;
        transition: all 0.3s ease;
    }
    
    .menu-items li.has-dropdown.submenu-open > a::after,
    .menu-items li.menu-item-has-children.submenu-open > a::after {
        transform: rotate(-135deg);
        border-color: #d4a437;
    }
    
    /* Submenu - Mobile */
    .menu-items li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
    }
    
    .menu-items li.submenu-open .sub-menu {
        max-height: 500px;
        padding: 10px 0;
    }
    
    .menu-items li .sub-menu li {
        display: block;
    }
    
    .menu-items li .sub-menu li a {
        padding: 14px 30px 14px 50px;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        position: relative;
    }
    
    .menu-items li .sub-menu li a::before {
        content: '';
        position: absolute;
        left: 30px;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 1px;
        background: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }
    
    .menu-items li .sub-menu li a:hover {
        color: #d4a437;
        background: rgba(255, 255, 255, 0.03);
        padding-left: 55px;
    }
    
    .menu-items li .sub-menu li a:hover::before {
        width: 12px;
        background: #d4a437;
    }
    
    /* Mobile Menu Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        backdrop-filter: blur(3px);
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-cta-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .logo-img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .top-bar-menu {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .header-cta-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .menu {
        width: 100%;
        max-width: none;
    }
    
    .menu-items > li > a {
        padding: 16px 25px;
    }
    
    .menu-items li .sub-menu li a {
        padding: 12px 25px 12px 45px;
    }
    
    .menu-items li .sub-menu li a::before {
        left: 25px;
    }
}

/* Landscape Mobile - Ensure scrollability */
@media (max-height: 500px) and (orientation: landscape) {
    .menu {
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch;
        display: flex !important;
    }
    
    .menu::before {
        padding: 15px 30px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .menu-items {
        flex-shrink: 0;
    }
    
    .menu-items > li > a {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .menu.active .mobile-contact-cta {
        padding: 15px 30px 20px;
        flex-shrink: 0;
    }
    
    .menu.active .mobile-contact-cta a {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}


/* Hover and Active Effects */
.menu-items li a:hover,
.menu-items li a:focus {
    color: #c64f2e; /* Namibia terracotta hover color */
}

/* Header CTA Button - Red Contact Button */
.header-cta {
    flex-shrink: 0;
}

.header-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #c64f2e;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.header-cta-btn:hover {
    background-color: #a8432a;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .header-cta {
        display: none;
    }
}

/*TEMP: Home page div*/
.main-text {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
}


/*Footer Style Start*/



.custom-footer {
    background-color: #0d1522;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

@media (min-width: 1921px) {
    .custom-footer {
        max-width: 1920px;
        margin: 0 auto;
        left: unset;
        right: unset;
        width: 100%;
    }
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-menu,
.footer-buttons {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    text-align: center;
    padding: 0 0 0 5vw;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-divider {
    height: 55px;
    width: 2px;
    background-color: #ffffff;
    margin: 0 5vw;
    flex-shrink: 0;
}

.footer-button {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    color: #fdfdfd;
    text-align: center;
    padding: 0 5vw 0 0;
}

.footer-button .circle {
    height: 50px;
    width: 50px;
    background-color: #45f9ab;
    border-radius: 50%;
    flex-shrink: 0;
    margin-bottom: 1px;
}

.footer-button .button-text {
    color: #ffffff;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
}

.footer-button:hover .circle {
    opacity: 0.9;
}

.footer-button:hover {
    opacity: 0.9;
}

.footer-message {
    margin-top: 20px;
    font-size: 14px;
    border-top: 2px solid #ffffff;
    padding-top: 10px;
}

.footer-message h2{
    margin-top: 30px;
    color: #ffffff;
}
.footer-message p{
    color: #ffffff;
    font-size: 1rem;
}

@media (min-width: 1921px) {
    .footer-button {
        padding: 0 150px 0 0;
    }
}

@media (max-width: 1200px) {
    .footer-button .circle {
        height: 45px;
        width: 45px;
    }

    .footer-button .button-text {
        font-size: 1rem;
    }

    .footer-link {
        font-size: 1rem;
    }

    .footer-message h2{
        font-size: 1.5rem;
    }
    .footer-message p{
        font-size: 0.9rem;
    }

}

@media (max-width: 970px) {

    .footer-button .circle {
        height: 40px;
        width: 40px;
    }

    .footer-button .button-text {
        font-size: 0.8rem;
    }

}

@media (max-width: 930px) {
    .footer-button {
        padding: 0 2vw 0 0;
    }

}

@media (max-width: 930px) {
    .footer-button {
        padding: 0 2vw 0 0;
    }

}

@media (max-width: 800px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        padding: 0 0;
    }

    .footer-divider {
        width: 100%;
        height: 2px;
        margin: 20px 0;
    }

    .footer-buttons {
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }

    .footer-button .circle{
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .circle{
        margin-bottom: 1px;
    }

    .footer-message {
        margin-top: 20px;
        font-size: 14px;
        border-top: 2px solid #ffffff;
        padding-top: 10px;
    }

    .footer-link {
        padding: 0 5vw 0 5vw;
    }

}



/*Footer Style End*/

/* ============================================
   NAMIBIA MIGRATION FOOTER STYLES
   ============================================ */

.migration-footer {
    background: linear-gradient(135deg, #1a365d 0%, #0f2744 100%);
    color: #ffffff;
}

/* Footer Logo Section */
.footer-logo-section {
    text-align: center;
    padding: 50px 5% 45px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Animated background pattern */
.footer-logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 164, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(26, 54, 93, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(198, 79, 46, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Top accent border */
.footer-logo-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a365d, #d4a437, #c64f2e);
}

/* Decorative lines */
.footer-logo-decor {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-decor.left {
    left: 8%;
}

.footer-logo-decor.right {
    right: 8%;
}

.footer-logo-decor .line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 164, 55, 0.5), transparent);
}

.footer-logo-decor.right .line {
    background: linear-gradient(270deg, rgba(212, 164, 55, 0.5), transparent);
}

.footer-logo-decor .dot {
    width: 8px;
    height: 8px;
    background: #d4a437;
    border-radius: 50%;
}

.footer-main-logo {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.footer-main-logo img {
    height: 180px;
    width: auto;
    max-width: 100%;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.12));
}

.footer-main-logo:hover img {
    transform: scale(1.04) translateY(-3px);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.18));
}

/* Tagline */
.footer-tagline {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #1a365d;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.footer-tagline span {
    color: #d4a437;
}

@media (max-width: 1024px) {
    .footer-logo-decor {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-logo-section {
        padding: 40px 5% 35px;
    }
    
    .footer-main-logo img {
        height: 150px;
    }
    
    .footer-tagline {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .footer-logo-section {
        padding: 30px 5% 25px;
    }
    
    .footer-main-logo img {
        height: 120px;
    }
}

.footer-main {
    padding: 80px 5% 60px;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1400px;
    width: 100%;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #d4a437, #c64f2e);
    border-radius: 2px;
}

/* Footer About */
.footer-about .footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    height: 150px;
    width: auto;
}

.footer-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #d4a437;
    transform: translateY(-3px);
}

.social-link.whatsapp:hover {
    background: #25D366;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #d4a437;
    transform: translateX(5px);
}

/* Footer Contact */
.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact .contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #d4a437;
}

.footer-contact .contact-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
    color: #d4a437;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 5%;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.copyright a {
    color: #d4a437;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #ffffff;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #d4a437;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 60px 5% 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact .contact-item {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 50px 4% 30px;
    }
    
    .footer-column h4 {
        font-size: 1rem;
    }
    
    .footer-links a,
    .footer-contact .contact-item {
        font-size: 0.9rem;
    }
}