@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
   
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    transition: background-color 2s;
    padding-left: 30px;
    /* box-shadow: 0 15px 15px rgba(0,0,0,0.5); */

}

header img {
    width: 200px;
    z-index: 100000;
    margin-top: 20px;
}

.header.scrolled {
    background: rgb(20, 49, 86); /* New background after scrolling */
    color: white;
}

.menuToggle {
    transition: color 2s ease;
}

.closeBtn {
    transition: color 2s;
}

.header.scrolled .icon,
.header.scrolled .menuToggle {
    color: white;
    transition: color 0.42s ease; 
}

.header.scrolled .searchBox {
    background-color: rgb(20, 49, 86);
}

.header.scrolled .searchBox input {
    color: #fff;
    background-color: rgb(20, 49, 86);
    transition: 0.5s ease-in-out;
}

.header.scrolled ::placeholder {
    color: #fff;
}

.header__line {
    width: 100%;
    height: 2px;
    background: rgba(20, 49, 86, 0.7); /* Initial color of the line */
    position: absolute;
    bottom: 0;
    left: 0;
    transition: background-color 0.3s; /* Transition for the line color */
}

.header.scrolled .header__line {
    background: rgba(0, 0, 0, 0.5); /* New color for the line after scrolling */
}


.group {
    display: flex;
    align-items: center;
}

header ul {
    position: relative;
    display: flex;
    gap: 30px;
}

header ul li {
    list-style: none;
}

header ul li a {
    position: relative;
    text-decoration: none;
    font-size: 1em;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

header ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: rgba(20, 49, 86, 0.7);
    transform: scaleX(0);
    transition: transform 0.5s ease-in-out;
    transform-origin: right;
}

header ul li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.header.scrolled ul li a::before {
    background: white;
}

header .search {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    z-index: 10;
    cursor: pointer;
}

.searchBox {
    position: absolute;
    right: -100%;
    width: 100%;
    height: 100%;
    display: flex;
    background: #fff;
    align-items: center;
    padding: 0 30px;
    transition: 0.5s ease-in-out;
}

.searchBox.active {
    right: 0;
}

.searchBox input {
    width: 100%;
    border: none;
    outline: none;
    height: 50px;
    color: #333;
    font-size: 1.25em;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5)
}

.icon,
.menuToggle {
    color: #3f7e60;

}

.searchBtn {
    position: relative;
    left: 30px;
    top: 2.5px;
    transition: 0.5s ease-in-out;
    
}

.searchBtn.active {
    left: 0;
}

.closeBtn {
    opacity: 0;
    visibility: hidden;
    
}

.closeBtn.active {
    opacity: 1;
    visibility: visible;
    transition: 0.5s;
    scale: 1;
}

.menuToggle {
    position: relative;
    display: none;
    color: #3f7e60;
}

@media (max-width: 800px) {

    .searchBtn {
        left: 0;
    }

    .menuToggle {
        position: absolute;
        display: block;
        font-size: 2em;
        cursor: pointer;
        transform: translateX(30px);
        z-index: 10;
    }

    header .navigation {
        position: absolute;
        opacity: 0;
        visibility: hidden;
        left: 100%;
    }

    header.open .navigation {
        top: 110px;
        opacity: 1;
        visibility: visible;
        left: 0;
        display: flex;
        flex-direction: column;
        background: rgb(20, 49, 86);
        width: 100%;
        height: calc(100vh - 80px);
        padding: 40px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    header.open .navigation li a {
        font-size: 1.25em;
    }

    .hide {
        display: none;
    }
}

.result-box {
    position: absolute;
    display: block;
    top: 100%; /* Position below the input field */
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000; /* Ensure it appears above other elements */
}

.result-box ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #999;
    padding: 15px 10px;
}

.result-box ul li {
    display: block;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    cursor: grab;
    color: #333;
    font-weight: 600;
    list-style: none;
    border-radius: 3px;
    padding: 15px 10px;
    color: black;
}

.result-box ul li:hover {
    background: #e9f3ff;
}

.highlight {
    background-color: yellow;
}

.containerr {
    max-width: 1170px;
    margin: auto;
}

.roww {
    display: flex;
    flex-wrap: wrap;
}

ul {
    list-style: none;
}

.footer {
    background-color: rgb(20, 49, 86);
    padding: 70px 0;
}

.footer-col {
    width: 50%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff;
}

.footer p {
    font-size: 16px;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    margin-top: 50px;
    text-align: center;
}

@media (max-width: 574px) {
    .footer-col {
        width: 100%;
    }
}

/* Style the dropdown menu */
.gallery-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -34px;
    background: rgb(20, 49, 86);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    list-style: none;
    margin: 0;
    white-space: nowrap;
    justify-content: space-around;
    z-index: 99;
}

.dropdown-menu li {
    margin: 0; /* Reset margin */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Light border */
    padding: 10px 15px; /* Padding around items */
    white-space: normal; /* Ensure text wraps normally */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

/* Remove border from the last item */
.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    font-size: 10px; /* Adjust the font size as needed */
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.dropdown-menu li:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Light background on hover */
}

/* Hover effect for links */
.dropdown-menu a:hover {
    color: #00ff37; /* Change text color on hover */
}

.gallery-dropdown:hover .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

.contact {
    position: relative;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url(../images/vecteezy_ai-generated-aerial-top-down-view-of-a-large-container-cargo_35872816.jpg);
    background-size: cover;
    background-attachment: fixed;
}

.content {
    margin-top: 100px;
}

.contact .content {
    max-width: 800px;
    text-align: center;
}

.contact .content h2 {
    font-size: 36px;
    font-weight: 500;
    color: #111111;
}

.contact .content p {
    font-weight: 600;
    color: #151515;
}

.container1 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 30px;
}

.container1 .contactInfo {
    margin-top: 120px;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.container1 .contactInfo .box1 {
    position: relative;
    padding: 20px 0;
    display: flex;
}

.container1 .contactInfo .box1 .iconn {
    min-width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
}

.container1 .contactInfo .box1 .textt {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
    flex-direction: column;
    font-weight: 300;
}

.container1 .contactInfo .box1 .textt h3 {
    font-weight: 500;
    color: #00bcd4;
}

.contactForm {
    width: 40%;
    padding: 40px;
    background: #fff;
}

.contactForm h2 {
    font-size: 30px;
    color: #333;
    font-weight: 500;
    margin-bottom: 20px;
}

.contactForm .inputBox {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}

.contactForm .inputBox .line {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}

.contactForm .inputBox span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
}

.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span {
    color: #e91e63;
    font-size: 12px;
    transform: translateY(-20px);
}

.contactForm .inputBox input[type="submit"] {
    width: 100px;
    background: #00bcd4;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
}

.inputBox {
    position: relative;
    margin-bottom: 30px;
}

.inputBox select {
    width: 100%;
    padding: 10px 0;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    border: none;
    border-bottom: 1px solid #777;
    outline: none;
    background: transparent;
}

.inputBox span {
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 16px;
    color: #777;
    pointer-events: none;
    transition: 0.5s;
}

.inputBox select:focus ~ span,
.inputBox select:valid ~ span {
    top: -30px;
    font-size: 12px;
    color: #333;
}

@media (max-width: 767px) {
    .contact {
        padding: 50px;
    }

    .container1 {
        flex-direction: column;
    }
    
    .container1 .contactInfo {
        margin-bottom: 40px;
    }

    .container1 .contactInfo {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }

    section .container1 .contactInfo {
        margin-top: 5px;
    }

    .dropdown-menu li {
        font-size: 9px;
    }  

    header.open .dropdown-menu {
        top: -10px;
    }

    ul.dropdown-menu {
        left: 140px;
    }

    .contactForm {
        width: 300px;
    }
}

@media screen and (max-width: 281px) {
    ul.navigation {
        font-size: 10px;
    }

    ul.dropdown-menu {
        left: 80px;
        width: 130px;
    }

    ul.dropdown-menu li {
        font-size: 6.9px;
    }

    .contactForm {
        width: 200px;
    }

    .contactForm h2 {
        font-size: 20px;
    }

    .contactForm .inputBox span {
        font-size: 13px;
    }

    .inputBox select {
        font-size: 13px;
    }

    .container1 .contactInfo .box1 .textt p {
        font-size: 13px;
    }
}