.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 1s;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 20px;
    }
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}
.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007BFF;
    outline: none;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #555555;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 3s ease;
    z-index: 0;
    background-image: repeating-linear-gradient(
        to bottom, 
        white 0, white 2px,
        transparent 2px, transparent 24px,
        white 24px, white 26px,
        transparent 26px, transparent 48px,
        white 48px, white 50px
    );
}

.btn.animate::before {
    transform: scaleX(1);
}
.btn .emoji {
    font-size: 1.5em;
    position: absolute;
    left: 10px;
    bottom: 10px;
    transform: translateY(50%) scaleX(-1);
    opacity: 0;
    transition: transform 3s ease, opacity 0.5s ease;
    z-index: 1;
}

.btn.animate .emoji {
    opacity: 1;
    transform: translateX(calc(100% - 40px)) scaleX(-1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 20px;
}

.contact-info-section {
    flex: 1 1 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-info-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-info-section p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.contact-info-section .map {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .contact-info-section .map {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .contact-form-section {
        width: 50%;
    }
    .contact-info-section {
        width: 25%;
    }
    .contact-info-section .map {
        width: 25%;
    }
}

@media (min-width: 992px) {
    .contact-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .contact-form-section {
        width: 50%;
    }
    .contact-info-section {
        width: 20%;
    }
    .contact-info-section .map {
        width: 30%;
    }
}

@media (max-width: 600px) {
    .contact-info-section .map iframe {
        width: 100%;
        height: 200px;
    }
}

.contact-section h1,
.contact-section p {
    text-align: center;
}

.contact-section p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .contact-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .contact-form-section {
        width: 50%;
    }
    .contact-info-section {
        width: 50%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .contact-info-section .map {
        width: 70%;
    }
    .contact-info-section .info {
        width: 25%;
        margin-left: 5%;
    }
}

@media (max-width: 991px) {
    .contact-info-section {
        display: block;
    }
    .contact-info-section .map,
    .contact-info-section .info {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .contact-info-section .map iframe {
        width: 100%;
        height: 200px;
    }
}

/* Prevent iframe and info from overflowing on small screens */
@media (max-width: 600px) {
    .map iframe {
        width: 100%;
        height: auto;
    }
    .info {
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
    }
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-form-section {
    flex: 0 0 50%;
    max-width: 50%;
}

.contact-info-section {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-section .info {
    flex: 0 0 20%;
}

.contact-info-section .map {
    flex: 0 0 30%;
}

@media (max-width: 992px) {
    .contact-form-section,
    .contact-info-section {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .contact-info-section {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .contact-info-section .map iframe {
        width: 100%;
        height: 200px;
    }
}

.contact-container {
    display: flex;
    flex-direction: column; 
}


@media (min-width: 768px) {
    .contact-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .contact-form-section,
    .contact-info-section {
        flex: 1;
        margin: 0 10px;
    }
    .contact-info-section {
        display: flex;
        flex-direction: column;
    }
    .contact-info-section .info,
    .contact-info-section .map {
        flex: 1;
        margin: 0 10px;
    }
}

@media (min-width: 992px) {
    .contact-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .contact-form-section,
    .contact-info-section {
        flex: 1;
        margin: 0 10px;
    }
    .contact-info-section {
        display: flex;
        flex-direction: column;
    }
    .contact-info-section .info,
    .contact-info-section .map {
        flex: 1;
        margin: 0 10px;
    }
}


@media (max-width: 768px) {
    .contact-section p {
        padding-top: 60px; 
    }
}


@media (min-width: 992px) {
    .contact-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .contact-form-section,
    .contact-info-section,
    .map {
        flex: 1;
        margin: 0 10px;
    }
    
}

.info {
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.info:hover {
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.info h2 {
    text-align: center;
}

