﻿/* =========================================================
   QOUMI TRAVELS - RESPONSIVE TOP HEADER
   ========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}


/* =========================================================
   MAIN TOP HEADER
   ========================================================= */

.top-header {
    width: 100%;
    background: #064f3f; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1000;
    height:69px;
}


/* =========================================================
   HEADER CONTAINER
   ========================================================= */

.top-header-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    min-height: 68px;
    padding: 8px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}


/* =========================================================
   INFORMATION ITEMS
   ========================================================= */

.header-info,
.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.3s ease;
}


/* =========================================================
   ICONS
   ========================================================= */

.header-icon {
    font-size: 25px; 
    min-width: 27px;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}


/* Icon hover */

.header-info:hover .header-icon,
.header-contact:hover .header-icon {
   
    transform: scale(1.12);
}


/* Contact hover */

.header-contact:hover {
    
}


/* =========================================================
   SOCIAL AREA
   ========================================================= */

.header-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-shrink: 0;
}


/* =========================================================
   SOCIAL ICON CIRCLE
   ========================================================= */

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    font-size: 18px;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}


    /* =========================================================
   SOCIAL HOVER - DARK white
   ========================================================= */

    .social-icon:hover {
        color: #d81b60;
        background: #ffffff;
        border-color: #d81b60;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 12px rgba(216, 27, 96, 0.30);
    }


/* =========================================================
   LARGE DESKTOP
   1600px+
   ========================================================= */

@media (min-width: 1600px) {

    .top-header-container {
        padding-left: 30px;
        padding-right: 30px;
        gap: 25px;
    }

    .header-info,
    .header-contact {
        font-size: 17px;
    }

    .header-icon {
        font-size: 26px;
    }

    .social-icon {
        width: 46px;
        height: 46px;
    }
}


/* =========================================================
   LAPTOP
   1200px - 1599px
   ========================================================= */

@media (max-width: 1599px) {

    .top-header-container {
        padding: 8px 22px;
        gap: 14px;
    }

    .header-info,
    .header-contact {
        font-size: 14px;
        gap: 8px;
    }

    .header-icon {
        font-size: 22px;
        min-width: 23px;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .header-social {
        gap: 7px;
    }
}


/* =========================================================
   SMALL LAPTOP / TABLET
   992px - 1199px
   ========================================================= */

@media (max-width: 1199px) {

    .top-header-container {
        padding: 8px 18px;
        gap: 12px;
    }

    .header-info,
    .header-contact {
        font-size: 12px;
        gap: 6px;
    }

    .header-icon {
        font-size: 19px;
        min-width: 20px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .header-social {
        gap: 5px;
    }
}


/* =========================================================
   TABLET
   768px - 991px
   ========================================================= */

@media (max-width: 991px) {

    .top-header-container {
        min-height: auto;
        padding: 10px 16px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 18px;
    }

    .header-info,
    .header-contact {
        font-size: 12px;
    }

    .header-icon {
        font-size: 18px;
    }

    .header-social {
        width: auto;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}


/* =========================================================
   MOBILE
   576px - 767px
   ========================================================= */

@media (max-width: 767px) {

    .top-header-container {
        padding: 10px 12px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 10px;
    }

    .header-info,
    .header-contact {
        width: 100%;
        justify-content: flex-start;
        font-size: 11px;
        gap: 6px;
    }

    .header-icon {
        font-size: 17px;
        min-width: 19px;
    }

    .government-info {
        grid-column: 1 / -1;
        justify-content: center;
        text-align: center;
    }

    .header-social {
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 2px;
        gap: 7px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}


/* =========================================================
   SMALL MOBILE
   400px - 575px
   ========================================================= */

@media (max-width: 575px) {

    .top-header-container {
        padding: 9px 10px;
        grid-template-columns: 1fr 1fr;
        gap: 7px 8px;
    }

    .header-info,
    .header-contact {
        font-size: 10px;
        gap: 5px;
    }

    .header-icon {
        font-size: 15px;
        min-width: 17px;
    }

    .social-icon {
        width: 33px;
        height: 33px;
        font-size: 13px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   Below 400px
   ========================================================= */

@media (max-width: 399px) {

    .top-header-container {
        padding: 8px 8px;
        gap: 6px;
    }

    .header-info,
    .header-contact {
        font-size: 9px;
    }

    .header-icon {
        font-size: 14px;
        min-width: 15px;
    }

    .social-icon {
        width: 31px;
        height: 31px;
        font-size: 12px;
    }
}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) {

    .social-icon:active {
        color: #d81b60;
        background: #ffffff;
        border-color: #d81b60;
    }

    .header-info:active .header-icon,
    .header-contact:active .header-icon {
        color: #d81b60;
    }
}


/*main header*/

/* =========================================================
   MAIN HEADER / NAVBAR
   QOUMI TRAVELS
   ========================================================= */

:root {
    --primary-green: #064f3f;
    --dark-green: #043d31;
    --pink: #ffffff;
    --white: #ffffff;
    --text-dark: #263238;
    --border-color: #eeeeee;
}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.main-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


    /* =========================================================
   HEADER CONTAINER
   ========================================================= */

    .main-header .container,
    .main-header-container {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        min-height: 78px;
        padding: 8px 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 25px;
    }


/* =========================================================
   LOGO
   ========================================================= */

.main-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

    .main-logo img {
        display: block;
        width: auto;
        height: 58px;
        max-width: 220px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .main-logo:hover img {
        transform: scale(1.03);
    }


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

    .main-nav ul {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .main-nav li {
        margin: 0;
        padding: 0;
    }


    /* =========================================================
   NAV LINKS
   ========================================================= */

    .main-nav a {
        position: relative;
        display: inline-flex;
        align-items: center;
        padding: 10px 13px;
        color: var(--text-dark);
        text-decoration: none;
        font-family: "Poppins", sans-serif;
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
        transition: color 0.3s ease, background 0.3s ease;
    }


        /* Bottom hover line */

        .main-nav a::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 3px;
            width: 0;
            height: 2px; 
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }


        /* Hover */

        .main-nav a:hover {
            color: var(--orange);
        }

            .main-nav a:hover::after {
                width: 65%;
            }


        /* Active */

        .main-nav a.active {
          /*  color: var(--white);*/
        }

            .main-nav a.active::after {
                width: 65%;
            }


        /* =========================================================
   NAV ICONS
   ========================================================= */

        .main-nav a i {
            margin-right: 6px;
            font-size: 14px;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .main-nav a:hover i {
            color: var(--white);
            transform: translateY(-1px);
        }


/* =========================================================
   DROPDOWN ARROW
   ========================================================= */

.nav-dropdown > a i.fa-chevron-down {
    margin-left: 5px;
    margin-right: 0;
    font-size: 10px;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 210px;
    padding: 8px 0;
    margin: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #eeeeee;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1000;
}


/* Show dropdown */

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Dropdown links */

.nav-dropdown-menu a {
    display: flex;
    width: 100%;
    padding: 9px 15px;
    font-size: 13px;
    color: #333333;
}

    .nav-dropdown-menu a::after {
        display: none;
    }

    .nav-dropdown-menu a:hover {
       /* color: var(--white);*/
        background: #fff5f8;
    }


/* =========================================================
   HEADER BUTTONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}


/* Common button */

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 17px;
    border-radius: 5px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}


    /* Demo button */

    .header-btn.demo-btn {
        color: #ffffff;
        background: var(--primary-green);
        border: 1px solid var(--primary-green);
    }

        .header-btn.demo-btn:hover {
           /* color: #ffffff;
            background: var(--white);*/
            border-color: var(--white);
            transform: translateY(-1px);
            box-shadow: 0 4px 10px rgba(216, 27, 96, 0.20);
        }


    /* WhatsApp */

    .header-btn.whatsapp-btn {
        color: #ffffff;
        background: var(--white);
        border: 1px solid var(--white);
    }

        .header-btn.whatsapp-btn:hover {
            color: var(--white);
            background: #ffffff;
            border-color: var(--white);
        }


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background: #ffffff;
    color: var(--primary-green);
    font-size: 20px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .mobile-menu-btn:hover {
        color: var(--white);
        border-color: var(--pink);
    }


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1600px) {

    .main-header .container,
    .main-header-container {
        max-width: 1500px;
        min-height: 82px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .main-logo img {
        height: 62px;
    }

    .main-nav ul {
        gap: 8px;
    }

    .main-nav a {
        padding: 11px 15px;
        font-size: 15px;
    }

    .header-btn {
        min-height: 42px;
        padding: 10px 19px;
        font-size: 14px;
    }
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1399px) {

    .main-header .container,
    .main-header-container {
        padding-left: 20px;
        padding-right: 20px;
        gap: 15px;
    }

    .main-logo img {
        height: 55px;
        max-width: 200px;
    }

    .main-nav a {
        padding: 9px 9px;
        font-size: 13px;
    }

    .header-btn {
        padding: 8px 13px;
        font-size: 12px;
    }
}


/* =========================================================
   SMALL LAPTOP / TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .main-header .container,
    .main-header-container {
        min-height: 70px;
        padding-left: 15px;
        padding-right: 15px;
        gap: 10px;
    }

    .main-logo img {
        height: 50px;
        max-width: 180px;
    }

    .main-nav ul {
        gap: 0;
    }

    .main-nav a {
        padding: 8px 7px;
        font-size: 12px;
    }

        .main-nav a i {
            font-size: 12px;
            margin-right: 4px;
        }

    .header-btn {
        padding: 7px 10px;
        font-size: 11px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .main-header .container,
    .main-header-container {
        min-height: 68px;
    }

    .main-logo img {
        height: 48px;
        max-width: 175px;
    }

    /* Hide desktop navigation */

    .main-nav {
        display: none;
    }

    /* Hide desktop buttons if required */

    .header-actions {
        margin-left: auto;
    }

    /* Show mobile button */

    .mobile-menu-btn {
        display: flex;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .main-header .container,
    .main-header-container {
        min-height: 62px;
        padding: 7px 12px;
        gap: 8px;
    }

    .main-logo img {
        height: 44px;
        max-width: 155px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-btn {
        min-height: 37px;
        padding: 7px 10px;
        font-size: 10px;
    }

        .header-btn i {
            font-size: 11px;
        }

    .mobile-menu-btn {
        width: 39px;
        height: 39px;
        font-size: 18px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .main-header .container,
    .main-header-container {
        min-height: 58px;
        padding: 6px 10px;
    }

    .main-logo img {
        height: 40px;
        max-width: 140px;
    }

    /*
       Hide text buttons on very small screens.
       Keeps header clean.
    */

    .header-btn span {
        display: none;
    }

    .header-btn {
        width: 35px;
        height: 35px;
        min-height: 35px;
        padding: 0;
    }

        .header-btn i {
            font-size: 14px;
            margin: 0;
        }

    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 399px) {

    .main-header .container,
    .main-header-container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .main-logo img {
        height: 37px;
        max-width: 130px;
    }

    .header-actions {
        gap: 4px;
    }

    .header-btn {
        width: 33px;
        height: 33px;
    }

    .mobile-menu-btn {
        width: 34px;
        height: 34px;
    }
}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) {

    .main-nav a:active {
        color: var(--white);
    }

    .header-btn:active {
        transform: scale(0.97);
    }

    .mobile-menu-btn:active {
        color: var(--white);
        border-color: var(--white);
    }
}

/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    background: #ffffff;
    border: 3px solid #064f3f;
    border-radius: 9px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1100;
}


    /* Hamburger lines */

    .mobile-menu-btn span {
        display: block;
        width: 27px;
        height: 3px;
        background: #555;
        border-radius: 5px;
        transition: all 0.3s ease;
    }


    /* =========================================================
   HAMBURGER -> X
   ========================================================= */

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 991px) {

    .mobile-menu-btn {
        display: flex;
        flex-shrink: 0;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #eeeeee;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }


        /* OPEN */

        .main-nav.mobile-open {
            max-height: 600px;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }


        .main-nav ul {
            display: block;
            width: 100%;
            margin: 0;
            padding: 10px 15px 20px;
            list-style: none;
        }


        .main-nav li {
            width: 100%;
            margin: 0;
            padding: 0;
        }


        .main-nav a {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 13px 5px;
            font-size: 16px;
            font-weight: 500;
            color: #00441A;
            border-bottom: 1px solid #f1f1f1;
            text-decoration: none;
        }


            .main-nav a::after {
                display: none;
            }


            .main-nav a i {
                width: 28px;
                margin-right: 5px;
                font-size: 18px;
                color: #00441A;
            }


            .main-nav a:hover {
                color: #d81b60;
                background: #fff8fa;
            }


                .main-nav a:hover i {
                    color: #d81b60;
                }
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 767px) {

    .main-header {
        position: relative;
    }

    .main-header-container {
        min-height: 75px;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    .main-logo img {
        height: 58px;
        max-width: 190px;
        object-fit: contain;
    }


    .mobile-menu-btn {
        width: 86px;
        height: 65px;
        border-width: 4px;
        border-radius: 10px;
    }


        .mobile-menu-btn span {
            width: 35px;
            height: 3px;
        }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .main-header-container {
        min-height: 70px;
        padding: 8px 20px;
    }


    .main-logo img {
        height: 55px;
        max-width: 185px;
    }


    .mobile-menu-btn {
        width: 68px;
        height: 58px;
        border-width: 3px;
    }


        .mobile-menu-btn span {
            width: 32px;
            height: 3px;
        }


    .main-nav a {
        padding: 12px 5px;
        font-size: 15px;
    }
}

/*color*/

