html {
  scroll-behavior: smooth; /* Ito ang nagpapagalaw nang dahan-dahan at pormado sa page */
}

body{
    margin: 50px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.534), rgba(0, 0, 0, 0.5)), url(images/background.jpg);
    background-size: cover;       /* Pinalalaki para sakupin ang buong screen */
    background-position: center;  /* Sinisenyas na nasa gitna ang focus ng litrato */
    background-repeat: no-repeat; /* PINAKAMAHALAGA: Tinatanggal ang pagka-ulit ng image */
    background-attachment: fixed;
}

.img{
    width: 70px;
    height: auto;
    margin-right: 20px;
}

.cointainer{
    display: flex;
    align-items: center;            /* Keeps everything on the exact same horizontal line */
    padding: 1rem 2rem;
    background-color: transparent;
    text-decoration: none;
    color: white;
    font-size: 20px;
}


.abt{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 22%;
    font-size: 20px;
    font-weight: 1000;
    font-weight: 10;
    background: rgba(59, 57, 56, 0.212);
    position: relative;
    border: 3px solid rgba(2, 2, 2, 0.15);
    border-radius: 10px;
    padding: 20px;
    padding-left: 50px;
    padding-right: 50px;
}

.abt a{
    text-decoration: none;
    color: white;
    font-weight: 500px;
    transition: color 0.3s ease;
}

.abt a:hover{
    color: #ff4757
}



.search input{
    background: linear-gradient(rgba(59, 57, 56, 0.212));
    border: none;
    outline: none;
    color: white;
    border: 2px solid rgba(2, 2, 2, 0.15);
    margin-top: 25px;
    margin-left: 300px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.4s ease-in-out;
}

.search input:focus-within{
    border-color: #ff4757;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
}

.search input:focus::placeholder{
    color: transparent;

}


.search button{
    background-color: transparent;
    padding: 3px;
    margin-left: 10px;
    width: 120px;
    height: 40px;
    border-radius: 10px;
    color: white;
    transition: all 0.5s ease-in-out;
}

.search button::before{
    width: 0;
    height: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.search button:hover{
    background-color: rgb(255, 94, 0);
}
.search input:hover{
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
    transition: 0.5s ease;
    font-size: 15px;
}
.search input::placeholder{
    color: white;
}
.intro{
    margin-top: 12%;
    margin-left: 50px;
    font-size: 20px;
    color: white;
    justify-content: space-between;
    align-items: flex-start;
}

.h1{
    font-size: 40px;
    color: white;

}

.btn{
    margin-left: 50px;
}

.btn button{
    display: inline-block;
    border-radius: 30px;
    text-decoration: none;
    background-color: transparent;
    padding: 15px 35px;
    font-weight: bold;
    color: white;
    box-shadow: none;
    outline: none;
    
}


.btn button:hover{
    background-color: rgb(255, 94, 0);
    transition: 0.5s;
}

.about{
    margin-top: 25%;
    color: white;
    text-align: center;
}
#about h1{
    margin-top: 5%;
    color: white;
    text-align: center;
}
#about .text{
    font-size: 30px;
}

.prio{
    display: flex;
    gap: 50px;
    justify-content: center;
    text-align: center;
    margin-top: 150px;
    flex-wrap: wrap;
    
}
.team-card{
    font-size: 20px;
    color: white;
}

.prio-img{
    height: 500px;
    border-radius: 10px;
}

.team{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 50px;
    margin-top: 150px;
}

.driver{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 50px;
    margin-top: 150px;
}

.driver img{
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

.rescue{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 50px;
    margin-top: 150px;
    border-radius: 10px;
}

.rescue img{
    width: 100%;
    height: 400px;
    border-radius: 10px;
}
.i{
    justify-content: center;
    align-items: center;
    text-align: center;
}
.i{
    margin-top: 25%;
}
.i p{
    color: white;
    font-size: 30px;
    font-weight: 50px;
    
}

.i h1{
    color: white;
    text-align: center;
}

.i .text a{
    text-decoration: none;
    color: white;
    font-weight: 500px;
    transition: color 0.3s ease;
}

.i .text a:hover{
    color: #ff4757;
}


.contacts{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-top: 100px;
    margin: 50px;
}

#contact h1{
    margin-top: 40%;
    color: white;
    text-align: center;
    align-items: center;

}

.contacts i{
    margin-right: 20px;
    margin: 20px;
}

.contact-left {
  flex: 1; /* Kukuha ng kalahating espasyo */
  color: white;
  
}

.contact-right {
  flex: 1; /* Kukuha ng kalahating espasyo */
  color: white;
}

.form{
    border-radius: 20px;
    padding: 20px;
    padding-right: 30px;
    width: 300px;
    height: auto;
    margin-left: 280px;
}

.form input{
    background: linear-gradient(rgba(59, 57, 56, 0.212));
    border: none;
    outline: none;
    color: white;
    border: 2px solid rgba(2, 2, 2, 0.15);
    margin-top: 25px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.4s ease-in-out;
}

.form input:focus-within{
    border-color: #ff4757;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
}

.form input:focus::placeholder{
    color: transparent;

}

.form button{
    margin-top: 25px;
    width: 215px;
    padding: 15px;
    border-radius: 10px;
    background: linear-gradient(rgba(59, 57, 56, 0.212));
    color: white;
}

.form button::before{
    width: 0;
    height: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.form button:hover{
    background-color: rgb(255, 94, 0);
}
.form input:hover{
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
    transition: 0.5s ease;
    font-size: 15px;
}
.form input::placeholder{
    color: white;
}

.contact-left a{
    text-decoration: none;
    color: white;
    font-weight: 500px;
    transition: color 0.3s ease;
}

#alert{
    margin: 40%;
}

.alert{
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(228, 17, 17, 0.5));
    margin: 500px;
    padding-top: 10px;
    border-radius: 10px;
    border: 2px solid #ff4757;
    padding-bottom: 50px;
}

.alerts-list{
    font-size: 20px;
    font-weight: 500px;
    margin-top: 100px;
}

#alertsCointainer {
    max-height: 500px; /* Baguhin ito depende sa gusto mong haba ng box */
    overflow-y: auto;  /* Maglalabas ito ng scrollbar kapag humaba na ang mga alerto */
    padding-right: 5px;
}