/* ============================================
   Contact Us Page Styles
   ============================================ */

.contact-hero-banner {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.contact-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    border-radius: 50%;
    animation: ct-pulse 8s ease-in-out infinite;
}
.contact-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91,80,214,0.18) 0%, transparent 60%);
    border-radius: 50%;
    animation: ct-pulse 10s ease-in-out infinite reverse;
}
@keyframes ct-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.1); opacity: 0.8; }
}
.contact-hero-banner .decorative-shape {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}
.contact-hero-banner .shape-1 { width: 300px; height: 300px; top: -100px; left: 10%; animation: ct-float 15s ease-in-out infinite; }
.contact-hero-banner .shape-2 { width: 200px; height: 200px; bottom: -50px; right: 15%; animation: ct-float 12s ease-in-out infinite reverse; }
.contact-hero-banner .shape-3 { width: 150px; height: 150px; top: 50%; right: 5%; border-color: rgba(255,255,255,0.25); animation: ct-float 10s ease-in-out infinite; }
@keyframes ct-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-20px) rotate(5deg); }
}
.contact-hero-banner .hero-content { position: relative; z-index: 10; }
.contact-hero-banner .hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}
.contact-hero-banner .hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 0;
    margin-top: -80px;
    position: relative;
    z-index: 20;
}
.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 18px 44px rgba(49, 40, 126, 0.12);
    transition: all 0.4s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}
.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(49, 40, 126, 0.2);
    border-bottom-color: #31287e;
}
.contact-info-card .icon-box {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 14px 28px rgba(49, 40, 126, 0.28);
    transition: all 0.4s ease;
}
.contact-info-card:hover .icon-box {
    transform: rotateY(360deg);
}
.contact-info-card .icon-box i {
    font-size: 32px;
    color: #fff;
}
.contact-info-card h4 {
    font-family: "Catamaran", sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #1a1556;
    margin-bottom: 10px;
}
.contact-info-card p,
.contact-info-card a {
    font-size: 14.5px;
    color: #5a5a72;
    margin: 0 0 4px;
    line-height: 1.65;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}
.contact-info-card a:hover { color: #31287e; }

/* Main Contact Section */
.contact-main-section {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%);
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    color: #fff;
    padding: 9px 26px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 18px;
}
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1556;
    margin-bottom: 14px;
}
.section-title .accent {
    background: linear-gradient(120deg, #31287e 0%, #5b50d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.section-subtitle {
    font-size: 16px;
    color: #5a5a72;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: 22px;
    padding: 44px;
    box-shadow: 0 24px 60px rgba(49, 40, 126, 0.1);
    border: 1px solid rgba(49, 40, 126, 0.08);
    position: relative;
    overflow: hidden;
}
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #31287e, #5b50d6, #31287e);
}
.contact-form-wrapper h3 {
    font-family: "Catamaran", sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #1a1556;
    margin-bottom: 8px;
}
.contact-form-wrapper .form-subtitle {
    color: #6b6b84;
    font-size: 14.5px;
    margin-bottom: 32px;
}
.form-group-custom {
    margin-bottom: 22px;
    position: relative;
}
.form-group-custom label {
    font-size: 13px;
    font-weight: 700;
    color: #1a1556;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.3px;
}
.form-group-custom .form-control-custom {
    width: 100%;
    height: 56px;
    padding: 0 18px 0 48px;
    font-size: 14.5px;
    color: #1a1556;
    background: #f6f7ff;
    border: 2px solid rgba(49, 40, 126, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
    font-family: "Roboto", sans-serif;
}
.form-group-custom .form-control-custom:focus {
    border-color: #31287e;
    background: #fff;
    box-shadow: 0 6px 22px rgba(49, 40, 126, 0.12);
}
.form-group-custom textarea.form-control-custom {
    height: 140px;
    padding: 18px 18px 18px 48px;
    resize: none;
}
.form-group-custom .input-icon {
    position: absolute;
    left: 16px;
    top: 67%;
    transform: translateY(-50%);
    font-size: 19px;
    color: #9b9bb0;
    transition: color 0.3s;
}
.form-group-custom:focus-within .input-icon { color: #31287e; }
.form-group-custom.textarea-group .input-icon {
    top: 50px;
    transform: none;
}
.submit-btn {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    color: #fff;
    border: none;
    padding: 16px 44px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 14px 30px rgba(49, 40, 126, 0.3);
}
.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(49, 40, 126, 0.4);
}
.submit-btn i { font-size: 18px; transition: transform 0.3s; }
.submit-btn:hover i { transform: translateX(5px); }

/* Right-side image / brand card */
.contact-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 480px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(49, 40, 126, 0.15);
}
.contact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.contact-image-wrapper:hover img { transform: scale(1.05); }
.contact-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 21, 86, 0.95) 0%, rgba(49, 40, 126, 0.6) 60%, transparent 100%);
    padding: 36px 28px;
    color: #fff;
}
.contact-image-overlay h4 {
    font-family: "Catamaran", sans-serif;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}
.contact-image-overlay p {
    font-size: 14px;
    line-height: 1.65;
    opacity: 0.92;
    margin: 0;
}
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-links a:hover {
    background: #ffffff;
    color: #31287e;
    transform: translateY(-4px);
}

/* Alerts */
.alert-custom {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}
.alert-custom.success { background: #d4f5e1; color: #155724; border-left: 4px solid #28a745; }
.alert-custom.error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.alert-custom i { font-size: 22px; }

/* Map Section */
.contact-map-section {
    padding: 0 0 90px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%);
}
.contact-map-wrap {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(49, 40, 126, 0.15);
    border: 1px solid rgba(49, 40, 126, 0.08);
}
.contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

@media (max-width: 991px) {
    .contact-hero-banner { height: 360px; }
    .contact-hero-banner .hero-content h1 { font-size: 2.4rem; }
    .contact-info-section { margin-top: -50px; }
    .contact-form-wrapper { padding: 32px 26px; margin-bottom: 30px; }
    .section-title { font-size: 1.9rem; }
    .contact-image-wrapper { min-height: 360px; }
    .contact-map-wrap iframe { height: 320px; }
}

@media (max-width: 575px) {
    .contact-hero-banner .hero-content h1 { font-size: 2rem; }
    .contact-info-card { padding: 26px 20px; }
}
