/* =====================================================================
   CONTACT PAGE (new UI) — classes prefixed "ct-"
   ===================================================================== */

.ct-page {
    --ct-orange: #f7971e;
    --ct-yellow: #ffd200;
    background: #f9f5f0;
    color: #2d2d2d;
    font-family: "Poppins", sans-serif;
}

.ct-page h1,
.ct-page h2,
.ct-page h4 { font-family: inherit; margin: 0; }
.ct-page p { margin: 0; }
.ct-page a { text-decoration: none; }

@keyframes ctBounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-3px); }
    80% { transform: translateY(-6px); }
}

@keyframes ctShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ---------- Hero ---------- */
.ct-hero {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 20px;
    background-position: center;
    background-size: cover;
    text-align: center;
}

.ct-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--ct-orange), var(--ct-yellow), var(--ct-orange));
    background-size: 200% 100%;
    animation: ctShimmer 3s ease-in-out infinite;
}

.ct-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.ct-hero h1 i {
    display: inline-block;
    margin-right: 12px;
    color: #ffd700;
    animation: ctBounce 2s infinite;
}

.ct-hero p {
    margin-top: 6px !important;
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- Two cards ---------- */
.ct-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 30px 40px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.ct-card {
    position: relative;
    overflow: hidden;
    padding: 40px 35px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07), 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ct-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ct-orange), var(--ct-yellow));
}

.ct-card.is-form::before { background: linear-gradient(90deg, var(--ct-yellow), var(--ct-orange)); }

.ct-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(247, 151, 30, 0.15), 0 10px 30px rgba(0, 0, 0, 0.06);
}

.ct-card h2 {
    margin-bottom: 8px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
}

.ct-card h2 i { margin-right: 10px; color: var(--ct-orange); }

.ct-subhead {
    margin-bottom: 28px !important;
    padding-left: 16px;
    border-left: 4px solid var(--ct-orange);
    font-size: 0.95rem;
    font-weight: 300;
    color: #888;
}

.ct-card.is-form .ct-subhead { border-left-color: var(--ct-yellow); }

/* Info rows */
.ct-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 0 16px 12px;
    border-bottom: 1px solid #f0ece8;
    border-radius: 12px;
    transition: background 0.3s ease, padding-left 0.3s ease, border-color 0.3s ease;
}

.ct-info-item:last-child { border-bottom: none; }

.ct-info-item:hover {
    padding-left: 20px;
    border-bottom-color: var(--ct-orange);
    background: #fef9f2;
}

.ct-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3e0, #fde8cc);
    color: var(--ct-orange);
    font-size: 1.3rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.ct-icon i { animation: ctBounce 2.4s infinite; }

.ct-info-item:hover .ct-icon {
    background: linear-gradient(135deg, var(--ct-orange), var(--ct-yellow));
    color: #fff;
    transform: scale(1.1) rotate(-6deg);
}

.ct-info-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
}

.ct-info-item p {
    margin-top: 2px !important;
    font-size: 1.05rem;
    font-weight: 500;
    color: #1a1a2e;
    overflow-wrap: anywhere;
}

.ct-info-item a { color: #1a1a2e; transition: color 0.3s ease; }
.ct-info-item a:hover { color: var(--ct-orange); }

/* Form */
.ct-group { margin-bottom: 20px; }

.ct-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #444;
}

.ct-group label i { margin-right: 6px; color: var(--ct-orange); }

.ct-group input,
.ct-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f0ece8;
    border-radius: 16px;
    background: #fcfaf8;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ct-group input:focus,
.ct-group textarea:focus {
    border-color: var(--ct-orange);
    background: #fff;
    box-shadow: 0 0 0 6px rgba(247, 151, 30, 0.12);
}

.ct-group textarea { min-height: 120px; resize: vertical; }

.ct-group input::placeholder,
.ct-group textarea::placeholder { color: #bbb; font-weight: 300; }

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.ct-error {
    margin-top: 4px;
    font-size: 0.8rem;
    color: #dc2626;
}

.ct-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--ct-orange), var(--ct-yellow));
    box-shadow: 0 10px 30px rgba(247, 151, 30, 0.3);
    color: #1a1a2e;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ct-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(247, 151, 30, 0.4);
}

.ct-submit i { font-size: 1.3rem; }

.ct-note {
    margin-top: 12px !important;
    font-size: 0.8rem;
    text-align: center;
    color: #999;
}

.ct-alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1px solid #86efac;
    border-radius: 14px;
    background: #dcfce7;
    color: #14532d;
    font-size: 0.92rem;
}

/* ---------- Map ---------- */
.ct-map-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px 60px;
}

.ct-map {
    overflow: hidden;
    height: 420px;
    border: 4px solid #fff;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.ct-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .ct-section { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .ct-hero { height: 200px; }
    .ct-hero h1 { font-size: 2.3rem; }
    .ct-hero p { font-size: 0.9rem; letter-spacing: 2px; }
    .ct-section { padding: 30px 16px; }
    .ct-card { padding: 30px 22px; border-radius: 22px; }
    .ct-card h2 { font-size: 1.45rem; }
    .ct-map-section { padding: 0 16px 40px; }
    .ct-map { height: 320px; border-radius: 22px; }
}

@media (max-width: 576px) {
    .ct-hero { height: 180px; }
    .ct-hero h1 { font-size: 1.8rem; }
    .ct-hero p { font-size: 0.75rem; letter-spacing: 1px; }
    .ct-row { grid-template-columns: 1fr; }
    .ct-card { padding: 26px 16px; }
    .ct-icon { width: 42px; height: 42px; font-size: 1.1rem; }
    .ct-info-item p { font-size: 0.95rem; }
    .ct-map { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
    .ct-hero::after,
    .ct-hero h1 i,
    .ct-icon i { animation: none; }
}

/* =====================================================================
   HOVER EFFECTS (scroll reveals come from data-reveal)
   ===================================================================== */

/* Info rows: links underline, heading colours */
.ct-info-item h4 { transition: color 0.3s ease; }
.ct-info-item:hover h4 { color: var(--ct-orange); }
.ct-info-item a { background: linear-gradient(var(--ct-orange), var(--ct-orange)) 0 100% / 0 2px no-repeat; transition: color 0.3s ease, background-size 0.4s ease; }
.ct-info-item a:hover { background-size: 100% 2px; }

/* Card titles: icon tilts */
.ct-card h2 i { display: inline-block; transition: transform 0.5s ease; }
.ct-card:hover h2 i { transform: rotate(-14deg) scale(1.12); }

/* Form: label icon pops while its field is focused */
.ct-group label i { display: inline-block; transition: transform 0.3s ease; }
.ct-group:focus-within label { color: var(--ct-orange); }
.ct-group:focus-within label i { transform: scale(1.25); }

/* Submit: light sweep + icon wiggle */
.ct-submit { position: relative; overflow: hidden; isolation: isolate; }

.ct-submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    z-index: -1;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.ct-submit:hover::after { left: 130%; }

@keyframes ctWiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-14deg); }
    75% { transform: rotate(14deg); }
}

.ct-submit:hover i { animation: ctWiggle 0.5s ease; }

/* Map: lift + glow */
.ct-map { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.ct-map:hover { transform: translateY(-4px); box-shadow: 0 26px 70px rgba(247, 151, 30, 0.18); }

@media (prefers-reduced-motion: reduce) {
    .ct-submit::after { display: none; }
    .ct-submit:hover i { animation: none; }
}
