/* ============================================================
   SK CHIT FUNDS — CONTACT PAGE STYLES
   ============================================================ */

/* 1. HERO (Matches Schemes/FAQ) */
.ct-hero {
    background-color: #041a11;
    color: var(--ab-white);
    padding: clamp(120px, 18vh, 200px) 0 clamp(80px, 12vh, 120px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-hero .ab-eyebrow { color: var(--ab-gold); }
.ct-hero .ab-hero-title { color: var(--ab-white); margin: 0 auto; }
.ct-hero .ab-hero-rule { margin: 24px auto; width: 140px; background: linear-gradient(90deg, transparent, var(--ab-gold), transparent); }
.ct-hero .ab-hero-sub { color: rgba(255, 255, 255, 0.75); max-width: 600px; margin: 0 auto; font-size: 1.15rem; }

/* 2. MAIN LAYOUT */
.ct-main-section {
    background: var(--ab-mint-2); /* Soft light green background for contrast */
    padding: clamp(60px, 8vw, 100px) 0;
}

.ct-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .ct-layout {
        grid-template-columns: 1fr 1.1fr; /* Form slightly wider */
        gap: 80px;
        align-items: start;
    }
}

/* 3. LEFT COLUMN: INFO */
.ct-info-col .ab-h2 { margin-bottom: 20px; }
.ct-info-col .ab-h2 em { font-style: italic; color: var(--ab-green); }
.ct-info-col .ab-lead { margin-bottom: 40px; }

.ct-details-grid {
    display: grid;
    gap: 32px;
}

.ct-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ct-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--ab-white);
    border-radius: 50%;
    color: var(--ab-green);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(11, 107, 58, 0.08);
    transition: transform 0.3s var(--ab-ease), background 0.3s var(--ab-ease), color 0.3s var(--ab-ease);
}

.ct-detail-item:hover .ct-detail-icon {
    transform: scale(1.1);
    background: var(--ab-green);
    color: var(--ab-white);
}

.ct-detail-title {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ab-muted);
    margin: 0 0 6px;
    font-weight: 700;
}

.ct-detail-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ab-ink);
    margin: 0;
}

.ct-detail-text a {
    color: var(--ab-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.ct-detail-text a:hover {
    color: var(--ab-green-deep);
    text-decoration: underline;
}

/* 5. FULL-WIDTH GOOGLE MAPS SECTION */
.ct-map-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #f5f7f6;
}

.ct-map-wrapper {
    width: 100%;
    overflow: hidden;
    height: 350px;
}

.ct-map-iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

@media (min-width: 600px) {
    .ct-map-wrapper {
        height: 400px;
    }
}

@media (min-width: 768px) {
    .ct-map-wrapper {
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .ct-map-wrapper {
        height: 550px;
    }
}

/* 4. RIGHT COLUMN: FORM CARD */
.ct-form-card {
    background: var(--ab-white);
    padding: clamp(32px, 5vw, 48px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(8, 67, 42, 0.06);
    border: 1px solid rgba(11, 107, 58, 0.08);
}

.ct-form-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--ab-ink);
    margin: 0 0 8px;
}

.ct-form-desc {
    font-size: 0.95rem;
    color: var(--ab-muted);
    margin: 0 0 32px;
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .ct-form-row { grid-template-columns: 1fr 1fr; }
}

.ct-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-form-group label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ab-green-deep);
}

.ct-form-group input,
.ct-form-group select,
.ct-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--ab-mint-2);
    border: 1px solid rgba(11, 107, 58, 0.15);
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--ab-ink);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ct-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230b6b3a%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px top 50%;
    background-size: 10px auto;
    cursor: pointer;
}

.ct-form-group input:focus,
.ct-form-group select:focus,
.ct-form-group textarea:focus {
    outline: none;
    border-color: var(--ab-green);
    background: var(--ab-white);
    box-shadow: 0 0 0 4px rgba(11, 107, 58, 0.1);
}

.ct-form-group input::placeholder,
.ct-form-group textarea::placeholder {
    color: rgba(74, 99, 88, 0.5);
}

.ct-submit-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--ab-green);
    color: var(--ab-white);
    border: none;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.ct-submit-btn:hover {
    background: var(--ab-green-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(11, 107, 58, 0.2);
}

.ct-submit-btn svg {
    transition: transform 0.3s ease;
}

.ct-submit-btn:hover svg {
    transform: translateX(4px);
}

.ct-submit-btn:disabled {
    background: var(--ab-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success Message */
.ct-form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--ab-mint);
    border: 1px solid var(--ab-green);
    border-radius: 8px;
    color: var(--ab-green-deep);
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 20px;
}


.ct-form-error {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fdf2f2;
    border: 1px solid #f05252;
    border-radius: 8px;
    color: #9b1c1c;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 20px;
}

.ct-form-success.is-visible {
    display: flex;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ANIMATION START STATES */
html.ab-anim [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.8s var(--ab-ease), transform 0.8s var(--ab-ease);
}

html.ab-anim [data-reveal].is-in {
    opacity: 1;
    transform: none;
}