/* ============================================
   CONTACT PAGE — contact.css
   YB Solutions
   ============================================ */

/* ─── HERO ─────────────────────────────────── */
.ct-hero {
    padding-top: clamp(120px, 14vw, 200px);
    background-color: #f0f4ff;
    background-image: url('assets/contactherobanner.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: clamp(600px, 45vw, 750px);
    display: flex;
    align-items: center;
    position: relative;
}

.ct-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ct-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 3.5rem;
}

.ct-hero-title {
    font-size: clamp(2.8rem, 5.2vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.ct-title-red  { color: var(--clr-red); }
.ct-title-navy { color: var(--clr-navy); }

.ct-hero-subtitle {
    font-size: clamp(1.2rem, 1.2vw, 1.1rem);
    color: var(--clr-text-light);
    line-height: 1.7;
}

/* ─── CONTACT METHODS ───────────────────────── */
.ct-methods {
    background: #000c1e;
    padding: clamp(5rem, 8vw, 8.5rem) 0;
}

.ct-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 2.5vw, 3rem);
}

.ct-method-card {
    background: #0a2756;
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 20px;
    padding: clamp(2.5rem, 3.5vw, 4rem) clamp(1.8rem, 2.5vw, 3rem);
    color: var(--clr-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.85rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ct-method-card:hover {
    border-color: rgba(0, 102, 255, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.15);
}

/* Icon circles with beautiful pink-to-white radial/linear gradient */
.ct-method-icon {
    width: clamp(72px, 5.2vw, 84px);
    height: clamp(72px, 5.2vw, 84px);
    border-radius: 50%;
    background: linear-gradient(135deg, #ffdbe1 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 clamp(0.5rem, 1vw, 1rem);
    box-shadow: 0 10px 24px rgba(255, 203, 209, 0.25);
    flex-shrink: 0;
}

.ct-method-icon svg {
    width: 42px;
    height: 42px;
    color: #000000;
}

.ct-method-title {
    font-size: clamp(1.4rem, 1.6vw, 1.9rem);
    font-weight: 700;
    color: #ff7d96;
    margin: 0;
}

.ct-method-desc {
    font-size: clamp(0.9rem, 0.95vw, 1.05rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

/* Consistent red button styling for all methods (including email) */
.ct-method-btn,
.ct-email-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background-color: var(--clr-red);
    color: #ffffff;
    font-size: clamp(0.88rem, 0.92vw, 1rem);
    font-weight: 700;
    border-radius: 100px;
    transition: var(--transition);
    align-self: flex-start;
    text-decoration: none;
    margin-top: 0.5rem;
    min-height: 44px;
    border: none;
    cursor: pointer;
}

.ct-method-btn:hover,
.ct-email-link:hover {
    background-color: #b02024;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 42, 46, 0.3);
    color: #ffffff;
    opacity: 1;
}

.ct-method-meta {
    font-size: clamp(0.85rem, 0.9vw, 0.98rem);
    color: rgba(255, 255, 255, 0.65);
    margin: 0.2rem 0 0 0;
}

/* ─── FORM SECTION ──────────────────────────── */
.ct-form-section {
    background: #ffffff;
    padding-top: 5rem;
}

.ct-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
}

/* Left — Form */
.ct-form-title {
    font-size: clamp(2.4rem, 3.5vw, 3.2rem);
    font-weight: 500;
    color: var(--clr-navy-dark);
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.ct-form-subtitle {
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    color: var(--clr-text-light);
    margin-bottom: 2.5rem;
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ct-field-full {
    grid-column: 1 / -1;
}

.ct-field label {
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.01em;
    margin-bottom: 0.4rem;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border: 1px solid rgba(209, 42, 46, 0.08);
    border-radius: 10px;
    font-size: clamp(1.05rem, 1.15vw, 1.2rem);
    color: #1e293b;
    background: #ffeef1;
    transition: all 0.25s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

/* Custom Select Dropdown Styling */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border: 1px solid rgba(209, 42, 46, 0.08);
    border-radius: 10px;
    font-size: clamp(1.05rem, 1.15vw, 1.2rem);
    color: #1e293b;
    background: #ffeef1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--clr-red);
    box-shadow: 0 0 0 3px rgba(209, 42, 46, 0.12);
    background: #ffffff;
}

.custom-select-trigger .arrow-icon {
    width: 14px;
    height: 10px;
    transition: transform 0.25s ease;
}

.custom-select-wrapper.open .arrow-icon {
    transform: rotate(180deg);
}

.custom-options-container {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(209, 42, 46, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.custom-select-wrapper.open .custom-options-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 1.1rem 1.5rem;
    font-size: clamp(1.05rem, 1.15vw, 1.2rem);
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.custom-option:hover,
.custom-option.selected {
    background: #ffeef1;
    color: var(--clr-red);
    font-weight: 700;
}

.ct-field textarea {
    resize: vertical;
    min-height: 160px;
}

.ct-field input:focus,
.ct-field textarea:focus {
    border-color: var(--clr-red);
    box-shadow: 0 0 0 3px rgba(209, 42, 46, 0.12);
    background: #ffffff;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #9ca3af;
}

.ct-submit-btn {
    width: 100%;
    padding: 1.35rem 3rem;
    font-size: clamp(1.15rem, 1.25vw, 1.3rem);
    font-weight: 700;
    border-radius: 100px;
    background-color: var(--clr-red);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.8rem;
}

.ct-submit-btn:hover {
    background-color: #b02024;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(209, 42, 46, 0.25);
}

.ct-form-disclaimer {
    font-size: clamp(1.05rem, 1.1vw, 1.15rem);
    color: #6b7280;
    text-align: left;
    margin-top: 1.2rem;
}

/* ─── Sidebar ───────────────────────────────── */
.ct-form-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ct-sidebar-card {
    background: #c4dcff;
    border-radius: 20px;
    padding: 2.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.ct-sidebar-title {
    font-size: clamp(1.6rem, 1.8vw, 2rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
    margin-top: 0;
}

.ct-office-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.ct-office-list li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.ct-office-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ct-office-icon svg { width: 22px; height: 22px; }

.ct-office-list li div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ct-office-label {
    font-size: clamp(1rem, 1.05vw, 1.1rem);
    font-weight: 600;
    color: #4b5563;
}

.ct-office-value {
    font-size: clamp(1.1rem, 1.2vw, 1.3rem);
    font-weight: 700;
    color: #000000;
    transition: color 0.3s ease;
}

.ct-office-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.ct-office-link:focus-visible {
    outline: 2px solid var(--clr-red, #d12a2e);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Hover effects */
.ct-office-list li:hover .ct-office-icon {
    background-color: var(--clr-red, #d12a2e);
    color: #ffffff;
    transform: scale(1.08) translateY(-1px);
    box-shadow: 0 6px 15px rgba(209, 42, 46, 0.25);
}

.ct-office-link:hover .ct-office-value {
    color: var(--clr-red, #d12a2e);
}

/* WhatsApp sidebar card */
.ct-wa-card {
    background: #c4dcff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 3rem 2.5rem;
}

.ct-wa-card::before {
    display: none;
}

.ct-wa-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.ct-wa-icon svg,
.ct-wa-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.ct-wa-title {
    font-size: clamp(1.6rem, 1.8vw, 2rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.ct-wa-desc {
    font-size: clamp(1.1rem, 1.15vw, 1.25rem);
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.ct-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.1rem 2.5rem;
    background: #000000;
    color: #ffffff;
    font-size: clamp(1.1rem, 1.15vw, 1.25rem);
    font-weight: 700;
    border-radius: 100px;
    align-self: flex-start;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.ct-wa-btn:hover {
    background: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

/* ─── GLOBAL OFFICES STRIP ──────────────────── */
.ct-offices {
    background: transparent;
    border: none;
    padding: 3rem 0;
    padding-left: 3rem;
    padding-right: 3rem;
}


.ct-offices-inner {
    background: #e8e8e8;
    border-radius: 16px;
    padding: 1.2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
}

.ct-offices-label {
    font-size: clamp(1.1rem, 1.4vw, 1.6rem);
    font-weight: 700;
    color: #111827;
    flex-shrink: 0;
}

.ct-offices-list {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2vw, 2.5rem);
}

.ct-office-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.strip-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.ct-office-item div {
    display: flex;
    flex-direction: column;
}

.ct-office-item span {
    font-size: 0.95rem;
    color: #111827;
}

.ct-office-item strong {
    font-weight: 700;
}

.ct-office-divider {
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.12);
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
    .ct-form-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ct-form-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .ct-hero {
        padding-top: 150px !important;
        align-items: flex-start !important;
        background: url('assets/contactheromobile.png') no-repeat center / cover !important;
        min-height: 810px !important;
    }

    .ct-hero-overlay {
        display: none !important;
    }

    .ct-methods-grid {
        grid-template-columns: 1fr;
    }

    .ct-form-row {
        grid-template-columns: 1fr;
    }

    .ct-form-right {
        grid-template-columns: 1fr;
    }

    .ct-offices-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .ct-offices-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .ct-office-divider {
        display: none;
    }

    /* Stacking disclaimer spans vertically on mobile */
    .ct-form-disclaimer span {
        display: block !important;
        margin-bottom: 0.35rem !important;
    }
    .ct-form-disclaimer span:last-child {
        margin-bottom: 0 !important;
    }
}
