*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black;
    color: white;
    height: 10vh;
    padding: 10px;
    z-index: 1000;
}

nav{
    display: flex;
    justify-content: space-between;
}

.logo img{
    width: 100%;
    max-width: 125px;
    padding: 10px;
    margin-left: 30px;
    border-radius: 20px;
}

.nav-links{
    display: flex;
    gap: 20px;
    list-style: none;
    margin-right: 60px;
    margin-top: 20px;
}

.nav-links li a{
    text-decoration: none;
    color: white;
}

.nav-links li a:hover{
    border-bottom: 4px solid red;
    padding-bottom: 7px;
    transition: all 1s ease;
    transform: scale(1.08) translateX(-5px);
}

.hamburger{
    display: none;
}

@media (max-width: 1200px){
    header{
        height: 5vh;
    }
}

@media (max-width: 1024px){
    header{
        height: 13vh;
    }
}

@media (max-width: 820px){
    header{
        height: 9vh;
        padding: 20px;
    }
}

@media (max-width: 768px){
    header{
        height: 9vh;
        padding-top: 20px;
    }
}

@media (max-width: 480px){
    header{
        height: 8vh;
    }

    .logo{
        margin-top: -9px;
    }

    .logo p{
        font-size: 20px;
        margin-left: 10px;
    }

    .logo span{
        font-size: 20px;
    }

    .nav-links{
        display: none;
    }

    .nav-links.active{
        display: flex;
        flex-direction: column;
        position: absolute;
        font-size: 24px;
        top: 50px;
        right: -60px;
        background-color: black;
        padding: 20px;
        width: 200px;
        z-index: 1000;
    }

    .hamburger{
        display: block;
        font-size: 40px;
        margin-right:20px;
        margin-top: -10px;
        cursor: pointer;
    }
}

@media (max-width: 400px){
    .nav-links.active{
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 47px;
        right: -50px;
        background-color: black;
        padding: 10px;
        width: 200px;
        z-index: 1000;
    }
}

/* ── Landscape: phones in landscape orientation ── */
@media (max-height: 500px) and (orientation: landscape){
    header{
        height: 12vw;
    }

    .hamburger{
        display: block;
        font-size: 30px;
        margin-right: 20px;
        cursor: pointer;
    }

    .nav-links{
        display: none;
    }

    .nav-links.active{
        display: flex;
        flex-direction: column;
        position: absolute;
        font-size: 18px;
        top: 45px;
        right: 0;
        background-color: black;
        padding: 15px;
        width: 180px;
        z-index: 1000;
    }
}

/* HERO SECTION*/
.hero{
    padding: 20px;
    margin-top: 10%;
    text-align: center;
    font-size: 25px;
}

.hero h1{
    font-size: 70px;
}

/* SEC and HERO1 */

.sec{
    padding: 40px;
    border: 1px solid white;
    border-radius: 10px;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    margin-top: 30px;
    box-shadow: 2px 4px 6px rgb(194, 188, 188);
}

.hero1{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-type{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    font-size: 18px;
}

.hero-type input{
    width: 100%;
    max-width: 1040px;
    height: 5vh;
    border-radius: 10px;
    border: 2px solid rgb(221, 229, 233);
    outline: none;
    padding-left: 20px;
    font-size: 16px;
}

.hero-type input:focus{
    border:1.9px solid blue;
}

.hero-type1{
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 18px;
}

.hero-type2{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-type2 input{
    width: 100%;
    max-width: 510px;
    height: 5.5vh;
    border-radius: 10px;
    border: 2px solid rgb(221, 229, 233);
    outline: none;
    padding-left: 20px;
    font-size: 16px;
}

.hero-type2 input:focus{
    border:1.9px solid blue;
}

.hero-type3{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    font-size: 18px;
}

.hero-type3 textarea{
    width: 100%;
    max-width: 1040px;
    height: 20vh;
    border-radius: 10px;
    border: 2px solid rgb(221, 229, 233);
    outline: none;
    padding-left: 20px;
    padding-top: 10px;
    font-size: 16px;
}

.hero-type3 textarea:focus{
    border:1.9px solid blue;
}

form{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.success-msg{
    display: none;
    color: green;
    font-weight: bold;
    margin-top: 15px;
    text-align: center;
}

.btn input{
    width: 100%;
    max-width: 1040px;
    height: 5vh;
    border: none;
    border-radius: 10px;
    background-color: rgb(194, 69, 69);
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.btn button{
    width: 100%;
    max-width: 1040px;
    height: 5vh;
    border: none;
    border-radius: 10px;
    background-color: rgb(194, 69, 69);
    color: white;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 1200px){
    .hero-type input::placeholder{
        font-size: 18px;
    }

    .hero-type2 input::placeholder{
        font-size: 20px;
    }

    .hero-type3 textarea::placeholder{
        font-size: 20px;
    }
}

@media (max-width: 1024px){
    .hero-type input, .hero-type2 input{
        height: 12vh;
    }

    .sec{
        max-width: 900px;
        height: 140vh;
    }

    .hero-type1{
        gap: 20px;
    }

    .btn button{
        height: 10vh;
        margin-top: 30px;
    }
}

@media (max-width: 820px) {
    .hero{
        margin-top: 20%;
    }
    .hero-type input{
        height: 6vh;
    }

    .hero-type2 input{
        height: 6vh;
    }

    .hero-type3 textarea{
        height: 15vh;
    }

    .btn button{
        height: 6vh;
    }

    .sec{
        height: auto;
        padding: 30px;
    }
}

@media (max-width:768px){
    .hero{
        margin-top: 20%;
        font-size: 20px;
    }

    .sec{
        height: 90vh;
    }

    .hero-type, .hero-type2{
        height: 10vh;
    }

    .btn button{
        height: 7vh;
    }
}

@media (max-width: 480px){
    .hero{
        margin-top: 30%;
    }

    .hero h1{
        font-size: 50px;
    }

    .sec{
        border: none;
        box-shadow: none;
    }

    .hero-type1{
        display: flex;
        flex-direction: column;
    }

    .btn button{
        height: 7vh;
        margin-top: 30px;
    }

    .sec1 h1{
        margin-top: 30%;
    }
}

@media (max-width: 393px){
    .hero h1{
        font-size: 50px;
    }

    .hero p{
        font-size: 18px;
    }

    .sec1 h1{
        margin-top: 40%;
    }
}

/* ── Landscape: contact form ── */
@media (max-height: 500px) and (orientation: landscape){
    .hero{
        margin-top: 15vw;
        font-size: 16px;
    }

    .hero h1{
        font-size: 40px;
    }

    .sec{
        margin-top: 15px;
        padding: 20px;
        height: auto;
        max-width: 90%;
    }

    .hero-type input{
        height: 40px;
    }

    .hero-type2 input{
        height: 40px;
    }

    .hero-type3 textarea{
        height: 100px;
    }

    .btn button{
        height: 40px;
        font-size: 16px;
        margin-top: 10px;
    }

    .hero-type1{
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .sec1{
        margin-top: 5%;
    }

    .sec1 h1{
        margin-top: 0;
    }
}

.sec1{
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
    margin-top: 10%;
    margin-left: 8%;
    font-size: 20px;
}

.sec2{
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
    margin-left: 8%;
}

.details{
    display: flex;
    gap: 20px;
    font-size: 15px;
}

.details1{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.details1 p{
    font-size: 20px;
}

.details i{
    font-size: 30px;
    color: rgb(194, 69, 69);
}

/* ── Landscape: get in touch section ── */
@media (max-height: 500px) and (orientation: landscape){
    .sec2{
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        margin-left: 3%;
    }

    .details{
        flex: 1;
        min-width: 200px;
    }
}

/* ── 320px extra small phones ── */
@media (max-width: 320px){
    .hero h1{
        font-size: 40px;
    }

    .hero{
        margin-top: 35%;
        font-size: 16px;
    }

    .sec{
        padding: 15px;
    }

    .hero-type input,
    .hero-type2 input,
    .hero-type3 textarea{
        font-size: 14px;
    }

    .btn button{
        font-size: 16px;
    }

    .sec1{
        margin-left: 3%;
        font-size: 16px;
    }

    .sec2{
        margin-left: 3%;
    }

    .details1 p{
        font-size: 16px;
    }
}

/* FOOTER SECTION*/

footer{
    background-color: black;
    color: white;
    padding: 20px;
}

.footer-hero, .footer-hero1{
    display: flex;
    flex-direction: row;
    gap: 10%;
    margin-top: 50px;
}

.logo2{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
    margin-left: 7%;
}

.logo3{
    font-size: 30px;
}

.logo3 span{
    font-size: 30px;
    font-style: italic;
}

.logo4{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-footer{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nav-footer1{
    display: flex;
    flex-direction: column;
    gap: 30px;
    list-style: none;
    margin-top: 15px;
}

.nav-footer1 li a{
    color: white;
    text-decoration: none;
}

.cont{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin-left: 5%;
}

.cont1{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cont2{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.cont2 i{
    background-color: transparent;
    border: none;
    font-size: 17px;
}

.time{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0px;
    margin-left: 18%;
}

.social-icons i {
    position: static;
    font-size: 24px;
    background-color: transparent;
    border: none;
    width: auto;
    height: auto;
    max-width: none;
    padding: 0;
    margin: 0;
    color: white;
}

.fa-brands, .fa-solid, .fa-regular {
    font-family: "Font Awesome 6 Brands";
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #333;
    color: white;
    font-size: 14px;
}

@media (max-width: 480px){
    .footer-hero, .footer-hero1{
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .nav-footer{
        margin-left: 10%;
    }

    .time{
        margin-left: 10%;
    }
}

/* ── Landscape: footer ── */
@media (max-height: 500px) and (orientation: landscape){
    .footer-hero, .footer-hero1{
        gap: 5%;
        margin-top: 20px;
    }

    .logo2{
        margin-left: 3%;
    }

    .time{
        margin-left: 5%;
    }

    .cont{
        margin-left: 2%;
        padding: 10px;
    }
}

/* ── Extra small phones (Galaxy Fold, etc.) ── */
@media (max-width: 320px){
    .logo p{
        font-size: 16px;
    }

    .logo span{
        font-size: 16px;
    }

    .footer-hero, .footer-hero1{
        flex-direction: column;
        gap: 30px;
    }

    .logo2{
        margin-left: 3%;
    }

    .time{
        margin-left: 3%;
    }
}