
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HERO SECTION */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70vh;
    position: relative;
    overflow: hidden;
    
}

.hero img {
right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    
}

.hero p{
width: 70%;
text-align: center;
        
    }

/* Overlay Effect */
.overlay {
    background: rgba(0, 0, 0, 0.518); /* Dark overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
    position: absolute;
    inset: 0; /* Covers the entire hero section */
}

/* Buttons */
.buttons {
margin-top: 20px;
}

.buttons .btn {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border: none;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
}

.buttons .btn:hover {
    background: #000000;
    color: #ffffff;
}


.btn.secondary {
    background: black;
    color: #fff;
    border: 2px solid white;
}

.btn.secondary:hover {
    background: rgb(255, 255, 255);
    color: #000000;
    border: 2px solid rgb(133, 133, 133);
}

/* Services Section */
.services {
    padding: 5px 2px;
    background: #f9f9f9;
}



.services-tittle {
    width: 100%;
    justify-items: center;
    padding: 40px 10px;
    }

    .services-tittle h2{
        font-family: 'Orbitron', monospace;
        font-size: 16px;
        font-weight: 500;
}

.service-cards { 
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
   
}

.card {
    background: white;
    padding: 20px;
    width: 340px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: ease-in-out 0.2s;
}

.card:hover {
transform: scale(0.9);
}

.card h3{
    background: white;
    padding: 20px 0;
}


.icon {
    font-size: 40px;
    margin-bottom: 10px;
}

a {
    margin-top: 20px;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
}



.bottom-section{
    margin-top: 30px;
    width: 95%;
    height: 70vh;
    margin: auto;
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    background: rgb(0, 0, 0);
    color: #ffffff;
    
    
    }
    
    .first-bottom-section{
        width: 40%;
        height: 100%;
        justify-items: center;
        padding-right: 30px;
        padding-top: 30px;
    
    }
    
    .image-container{
        max-width: 240px;
        margin-right: 20px;
        
        
    }
    
    
    .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            flex-shrink: 0;  
        }
    
    .second-bottom-section{
        width: 60%;
        align-content: center;
        padding: 40px;
        
    }
    
    .second-bottom-section h2{
       padding: 10px 10px 10px 0;
       font-weight: 500;
    }
    
    .second-bottom-section p{
    width: 90%;
     }
    
     .bottom-btn{
        background: #ffffff;
        color: #000000;
        padding: 10px 20px;
        border: none;
        margin-top: 20px;
        cursor: pointer;
        font-size: 16px;
        border-radius: 10px;
        border: 2px solid rgb(255, 255, 255);
        transition: ease 0.2s;
     }
    
     .bottom-btn:hover{
        background: #000000;
        color: #ffffff;
        border: 2px solid rgb(255, 255, 255);
     }


     /* Tiny phones */
@media (max-width: 320px) {
    .hero p {
        width: 90%;
        font-size: 14px;
    }

    .buttons .btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .bottom-section {
        flex-direction: column;
        height: auto;
    }

    .first-bottom-section, .second-bottom-section {
        width: 100%;
        padding: 20px;
    }

    .second-bottom-section p {
        width: 100%;
    }
}

/* Phones */
@media (min-width: 321px) and (max-width: 480px) {
    .hero p {
        width: 85%;
        font-size: 15px;
    }

    .buttons .btn {
        font-size: 14px;
    }

    .bottom-section {
        flex-direction: column;
        height: auto;
    }

    .first-bottom-section, .second-bottom-section {
        width: 100%;
        padding: 20px;
    }

    .second-bottom-section p {
        width: 100%;
    }
}

/* Phones landscape and small tablets */
@media (min-width: 481px) and (max-width: 767px) {
    .hero p {
        width: 80%;
        font-size: 16px;
    }

    .bottom-section {
        flex-direction: column;
        height: auto;
    }

    .first-bottom-section, .second-bottom-section {
        width: 100%;
        padding: 30px;
    }
}

/* Tablets portrait */
@media (min-width: 768px) and (max-width: 834px) {
    .hero p {
        width: 75%;
        font-size: 16px;
    }

    .bottom-section {
        flex-direction: column;
        height: auto;
    }

    .first-bottom-section, .second-bottom-section {
        width: 100%;
        padding: 30px;
    }
}

/* Tablets landscape */
@media (min-width: 835px) and (max-width: 1023px) {
    .hero p {
        width: 70%;
        font-size: 17px;
    }

    .bottom-section {
        flex-direction: row;
        height: auto;
    }

    .first-bottom-section, .second-bottom-section {
        width: 50%;
        padding: 30px;
    }
}

/* Small laptops */
@media (min-width: 1024px) and (max-width: 1279px) {
    .hero p {
        width: 65%;
        font-size: 18px;
    }

    .bottom-section {
        flex-direction: row;
    }

    .first-bottom-section {
        width: 40%;
    }

    .second-bottom-section {
        width: 60%;
    }
}

/* Medium desktops */
@media (min-width: 1280px) and (max-width: 1439px) {
    .hero p {
        font-size: 18px;
    }

    .bottom-section {
        height: 65vh;
    }
}

/* Large desktops */
@media (min-width: 1440px) and (max-width: 1919px) {
    .hero p {
        font-size: 20px;
    }

    .bottom-section {
        height: 70vh;
    }
}

/* Full HD and 2K screens */
@media (min-width: 1920px) and (max-width: 2559px) {
    .hero p {
        font-size: 22px;
        width: 60%;
    }

    .bottom-section {
        height: 70vh;
    }
}

/* 4K and up */
@media (min-width: 2560px) {
    .hero p {
        font-size: 24px;
        width: 50%;
    }

    .bottom-section {
        height: 65vh;
    }
}
