main {
    flex: 1;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    background-color: #fdf0eb;
    font-family: 'Segoe UI', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: #333;
    color: white;
    padding: 15px 0;
    width: 100%;
}

    header .container {
        display: flex;
        justify-content: space-between; 
        align-items: center;
        padding: 0 40px; 
    }

    header h1 {
        margin: 0;
        font-size: 24px;
        color: white;
    }


nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

    nav ul li a {
        text-decoration: none;
        color: white;
        font-weight: 500;
        font-size: 16px;
        transition: opacity 0.3s;
    }

        nav ul li a:hover {
            opacity: 0.7;
        }

.section {
    padding: 40px 0;
}

    .section:nth-child(even) {
        background: #f4f4f4;
    }


footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    width: 100%;
}

    footer .container {
        display: flex;
        justify-content: flex-start; 
        padding-left: 40px; 
    }

    footer p {
        margin: 0;
        font-size: 14px;
    }

header nav {
    margin-left: 300px;
}

.footer-logo {
}

.social-icons img {
    width: 80px;
    height: 80px;
}

.item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}
.items {
    display: flex;
    gap: 30px;
    justify-content: center; 
    align-items: stretch;
    margin-top: 30px;
}
.item {
    width: 300px;
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
    background: white;
    border-radius: 8px;
}
.services__item {
    background-color: lightgray;
    border: 1px solid;
    border-radius: 10px;
    padding: 30px;
    width: calc(100% / 3 - 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .services__item img {
        width: 100px;
    }

.services__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.services__item:hover {
    transform: scale(1.07);
    transition: all 0.8s;
    box-shadow: 0px 4px 12px 7px gray;
}
.contact-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    padding: 60px 20px;
    box-sizing: border-box;
}


.form-card {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px; 
    width: 100%;
    min-height: 700px; 
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

    
    .form-card textarea {
        width: 100%;
        flex-grow: 1; 
        min-height: 250px; 
        margin-bottom: 30px;
        padding: 18px;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        background-color: #f9f9f9;
        font-size: 16px;
        outline: none;
        resize: none;
    }

    .form-card h2 {
        margin: 0 0 15px 0;
        font-size: 36px; 
        font-weight: 700;
    }

    .form-card p {
        color: #666;
        margin-bottom: 40px;
        font-size: 18px;
    }


.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px; 
}

    .form-row input,
    .form-card textarea {
        flex: 1;
        padding: 18px; 
        border: 1px solid #e0e0e0; 
        border-radius: 10px;
        background-color: #f9f9f9;
        font-size: 16px;
        outline: none;
        font-family: inherit;
        transition: border-color 0.3s;
    }

        
        .form-row input:focus,
        .form-card textarea:focus {
            border-color: #111;
            background-color: #fff;
        }

.form-card textarea {
    width: 100%;
    margin-bottom: 30px;
    min-height: 150px;
}


.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
    font-size: 15px;
}

    .checkbox-group input {
        width: 18px; 
        height: 18px;
        cursor: pointer;
    }


#submitBtn {
    background-color: #111;
    color: white;
    border: none;
    padding: 16px 50px; 
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    #submitBtn:hover {
        background-color: #333;
        transform: translateY(-2px); 
    }
