* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

i {
    display: flex;
    font-size: 50px;
    justify-content: center;
    padding: 24px;
}

html, body {
    font-family: Arial, sans-serif;

/* Navigatsiooni riba*/
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 10px 20px;
    overflow: hidden;
}
.navbar .logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
}
.navbar .nav-links a  {
    color: white;
    text-decoration: none;
    
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}
.navbar .nav-links a:hover {
    background-color: #444;
    color: #FCA311;
}
a {
    text-decoration: none;
    color: #ffffff;
}
/* Avaleht*/
.nupp {
    background-color: #000000;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.nupp:hover {
    background-color: #1e2e52;
}

.container {
    display: flex;
    flex-wrap: wrap;
    padding: 24px;
    width: 100%;
    height: 800px;
    
    background-image: linear-gradient(to bottom,rgba(252, 162, 17, 0), rgba(20, 33, 61, 0.137)), url(taust.jpeg);
    background-size: cover;
   /*Test */
}
.container-sisu {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
    width: 50%;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}
.container-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.container-box p {
    padding: 24px;
}
.container-sisu-pealkiri {
    line-height: 2;
}
.container-sisu-tekst {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    line-height: 1.6;
}
.tutvustus {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 500px;
}

.tutvustus-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 500px;

}
.tutvustus-pilt {
    background: 
    linear-gradient(
            to top, 
            rgba(20, 33, 61, 0) 60%, /* Starting from the middle with 0% opacity */
            rgba(20, 33, 61, 0.5) 100% /* Going upwards to 50% opacity */
    ), 
    url(hiker.jpg) no-repeat center center/cover;
    background-size: cover;
    width: 50%;
    height: auto;
}
.tutvustus-sisu {
    background-color: #14213D;
    width: 50%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    text-align: center;
    line-height: 1.6;
    padding: 24px;
    color: #ffffff;
}
.tutvustus-sisu p {
    padding: 42px;
    color: white;
}

.teenused {
    display: flex;
    width: 100%;
    height: 500px;
}
.teenused h2, p {
    padding: 20px;
}
.teenused-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 500px;
    text-align: center;
}
.teenused1 {
    
    width: 33.3%;
    background-color: #FCA311;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
.teenused2 {
  
    width: 33.3%;
    background-color: #14213D;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}
.teenused3 {

    width: 33.4%;
    background-color: #FCA311;
    display: flex;
    flex-direction: column;
    align-items: center;
}
footer {
    text-align: center;
    background-color: #444;
    color: #fff;
    line-height: 4px;   
}
.clear {
    clear:both
}
/* Meist*/
.about {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
}

.about-text{
    display: flex;
    flex-direction: column;
    float: left;
    width: 50%;
    min-height: 100%;
}
.about .about-text h1 {
    padding: 15px 15px;
}
.about-img {
    float: right;
    width: 50%;
    min-height: 100%;
    padding: 20px;
    
}
.about .about-img img {
    display: block;
    margin: auto;
    width: 70%;
    border-radius: 50%;
}
.client {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    height: 600px;
    background-image: url(clients.jpg);
    background-position: center;
    background-size: cover;
}
.client h2 {
    color: white;
    text-align: center;
    padding: 32px;
}
.client-container {
   float: right;
    width: 50%;
    height: 600px;
}
.testimonial {
    display: flex;
    flex-direction: row;
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 5px;
    background-color: #00000038;
    
   
}
.testimonial-img {
    width: 25%;
    margin: auto;
    border-radius: 50%;
    display: block;
    
}
.testimonial-text {
    width: 75%;
    
}
.testimonial img {
    width: 100%;
    height: 100%;
    float: left;
    margin-right: 20px;
    border-radius: 50%;
    
}


/* Kontakt*/
.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}

.contact-form-container {
    width: 100%;
    max-width: 700px;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    
}

.contact .contact-form-container h1,
.contact .contact-form-container p {
    text-align: center;
    
}

.input-group {
    margin-bottom: 50px;
    
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: #FCA311;
    outline: none;
    
}

.info {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 250px;
    background-color:#14213D ;
}

.info-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    float: left;
    width: 33.3%;
    padding: 50px;
    text-align: center;
    color: white;
    
}