* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif; 
    margin: 0;
    padding: 0;
    color: #17212b;
    background-color: #eef3f6;
    line-height: 1.6;
}

.container {
    width: 80%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px;
}

h1, h2, h3 {
    margin-top: 0;
}

h2 {
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
}

a {
    color: #00a2ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    border:snow ;
    background: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.logo img {
    height: 44px;
    vertical-align: middle;
    margin-right: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.phone {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
}

.support {
    display: flex;
    align-items: center;
}

.support img {
    width: 50px;
    height: 50px;
    margin-right: 8px;
}

.support a {
    font-weight: bold;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-info a {
    font-size: 20px;
    color: #000000;
    font-weight:bold ;
}

.search-bar {
    display: flex;
    align-items: center;
    flex-grow: 1;
    margin: 0 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: #f9f9f9;
}

.search-bar input[type="text"] {
    border: none;
    background: none;
    outline: none;
    flex-grow: 1;
    margin-bottom: 0;
    padding: 8px 0;
}

.search-button {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
}


.auth-buttons .login-register {
    display: inline-block;
    background-color: #168a42;
    color: #ffffff;
    border-radius: 8px;
    padding: 11px 18px;
    font-weight: bold;
}

.auth-buttons .login-register:hover {
    background-color: #116d34;
    text-decoration: none;
}


.welcome-section {
    background-color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
}

.welcome-section h1 {
    color: #000000;
}

.service-cards-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.service-cards-section .container {
    display: flex;
    justify-content: space-around; 
    gap: 20px; 
}

.service-card {
    flex: 1; 
    max-width: 340px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    box-shadow: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card .card-image-wrapper {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 5px;
}

.service-card img {
    width: 58%;
    height: 150px;
    object-fit: cover;
    display: block; 
    margin-left: auto;
    margin-right: auto;
}

.service-card:hover {
    border-color: #b9d8c7;
    transform: translateY(-3px);
}

.service-card > a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #168a42;
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    margin-top: auto;
}

.service-card > a:hover {
    background: #116d34;
    text-decoration: none;
}

.service-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.service-card p {
    font-size: 24px;
    color: #007bff;
    margin-top: auto;
}

.consultation-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.consultation-section p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.consultation-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.consultation-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.consultation-form .form-group {
    flex: 1;
}

.consultation-form label {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.consultation-form input[type="text"],
.consultation-form input[type="email"],
.consultation-form input[type="tel"] {
    margin-bottom: 0;
}

.form-checkboxes {
    margin-top: 20px;
    margin-bottom: 30px;
}


.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #555;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.submit-button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    width: 100%;
    margin-top: 15px;
}

footer {
    background-color: #2f2f2f;
    color: #ffffff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex: 2;
    justify-content: space-between;
    gap: 30px;
}

.footer-links .links-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 180px;
}

.footer-links a {
    color: #cccccc;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom-bar {
    background-color: #1a1a1a;
    color: #bbbbbb;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}

.footer-links strong {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 14px;
}

@media (max-width: 760px) {
    .container {
        width: 100%;
        padding: 0 16px;
    }

    .header-top,
    .header-bottom,
    .service-cards-section .container,
    .footer-content,
    .footer-links {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .logo img {
        height: 38px;
    }

    .company-info a {
        font-size: 18px;
    }

    .auth-buttons a,
    .auth-buttons button {
        width: 100%;
    }

    .service-cards-section {
        padding: 28px 0;
    }

    .service-card {
        max-width: none;
        width: 100%;
    }

    .consultation-form,
    .consultation-form .form-row {
        display: block;
    }

    footer {
        padding: 28px 0;
    }
}

