/*
 * SehatNexa — contact-us.css
 * Brand: #1C3F8F navy | #00A8CC teal | #27C96A green | #00C9A7 teal-green
 */

:root {
    --sn-navy  : #1C3F8F;
    --sn-teal  : #00A8CC;
    --sn-green : #27C96A;
    --sn-tgreen: #00C9A7;
    --sn-dark  : #0D2B6E;
    --sn-lblue : #E8F7FF;
    --sn-lgreen: #F0FFF8;
    --sn-grad  : linear-gradient(135deg, #1C3F8F 0%, #00A8CC 100%);
    --sn-grad-g: linear-gradient(135deg, #27C96A 0%, #00C9A7 100%);
    --text      : #0D2B6E;
    --text-light: #64748b;
    --shadow    : 0 25px 50px -12px rgba(28,63,143,0.15);
    --shadow-glow: 0 0 40px rgba(0,168,204,0.15);
}

/* ── HERO ─────────────────────────────────────────────────── */
.contact-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #071124 0%, #0D2B6E 45%, #1C3F8F 100%);
}

.contact-hero .hero-particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.contact-hero .hero-particles .particle {
    position: absolute;
    width: 6px; height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    animation: floatParticle 20s infinite linear;
}

.contact-hero .hero-particles .particle:nth-child(1) { top:  5%; left:  5%; animation-duration: 18s; }
.contact-hero .hero-particles .particle:nth-child(2) { top: 20%; left: 90%; animation-duration: 22s; }
.contact-hero .hero-particles .particle:nth-child(3) { top: 50%; left: 10%; animation-duration: 16s; }
.contact-hero .hero-particles .particle:nth-child(4) { top: 70%; left: 85%; animation-duration: 24s; }
.contact-hero .hero-particles .particle:nth-child(5) { top: 35%; left: 50%; animation-duration: 20s; }
.contact-hero .hero-particles .particle:nth-child(6) { top: 85%; left: 30%; animation-duration: 19s; }

@keyframes floatParticle {
    0%   { transform: translateY(0)     rotate(0deg)   scale(1);   opacity: 0.2; }
    25%  { opacity: 0.5; }
    50%  { transform: translateY(-100px) rotate(180deg) scale(1.5); opacity: 0.3; }
    75%  { opacity: 0.5; }
    100% { transform: translateY(0)     rotate(360deg) scale(1);   opacity: 0.2; }
}

.contact-hero .hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulseGlow 7s ease-in-out infinite;
}

.contact-hero .hero-glow.glow-1 {
    width: 400px; height: 400px;
    top: -100px; right: -100px;
    background: #00A8CC;
}

.contact-hero .hero-glow.glow-2 {
    width: 300px; height: 300px;
    bottom: -50px; left: -50px;
    background: #27C96A;
    animation-delay: -3s;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1);   opacity: 0.2; }
    50%       { transform: scale(1.2); opacity: 0.4; }
}

.contact-hero .hero-container {
    position: relative; z-index: 1;
    width: 100%; padding: 30px 0;
}

.contact-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.contact-hero .hero-badge i { color: #00C9A7; }

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.contact-hero h1 .highlight {
    background: linear-gradient(135deg, #00A8CC, #27C96A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero .hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── CONTACT CARDS ────────────────────────────────────────── */
.contact-cards-section {
    background: var(--sn-lblue);
    padding: 60px 0 80px;
}

.contact-cards-section .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: rgba(28,63,143,0.08);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sn-navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.contact-card-glass {
    background: white;
    border-radius: 24px;
    padding: 32px 28px;
    text-align: center;
    border: 1px solid rgba(0,168,204,0.14);
    box-shadow: 0 4px 20px rgba(28,63,143,0.07);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.contact-card-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--sn-grad);
    opacity: 0;
    transition: opacity 0.4s;
}

.contact-card-glass:hover::before { opacity: 1; }

.contact-card-glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(28,63,143,0.14), var(--shadow-glow);
    border-color: rgba(0,168,204,0.25);
}

.contact-card-glass .icon-box {
    width: 70px; height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--sn-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(28,63,143,0.25);
}

.contact-card-glass:hover .icon-box { transform: scale(1.1) rotate(-5deg); }

.contact-card-glass h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sn-dark);
    margin-bottom: 6px;
}

.contact-card-glass .card-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.contact-card-glass .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sn-teal);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-card-glass .card-link:hover { gap: 14px; color: var(--sn-navy); }
.contact-card-glass .card-link i { transition: transform 0.3s ease; }
.contact-card-glass .card-link:hover i { transform: translateX(4px); }

/* ── FORM SECTION ─────────────────────────────────────────── */
.contact-form-section {
    background: linear-gradient(135deg, #071124 0%, #0D2B6E 50%, #1C3F8F 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at top right, rgba(0,168,204,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(39,201,106,0.10) 0%, transparent 50%);
    pointer-events: none;
}

.contact-form-section .section-label-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.contact-form-section .section-label-light i { color: #00C9A7; }

.contact-form-glass {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-form-glass:hover { border-color: rgba(0,168,204,0.25); }

.contact-form-glass h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.contact-form-glass .form-desc {
    color: rgba(255,255,255,0.45);
    font-size: 1rem;
    margin-bottom: 24px;
}

.contact-form-glass .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-form-glass .form-control:focus {
    background: rgba(255,255,255,0.08);
    border-color: #00A8CC;
    box-shadow: 0 0 0 4px rgba(0,168,204,0.12);
    outline: none;
}

.contact-form-glass .form-control::placeholder { color: rgba(255,255,255,0.25); }

.contact-form-glass .form-label {
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    font-size: 0.85rem;
}

.contact-form-glass select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.35)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.contact-form-glass select.form-control option { color: #0D2B6E; background: #fff; }

.btn-submit-glass {
    background: var(--sn-grad);
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(28,63,143,0.35);
    width: 100%;
    font-size: 1rem;
}

.btn-submit-glass:hover {
    background: var(--sn-grad-g);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,168,204,0.4);
    color: white;
}

/* ── INFO GRID ────────────────────────────────────────────── */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.info-item-glass {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 14px;
}

.info-item-glass:hover {
    border-color: rgba(0,168,204,0.25);
    transform: translateX(4px);
    background: rgba(0,168,204,0.07);
}

.info-item-glass .info-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(0,168,204,0.12);
    border: 1px solid rgba(0,168,204,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00A8CC;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-item-glass .info-content .ilabel {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-item-glass .info-content .ivalue {
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Social pills */
.sn-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.sn-contact-pill:hover {
    background: rgba(0,168,204,0.15);
    border-color: rgba(0,168,204,0.3);
    color: white;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 992px) {
    .contact-hero h1 { font-size: 2.8rem; }
    .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .contact-hero { min-height: 60vh; }
    .contact-hero h1 { font-size: 2.2rem; }
    .contact-hero .hero-subtitle { font-size: 1rem; }
    .contact-form-glass { padding: 24px; }
    .contact-form-glass h3 { font-size: 1.4rem; }
    .contact-cards-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .contact-hero h1 { font-size: 1.8rem; }
    .contact-card-glass { padding: 24px 20px; }
    .contact-form-glass { padding: 18px; }
    .contact-cards-section { padding: 40px 0 60px; }
}

/* ── Alerts ───────────────────────────────────────────────── */
.alert-sn {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.93rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.alert-sn-success {
    background: rgba(39,201,106,0.15);
    border: 1px solid rgba(39,201,106,0.35);
    color: #27C96A;
}

.alert-sn-danger {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    color: #ef4444;
}
