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


p {
    font-size: 20px;
}
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}
.hero-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
    gap: 20px;
    width: 80%;
    margin: 0 auto;
    text-align: center;

}



.hero-title h1 {
    font-size: 36px;
}



.hero-btn button {
   background-color: #ff5733;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 22px; 
}


.hero-btn button a {
    text-decoration: none;
    color: white;
}


.services {
    margin-bottom: 100px;
}



.services-header {
    text-align: center;
    
    width: 60%;
    margin: 100px auto;
}



.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding: 50px 30px;
    width: 100%;
    box-sizing: border-box;
    justify-items: center; /* centers items inside each grid cell */
    align-items: start;    /* aligns cards to the top of the cell */
}






.service-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 30px;
    border: 1px solid #f1f1f1;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    height: 250px;
    width: 75%;
    position: relative;
}

.service-card:hover {
    scale: 1.025;
    transition: ease-in-out 1s;

}

.service-card img {
    position: absolute;
    top: -25px;
    left: 5px;
    width: 10%;
    height: auto;
    background-color: cornsilk;
    padding: 12px 16px;
    border-radius: 10px;
    
}

.service-card p {
    height: 200px;
    text-align: center;
    padding-top: 30px;
}


.tech-intro {
    text-align: center;
    
    width: 80%;
    margin: 100px auto;
}

.tech-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 70px;
    padding-top: 30px;
    padding-bottom: 30px;
    
}
.tech-card {
    gap: 5px;
    padding: 30px;
    border: 1px solid #f1f1f1;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    height: 250px;
    width: 80%;
    position: relative;
    justify-self: center;
    align-self: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.tech-card:hover {
    scale: 1.025;
    transition: ease-in-out 1s;

}

.tech-card img {
    position: absolute;
    top: -25px;
    left: 5px;
    width: 10%;
    height: auto;
    background-color: cornsilk;
    padding: 12px 16px;
    border-radius: 10px;
    
}

.tech-card p {
    height: 200px;
    text-align: center;
    padding-top: 30px;
}


.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
}

.about-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;


}

.about-text h1 {
    text-align: center;
}

.about-text p {
    text-align: center;
}

.services h1, .tech-intro h1 {
    font-size: 28px;
}

/* Small devices (phones, less than 768px) */
@media (max-width: 767.98px) {
    

    p {
        font-size: 18px;
    }

    .hero-title {
        width: 100%;
        text-align: center;
    }
    .hero-title h1{
        font-size: 28px;
        
    }
    .hero-subtitle {
        width: 100%;
    }

  
    .services-container {
        flex-direction: column;
        align-items: center;

        
    }

    .service-card {
        flex: none;
        width: 80%;
        height: 250px;
        
    }

    

    .service-card:hover {
        scale: none;    
        
    }

    .tech-container {
        grid-template-columns: 1fr  ;
    }
   
  

}