/* --- Variables & Reset --- */
:root {

    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;
    
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.03);
    --shadow-float: 0 15px 35px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.02);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-orange { color: var(--orange-primary); }
.text-green { color: var(--green-primary); }
.text-center { text-align: center; }
.ltr-text { direction: ltr; display: inline-block; }

/* --- Badges & Headings --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.badge-orange { background-color: var(--orange-soft); color: var(--orange-primary); }
.badge-green { background-color: var(--green-soft); color: var(--green-primary); }

.section-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* --- Hero Section --- */
.contact-hero {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #fff1e6 0%, #f8fafc 50%, #e6f7ec 100%);
}
.hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-body);
}

/* --- Info Cards Section --- */
.info-cards-section {
    padding: 30px 0;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.info-card {
    padding: 32px 24px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-float);
}
.border-orange { 
    background: var(--orange-soft);
    border-color: var(--orange-border); 
}
.border-green { 
    background: var(--green-soft);
    border-color: var(--green-border); 
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.info-icon svg { width: 40px; height: 40px; }
.bg-light-orange { background-color: var(--orange-light); }
.bg-light-green { background-color: var(--green-light); }

.info-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.info-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.6;
}

/* --- Main Layout Grid --- */
.main-contact-section {
    padding: 40px 0 60px;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 32px;
    align-items: start;
}

/* --- Form Container --- */
.form-container {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
}
.form-header {
    margin-bottom: 32px;
}
.form-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}
.form-icon svg {
    width: 24px;
    height: 24px;
    color: var(--orange-primary);
    display: block;
}
.form-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}
.form-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    padding-right: 36px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}
.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background-color: #f8fafc;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}
.form-group input:focus, 
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--orange-primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.08);
}

/* Custom Select Dropdown Styling */
.select-wrapper {
    position: relative;
}
.select-wrapper::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-muted);
    pointer-events: none;
}
.form-group select {
    appearance: none;
    padding-left: 40px;
    cursor: pointer;
}

.btn-submit {
    background-color: var(--orange-primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    
    /* --- The magic centering properties --- */
    display: flex;
    width: fit-content; /* Keeps the button wrapped tightly around the text/icon */
    margin: 0 auto;     /* Pushes equal empty space to the left and right */
    /* -------------------------------------- */
    
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.2);
}
.btn-submit:hover {
    background-color: #d94e06;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.3);
}
.submit-icon {
    width: 18px;
    height: 18px;
    transform: scaleX(-1); /* Flips icon for RTL alignment layout properly */
}

/* --- Sidebar Style --- */
.sidebar-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.support-box{
    background: linear-gradient(135deg, #fff1e6 0%, #f8fafc 50%, #e6f7ec 100%);
    border: 1px solid var(--orange-border);
}

.sidebar-card {
    padding: 32px 24px;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}
.sidebar-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.inline-icon { width: 22px; height: 22px; color: var(--green-primary); }

.support-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.support-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.support-item:first-of-type { padding-top: 0; }

.support-info strong { font-size: 1rem; color: var(--text-dark); font-weight: 700; }
.support-info p { font-size: 0.85rem; color: var(--text-muted); }

.inline-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}
.badge-solid-green { background-color: #e6fbf2; color: var(--green-primary); }
.badge-solid-orange { background-color: #fff2e6; color: var(--orange-primary); }

/* Mini Map Box */
.location-box {
    border: 1.5px solid var(--orange-border);
    background-color: #fffbf7;
}
.location-header {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.location-icon-wrapper svg { width: 24px; height: 24px; }
.location-header strong { font-size: 1rem; color: var(--text-dark); font-weight: 800; }
.location-header p { font-size: 0.85rem; color: var(--text-body); }

.map-placeholder {
    width: 100%;
    height: 140px;
    background-color: #e2e8f0;
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.map-grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: linear-gradient(#000 1px, transparent 1px), linear-gradient(90deg, #000 1px, transparent 1px);
    background-size: 20px 20px;
}
.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: var(--orange-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(234, 88, 12, 0.2);
}

.btn-route {
    display: inline-flex; /* or inline-block */
    align-items: center;
    justify-content: center;
    text-decoration: none; /* 🌟 Crucial to remove any default link underlines */
    /* Keep all your other existing padding, background, and border-radius styles here */
    width: 100%;
    background-color: var(--orange-primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-route:hover { background-color: #d94e06; }

/* --- FAQ Accordion Style --- */
.faq-section {
    padding: 60px 0 100px;
}
.faq-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.faq-item[open] {
    box-shadow: var(--shadow-soft);
}
.faq-item summary {
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
    user-select: none;
}
/* Custom prefix plus/minus style */
.faq-item summary::before {
    content: '+';
    margin-left: 12px;
    color: var(--orange-primary);
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::before {
    content: '−';
    transform: rotate(180deg);
}
/* Custom Firefox indicator removal */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    background: var(--orange-soft);
    padding: 0 24px 24px 24px;
    border-top: 1px solid #f1f5f9;
}
.faq-content p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    padding-top: 16px;
}

/* --- Responsive Layout Rules --- */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 32px 24px;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .form-header-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .form-header p {
        padding-right: 0;
    }
}