﻿
.fisrtSlider {
    width: 100%;
    height: 100vh;
    position: relative;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.fisrtSlider .backdrop {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.fisrtSlider .logo {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translate(-125px, 0);
    z-index: 2;
    width: 80%;
}

    .fisrtSlider .logo img {
        width: 220px;
        height: auto;
    }

.title-container {
    position: absolute;
    bottom: 150px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: end;
    width: 80vw;
    height: 350px;
    z-index: 2;
}

.title1 {
    flex: 1;
    font-size: 3.5rem !important;
    text-transform: uppercase;
    line-height: 4.5rem;
    text-align: right;
    color: #fff !important;
    margin-top: -1rem;
    margin-bottom: -1rem;
}

.sutitle1 {
    flex: 1;
    font-size: 1.2rem;
    text-align: left;
    color: #fff !important;
    margin-left: 50px;
}

    .sutitle1 p {
        width: 45ch;
        line-height: 1.5rem;
    }

.gilda-display-regular {
    font-family: "Gilda Display", serif;
    font-weight: 400;
    font-style: normal;
}
/* Base styles remain unchanged - they were already defined in the file */

/* Media Query for Tablets */
@media screen and (max-width: 1024px) {
    .fisrtSlider .logo {
        transform: translate(-110px, 0);
        width: 180px;
    }
    
    .fisrtSlider .logo img {
        width: 180px;
    }
    
    .title-container {
        bottom: 120px;
        width: 90vw;
        height: 300px;
    }
    
    .title1 {
        font-size: 2.8rem !important;
        line-height: 3.5rem;
    }
    
    .sutitle1 {
        font-size: 1rem;
        margin-left: 30px;
    }
    
    .sutitle1 p {
        width: 35ch;
        line-height: 1.4rem;
    }
}

/* Media Query for Mobile Phones */
@media screen and (max-width: 767px) {
    .fisrtSlider .logo {
        top: 50px;
        left: 50%;
        transform: translate(-75px, 0);
        width: 160px;
    }
    
    .fisrtSlider .logo img {
        width: 160px;
    }
    
    .title-container {
        bottom: 100px;
        flex-direction: column;
        justify-content: center;
        
        width: 80vw;
        height: auto;
    }
    
    .title1 {
        font-size: 2.5rem !important;
        line-height: 3rem;
        text-align: right;
        margin-bottom: 1rem;
    }
    
    .sutitle1 {
        font-size: 0.9rem;
        text-align: left;
        margin-left: 0;
    }
    
    .sutitle1 p {
        width: auto;
        max-width: 90vw;
        line-height: 1.3rem;
    }
}

/* Small phones */
@media screen and (max-width: 480px) {
    .fisrtSlider .logo {
        top: 80px;
    }

    .fisrtSlider .logo img {
        width: 140px;
    }
    
    .title1 {
        font-size: 2.2rem !important;
        line-height: 2.6rem;
    }
    
    .title-container {
        bottom: 80px;
    }
}

/* Landscape orientation for mobile devices */
@media screen and (max-height: 430px) and (orientation: landscape) {
    .fisrtSlider {
        height: 100vh; /* Maintain full height */
    }

        .fisrtSlider .logo {
            top: 20px; /* Move logo higher */
            transform: translate(-60px, 0);
        }

            .fisrtSlider .logo img {
                width: 120px; /* Smaller logo */
            }

    .title-container {
        bottom: 40px; /* Move content higher from bottom */
        flex-direction: row; /* Keep side by side for landscape */
        height: auto;
        align-items: center;
    }

    .title1 {
        font-size: 1.8rem !important;
        line-height: 2.2rem;
        margin-bottom: 0;
    }

    .sutitle1 {
        font-size: 0.8rem;
        margin-left: 20px;
    }

        .sutitle1 p {
            width: auto;
            line-height: 1.1rem;
        }
}

