* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* Background */
body {
    background: #D9D0E1;
    color: #333;
    overflow-x: hidden;
}

/* Header */
.contact-header {
    text-align: center;
    padding: 25px;
    background: #431469;
    margin-top: 30px;
}

.contact-header h1 {
    font-size: 34px;
    color: #fff;
    letter-spacing: 1px;
}

/* Container */
.contact-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 30px auto;
}

/* Card */
.contact-card {
    flex: 1;
    min-width: 300px;

    background: rgba(106, 13, 173, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 25px;
    border-radius: 15px;
    color: white;

    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

.contact-card h2 {
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 8px;
}

/* Info Box */
.info-box {
    display: flex;
    align-items: center;
    gap: 15px;

    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    transition: 0.3s;
}

.info-box:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Icon */
.icon {
    font-size: 20px;
    background: white;
    color: #6a0dad;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Text */
.contact-details h4 {
    font-size: 15px;
}

.contact-details p {
    font-size: 13px;
    color: #eee;
}

/* Inputs */
.input-group {
    position: relative;
    margin: 20px 0;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    outline: none;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 14px;
}

/* Label */
.input-group label {
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 14px;
    color: #ddd;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    background: #431469;
    padding: 2px 6px;
    border-radius: 5px;
}

/* Button */
.submit-btn {
    background: white;
    color: #6a0dad;
    border: none;
    padding: 8px 22px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #ddd;
    transform: scale(1.05);
}

/* Map */
.map {
    width: 100%;
    margin-top: 20px;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Tablet */
@media (max-width: 768px) {
    .contact-header {
        margin-top: 0;
    }

    .contact-header h1 {
        font-size: 26px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .contact-header {
        margin-top: 0;
    }
}
