/* Premium Design Improvements for Contact Page */
body {
    background-color: #020617; /* Very dark background to match */
}

/* Subtle Grid Pattern Background for Hero */
.contact-hero-bg {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}
.contact-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: 0;
    pointer-events: none;
}

/* Glass Card / Premium Cards */
.premium-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Contact Mini Cards */
.contact-mini-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.contact-mini-card:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.contact-icon-box {
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05));
    border: 1px solid rgba(59,130,246,0.2);
    padding: 1rem;
    border-radius: 12px;
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.contact-mini-card:hover .contact-icon-box {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

/* Premium Form Styling */
.form-control-premium {
    background-color: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.form-control-premium:focus {
    background-color: #0f172a !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25) !important;
    outline: none;
}
.form-control-premium::placeholder {
    color: #64748b !important;
}

/* Map Container */
.premium-map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    height: 350px;
    width: 100%;
    position: relative;
}
.premium-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Gradient Submit Button */
.btn-premium-submit {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.btn-premium-submit:hover {
    background: linear-gradient(to right, #2563eb, #0891b2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

/* Perfect Mobile Responsiveness */
@media (max-width: 767.98px) {
    .contact-hero-bg {
        padding-top: 6rem !important;
        padding-bottom: 3rem !important;
    }
    .contact-hero-bg h1.display-4 {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
        margin-bottom: 1rem !important;
        line-height: 1.2 !important;
    }
    .contact-hero-bg p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Headings for Contact Info & Form */
    h4.fw-bold.text-white {
        font-size: clamp(1.4rem, 6vw, 1.8rem) !important;
        margin-bottom: 1.25rem !important;
    }

    /* Contact Mini Cards */
    .contact-mini-card {
        padding: 1rem !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
        border-radius: 10px !important;
    }
    .contact-icon-box {
        padding: 0.75rem !important;
        border-radius: 10px !important;
    }
    .contact-icon-box svg {
        width: 20px !important;
        height: 20px !important;
    }
    .contact-mini-card h6 {
        font-size: 0.95rem !important;
        margin-bottom: 0.25rem !important;
    }
    .contact-mini-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    .contact-mini-card p.text-slate-500 {
        font-size: 0.75rem !important;
    }

    /* Premium Form Card */
    .premium-card {
        padding: 1.5rem 1.25rem !important;
        border-radius: 10px !important;
    }
    
    /* Form Elements & Placeholders */
    .form-label {
        font-size: 0.85rem !important;
        margin-bottom: 0.4rem !important;
    }
    .form-control-premium {
        font-size: 0.9rem !important;
        padding: 0.65rem 1rem !important;
    }
    .form-control-premium::placeholder {
        font-size: 0.85rem !important;
    }
    textarea.form-control-premium {
        min-height: 100px;
    }
    
    /* Submit Button */
    .btn-premium-submit {
        font-size: 0.95rem !important;
        padding: 0.8rem 1.5rem !important;
    }
    .btn-premium-submit svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Map Height */
    .premium-map-container {
        height: 180px !important;
        min-height: 180px !important;
    }
}
