/* ========================================
   Contact Page Scoped Styles (Light & Glamorous)
   ======================================== */
.contact-page {
    font-family: 'Poppins', sans-serif;
    background: #f9f9f9; /* very light, matches other pages */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* =====================
   Glassmorphic Card — static
   ===================== */
.contact-page .contact-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95); /* almost solid for contrast */
    border-radius: 18px;
    padding: 50px 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

/* =====================
   Header
   ===================== */
.contact-page .contact-card .card-header h1 {
    font-size: 34px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 12px;
}

.contact-page .contact-card .card-header p.description {
    text-align: center;
    color: #555;
    margin-bottom: 35px;
    font-size: 15px;
}

/* =====================
   Form Layout
   ===================== */
.contact-page .contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-page .contact-form .input-group {
    position: relative;
}

/* =====================
   Inputs — clear borders
   ===================== */
.contact-page .contact-form .input-group input,
.contact-page .contact-form .input-group textarea {
    width: 100%;
    padding: 16px 14px;
    border-radius: 10px;
    border: 2px solid #999; /* thicker and darker for visibility */
    background: #ffffff;
    color: #111;
    font-size: 16px;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.08); /* subtle inset for depth */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-page .contact-form .input-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Placeholder */
.contact-page .contact-form .input-group input::placeholder,
.contact-page .contact-form .input-group textarea::placeholder {
    color: #666; /* darker placeholder */
}

/* =====================
   Floating Labels
   ===================== */
.contact-page .contact-form .input-group label {
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 13px;
    color: #333;
    pointer-events: none;
    background: #ffffff; /* fully opaque label background */
    padding: 0 5px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

/* =====================
   Focus Effects
   ===================== */
.contact-page .contact-form .input-group input:focus,
.contact-page .contact-form .input-group textarea:focus {
    border-color: #1976d2; /* bright blue border */
    box-shadow: 0 0 6px rgba(25, 118, 210, 0.3);
}

.contact-page .contact-form .input-group input:focus + label,
.contact-page .contact-form .input-group textarea:focus + label {
    color: #1976d2;
}

/* =====================
   Button
   ===================== */
.contact-page .contact-form button {
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-page .contact-form button:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: none;
}

/* =====================
   Footer
   ===================== */
.contact-page .contact-card .card-footer {
    margin-top: 25px;
    text-align: center;
    color: #555;
}

.contact-page .contact-card .card-footer a {
    color: #1976d2;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-page .contact-card .card-footer a:hover {
    color: #0d47a1;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 600px) {
    .contact-page .contact-card {
        padding: 40px 25px;
    }

    .contact-page .contact-card .card-header h1 {
        font-size: 28px;
    }
}