/* ============================================
   SAFA CONTACT PAGE - PREMIUM HD GLASSMORPHIC DESIGN
   High Saturation Colors | HD Resolution | Perfect Typography
   ============================================ */

/* ========== HD RENDERING OPTIMIZATION ========== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ========== ROOT VARIABLES - HIGH SATURATION COLORS ========== */
:root {
    --safa-contact-bg: #fdfcfb;
    --safa-contact-text: #1a1f26;
    --safa-contact-accent-start: #d4a574;
    --safa-contact-accent-mid: #c8965c;
    --safa-contact-accent-end: #b8854a;
    --safa-contact-glow: rgba(212, 165, 116, 0.6);
    --safa-contact-glow-strong: rgba(212, 165, 116, 0.8);
    --safa-contact-glass-bg: rgba(255, 255, 255, 0.75);
    --safa-contact-glass-border: rgba(255, 255, 255, 0.5);
    --safa-contact-shadow: rgba(0, 0, 0, 0.15);
    --safa-contact-shadow-strong: rgba(0, 0, 0, 0.25);
    --safa-contact-gradient: linear-gradient(135deg, #d4a574 0%, #c8965c 50%, #b8854a 100%);
    --safa-contact-gradient-light: linear-gradient(135deg, #e8c896 0%, #d4a574 50%, #c8965c 100%);
}

/* ========== PAGE CONTAINER ========== */
.safa-contact-main {
    background: #fdfcfb;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    opacity: 0;
    animation: safaContactFadeIn 1.2s ease-out forwards;
    margin-top: 70px;
    padding-bottom: 60px;
}

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

/* ========== FLOATING PARTICLES BACKGROUND (disabled - kept empty for HTML compatibility) ========== */
.safa-contact-particles {
    display: none;
}

/* ========== HERO SECTION - CINEMATIC INTRO ========== */
.safa-contact-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

/* Background Image */
.safa-contact-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: safaContactHeroZoom 20s ease-in-out infinite;
    transform: scale(1.1);
    filter: brightness(0.7) contrast(1.1) saturate(1.2);
    will-change: transform;
}

@keyframes safaContactHeroZoom {
    0%, 100% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Overlay - Gold gradient overlay */
.safa-contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(202, 165, 109, 0.4) 0%, 
        rgba(30, 30, 30, 0.5) 50%,
        rgba(202, 165, 109, 0.3) 100%);
    z-index: 2;
    animation: safaContactOverlayPulse 8s ease-in-out infinite;
}

@keyframes safaContactOverlayPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

/* Additional Background Effects */
.safa-contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(202, 165, 109, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(202, 165, 109, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    z-index: 2;
    animation: safaContactBackgroundMove 15s ease-in-out infinite;
}

@keyframes safaContactBackgroundMove {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Hero Content - Cinematic Entrance */
.safa-contact-hero-content {
    text-align: center;
    color: #fff;
    z-index: 3;
    position: relative;
    padding: 0 30px;
    max-width: 1000px;
    animation: safaContactContentFadeIn 1.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes safaContactContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Hero Badge */
.safa-contact-hero-badge {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, 
        rgba(202, 165, 109, 0.9) 0%, 
        rgba(184, 133, 74, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: 
        0 8px 25px rgba(202, 165, 109, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: safaContactBadgeSlide 1s ease-out 0.3s both;
    position: relative;
    overflow: hidden;
}

.safa-contact-hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: safaContactBadgeShine 3s ease-in-out infinite;
}

@keyframes safaContactBadgeSlide {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes safaContactBadgeShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* Hero Title - Cinematic Typography */
.safa-contact-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1.5px;
    line-height: 1.15;
    text-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: safaContactTitleReveal 1.2s ease-out 0.5s both;
    position: relative;
}

.safa-contact-hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #caa56d, transparent);
    border-radius: 2px;
    animation: safaContactTitleUnderline 1s ease-out 1.5s both;
}

@keyframes safaContactTitleReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes safaContactTitleUnderline {
    from {
        width: 0;
    }
    to {
        width: 200px;
    }
}

/* Hero Subtitle */
.safa-contact-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.3);
    animation: safaContactSubtitleFade 1s ease-out 0.8s both;
    max-width: 800px;
    margin: 0 auto;
}

@keyframes safaContactSubtitleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.safa-contact-hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: safaContactScrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: safaContactScrollArrow 2s ease-in-out infinite;
}

@keyframes safaContactScrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes safaContactScrollArrow {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ========== CONTACT SECTION ========== */
.safa-contact-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.safa-contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

/* ========== CARDS - CLEAN PROFESSIONAL DESIGN ========== */
.safa-contact-info-glass,
.safa-contact-map-glass {
    background: transparent;
    border: none;
    border-radius: 16px;
    box-shadow: none;
    padding: 0;
    position: relative;
    height: fit-content;
}

/* ========== SEND US A MESSAGE FORM BOX ========== */
.safa-contact-form-glass {
    background: #ffffff;
    border: 1px solid #f0ece5;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    padding: 48px;
    position: relative;
    height: fit-content;
}

/* ========== CONTACT FORM ========== */
.safa-contact-form-wrapper {
    position: relative;
    z-index: 1;
}

.safa-contact-eyebrow {
    display: block;
    position: relative;
    color: var(--safa-contact-accent-start);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.safa-contact-eyebrow::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
}

.safa-contact-eyebrow-blue {
    color: #2b4fd6;
}

.safa-contact-eyebrow-green {
    color: #1f9d55;
}

.safa-contact-form-title {
    font-size: 2.1rem;
    color: var(--safa-contact-text);
    margin-bottom: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.safa-contact-title-accent {
    color: #2b4fd6;
}

.safa-contact-form-subtitle {
    font-size: 0.95rem;
    color: #6b6b6b;
    line-height: 1.6;
    margin-bottom: 28px;
    font-family: 'Inter', sans-serif;
}

.safa-contact-form {
    position: relative;
    z-index: 1;
}

.safa-contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.safa-contact-form-message {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.safa-contact-success {
    background: #ecf9ef;
    color: #1d7a3a;
    border-color: #bfe8cb;
}

.safa-contact-error {
    background: #fdeeee;
    color: #a3333d;
    border-color: #f3c5c9;
}

.safa-contact-form-group {
    margin-bottom: 22px;
    position: relative;
}

.safa-contact-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.safa-contact-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.05rem;
    z-index: 3;
    pointer-events: none;
    transition: color 0.2s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8965c;
}

.safa-contact-form-group:focus-within .safa-contact-input-icon {
    transform: translateY(-50%);
    color: var(--safa-contact-accent-mid);
}

/* Colorful Form Field Icons */
.safa-contact-icon-person {
    color: #4a90e2;
}

.safa-contact-icon-email {
    color: #e6533c;
}

.safa-contact-icon-phone {
    color: #25a35a;
}

.safa-contact-icon-briefcase {
    color: #caa56d;
}

.safa-contact-icon-tag {
    color: #9b59b6;
}

.safa-contact-icon-chat {
    color: #2b9ed6;
}

.safa-contact-form-group:focus-within .safa-contact-icon-person {
    color: #357abd;
}

.safa-contact-form-group:focus-within .safa-contact-icon-email {
    color: #c8412c;
}

.safa-contact-form-group:focus-within .safa-contact-icon-phone {
    color: #1c8344;
}

.safa-contact-form-group:focus-within .safa-contact-icon-briefcase {
    color: #b8854a;
}

.safa-contact-form-group:focus-within .safa-contact-icon-tag {
    color: #8244a0;
}

.safa-contact-form-group:focus-within .safa-contact-icon-chat {
    color: #1f87bd;
}

.safa-contact-input,
.safa-contact-textarea,
.safa-contact-select {
    width: 100%;
    padding: 15px 16px 15px 50px;
    border: 1.5px solid #ebebe8;
    border-radius: 12px;
    font-size: 0.98rem;
    font-family: 'Inter', sans-serif;
    background: #fcfcfb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    color: var(--safa-contact-text);
    line-height: 1.5;
    box-sizing: border-box;
    vertical-align: top;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.safa-contact-input:hover,
.safa-contact-textarea:hover,
.safa-contact-select:hover {
    border-color: #dcdcd8;
}

.safa-contact-textarea {
    min-height: 130px;
    resize: none;
    padding-top: 16px;
    line-height: 1.6;
    overflow-y: auto;
}

.safa-contact-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Crect x='1' y='1' width='32' height='32' rx='10' fill='%23fff' stroke='%23e6dcc8' stroke-width='1.5'/%3E%3Cpath stroke='%23caa56d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M11 14l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 34px;
    padding-right: 56px;
    color-scheme: light;
    font-weight: 600;
}

.safa-contact-select option {
    color: var(--safa-contact-text);
    background: #ffffff;
    padding: 10px;
    font-weight: 500;
}

.safa-contact-select option:checked,
.safa-contact-select option:hover {
    background: var(--safa-contact-accent-start);
    color: #fff;
}

.safa-contact-input:focus,
.safa-contact-select:focus {
    outline: none;
    border-color: var(--safa-contact-accent-start);
    box-shadow: 0 0 0 4px rgba(202, 165, 109, 0.13);
    background: #ffffff;
    width: 100%;
    padding: 15px 16px 15px 50px;
}

.safa-contact-textarea:focus {
    outline: none;
    border-color: var(--safa-contact-accent-start);
    box-shadow: 0 0 0 4px rgba(202, 165, 109, 0.13);
    background: #ffffff;
    width: 100%;
    padding: 16px 16px 14px 50px;
}

.safa-contact-label {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a8a8a;
    font-size: 0.98rem;
    pointer-events: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    padding: 0 6px;
    z-index: 2;
    font-weight: 500;
    border-radius: 4px;
    white-space: nowrap;
}

.safa-contact-label-select {
    top: -9px;
    left: 44px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #9a9a9a;
    transform: translateY(0);
    background: #fdfdfc;
    border: 1px solid #ebebe8;
}

/* ========== CUSTOM PROJECT TYPE DROPDOWN ========== */
.safa-contact-dropdown {
    position: relative;
}

.safa-contact-select-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.safa-contact-dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 15px 16px 15px 50px;
    border: 1.5px solid #ebebe8 !important;
    border-radius: 12px !important;
    background: #fcfcfb !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    color: #8a8a8a !important;
    text-align: left;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-shadow: none !important;
    transform: none !important;
    overflow: visible;
}

.safa-contact-dropdown-trigger:hover {
    transform: none !important;
    border-color: #dcdcd8 !important;
    background: #fcfcfb !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.safa-contact-dropdown-trigger.has-value {
    font-weight: 600;
    color: var(--safa-contact-text) !important;
}

.safa-contact-dropdown.is-open .safa-contact-dropdown-trigger,
.safa-contact-dropdown-trigger:focus-visible,
.safa-contact-dropdown.is-open .safa-contact-dropdown-trigger:hover {
    outline: none;
    transform: none !important;
    border-color: var(--safa-contact-accent-start) !important;
    box-shadow: 0 0 0 4px rgba(202, 165, 109, 0.13) !important;
    background: #ffffff !important;
}

.safa-contact-dropdown-trigger .safa-contact-input-icon {
    pointer-events: none;
}

.safa-contact-dropdown.is-open .safa-contact-icon-briefcase {
    color: var(--safa-contact-accent-mid);
}

.safa-contact-dropdown-value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.safa-contact-dropdown-trigger.has-value .safa-contact-dropdown-value {
    color: var(--safa-contact-text);
}

.safa-contact-dropdown-arrow {
    font-size: 0.85rem;
    color: #b5a88f;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.safa-contact-dropdown.is-open .safa-contact-dropdown-arrow {
    transform: rotate(180deg);
    color: var(--safa-contact-accent-start);
}

.safa-contact-dropdown-panel {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #ece5d8;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    z-index: 20;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    max-height: 280px;
    overflow-y: auto;
}

.safa-contact-dropdown.is-open .safa-contact-dropdown-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.safa-contact-dropdown-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 9px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #444;
    transition: background 0.15s ease, color 0.15s ease;
}

.safa-contact-dropdown-option i {
    font-size: 1rem;
    color: var(--safa-contact-accent-start);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.safa-contact-dropdown-option:hover {
    background: rgba(202, 165, 109, 0.1);
}

.safa-contact-dropdown-option.is-selected {
    background: rgba(202, 165, 109, 0.14);
    color: var(--safa-contact-text);
    font-weight: 700;
}

.safa-contact-dropdown-option.is-selected i {
    color: var(--safa-contact-accent-mid);
}

.safa-contact-textarea + .safa-contact-label {
    top: 22px;
    transform: translateY(0);
    line-height: 1.6;
    padding-top: 3px;
}

.safa-contact-textarea-icon {
    top: 25px !important;
    transform: translateY(0) !important;
    align-items: flex-start !important;
    padding-top: 1px;
}

.safa-contact-textarea-group:focus-within .safa-contact-textarea-icon {
    top: 25px !important;
    transform: translateY(0) !important;
    color: var(--safa-contact-accent-start);
}

.safa-contact-input:focus + .safa-contact-label,
.safa-contact-input:not(:placeholder-shown) + .safa-contact-label,
.safa-contact-textarea:focus + .safa-contact-label,
.safa-contact-textarea:not(:placeholder-shown) + .safa-contact-label {
    top: -10px;
    left: 44px;
    font-size: 0.82rem;
    color: var(--safa-contact-accent-start);
    font-weight: 600;
    background: #ffffff;
    padding: 2px 8px;
}

.safa-contact-select:focus + .safa-contact-label {
    color: var(--safa-contact-accent-start);
    font-weight: 600;
}

.safa-contact-char-count {
    text-align: right;
    font-size: 0.82rem;
    color: #999;
    margin-top: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.safa-contact-char-count span {
    font-weight: 700;
    color: var(--safa-contact-accent-start);
}

.safa-contact-error-message {
    display: none;
    color: #c0392b;
    font-size: 0.82rem;
    margin-top: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.safa-contact-form-group.error .safa-contact-error-message {
    display: block;
}

.safa-contact-form-group.error .safa-contact-input,
.safa-contact-form-group.error .safa-contact-textarea,
.safa-contact-form-group.error .safa-contact-select {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

/* ========== SUBMIT BUTTON ========== */
.safa-contact-submit-btn {
    width: 100%;
    padding: 15px 32px;
    background: linear-gradient(135deg, #2fb463 0%, #239d52 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(35, 157, 82, 0.3);
    margin-top: 6px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.safa-contact-submit-btn i {
    font-size: 0.95rem;
}

.safa-contact-submit-btn:hover {
    background: linear-gradient(135deg, #239d52 0%, #1c8344 100%);
    box-shadow: 0 6px 16px rgba(35, 157, 82, 0.4);
}

.safa-contact-submit-btn:active {
    box-shadow: 0 2px 8px rgba(35, 157, 82, 0.3);
}

.safa-contact-btn-ripple {
    display: none;
}

.safa-contact-btn-text {
    position: relative;
    z-index: 1;
}

.safa-contact-privacy-note {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin: 16px 0 0 0;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.safa-contact-privacy-note i {
    font-size: 0.8rem;
}

/* ========== CONTACT INFO - CLEAN CARDS ========== */
.safa-contact-info-wrapper {
    position: relative;
}

.safa-contact-info-title {
    font-size: 1.7rem;
    color: var(--safa-contact-text);
    margin-bottom: 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.safa-contact-info-subtitle {
    font-size: 0.92rem;
    color: #6b6b6b;
    line-height: 1.6;
    margin: -16px 0 24px 0;
    font-family: 'Inter', sans-serif;
}

.safa-contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    margin-bottom: 14px;
    background: #fafbfc;
    border-radius: 14px;
    border: 1px solid #eef0f2;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}

.safa-contact-info-card:last-child {
    margin-bottom: 0;
}

.safa-contact-info-card:hover {
    border-color: #e2e5ea;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.safa-contact-info-chevron {
    align-self: center;
    color: #c4c8cf;
    font-size: 1rem;
    margin-left: auto;
    transition: transform 0.2s ease, color 0.2s ease;
}

.safa-contact-info-card:hover .safa-contact-info-chevron {
    transform: translateX(3px);
    color: #9aa0aa;
}

.safa-contact-info-icon {
    width: 48px;
    height: 48px;
    background: #c2925f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.25rem;
}

/* Colorful Info Card Icons */
.safa-contact-icon-call {
    background: #25a35a;
}

.safa-contact-icon-email-card {
    background: #2b5fd6;
}

.safa-contact-icon-location {
    background: #7c4fd6;
}

.safa-contact-icon-globe {
    background: #e08a1f;
}

.safa-contact-icon-hours {
    background: #25a35a;
}

.safa-contact-info-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.safa-contact-info-content h4 {
    font-size: 1rem;
    color: var(--safa-contact-text);
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.safa-contact-info-content p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    margin: 0;
    font-weight: 500;
}

.safa-contact-info-content a {
    color: #c2925f;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 700;
}

.safa-contact-info-content a:hover {
    text-decoration: underline;
}

.safa-contact-info-card:has(.safa-contact-icon-call) .safa-contact-info-content a {
    color: #e08a1f;
}

.safa-contact-info-card:has(.safa-contact-icon-email-card) .safa-contact-info-content a {
    color: #2b5fd6;
}

.safa-contact-info-sub {
    color: #999 !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    margin-top: 3px !important;
}

/* ========== BUSINESS HOURS CARD ========== */
.safa-contact-hours-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    margin-top: 14px;
    background: linear-gradient(135deg, #eef9f1 0%, #e7f6ec 100%);
    border-radius: 14px;
    border: 1px solid #d6efdd;
    position: relative;
    overflow: hidden;
}

/* ========== SOCIAL MEDIA ICONS - AUTHENTIC BRAND COLORS ========== */
.safa-contact-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.safa-contact-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.safa-contact-social-icon i {
    font-size: 1.15rem;
    color: #ffffff;
}

.safa-contact-social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.safa-contact-social-facebook {
    background: #1877f2;
}

.safa-contact-social-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.safa-contact-social-linkedin {
    background: #0077b5;
}

.safa-contact-social-tiktok {
    background: #000000;
}

.safa-contact-social-whatsapp {
    background: #25d366;
}

/* ========== GOOGLE MAP ========== */
.safa-contact-map-wrapper {
    margin-top: 40px;
    position: relative;
}

.safa-contact-map-glass {
    padding: 0;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    background: #f5f5f5;
}

.safa-contact-map-glass iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Map Loading Placeholder */
.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 16px;
    z-index: 2;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.map-placeholder p {
    margin-top: 15px;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.map-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(194, 146, 95, 0.2);
    border-top-color: #c2925f;
    border-radius: 50%;
    animation: mapSpin 1s linear infinite;
}

@keyframes mapSpin {
    to { transform: rotate(360deg); }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .safa-contact-container {
        gap: 50px;
    }
    
    .safa-contact-form-glass,
    .safa-contact-info-glass {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .safa-contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .safa-contact-hero {
        height: 60vh;
        min-height: 400px;
    }

    .safa-contact-hero-title {
        font-size: 2.8rem;
    }
    
    .safa-contact-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .safa-contact-hero-badge {
        padding: 10px 24px;
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .safa-contact-hero-scroll-indicator {
        bottom: 30px;
    }
    
    .safa-contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .safa-contact-section {
        padding: 70px 0;
    }
    
    .safa-contact-form-glass,
    .safa-contact-info-glass {
        padding: 35px 25px;
    }
    
    .safa-contact-form-title,
    .safa-contact-info-title {
        font-size: 2rem;
    }
    
    .safa-contact-map-glass {
        height: 400px;
    }

    .safa-contact-info-card {
        padding: 14px 16px;
        gap: 12px;
        margin-bottom: 10px;
        border-radius: 12px;
    }

    .safa-contact-info-icon {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }

    .safa-contact-info-content h4 {
        font-size: 0.92rem;
        margin-bottom: 2px;
    }

    .safa-contact-info-content p {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .safa-contact-info-sub {
        font-size: 0.74rem !important;
    }

    .safa-contact-info-chevron {
        font-size: 0.85rem;
    }

    .safa-contact-info-subtitle {
        font-size: 0.85rem;
        margin: -10px 0 18px 0;
    }

    .safa-contact-hours-card {
        padding: 14px 16px;
        gap: 12px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .safa-contact-hero {
        height: 55vh;
        min-height: 350px;
    }
    
    .safa-contact-hero-title {
        font-size: 2rem;
    }
    
    .safa-contact-hero-title::after {
        width: 150px;
    }
    
    .safa-contact-hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .safa-contact-hero-badge {
        padding: 8px 20px;
        font-size: 0.75rem;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
    
    .safa-contact-hero-scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 25px;
        height: 40px;
        border-width: 2px;
    }
    
    .safa-contact-form-title,
    .safa-contact-info-title {
        font-size: 1.75rem;
    }

    .safa-contact-form-glass,
    .safa-contact-info-glass {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .safa-contact-info-card,
    .safa-contact-hours-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .safa-contact-info-icon {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .safa-contact-info-content h4 {
        font-size: 0.85rem;
    }

    .safa-contact-info-content p {
        font-size: 0.78rem;
    }

    .safa-contact-input,
    .safa-contact-textarea,
    .safa-contact-select {
        padding: 18px 18px 18px 52px;
        font-size: 1rem;
    }
    
    .safa-contact-input-icon {
        left: 18px;
        font-size: 1.2rem;
    }
    
    .safa-contact-label {
        left: 52px;
    }
    
    .safa-contact-input:focus + .safa-contact-label,
    .safa-contact-input:not(:placeholder-shown) + .safa-contact-label,
    .safa-contact-textarea:focus + .safa-contact-label,
    .safa-contact-textarea:not(:placeholder-shown) + .safa-contact-label {
        left: 44px;
    }
    
    .safa-contact-label-select {
        left: 44px;
    }
    
    .safa-contact-map-glass {
        height: 350px;
        border-radius: 20px;
    }
    
    .safa-contact-social-icons {
        gap: 12px;
    }
    
    .safa-contact-social-icon {
        width: 48px;
        height: 48px;
    }
    
    .safa-contact-info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ========== ANIMATIONS & PERFORMANCE ========== */
@media (prefers-reduced-motion: reduce) {
    .safa-contact-main,
    .safa-contact-particles .particle,
    .safa-contact-hero,
    .safa-contact-form-glass,
    .safa-contact-info-glass,
    .safa-contact-info-card,
    .safa-contact-social-icon {
        animation: none;
        transition: none;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .safa-contact-particles,
    .safa-contact-hero-background {
        display: none;
    }

    .safa-contact-main {
        background: #fff;
    }
}

/* ========== SUBMISSION STATUS MODAL ========== */
.safa-contact-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 31, 38, 0.45);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.safa-contact-modal-backdrop.is-visible {
    display: flex;
}

.safa-contact-modal-backdrop.is-active {
    opacity: 1;
}

.safa-contact-modal {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 36px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    transform: translateY(12px) scale(0.96);
    transition: transform 0.25s ease;
}

.safa-contact-modal-backdrop.is-active .safa-contact-modal {
    transform: translateY(0) scale(1);
}

.safa-contact-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: none;
    align-items: center;
    justify-content: center;
}

.safa-contact-modal-icon-sending {
    background: rgba(202, 165, 109, 0.12);
}

.safa-contact-modal-icon-success {
    background: rgba(35, 157, 82, 0.12);
}

.safa-contact-modal-backdrop[data-state="sending"] .safa-contact-modal-icon-sending,
.safa-contact-modal-backdrop[data-state="success"] .safa-contact-modal-icon-success {
    display: flex;
}

.safa-contact-modal-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(202, 165, 109, 0.25);
    border-top-color: var(--safa-contact-accent-start);
    border-radius: 50%;
    animation: safaContactModalSpin 0.8s linear infinite;
}

@keyframes safaContactModalSpin {
    to { transform: rotate(360deg); }
}

.safa-contact-modal-icon-success i {
    font-size: 2rem;
    color: #239d52;
    animation: safaContactModalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes safaContactModalPop {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.safa-contact-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--safa-contact-text);
    margin: 0 0 8px;
    font-family: 'Poppins', sans-serif;
}

.safa-contact-modal-text {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

/* ============================================
   DESKTOP SCALE-DOWN (PC only) - placed last to win the cascade
   ============================================ */
@media (min-width: 1025px) {
    .safa-contact-section {
        padding: 36px 0;
    }

    .safa-contact-container {
        gap: 22px;
        margin-bottom: 22px;
    }

    .safa-contact-form-glass {
        padding: 26px;
    }

    .safa-contact-eyebrow {
        font-size: 0.62rem;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .safa-contact-form-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .safa-contact-form-subtitle {
        font-size: 0.74rem;
        margin-bottom: 16px;
    }

    .safa-contact-form-group {
        margin-bottom: 16px;
    }

    .safa-contact-form-row {
        gap: 16px;
    }

    .safa-contact-input,
    .safa-contact-textarea,
    .safa-contact-select,
    .safa-contact-dropdown-trigger,
    .safa-contact-input:focus,
    .safa-contact-select:focus {
        padding: 12px 16px 12px 46px;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    .safa-contact-textarea,
    .safa-contact-textarea:focus {
        padding: 13px 16px 12px 46px;
        min-height: 96px;
    }

    .safa-contact-input-icon {
        left: 16px;
        font-size: 0.9rem;
    }

    .safa-contact-label-select {
        font-size: 0.58rem;
        left: 40px;
    }

    .safa-contact-dropdown-option {
        padding: 7px 10px;
        font-size: 0.74rem;
    }

    .safa-contact-char-count {
        font-size: 0.66rem;
    }

    .safa-contact-submit-btn {
        padding: 10px 24px;
        font-size: 0.82rem;
    }

    .safa-contact-privacy-note {
        font-size: 0.7rem;
    }

    .safa-contact-info-glass {
        padding: 0;
    }

    .safa-contact-info-title {
        font-size: 1.15rem;
    }

    .safa-contact-info-card,
    .safa-contact-hours-card {
        padding: 11px 13px;
        margin-bottom: 8px;
        gap: 10px;
    }

    .safa-contact-hours-card {
        margin-top: 8px;
    }

    .safa-contact-info-icon {
        width: 34px;
        height: 34px;
        font-size: 0.92rem;
    }

    .safa-contact-info-content h4 {
        font-size: 0.8rem;
        margin-bottom: 1px;
    }

    .safa-contact-info-content p {
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .safa-contact-info-sub {
        font-size: 0.66rem !important;
    }
}
