* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: 'Poppins', sans-serif;
}


.navbar {
    position: fixed;
    display: flex;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 7px;
    width: 100%;
    height: auto;
    background: #fff;
    z-index: 100;
    top: 0px;
    transition: border-bottom 0.3s ease;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.05);
}


.logo {
    padding: 0 80px;
}



.logo-img {
    width: 162px;
    height: 70px;
}

.listItems {
    list-style: none;
    display: flex;
}

.listItems li a {
    position: relative;
    color: #38424D;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 34px 20px;
    width: 100%;
}

.listItems li a:hover {
    color: #4a9dc4;
}

.listItems li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background-color: #4a9dc4;
    transition: width 0.3s ease;
}

.listItems li a:hover::after {
    width: 100%;
}

.listItems li a.active::after {
    width: 100%;
}

.listItems li a.active {
    color: #4a9dc4;
}



/* Mobile Menu Button */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #488FA1;
    transition: all 0.3s ease;
}


.nav-container {
    background-color: #F2F4F7;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    max-width: 100%;
    margin-top: 50px;
    padding: 10px 60px;
    margin-top: 155px;
}

.nav-button {
    background: white;
    border: 1px solid #F3F4F6;
    width: 46px;
    height: 46px;
    cursor: pointer;
    font-size: 24px;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.nav-button:hover {
    background-color: #f0f0f0;
}

.nav-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    flex: 1;
}

.nav-tab {
    background-color: transparent;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 18px;
    color: #38424D;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 500;
}

.nav-tab:hover {
    background-color: #e8f4f8;
    color: #3d9db3;
}

.nav-tab.active {
    background-color: #4a9fb0;
    color: white;
}

/* Hide scrollbar but keep functionality */
.nav-container::-webkit-scrollbar,
.nav-tabs::-webkit-scrollbar {
    height: 0;
}

/* hunza valley  */

.Valleys-container {
    margin: 100px 50px;
}

.Valleys-container h1 {
    font-size: 36px;
    font-weight: 600;
    line-height: 40px;
    color: #38424D;
    display: flex;
    gap: 5px;
}

.Valleys-container p {
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    padding: 20px 0;
    padding-bottom: 30px;
    color: #38424D;
}

.Valleys-container span {
    width: 5px;
    height: 40px;
    background-color: #488FA1;
    display: flex;
}

.valley-gallery {
    display: flex;
    justify-content: center;
    background: #F2F4F7;
    box-shadow: 0 2px 12px #488FA1;
    padding: 10px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.gallery-container {
    display: flex;
    gap: 10px;
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.gallery-container img {
    width: 280px;
    height: 100%;
    flex-shrink: 0;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 91%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 10;

}

.nav-arrow.prev {
    left: 10px;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.nav-arrow.next {
    right: 10px;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}


.table-wrapper {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px #488FA133;
    margin-top: 50px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #DADEDF;
}

thead {
    background-color: #488FA1;
}

thead th {
    color: white;
    font-weight: 400;
    font-size: 18px;
    padding: 25px 20px;
    text-align: left;
}


tbody tr:last-child {
    border-bottom: none;
}

tbody tr:nth-child(even) {
    background-color: #F1F1F1;
}


tbody td {
    padding: 25px 20px;
    color: #38424D;
    font-size: 18px;
    line-height: 1.5;
}

tbody td:first-child {
    font-weight: 500;
    color: #2c3e50;
}


footer {
    background: #1E2833;
    color: white;
    padding: 30px 50px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr .6fr 2fr .5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    font-style: italic;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-section p {
    line-height: 1.8;
    font-size: 14px;
    padding-top: 10px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
    font-size: 18px;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.social-icons .facebook {
    background: #3b5998;
    color: white;
}

.social-icons .instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icons .twitter {
    background: #1da1f2;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-size: 14px;
}

.contact-info i {
    color: white;
    margin-top: 3px;
    font-size: 16px;
}

.subscribe-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
    gap: 0;
    background: #FFFFFF;
    border-radius: 6px;

}

.subscribe-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    outline: none;
}

.subscribe-form button {
    background: #488FA1;
    border: none;
    padding: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin: 5px;
}

.subscribe-form button:hover {
    background: #3d8aab;
}

.subscribe-form button i {
    color: white;
    font-size: 18px;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(72, 143, 161, 0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 1000;
}



.scroll-top i {
    color: white;
    font-size: 20px;
}

.footer-bottom {
    border-top: 1px solid #fff;
    padding-top: 25px;
    text-align: center;
    color: #C3C3C3;
    font-size: 15px;
    font-weight: 400;
}


@media (max-width: 1200px) {
    .navbar {
        flex-wrap: nowrap;
    }

    .listItems {
        gap: 20px;
    }

    .gallery-container img {
        width: 240px;
    }
}


@media (max-width: 992px) {
    .logo-img {
        width: 120px;
    }

    .listItems {
        position: fixed;
        top: 76px;
        right: -100%;
        width: 100%;
        height: 10vh;
        gap: 10px;
        background-color: #FFFFFF;
        flex-direction: column;
        justify-content: center;
        transition: right 0.5s ease;
        padding: 160px 34px;
        padding-top: 148px;
        z-index: 100;
    }

    .listItems li a {
        color: #5F5F5F;
        font-size: 14px;
        padding-bottom: 3px;
        padding: 3px 0px;
    }

    .navbar {
        justify-content: space-between;
        padding: 0 20px;
    }

    .listItems.active {
        right: 0;
    }

    .menu-btn {
        display: flex;
        color: #38424D;
    }

    .menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .gallery-container {
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
    }

    .gallery-container::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .gallery-container img {
        width: 220px;
        flex-shrink: 0;
    }

    footer {
        padding: 40px 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .scroll-top {
        bottom: 10px;
        right: 30px;
    }

    .subscribe-form {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {

    .navbar {
        padding: 0 40px;
        justify-content: space-between;
        border-bottom: none;
        box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.05);
    }

    .logo-img {
        width: 100px;
    }

    .logo {
        padding: 0;
    }

    .nav-tab {
        font-size: 15px;
        padding: 10px 20px;
    }

    .nav-tabs {
        gap: 5px;
    }

    .nav-button {
        width: 36px;
        height: 36px;
    }



    .Valleys-container h1 {
        font-size: 26px;
        font-weight: 600;
        line-height: 40px;
        color: #38424D;
        display: flex;
        align-items: center;
    }

    .Valleys-container p {
        font-size: 14px;
        font-weight: 400;
        line-height: 100%;
        padding: 10px 0;
        padding-bottom: 30px;
        color: #38424D;
        display: flex;
    }

    .nav-container {
        padding: 10px;
        margin-top: 125px;

    }

    .Valleys-container {
        margin: 50px;
    }

    .gallery-container {
        min-width: calc(50% - 8px);
    }

    .Valleys-container h1 {
        font-size: 24px;
        padding-bottom: 10px;
    }

    .Valleys-container span {
        height: 30px;
    }

    .table-wrapper {
        overflow-x: auto;
        margin-top: 20px;
    }

    table {
        min-width: 600px;
    }

    thead th,
    tbody td {
        padding: 12px 16px;
        font-size: 13px;
    }


    .gallery-container img {
        width: 200px;
    }

    .nav-arrow {
        width: 35px;
        font-size: 18px;
    }
}


@media (max-width: 576px) {
    .Valleys-container {
        margin: 50px 20px;
    }

    .valley-gallery {
        padding: 8px;
    }

    .gallery-container {
        gap: 8px;
    }

    .gallery-container img {
        width: 160px;
    }

    .nav-arrow {
        width: 30px;
        height: 88%;
        font-size: 16px;
    }

    .nav-arrow.prev {
        left: 5px;
    }

    .nav-arrow.next {
        right: 5px;
    }
}

@media (max-width: 480px) {

    .listItems {
        width: 100%;
    }

    .gallery-container {
        min-width: 100%;
    }

    .gallery-container img {
        width: 140px;
    }

    .nav-arrow {
        width: 28px;
    }

    .subscribe-form {
        margin-bottom: 20px;
    }
}