body {
    background: #1E3A8A;
    background: linear-gradient(180deg, #1E3A8A, rgba(0, 0, 0, 0.507) 59%);
    color: #111;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

header {
    background-color: rgb(246, 222, 194);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

header .logo {
    font-size: 24px;
    color: #1E3A8A;
    font-weight: bold;
}

header nav {
    flex-grow: 1;
    text-align: right;
    margin-right: 30px;
}

header nav a {
    color: rgb(0, 0, 0);
    margin: 0 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1250em;
}

header nav a:hover {
    color: #1E3A8A;
}

.hero {
    padding: 200px 20px;
    text-align: center;
    color: #fff;
    background-image: url(img/1.jpg);
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    text-shadow: 2px 2px #333;
    
}

.hero h1 {
    font-size: 100px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
}

.hero button {
    background-color: #111;
    color: #fff;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    border-radius: 25px;
    font-size: 18px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero button:hover {
    background-color: #ffffff;
    color: #1E3A8A;
    transform: scale(1.05);
}

section {
    background-color: #fff;
    padding: 30px;
    margin: 50px auto;
    text-align: center;
    border-radius: 15px;
    width: 80%;
    box-shadow: 0 4px 6px rgba(255, 193, 127, 0.49);
}

h2 {
    color: #1E3A8A;
    margin-bottom: 20px;
    font-size: 36px;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-cards .card {
    background-color: #f9f9f9;
    padding: 20px;
    margin: 10px;
    flex: 1 1 200px;
    color: rgb(17, 17, 17);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-cards .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.styled-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    background-color: rgb(246, 222, 194);
    color: rgb(0, 0, 0);
    border-radius: 15px;
    margin: 50px 0;
}

.points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 320px;
    margin: 0 auto 0 auto;
    
}

.point-item {
    display: flex;
    align-items: center;
    
}

.point {
    background-color: #fff;
    padding: 15px;
    margin: 5px auto;
    border-radius: 50px;
    max-width: 400px;
    color: #000;
    font-size: 20px;
    line-height: 1.5;
  }

  .point:hover {
    transform: scale(1.05); /* Збільшення на 5% */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Збільшення тіні */
  }

.styled-section .points {
    display: flex;
    flex-direction: column;
    width: 550px;
    max-width: 800px;
    text-align: left;
}

.styled-section .contact-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    text-align: left;
}

.styled-section .points .point {
    margin-bottom: 15px;
}

.styled-section .contact-info span {
    font-weight: bold;
}

footer {
    background-color: #111;
    text-align: center;
    padding: 20px;
    color: #fff;
}

.fSize {
    font-size: 20px;
}

#red {
    color: #1E3A8A;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #1E3A8A;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

#scrollToTopBtn:hover {
    background-color: #000;
}

@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: center;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .styled-section {
        padding: 20px;
    }

    .styled-section .points {
        width: 450px;
    }
}
@media (max-width: 592px) {
    .styled-section .points {
        width: 350px;
    }

    header nav {
        margin-right: 30px;
    }
}

@media (max-width: 592px) {

    header nav {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .styled-section .points {
        width: 250px;
    }
}

@media (max-width: 351px) {
    .styled-section .points {
        width: 150px;
    }
}

.social-links a{
    width: 36px;
    border-radius: 4px;
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
    text-align: center;
    margin-right: 4px;
    font-size: 18px;
    color: #ffffff;
 }

 .social-links a:hover {
    background-color: #1E3A8A;
 }
