.contact-section {
    /* Smooth scroll behavior */
    /* Custom scrollbar */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section .container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-section .container:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.contact-section .header {
    background: #0fa858;
    color: white;
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    padding: 15px 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.contact-section .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s;
}

.contact-section .header:hover::before {
    left: 100%;
}

.contact-section .content {
    padding: 20px;
    background: #eeeeee94;
}

.contact-section .description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
    text-align: justify;
    background: #f8f9ff;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #0fa858;
    transition: all 0.3s ease;
}

.contact-section .description:hover {
    background: #f0f2ff;
    transform: translateX(5px);
}

.contact-section .section-title {
    background: #0fa858;
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-section .section-title::after {}

.contact-section .section-title:hover::after {
    transform: translateY(-50%) translateX(5px);
}

.contact-section .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-section .form-group {
    flex: 1;
    position: relative;
}

.contact-section .form-group.full-width {
    flex: 100%;
    margin-bottom: 20px;
}

.contact-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

.contact-section .required {
    color: #e74c3c;
    font-weight: bold;
}

.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section input[type="tel"],
.contact-section input[type="number"],
.contact-section textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e1e8ed;
    border-radius: 5px;
    font-size: 14px;
    background: #fafbfc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.contact-section .error-message{
    color: #e74c3c;
   
}

.contact-section input[type="text"]:focus,
.contact-section input[type="email"]:focus,
.contact-section input[type="number"]:focus,
.contact-section textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.contact-section input[type="text"]:hover,
.contact-section input[type="email"]:hover,
.contact-section input[type="number"]:hover,
.contact-section textarea:hover {
    border-color: #b8c6db;
    transform: translateY(-1px);
}

.contact-section .editor-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-section .editor-container:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.contact-section .editor-toolbar {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    padding: 12px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.contact-section .editor-toolbar select {
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: white;
    font-size: 12px;
    transition: all 0.3s ease;
}

.contact-section .editor-toolbar select:hover {
    border-color: #667eea;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-section .editor-toolbar button {
    background: white;
    border: 1px solid #dee2e6;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-section .editor-toolbar button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.contact-section .editor-toolbar button:hover::before {
    left: 100%;
}

.contact-section .editor-toolbar button:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.contact-section .editor-content {
    width: 100%;
    height: 320px;
    border: none;
    padding: 20px;
    font-size: 14px;
    resize: vertical;
    background: white;
    font-family: inherit;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.contact-section .editor-content:focus {
    outline: none;
    background: #fafbfc;
}

.contact-section .file-section {
    background: #f8f9ff;
    padding: 25px;
    border-radius: 12px;
    border: 1px dashed #b8c6db;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.contact-section .file-section:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.contact-section .file-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-section .file-upload {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.contact-section .file-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-section .file-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-section .file-btn:hover::before {
    left: 100%;
}

.contact-section .file-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.contact-section .file-size-info {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

.contact-section .submit-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 17px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.contact-section .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.contact-section .submit-btn:hover::before {
    left: 100%;
}

.contact-section .submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.contact-section .submit-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.contact-section .toolbar-group {
    display: flex;
    gap: 5px;
    align-items: center;
}

@media (max-width: 768px) {


    .contact-section .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-section .container {
        margin: 10px;
        border-radius: 15px;
    }

    .contact-section .content {
        padding: 10px;
    }

    .contact-section .section-title {}
}

.contact-section html {
    scroll-behavior: smooth;
}

.contact-section .editor-content::-webkit-scrollbar {
    width: 8px;
}

.contact-section .editor-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.contact-section .editor-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.contact-section .editor-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}


section.contact-section .ctnr {
    width: 52%;
    border-radius: 5px;
    overflow: hidden;
}

section.contact-section {
    margin: 10px 0px;
}
@media(max-width:768px){
    section.contact-section .ctnr {
        width: 99%;
    }

    .contact-section .description {
        font-size: 13px;
    }
    .contact-section .file-upload {
        flex-direction: column;
        align-items: flex-start;
    }
}
