/* =========================================
   CONTACT US SPECIFIC STYLES
========================================= */

/* --- INNER PAGE HERO --- */
.inner-page-hero {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    padding: 100px 0 80px 0;
    position: relative;
    text-align: center;
    border-bottom: 1px solid rgba(126, 34, 206, 0.1);
    overflow: hidden; /* Contains the floating elements */
}

/* --- FLOATING 3D-STYLE ICONS --- */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(126, 34, 206, 0.15), inset 0 2px 5px rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.floating-element i {
    font-size: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Positioning and Animation Assignments */
.float-1 { 
    top: 15%; left: 10%; 
    width: 70px; height: 70px; 
    animation: floatY 6s ease-in-out infinite; 
    transform: rotate(-10deg);
}
.float-2 { 
    bottom: 20%; right: 15%; 
    width: 85px; height: 85px; 
    border-radius: 50%;
    animation: floatY 8s ease-in-out infinite reverse; 
}
.float-3 { 
    top: 25%; right: 10%; 
    width: 60px; height: 60px; 
    animation: floatX 7s ease-in-out infinite; 
    transform: rotate(15deg);
}
.float-4 { 
    bottom: 25%; left: 15%; 
    width: 65px; height: 65px; 
    animation: floatX 9s ease-in-out infinite reverse; 
    opacity: 0.8;
}

/* Keyframes for smooth floating */
@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}
@keyframes floatX {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-20px) rotate(-5deg); }
}

.hero-content-wrapper {
    position: relative;
    z-index: 5;
}

/* --- CONTACT CARDS --- */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(88, 28, 135, 0.04);
    border: 1px solid #f3e8ff;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}
.contact-info-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(126, 34, 206, 0.1);
}
.contact-icon-box {
    width: 70px; height: 70px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; margin: 0 auto 1.5rem auto;
    background: rgba(126, 34, 206, 0.1);
    color: var(--primary);
}

/* LINK HOVER EFFECTS */
.hover-secondary:hover { color: var(--secondary) !important; }
.hover-primary:hover { color: var(--primary) !important; }

/* --- CONTACT FORM STYLES --- */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(126, 34, 206, 0.08);
    border: 1px solid #e9d5ff;
}
.form-control, .form-select {
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(126, 34, 206, 0.1);
    background-color: #ffffff;
}
.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 991px) {
    .floating-element { display: none; }
    .contact-form-wrapper { padding: 30px; }
}