/* MAIN SECTION */
.contact-section {
    background-color: #171c3e;   /* Deep dark blue */
    padding: 80px 5%;
    width: 100%;
    text-align: center;
}

.contact-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

/* ----- BADGE (pill) ----- */
.contact-section .contact-badge {
    display: inline-block;
    background: transparent;
    border: 1px solid #cdae77;   /* Gold accent */
    color: #cdae77;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 40px;
    margin-bottom: 24px;
    backdrop-filter: blur(2px);
}

/* MAIN HEADLINE */
.contact-section .contact-headline {
    color: #ffffff;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 56px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ----- CARDS GRID (3 columns) ----- */
.contact-section .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* individual card LINK (wraps entire card) */
.contact-section .contact-card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .contact-card-link:hover {
    transform: translateY(-5px);
}

.contact-section .contact-card-link:focus-visible {
    outline: 2px solid #cdae77;
    outline-offset: 4px;
    border-radius: 20px;
}

/* Card styling */
.contact-section .contact-card {
    background: #ffffff;   /* White card background (contrast) */
    border-radius: 24px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-section .contact-card-link:hover .contact-card {
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.25);
}

/* Icon circle (gold background) */
.contact-section .icon-circle {
    background-color: #cdae77;   /* Primary gold */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.contact-section .icon-circle svg {
    width: 28px;
    height: 28px;
    stroke: #171c3e;    /* Deep blue inside icon */
    stroke-width: 1.8;
    fill: none;
}

/* Text block */
.contact-section .card-text {
    text-align: left;
}

.contact-section .card-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6b7280;      /* muted gray, meets WCAG contrast on white */
    margin-bottom: 6px;
}

.contact-section .card-value {
    font-size: 1rem;
    font-weight: 600;
    color: #171c3e;      /* deep blue for readability */
    line-height: 1.4;
    word-break: break-word;
}

/* ----- Responsive: mobile -> 1 column ----- */
@media (max-width: 768px) {
    .contact-section .contact-section {
        padding: 60px 5%;
    }
    .contact-section .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-section .contact-card {
        padding: 20px 24px;
    }
    .contact-section .icon-circle {
        width: 52px;
        height: 52px;
    }
    .contact-section .icon-circle svg {
        width: 24px;
        height: 24px;
    }
}

/* small screens fine-tune */
@media (max-width: 480px) {
    .contact-section .contact-card {
        flex-direction: column;
        text-align: center;
    }
    .contact-section .card-text {
        text-align: center;
    }
}

/* Contact Form */
/* Outer section: deep dark blue background */
.contact-map-section {
    background-color: #f0f2f5;
    padding: 60px 5%;
    width: 100%;
}

.contact-map-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Main inner panel (white card) */
.contact-map-section .contact-card-panel {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Two-column grid layout */
.contact-map-section .split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ----- LEFT COLUMN: MAP ----- */
.contact-map-section .map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 400px; /* ensures equal height with form */
}

.contact-map-section .map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    min-height: 480px;
}

/* ----- RIGHT COLUMN: FORM ----- */
.contact-map-section .form-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #171c3e;
    margin-bottom: 8px;
}

.contact-map-section .form-container p {
    color: #4b5563;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.contact-map-section .form-group {
    margin-bottom: 20px;
}

/* Two-column sub-grid for name fields */
.contact-map-section .name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-map-section label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #171c3e;
    margin-bottom: 6px;
}

.contact-map-section input, .contact-map-section textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
    color: #171c3e;
}

.contact-map-section input:focus, .contact-map-section textarea:focus {
    outline: none;
    border-color: #cdae77;
    box-shadow: 0 0 0 3px rgba(205, 174, 119, 0.2);
}

/* error styling */
.contact-map-section input.error, .contact-map-section textarea.error {
    border-color: #e53e3e;
    background-color: #fff5f5;
}

.contact-map-section .error-message {
    color: #e53e3e;
    font-size: 0.7rem;
    margin-top: 4px;
    display: block;
}

/* Submit button */
.contact-map-section .submit-btn {
    background-color: #cdae77;
    color: #171c3e;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border: none;
    border-radius: 40px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.contact-map-section .submit-btn:hover {
    background-color: #b89a62;
    transform: scale(1.02);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

/* Success message styling */
.contact-map-section .success-message {
    background: #e8f5e9;
    border-left: 5px solid #2e7d32;
    padding: 30px 24px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-map-section .success-message svg {
    margin-bottom: 20px;
}

.contact-map-section .success-message h3 {
    font-size: 1.8rem;
    color: #1e4620;
    margin-bottom: 10px;
}

.contact-map-section .success-message p {
    color: #2e7d32;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .contact-map-section .contact-card-panel {
        padding: 24px;
    }
    .contact-map-section .split-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-map-section .map-wrapper iframe {
        min-height: 320px;
    }
    .contact-map-section .name-row {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .contact-map-section .name-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* FAQ Section */
.faq-section {
    background-color: #171c3e;
    padding: 60px 5%;
    width: 100%;
}

.faq-section .container {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 32px;
}

/* ---------- HEADER (centered badge + title) ---------- */
.faq-section .faq-header {
    text-align: center;
    margin-bottom: 60px;
}
.faq-section .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 24px;
}
.faq-section .badge-dot {
    width: 8px;
    height: 8px;
    background-color: #cdae77;
    border-radius: 50%;
}
.faq-section .badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.5px;
}
.faq-section .main-headline {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
}
.faq-section .underline-word {
    position: relative;
    display: inline-block;
    z-index: 1;
}
/* highlighter brush effect */
.faq-section .underline-word::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: #cdae77;
    opacity: 0.35;
    z-index: -1;
    border-radius: 8px;
    transform: skewX(-5deg);
}
.faq-section .subtext {
    font-size: 1rem;
    color: #e5e7eb;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ---------- ACCORDION GRID (2 columns) ---------- */
.faq-section .accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Card styling */
.faq-section .faq-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    transition: box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.faq-section .faq-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

/* Question row (clickable) */
.faq-section .question-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.faq-section .question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #171c3e;
    flex: 1;
    padding-right: 16px;
}
/* Toggle button (circle) */
.faq-section .toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #171c3e;
    transition: background-color 0.25s ease, transform 0.2s;
    flex-shrink: 0;
}
.faq-section .toggle-icon span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: white;
    position: relative;
    transition: all 0.2s ease;
}
/* plus sign (vertical + horizontal lines) */
.faq-section .toggle-icon span::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: white;
    top: 0;
    left: 0;
    transform: rotate(90deg);
    transition: transform 0.2s ease, opacity 0.2s;
}
/* when card is open -> remove the vertical line (making it a minus) */
.faq-section .faq-card.active .toggle-icon span::before {
    transform: rotate(0deg);
    opacity: 0;
}
/* optional: change background to gold when active */
.faq-section .faq-card.active .toggle-icon {
    background-color: #cdae77;
}

/* Answer panel (collapsible) */
.faq-section .answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, margin 0.2s ease;
    margin-top: 0;
}
.faq-section .answer-text {
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.55;
    padding-top: 0;
}
/* when active, expand answer */
.faq-section .faq-card.active .answer-panel {
    max-height: 300px;   /* enough for any answer */
    margin-top: 16px;
}

/* ---------- RESPONSIVE (mobile: single column) ---------- */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 6%;
    }
    .faq-section .accordion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .faq-section .main-headline {
        font-size: 2rem;
    }
    .faq-section .question-text {
        font-size: 1rem;
    }
}

/* small adjustments */
@media (max-width: 480px) {
    .faq-section .toggle-icon {
        width: 32px;
        height: 32px;
    }
}