/* ==========================================================================
   Risel – Contact & Candidate Support CSS
   Design System: Sora + Inter, Modern SaaS, Clean Light Mode Layout
   ========================================================================== */

/* --- MAIN & HERO SECTION --- */
.cnt-main {
    padding-bottom: 20px;
}

.cnt-hero {
    padding: 36px 0 28px;
    text-align: center;
    position: relative;
}

.cnt-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.cnt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary, #0066FF);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 102, 255, 0.15);
}

.cnt-hero-heading {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    color: var(--text-main, #0f172a);
    margin-bottom: 12px;
}

.cnt-hero-accent {
    background: linear-gradient(135deg, var(--primary) 0%, #00b4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cnt-hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text-secondary, #475569);
    max-width: 660px;
    margin: 0 auto;
}

/* --- CONTACT METHODS & FORM SECTION --- */
.cnt-content-section {
    padding-bottom: 40px;
}

.cnt-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.cnt-method-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 200px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.cnt-method-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 12px 28px rgba(0, 102, 255, 0.08);
}

.cnt-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.icon-blue { background: rgba(0, 102, 255, 0.08); color: #0066FF; }
.icon-indigo { background: rgba(79, 70, 229, 0.08); color: #4f46e5; }
.icon-emerald { background: rgba(5, 150, 105, 0.08); color: #059669; }
.icon-purple { background: rgba(147, 51, 234, 0.08); color: #9333ea; }
.icon-amber { background: rgba(217, 119, 6, 0.08); color: #d97706; }
.icon-sky { background: rgba(2, 132, 199, 0.08); color: #0284c7; }

.cnt-method-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin-bottom: 6px;
}

.cnt-method-card p {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-secondary, #475569);
    margin-bottom: 18px;
    flex: 1;
}

.cnt-method-link {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary, #0066FF);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.cnt-method-card:hover .cnt-method-link {
    transform: translateX(2px);
}

/* Contact Form Box */
.cnt-form-box {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 40px 44px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
    max-width: 900px;
    width: 100%;
    margin: 0 auto 40px;
    box-sizing: border-box;
}

.cnt-form-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.cnt-form-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin-bottom: 5px;
    line-height: 1.25;
}

.cnt-form-header p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary, #475569);
    margin: 0;
}

.cnt-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cnt-form-group {
    margin-bottom: 20px;
}

.cnt-form-grid .cnt-form-group {
    margin-bottom: 0;
}

.cnt-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main, #0f172a);
    margin-bottom: 7px;
}

.cnt-input,
.cnt-select,
.cnt-textarea {
    width: 100%;
    padding: 11px 16px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main, #0f172a);
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cnt-textarea {
    min-height: 115px;
    height: 115px;
    line-height: 1.5;
    resize: vertical;
}

.cnt-input:focus,
.cnt-select:focus,
.cnt-textarea:focus {
    border-color: var(--primary, #0066FF);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.cnt-form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.cnt-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary, #0066FF);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.2);
}

.cnt-btn-primary:hover {
    background: var(--primary-hover, #0052cc);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.3);
}

/* --- FEATURES / BENEFITS SECTION --- */
.cnt-features-section {
    padding: 32px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cnt-section-header-center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 24px;
}

.cnt-section-header-center h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--text-main);
    margin-bottom: 6px;
}

.cnt-section-header-center p {
    font-size: 14px;
    color: var(--text-secondary);
}

.cnt-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.cnt-feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cnt-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 102, 255, 0.25);
}

.cnt-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.cnt-feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.cnt-feature-card p {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-secondary);
}

/* --- SEO SECTION --- */
.cnt-seo-section {
    padding: 40px 0;
}

.cnt-seo-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.cnt-seo-box h2 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.cnt-seo-box p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* --- FAQ SECTION --- */
.cnt-faq-section {
    padding: 40px 0 60px;
}

.cnt-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cnt-faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.cnt-faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.06);
}

.cnt-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
}

.cnt-faq-icon {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: transform 0.25s ease;
}

.cnt-faq-item.active .cnt-faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.cnt-faq-ans {
    display: none;
    padding: 0 20px 16px;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.cnt-faq-item.active .cnt-faq-ans {
    display: block;
}

/* --- TOAST NOTIFICATION --- */
.cnt-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.cnt-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- COMMUNITY FEEDBACK MODAL OVERLAY --- */
.db-modal-overlay,
.cnt-modal-overlay {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 17, 32, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.db-modal-overlay.open,
.cnt-modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.db-modal-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 32px 36px;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.db-modal-overlay.open .db-modal-card,
.cnt-modal-overlay.open .db-modal-card {
    transform: translateY(0) scale(1);
}

.db-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.db-modal-title {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin: 0;
}

.db-modal-close-btn {
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 6px;
    transition: color 0.2s ease;
}

.db-modal-close-btn:hover {
    color: var(--text-main, #0f172a);
}

.db-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.db-form-group {
    margin-bottom: 18px;
}

.db-form-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main, #0f172a);
    margin-bottom: 6px;
}

.db-form-input,
.db-form-select {
    width: 100%;
    padding: 11px 16px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main, #0f172a);
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.db-form-input:focus,
.db-form-select:focus {
    border-color: var(--primary, #0066FF);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.db-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.cnt-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main, #0f172a);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.cnt-btn-secondary:hover {
    background: #e2e8f0;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .cnt-methods-grid {
        grid-template-columns: 1fr;
    }

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