.contact-join-section {
    padding: 100px 0;
    background: #fdfdfd;
    
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    
}

.contact-info {
    flex: 1;
    min-width: 500px;
    background: #232222;
    color: white;
    padding: 40px;
    border-radius: 20px ;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-items {
    margin: 40px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: #d3bf0c;
}

.info-item span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.info-item p {
    font-size: 1.1rem;
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    background: #fff;
    color: #94e117;
}

.contact-form-container {
    flex: 1.5;
    min-width: 350px;
    padding: 20px;
    margin-top: 90px;
}

.contact-form h3 {
    margin-bottom: 30px;
    color: #333;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 15px 0 5px 10px;
    outline: none;
   
    border: none;
     border-bottom: 2px solid rgb(31, 29, 29);
}
.input-group select option{
    border-radius: 12px;

}

.btn-send1 {
    width: 100%;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    background: transparent;
}


.fancy2 {
 background-color: transparent;
 border: 2px solid #252324;
 border-radius: 0;
 box-sizing: border-box;
 color: #fff;
 cursor: pointer;
 display: inline-block;
 font-weight: 700;
 letter-spacing: 0.05em;
 margin: 0;
 outline: none;
 overflow: visible;
 padding: 1.25em 2em;
 position: relative;
 text-align: center;
 text-decoration: none;
 text-transform: none;
 transition: all 0.3s ease-in-out;
 user-select: none;
 font-size: 13px;
 margin-top: 30px;
 margin-left: 20px;
 width: 100%;
 height: 100%;
}

.fancy1::before {
 content: " ";
 width: 1.5625rem;
 height: 2px;
 background: #1B1B1B;
 top: 50%;
 left: 1.5em;
 position: absolute;
 transform: translateY(-50%);
 transform-origin: center;
 transition: background 0.3s linear, width 0.3s linear;
 
}

.fancy1 .text {
 font-size: 1.125em;
 line-height: 1.33333em;
 padding-left: 2em;
 display: block;
 text-align: left;
 transition: all 0.3s ease-in-out;
 text-transform: uppercase;
 text-decoration: none;
 color: #252324;
}

.fancy1 .top-key {
 height: 2px;
 width: 1.5625rem;
 top: -2px;
 left: 0.625rem;
 position: absolute;
 background: #e8e8e8;
 transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy1 .bottom-key-1 {
 height: 2px;
 width: 1.5625rem;
 right: 1.875rem;
 bottom: -2px;
 position: absolute;
 background: #e8e8e8;
 transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy1 .bottom-key-2 {
 height: 2px;
 width: 0.625rem;
 right: 0.625rem;
 bottom: -2px;
 position: absolute;
 background: #e8e8e8;
 transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy:hover {
 color: white;
 background: #252324;
}
/* Medium devices (tablets, 768px - 991px) */
@media (max-width: 991px) {
    .contact-wrapper {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .contact-info,
    .contact-form-container {
        min-width: 100%;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 12px 0 5px 10px;
        margin-bottom: 12px;
    }

    .btn-send1 {
        font-size: 1rem;
    }
}

/* Small devices (mobiles, max-width: 767px) */
@media (max-width: 767px) {
    .contact-join-section {
        padding: 60px 20px;
    }

    .contact-wrapper {
        padding: 20px;
        gap: 20px;
    }

    .contact-info h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .info-items {
        margin: 20px 0;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form h3 {
        text-align: center;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .fancy2 {
        padding: 1em 1.5em;
        font-size: 0.95rem;
        margin-left: 0;
    }

}
