﻿.contact-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease-in-out;
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.contact-header {
    background: linear-gradient(135deg, #007bff, #6610f2);
    color: #fff;
    padding: 20px;
    text-align: center;
}

    .contact-header h3 {
        font-weight: 600;
        letter-spacing: 1px;
    }

    .contact-header p {
        margin: 0;
        font-size: 14px;
        opacity: 0.9;
    }

.form-control {
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

    .form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 8px rgba(0,123,255,0.3);
    }

.btn-primary {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    background: linear-gradient(135deg, #007bff, #6610f2);
    border: none;
    transition: background 0.3s ease-in-out;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #0056b3, #520dc2);
    }

.alert-box {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
}

@media (max-width: 768px) {
    .contact-card {
        margin: 10px;
        border-radius: 8px;
    }

    .contact-header {
        padding: 15px;
    }

        .contact-header h3 {
            font-size: 20px;
        }

        .contact-header p {
            font-size: 12px;
        }

    .form-control {
        font-size: 14px;
        padding: 8px 10px;
    }

    .btn-primary {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    .alert-box {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .contact-header h3 {
        font-size: 18px;
    }

    .btn-primary {
        font-size: 14px;
        padding: 10px;
    }

    .form-control {
        font-size: 13px;
    }
}
