.header-navbar {
    background-color: #2A663D;
    padding: 15px 0;
    width: 100%;
    position: relative;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 13px 10px;
    margin-bottom: 0;
}

.menu-item {
    display: inline-block;
    position: relative;
}

.elementor-item {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding-bottom: 5px;
    position: relative;
}

.elementor-item:hover {
    text-decoration: none;
}

.elementor-item::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #ACFD88;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

.elementor-item:hover::after {
    width: 100%;
}

.custom-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60vh;
    background: url('/img/bgdeskhome11.webp') center/cover no-repeat;
    color: white;
    text-align: left;
    padding-left: 10%;
}

.custom-inner {
    max-width: 620px;
    padding: 30px;
    border-radius: 10px;
}

.custom-image-wrapper {
    margin-bottom: 15px;
}

.custom-title-image {
    max-width: 100%;
    height: auto;
}

.custom-heading {
    margin-bottom: 20px;
}

.custom-title {
    font-family: "Figtree", Sans-serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 52px;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.custom-form-container {
    margin-top: 20px;
}

.custom-form-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.custom-input-wrapper {
    flex: 1;
    max-width: 376px;
}

.custom-input {
    width: 376px;
    height: 47px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0 5px;
    text-align: left;
}

.custom-button-wrapper {
    flex-shrink: 0;
}

.custom-search-button {
    font-family: "Figtree", Sans-serif;
    font-weight: 500;
    background: linear-gradient(90deg, rgba(102, 152, 80, 1) 0%, rgba(42, 102, 61, 1) 100%);
    border: none;
    height: 47px;
    width: 118px;
    padding: 0 5px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.custom-description {
    margin-top: 15px;
    font-family: "Figtree", Sans-serif;
    font-weight: 400;
}

.contract-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 60px 20px;
    background: #F0F5EE;
    text-align: center;
}

.contract-title {
    font-family: "Figtree", Sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #000000;
    margin-bottom: 50px;
}

.contract-card-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1300px;
    flex-wrap: wrap;
}

.contract-card {
    background: white;
    border-radius: 20px;
    width: 390px;
    height: 275px;
    padding: 30px 44px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.contract-card-heading {
    font-family: "Figtree", Sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 36px;
    color: #000000;
    margin-bottom: 15px;
}

.contract-card-text {
    font-size: 14px;
    font-weight: 400;
    color: #5A6272;
    flex-grow: 1;
    text-align: center;
    max-width: 100%;
    margin-bottom: 0;
}

.contract-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 226px;
    height: 56px;
    padding: 12px 30px;
    border-radius: 15px;
    background: linear-gradient(94deg, #669850 -5.09%, #2A663D 107.28%);
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}

.contract-button:hover {
    transform: scale(1.1);
    background: linear-gradient(94deg, #5a8a45 -5.09%, #23592f 107.28%);
    text-decoration: none;
}

.new-footer {
    background: #0F2415;
    color: white;
    padding: 50px 20px;
}

.new-footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.new-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.new-footer-content {
    text-align: left;
}

.new-footer-question {
    font-family: "Figtree", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    margin-bottom: 8px;
    line-height: 1.4em;
}

.new-footer-title {
    font-family: "Figtree", Sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: white;
    line-height: 1.6em;
}

.new-social-icons {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.new-social-link {
    display: inline-block;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.new-social-link:hover {
    transform: scale(1.1);
}

.new-social-icon {
    width: 22px;
    height: 22px;
    fill: white;
}

.new-footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 20px 0;
}

.new-footer-rights {
    font-family: "Inter", Sans-serif;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: white;
}

.new-footer-rights a {
    color: #FFD700;
    text-decoration: none;
}

.new-footer-rights a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header-navbar .container {
        flex-direction: column;
        text-align: center;
    }

    .header-navbar img {
        height: 30px !important; 
    }

    .custom-title {
        font-size: 27px;
        line-height: 38px;
    }

    .custom-form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .custom-input {
        width: 100%;
    }

    .custom-search-button {
        width: 100%;
        max-width: 376px;
    }

    .custom-container {
        padding-left: 5%;
        padding-right: 5%;
        text-align: start;
        justify-content: start;
    }

    .custom-inner {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header-navbar img {
        height: 25px !important;
    }

    .custom-title {
        font-size: 24px;
        line-height: 35px;
    }

    .custom-form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .custom-input {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .custom-search-button {
        width: 100%;
        max-width: 340px;
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .custom-container {
        padding-left: 4%;
        padding-right: 4%;
        text-align: start;
        justify-content: start;
    }

    .custom-inner {
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    .header-navbar img {
        height: 20px !important;
    }

    .custom-title {
        font-size: 22px;
        line-height: 32px;
    }

    .custom-form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .custom-input {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.6rem;
    }

    .custom-search-button {
        width: 100%;
        max-width: 320px;
        font-size: 0.85rem;
        padding: 0.6rem;
    }

    .custom-container {
        padding-left: 3%;
        padding-right: 3%;
        text-align: start;
        justify-content: start;
    }

    .custom-inner {
        max-width: 100%;
    }
}

@media (max-width: 320px) {
    .header-navbar img {
        height: 18px !important;
    }

    .custom-image-wrapper {
        margin-top: 20px;
    }

    .custom-title {
        font-size: 15px;
        line-height: 25px;
    }

    .custom-description p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .custom-form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }

    .custom-input {
        width: 100%;
        font-size: 0.8rem;
        padding: 0.5rem;
        max-height: 30px;
    }

    .custom-search-button {
        width: 100%;
        max-width: 280px;
        font-size: 0.8rem;
        padding: 0.2rem;
        max-height: 30px;
    }

    .custom-container {
        padding-left: 2%;
        padding-right: 2%;
        text-align: start;
        justify-content: start;
    }

    .custom-inner {
        max-width: 100%;
    }
}
