/* Contact Form Custom Styles for RückFonds Legal */

/* Form Container */
.contact-form-style-03 {
    background: transparent;
}

/* Form Labels */
.contact-form-style-03 .form-label {
    font-size: 13px;
    text-transform: uppercase;
    color: #2d3436;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

/* Form Input Fields */
.contact-form-style-03 .form-control,
.contact-form-style-03 .form-select {
    border: none;
    border-bottom: 1px solid #2d3436;
    border-radius: 0;
    background: transparent;
    padding: 10px 0;
    font-size: 15px;
    color: #2d3436;
    transition: all 0.3s ease;
}

.contact-form-style-03 .form-control:focus,
.contact-form-style-03 .form-select:focus {
    outline: none;
    border-bottom-color: #007bff;
    box-shadow: none;
}

.contact-form-style-03 .form-control::placeholder {
    color: #95a5a6;
    opacity: 0.7;
}

/* Form Group with Icon */
.contact-form-style-03 .form-group {
    position: relative;
    margin-bottom: 20px;
}

.contact-form-style-03 .form-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #2d3436;
    pointer-events: none;
}

/* Phone Number Select */
.contact-form-style-03 .form-select[name="country_code"] {
    width: 120px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Checkboxes Styling */
.contact-form-style-03 .form-check {
    margin-bottom: 15px;
    padding-left: 0;
    display: flex;
    align-items: flex-start;
}

.contact-form-style-03 .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    margin-right: 12px;
    margin-left: 0;
    border: 2px solid #2d3436;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    transition: all 0.3s ease;
}

.contact-form-style-03 .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.contact-form-style-03 .form-check-input:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.contact-form-style-03 .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.contact-form-style-03 .form-check-label {
    font-size: 14px;
    color: #2d3436;
    line-height: 1.5;
    cursor: pointer;
    flex: 1;
    margin-left: 0;
}

.contact-form-style-03 .form-check-input:hover {
    border-color: #007bff;
}

/* Submit Button */
.contact-form-style-03 .btn.submit {
    background-color: #2d3436;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-form-style-03 .btn.submit:hover {
    background-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.contact-form-style-03 .btn.submit:active {
    transform: translateY(0);
}

/* Helper Text */
.contact-form-style-03 .fs-12.text-medium-gray {
    color: #7f8c8d;
    font-size: 12px;
    line-height: 1.4;
}

/* Security Message */
.contact-form-style-03 .fs-12.text-medium-gray:last-of-type {
    margin-top: 15px;
    text-align: center;
    color: #95a5a6;
}

/* Form Results */
.contact-form-style-03 .form-results {
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.contact-form-style-03 .form-results.d-none {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form-style-03 .form-check-input {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    
    .contact-form-style-03 .form-check-label {
        font-size: 13px;
    }
    
    .contact-form-style-03 .btn.submit {
        width: 100%;
        padding: 14px 30px;
    }
    .ft-45{
        font-size: 35px;
        line-height: 45px;
    }
    .ft-46{
        font-size: 14px;
        line-height: 25px;
    }
    .dn-4{
        display: none !important;
    }
    .accordion-style-01 .accordion-item{
        padding-left: 10px;
    }
    .accordion-style-01 .accordion-item .fw-800{
        white-space: nowrap;
    }
    .full-screen-bg{
        height: auto !important;min-height: 95vh;display: flex;align-items: center;flex-direction: column;justify-content: center;
        padding: 50px 0 !important;
    }
    .accordion-button{
        font-size: 16px;
        line-height: 20px;
    }
    .fg-5{
        font-size: 30px;
        line-height: 40px;
    }
}
    .accordion-style-01 .accordion-item .accordion-body{
        padding-top: 30px;
    }

    .blog-grid .card .card-body{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .accordion-style-01 .accordion-item .accordion-body .ps-20px, .accordion-style-01 .accordion-item .accordion-body .ps-20px{
        padding: 0 !important;
        margin: 0 !important;
    }

    .navbar .navbar-nav .nav-link{
        padding-left: 10px;
        padding-right: 10px;
        font-size: 15px;
    }

.fg-i i{
    margin-right: 10px;
}

.blog-image img{
    height: 250px;
    object-fit: cover;
}

.swiper-slide{
    background-color: #f0f2f8;
}

.swiper-slide .bg-white{
    background-color: #ffffff !important;
    box-shadow: none !important;

}

.accordion-style-01 .accordion-item .accordion-body{
    margin-top: 30px;
}