* {
    margin: 0;
    padding: 0;
}

:root {
    --gray-color: #2f2f2f;
    --lightgray-color: #838383;
    --red-color: rgb(155, 0, 0);
    --lightred-color: rgb(224, 0, 0);
    --bg-color: #654321;
}

::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: linear-gradient(var(--red-color),var(--gray-color));
    border-radius: 10px;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: var(--lightred-color);
    border-radius: 10px;
    width: 5px;
  }

/* ----------------head---------------- */

.header {
    min-height: 50vh;
    width: 100%;
    background-image: url("./Images/contact_us.png");
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 20px;
    position: relative;
    gap: 10px;
}

.nav-links ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 15px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
}

.more {
    display: none;
}

ul li:focus-within .more,
ul li:hover .more {
    display: block;
    position: absolute;
    border: 2px solid white;
    z-index: 10;
    color: white;
    margin-top: 2px;
    border-radius: 10px;
    padding: 5px;
    transition: 1s ease-in-out;
    background-image: linear-gradient(180deg, var(--red-color), var(--gray-color), var(--gray-color));
}

.more ul li a {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f10;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 90%;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding-top: 50px;
}

.text-box h1 {
    font-size: 62px;
    font-family: "Reddit Sans", serif;
    font-weight: 1100;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 18px;
    color: rgb(255, 255, 255);
    font-family: "Reddit Sans", serif;
    font-weight: 500;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: rgb(255, 255, 255);
    border: 2px solid rgb(255, 255, 255);
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 10px;
    font-family: "Poppins", serif;
    font-weight: 400;
}

.hero-btn:hover {
    border: 1px solid #ff1100;
    background: #ff1100;
    transition: 1s;
}

nav .fa {
    display: none;
}
#bttbtn {
    display: none; 
    position: fixed; 
    bottom: 20px;
    right: 30px; 
    z-index: 99; 
    border: none; 
    outline: none;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 5px;
    font-size: 18px;
    border: 1px solid #222;
    color: #222;
    font-size: 25px;
    padding: 10px 30px;
    background: white;
  }

@media(max-width: 840px) {
    .header{
        min-height: 40vh;
    }
    .text-box h1 {
        font-size: 40px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: fixed;
        background: #2f2f2f;
        background-image: linear-gradient(180deg, var(--red-color), var(--gray-color), var(--gray-color));
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa {
        display: contents;
        color: rgb(255, 255, 255);
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 10px;
    }

    .nav-links ul li a {
        font-size: 18px;
    }

    .more {
        width: 130px;
    }

    .more ul li a {
        margin-left: -15px;
        font-size: 18px;
    }
}

/* ------------contact--------------- */


#contact{
    padding: 20px 100px;
    background: linear-gradient(to bottom,var(--red-color),black);
}

#contact h2{
    text-align: center;
    font-size: 50px;
    color: white;
    font-family: "Reddit Sans", serif;
}

.contact{
    display: flex;
    flex-direction: row;
    margin: 50px;
}

.contact p{
    text-align: justify;
    padding-right: 50px;
    font-size: 30px;
    color: white;
    font-family: "Raleway", serif;
    letter-spacing: 1px;
}

.contact img{
    height: 70vh;
    border: 5px solid white;
}


.display { 
    display: flex; 
    flex-direction: column; 
    align-content: center; 
    justify-content: center; 
    margin: -10px 0 0 50px;
} 
.ripple { 
    background-position: center; 
    transition: background 0.8s; 
} 
.ripple:hover { 
    background: var(--red-color) radial-gradient(circle,  
          transparent 1%, var(--red-color) 1%) 
          center/15000%; 
        } 
        .ripple:active { 
            background-color: var(--lightred-color); 
            background-size: 100%; 
    transition: background 0s; 
} 
button { 
    border: none; 
    border-radius: 2px; 
    padding: 12px 18px; 
    font-size: 16px; 
    text-transform: uppercase; 
    cursor: pointer; 
    color: white; 
    background-color: var(--lightred-color); 
    box-shadow: 0 0 4px #999; 
    outline: none; 
}


@media(max-width: 768px) {
    #contact{
        padding: 10px;
    }
    
    #contact h2{
        font-size: 30px;
    }
    
    .contact{
        flex-direction: column-reverse;
        margin: 10px;
    }
    
    .contact p{
        padding-right: 0px;
        font-size: 18px;
    }
    
    .contact img{
        width: 300px;
        height: auto;
        margin: auto;
        margin-bottom: 20px;
    }
    .display { 
        margin: 10px;
    } 
}