/* =========================================
   CONTACT PAGE
   ========================================= */

/* ---- Active link in the header ---- */
#umuri-header-root .umuri-top-row .secondary-nav a.active {
    color: var(--accent-color) !important;
    box-shadow: 0 3px 0 var(--accent-color) !important;
}

/* ---- Masthead (with hero image) ---- */
.ct-masthead {
    margin-top: 170px; /* clears the desktop header */
    padding: 80px 0 72px;
    background-image:
        linear-gradient(rgba(88, 27, 24, 0.82), rgba(88, 27, 24, 0.82)),
        url('../img/Delivering Football Drills/Tabagwe Sector/Copy of DSC_8868.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.ct-crumbs {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
}

.ct-crumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ct-crumbs a:hover { color: #fff; }

.ct-crumbs span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.45);
}

.ct-masthead h1 {
    margin: 0 0 10px;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.ct-masthead p {
    margin: 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

/* ---- Quick contact strip ---- */
.ct-quick {
    background: #fff;
    border-bottom: 1px solid #e6ddd8;
}

.ct-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ct-quick-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 28px 28px 0;
    border-left: 1px solid #e6ddd8;
    padding-left: 28px;
}

.ct-quick-item:first-child {
    border-left: none;
    padding-left: 0;
}

.ct-quick-item > i {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: #fff;
    font-size: 16px;
}

.ct-quick-item h3 {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.ct-quick-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.ct-quick-item a {
    color: #555;
    text-decoration: none;
}

.ct-quick-item a:hover { color: var(--accent-color); }

/* ---- Sections ---- */
.ct-section { padding: 64px 0; }

.ct-tint {
    background: #f7f3f0;
    border-top: 1px solid #e6ddd8;
    border-bottom: 1px solid #e6ddd8;
}

.ct-head {
    margin-bottom: 30px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-color);
}

.ct-head h2 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.ct-head p {
    margin: 0;
    font-size: 14px;
    color: #6b5f5b;
}

.ct-head-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.ct-link {
    display: inline-block;
    padding-bottom: 2px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-color);
    white-space: nowrap;
    transition: color 0.2s ease;
}

.ct-link:hover { color: var(--accent-color); }

/* ---- Form + info ---- */
.ct-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    align-items: start;
}

.ct-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ct-field { margin-bottom: 20px; }

.ct-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

.ct-field label span {
    font-weight: 400;
    color: #999;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.ct-field textarea {
    resize: vertical;
    min-height: 140px;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-color: var(--primary-color);
}

.ct-submit {
    padding: 14px 36px;
    border: none;
    border-radius: 0;
    background: var(--accent-color);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ct-submit:hover { background: var(--primary-color); }

.ct-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.ct-form-msg {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
    min-height: 20px;
}

.ct-form-msg.ok { color: #2e7d32; }
.ct-form-msg.error { color: #b3261e; }

/* Info panel */
.ct-info {
    padding: 32px;
    background: var(--primary-color);
    color: #fff;
}

.ct-info h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.ct-info p {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.ct-info h3 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.ct-social {
    display: flex;
    gap: 8px;
}

.ct-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.ct-social a:hover { background: var(--accent-color); }

/* ---- Locations ---- */
.ct-locations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.ct-location-media {
    overflow: hidden;
    margin-bottom: 16px;
    background: #e8e0dc;
}

.ct-location-media img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ct-location:hover .ct-location-media img { transform: scale(1.03); }

.ct-location h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.ct-location p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* ---- FAQ ---- */
.ct-faq {
    border-top: 1px solid #e6e6e6;
}

.ct-faq details {
    border-bottom: 1px solid #e6e6e6;
}

.ct-faq summary {
    position: relative;
    padding: 20px 40px 20px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
}

.ct-faq summary::-webkit-details-marker { display: none; }

.ct-faq summary::after {
    content: '+';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: var(--accent-color);
}

.ct-faq details[open] summary::after { content: '\2212'; }

.ct-faq summary:hover { color: var(--accent-color); }

.ct-faq details p {
    margin: 0;
    padding: 0 40px 22px 0;
    font-size: 15px;
    line-height: 1.75;
    color: #555;
}

/* ---- Find us (map) ---- */
.ct-map {
    border: 1px solid #e0d8d4;
    background: #fff;
    line-height: 0;
}

.ct-map iframe {
    display: block;
    width: 100%;
}

.ct-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-top: 28px;
}

.ct-details h3 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.ct-details p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.ct-details a {
    color: #555;
    text-decoration: none;
}

.ct-details a:hover { color: var(--accent-color); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .ct-masthead { margin-top: 70px; } /* mobile header is 70px tall */
}

@media (max-width: 992px) {
    .ct-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ct-locations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .ct-masthead { padding: 52px 0 48px; }
    .ct-masthead h1 { font-size: 28px; }

    .ct-quick-grid { grid-template-columns: 1fr; }

    .ct-quick-item,
    .ct-quick-item:first-child {
        padding: 20px 0;
        border-left: none;
        border-top: 1px solid #e6ddd8;
    }

    .ct-quick-item:first-child { border-top: none; }

    .ct-section { padding: 44px 0; }

    .ct-head-split {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ct-row { grid-template-columns: 1fr; gap: 0; }

    .ct-info { padding: 26px; }

    .ct-locations { grid-template-columns: 1fr; }

    .ct-map iframe { height: 320px; }

    .ct-details { grid-template-columns: 1fr; gap: 24px; }

    .ct-submit { width: 100%; }
}