/* ===========================================
   CONTACT PAGE - PREMIUM UI/UX DESIGN
   Tech Stack: Pure CSS3, Flexbox, Grid, Animations
   CRO Optimized: High contrast, clear CTAs, mobile-first
   =========================================== */

/* ========== 1. HERO SECTION - GRADIENT + ANIMATION ========== */
.contact-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    padding: 120px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-25px) scale(1.08); }
}

.contact-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.contact-hero p {
    color: #cbd5e1;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== 2. CONTACT CARDS - ELEVATED DESIGN ========== */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8fafc;
}

.bg-white {
    background-color: white;
}

.border-y {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03), 0 12px 24px rgba(0,0,0,0.06);
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #10B981, transparent);
    transition: left 0.6s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #10B981;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15), 0 6px 12px rgba(0,0,0,0.08);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.contact-card:hover .icon-circle {
    transform: rotate(360deg) scale(1.1);
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.contact-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 22px;
    line-height: 1.5;
}

.contact-link {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    margin-bottom: 18px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #10B981;
}

.contact-link.big {
    font-size: 1.35rem;
}

.sub-links {
    margin-top: 15px;
}

.text-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 14px;
    border-radius: 8px;
}

.text-btn:hover {
    color: #10B981;
    background-color: #f0fdf4;
}

.address-text {
    display: block;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ========== 3. MAP & FORM SECTION - SPLIT LAYOUT ========== */
.map-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.form-wrapper {
    padding: 55px;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    position: relative;
    z-index: 20;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.form-header h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #0f172a;
    font-weight: 800;
}

.form-header p {
    color: #64748b;
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: #334155;
    margin-bottom: 10px;
}

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    transform: translateY(-1px);
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.status-msg {
    text-align: center;
    margin-top: 18px;
    font-weight: 500;
    font-size: 0.95rem;
}

.map-wrapper {
    min-height: 600px;
    background: #e2e8f0;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========== 4. PHONE INPUT - CUSTOM DROPDOWN ========== */
.phone-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 12px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.phone-wrapper:focus-within {
    border-color: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    transform: translateY(-1px);
}

.custom-dropdown {
    position: relative;
    width: 110px;
    height: 100%;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.selected-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    font-size: 1rem;
    color: #334155;
    padding: 8px 8px 8px 0;
    font-weight: 500;
    transition: color 0.2s ease;
}

.selected-option:hover {
    color: #10B981;
}

.selected-option::after {
    content: '';
    border: 5px solid transparent;
    border-top-color: #64748b;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.custom-dropdown.active .selected-option::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 320px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    z-index: 9999;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    padding: 12px;
}

.dropdown-menu.active {
    display: block;
    animation: dropdownFade 0.3s ease-out;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-search {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.dropdown-search:focus {
    border-color: #10B981;
}

.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 240px;
    overflow-y: auto;
}

.dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.dropdown-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.dropdown-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dropdown-list li {
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #334155;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.dropdown-list li:hover {
    background-color: #f0fdf4;
    color: #059669;
    transform: translateX(4px);
}

.dropdown-list li.hidden {
    display: none;
}

.phone-divider {
    width: 1px;
    height: 28px;
    background-color: #e2e8f0;
    margin: 0 12px;
    flex-shrink: 0;
}

.phone-input-field {
    flex-grow: 1;
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #0f172a;
    background: transparent;
    padding: 8px 0;
}

.phone-input-field::placeholder {
    color: #94a3b8;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ========== 5. TOAST NOTIFICATIONS ========== */
.toast-container {
    visibility: hidden;
    min-width: 320px;
    max-width: 500px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 12px;
    padding: 18px 22px;
    position: fixed;
    z-index: 10000;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-container.show {
    visibility: visible;
    opacity: 1;
    top: 40px;
}

.toast-container.success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.toast-container.error {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

#toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

#toast-message {
    flex: 1;
    line-height: 1.5;
}

/* ========== 6. DIFFERENCE SECTION ========== */
.grid-2-align-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.badge-soft {
    display: inline-block;
    background-color: #ecfdf5;
    color: #059669;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.content-side h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.lead-text {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 28px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 16px;
    font-weight: 500;
}

.text-red {
    color: #ef4444;
    font-size: 1.5rem;
}

.text-green {
    color: #10b981;
    font-size: 1.5rem;
}

.blob-image-placeholder {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
}

.blob-image-placeholder i {
    font-size: 5.5rem;
    color: #0F172A;
    opacity: 0.8;
    transition: all 0.6s ease;
}

.grid-2-align-center:hover .blob-image-placeholder {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.grid-2-align-center:hover .blob-image-placeholder i {
    transform: scale(1.1) rotate(10deg);
    color: #10B981;
}

/* ========== 7. FAQ SECTION ========== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 35px;
}

.faq-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    border-color: #10B981;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.12);
}

.faq-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-item h4 i {
    color: #10B981;
    font-size: 1.3rem;
    background: #ecfdf5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item:hover h4 i {
    background: #10B981;
    color: white;
    transform: scale(1.1);
}

.faq-item p {
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
    margin-left: 60px;
}

/* ========== 8. REVIEW SECTION ========== */
.review-section {
    padding: 0 0 80px;
}

.review-box {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 24px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.35);
    position: relative;
    overflow: hidden;
}

.review-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.review-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.review-text p {
    font-size: 1.15rem;
    margin-bottom: 28px;
    max-width: 550px;
    color: #ecfdf5;
    line-height: 1.6;
}

.review-btn {
    background: white;
    color: #059669;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    font-size: 1.05rem;
}

.review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.review-qr {
    background: white;
    padding: 18px;
    border-radius: 18px;
    text-align: center;
    width: 170px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.review-qr img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.review-qr span {
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 600;
}

/* ========== 9. RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .contact-hero {
        padding: 100px 0 70px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: -80px;
    }
}

@media (max-width: 900px) {
    .grid-2-align-center {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .content-side h2 {
        font-size: 2.2rem;
    }

    .blob-image-placeholder {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-grid {
        margin-top: 0;
        gap: 25px;
    }

    .map-form-grid {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .map-wrapper {
        min-height: 350px;
        order: 2;
        border-radius: 0 0 20px 20px;
    }

    .form-wrapper {
        padding: 35px;
        order: 1;
        border-radius: 20px 20px 0 0;
    }

    .review-box {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }

    .review-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .review-qr {
        margin-top: 30px;
    }

    .dropdown-menu {
        width: 280px;
    }
}

@media (max-width: 600px) {
    .contact-card {
        padding: 35px 25px;
    }

    .faq-item {
        padding: 24px;
    }

    .faq-item h4 {
        font-size: 1.15rem;
        gap: 12px;
    }

    .faq-item p {
        margin-left: 0;
        margin-top: 12px;
    }

    .form-wrapper {
        padding: 25px;
    }

    .toast-container {
        min-width: 280px;
        left: 20px;
        right: 20px;
        transform: translateX(0);
    }

    .toast-container.show {
        left: 20px;
        right: 20px;
    }
}

/* ========== 10. UTILITY CLASSES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
