.excss-1 { margin-top: 20px; }
.excss-2 { }
.excss-3 { }
.excss-4 { }


html {
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[role="main"] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.navbar-fixed-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
}

.custom-navbar {
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.custom-navbar.top-nav-collapse {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border-bottom: 3px solid #559d78 !important;
}

html, body {
    height: auto !important;
    min-height: 100% !important;
}

body {
    padding-top: 10px !important;
}

#contact {
    padding-bottom: 10vh !important;
}

#contact .section-title {
    margin-bottom: 50px !important;
}

#contact form {
    display: flex;
    flex-wrap: wrap;
}

#contact form .col-md-6,
#contact form .col-md-12 {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    #contact form {
        justify-content: center;
    }
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpolyline points="6 9 12 15 18 9"%3E%3C/polyline%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 35px;
    cursor: pointer;
}

.form-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #000;
}

.modal-body h2 {
    color: #27ae60;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
}

.modal-body p {
    color: #555;
    margin-bottom: 25px;
    font-size: 16px;
}

.btn-close-modal {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-close-modal:hover {
    background-color: #229954;
}

.btn-close-modal:active {
    transform: scale(0.98);
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    #contact .section-title,
    #contact .section-title h2,
    .section-title,
    .section-title h2 {
        overflow: visible !important;
        line-height: 1.4 !important;
        padding-top: 10px !important;
    }

    #contact form {
        margin-top: 50px !important;
    }

    #contact .row {
        flex-direction: column !important;
    }

    #contact .col-md-12.col-sm-12 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    #contact form .col-md-6,
    #contact form .col-md-12,
    #contact form .col-md-4 {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #submitBtn {
        width: 100% !important;
    }
}