/* ================================================
   Contacts Page — Quantum College
   Design: Mardoto fonts, #002D48 navy, #04A7A1 teal, #D7F1F0 light
   ================================================ */

/* ---- CONTAINER ---- */
.qc-wrap {
    padding: 0 100px;
    max-width: 1921px;
    margin: 0 auto;
}

/* ================================================
   HERO
   ================================================ */
.qc-hero {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    background: #002D48;
    margin-bottom: 40px;
}

.qc-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(4, 167, 161, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 15% 70%, rgba(4, 167, 161, 0.14) 0%, transparent 60%);
}

.qc-hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
}

.qc-hero__body {
    position: relative;
    z-index: 2;
    padding: 52px 56px;
    max-width: 760px;
}

.qc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 80px;
    background: rgba(215, 241, 240, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    font-family: Mardoto-Medium, sans-serif;
    font-size: 14px;
    color: #fff;
    margin-bottom: 18px;
}

.qc-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.qc-hero__body h1 {
    font-family: Mardoto-Black, sans-serif;
    font-size: 52px;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 12px;
}

.qc-hero__body p {
    font-family: Mardoto-Regular, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Teal corner accent */
.qc-hero__accent {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(4, 167, 161, 0.12);
    border: 1px solid rgba(4, 167, 161, 0.2);
    pointer-events: none;
}

.qc-hero__accent::after {
    content: "";
    position: absolute;
    inset: 40px;
    border-radius: 50%;
    background: rgba(4, 167, 161, 0.1);
    border: 1px solid rgba(4, 167, 161, 0.15);
}

/* ================================================
   QUICK CONTACT CHIPS
   ================================================ */
.qc-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.qc-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 12px;
    border-radius: 80px;
    border: 1px solid rgba(0, 45, 72, 0.1);
    background: #fff;
    text-decoration: none;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.qc-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(4, 167, 161, 0.18);
    background: #D7F1F0;
    border-color: rgba(4, 167, 161, 0.3);
}

.qc-chip__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(4, 167, 161, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.qc-chip:hover .qc-chip__icon {
    background: rgba(4, 167, 161, 0.2);
}

.qc-chip__icon svg {
    width: 17px;
    height: 17px;
}

.qc-chip__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qc-chip__label {
    font-family: Mardoto-Regular, sans-serif;
    font-size: 11px;
    line-height: 1;
    color: rgba(0, 45, 72, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.qc-chip__value {
    font-family: Mardoto-Bold, sans-serif;
    font-size: 15px;
    line-height: 1.2;
    color: #002D48;
}

/* ================================================
   MAIN TWO-COLUMN LAYOUT
   ================================================ */
.qc-main {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    margin-bottom: 28px;
    align-items: start;
}

/* ================================================
   CARD BASE
   ================================================ */
.qc-card {
    background: #fff;
    border: 1px solid rgba(0, 45, 72, 0.08);
    border-radius: 32px;
    padding: 36px;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.qc-card:hover {
    box-shadow: 8px 16px 40px rgba(0, 0, 0, 0.09);
}

.qc-card h2 {
    font-family: Mardoto-Bold, sans-serif;
    font-size: 28px;
    line-height: 1.2;
    color: #002D48;
    margin: 0 0 24px;
}

/* ================================================
   PHONE ITEMS
   ================================================ */
.qc-phones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.qc-phone-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(4, 167, 161, 0.05);
    border: 1px solid rgba(4, 167, 161, 0.1);
    text-decoration: none;
    transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.qc-phone-item:hover {
    background: rgba(4, 167, 161, 0.12);
    border-color: rgba(4, 167, 161, 0.25);
    transform: translateX(5px);
}

.qc-phone-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #04A7A1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qc-phone-item__icon svg {
    width: 18px;
    height: 18px;
}

.qc-phone-item__label {
    font-family: Mardoto-Regular, sans-serif;
    font-size: 12px;
    color: rgba(0, 45, 72, 0.45);
    margin-bottom: 3px;
}

.qc-phone-item__number {
    font-family: Mardoto-Bold, sans-serif;
    font-size: 17px;
    color: #002D48;
}

/* ================================================
   DIVIDER
   ================================================ */
.qc-divider {
    border: none;
    border-top: 1px solid rgba(0, 45, 72, 0.08);
    margin: 20px 0;
}

/* ================================================
   INFO ROWS (email / address)
   ================================================ */
.qc-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid rgba(0, 45, 72, 0.07);
    background: rgba(0, 45, 72, 0.02);
    margin-bottom: 10px;
    transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.qc-info-row:last-of-type {
    margin-bottom: 0;
}

.qc-info-row:hover {
    background: #D7F1F0;
    border-color: rgba(4, 167, 161, 0.2);
    transform: translateX(5px);
}

.qc-info-row__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(4, 167, 161, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qc-info-row__icon svg {
    width: 18px;
    height: 18px;
}

.qc-info-row__text {
    font-family: Mardoto-Medium, sans-serif;
    font-size: 15px;
    color: #002D48;
}

/* ================================================
   SOCIAL BUTTONS
   ================================================ */
.qc-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.qc-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(0, 45, 72, 0.05);
    border: 1px solid rgba(0, 45, 72, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #002D48;
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.qc-social-btn:hover {
    background: #04A7A1;
    border-color: #04A7A1;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(4, 167, 161, 0.32);
}

.qc-social-btn svg {
    width: 18px;
    height: 18px;
}

/* ================================================
   FORM
   ================================================ */
.qc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.qc-input {
    width: 100%;
    height: 52px;
    border-radius: 16px;
    border: 1.5px solid rgba(0, 45, 72, 0.12);
    background: rgba(0, 45, 72, 0.02);
    padding: 0 18px;
    font-family: Mardoto-Regular, sans-serif;
    font-size: 15px;
    color: #002D48;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.qc-input:focus {
    border-color: #04A7A1;
    box-shadow: 0 0 0 4px rgba(4, 167, 161, 0.1);
    background: #fff;
}

.qc-input::placeholder {
    color: rgba(0, 45, 72, 0.32);
}

.qc-textarea {
    width: 100%;
    min-height: 140px;
    border-radius: 16px;
    border: 1.5px solid rgba(0, 45, 72, 0.12);
    background: rgba(0, 45, 72, 0.02);
    padding: 16px 18px;
    font-family: Mardoto-Regular, sans-serif;
    font-size: 15px;
    color: #002D48;
    outline: none;
    resize: vertical;
    box-sizing: border-box;
    display: block;
    margin-top: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.qc-textarea:focus {
    border-color: #04A7A1;
    box-shadow: 0 0 0 4px rgba(4, 167, 161, 0.1);
    background: #fff;
}

.qc-textarea::placeholder {
    color: rgba(0, 45, 72, 0.32);
}

/* ---- SUBMIT BUTTON ---- */
.qc-submit {
    margin-top: 16px;
    width: 100%;
    height: 54px;
    border-radius: 16px;
    background: #002D48;
    border: none;
    color: #fff;
    font-family: Mardoto-Bold, sans-serif;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.qc-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.5s ease;
}

.qc-submit:hover::after {
    left: 100%;
}

.qc-submit:hover {
    background: #04A7A1;
    box-shadow: 0 6px 24px rgba(4, 167, 161, 0.35);
    transform: translateY(-2px);
}

.qc-submit:active {
    transform: translateY(0);
}

.qc-btn-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qc-btn-text svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Checkmark success */
.qc-checkmark {
    display: none;
    width: 30px;
    height: 30px;
}

.qc-submit.is-sent .qc-btn-text {
    display: none;
}

.qc-submit.is-sent .qc-checkmark {
    display: block;
}

.qc-submit.is-sent {
    background: #04A7A1;
    pointer-events: none;
}

.qc-checkmark__circle {
    stroke: rgba(255, 255, 255, 0.45);
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    fill: none;
    animation: qcStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.qc-checkmark__check {
    stroke: #fff;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    animation: qcStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.45s forwards;
}

@keyframes qcStroke {
    100% { stroke-dashoffset: 0; }
}

/* Form result message */
#qcFormResult {
    margin-top: 12px;
    font-family: Mardoto-Regular, sans-serif;
    font-size: 14px;
    min-height: 20px;
    color: #04A7A1;
    text-align: center;
}

#qcFormResult.is-error {
    color: #e05;
}

/* ================================================
   MAP
   ================================================ */
.qc-map {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(0, 45, 72, 0.08);
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 48px;
}

.qc-map__label {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 10px 18px;
    border-radius: 80px;
    background: rgba(0, 45, 72, 0.88);
    backdrop-filter: blur(8px);
    font-family: Mardoto-Medium, sans-serif;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.qc-map__label svg {
    width: 14px;
    height: 14px;
    opacity: 0.75;
    flex-shrink: 0;
}

.qc-map iframe {
    display: block;
    width: 100%;
    height: 460px;
    border: none;
}

/* ================================================
   ANIMATIONS & REVEALS
   ================================================ */

/* Scroll reveal */
.qc-reveal {
    opacity: 0;
    transform: translateY(48px);
    filter: blur(6px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.qc-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Stagger children */
.qc-stagger > * {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    filter: blur(4px);
    transition:
        opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.qc-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.qc-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.qc-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.qc-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }

.qc-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Split reveal (left + right) */
.qc-split-reveal > *:first-child {
    opacity: 0;
    transform: translateX(-48px);
    filter: blur(4px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.qc-split-reveal > *:last-child {
    opacity: 0;
    transform: translateX(48px);
    filter: blur(4px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
        filter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.qc-split-reveal.is-visible > *:first-child,
.qc-split-reveal.is-visible > *:last-child {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* Hero entrance */
.qc-hero__body .qc-badge,
.qc-hero__body h1,
.qc-hero__body p {
    opacity: 0;
    transform: translateY(28px);
    animation: qcHeroUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.qc-hero__body .qc-badge { animation-delay: 0.2s; }
.qc-hero__body h1       { animation-delay: 0.38s; }
.qc-hero__body p        { animation-delay: 0.52s; }

@keyframes qcHeroUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .qc-reveal, .qc-stagger > *,
    .qc-split-reveal > *:first-child, .qc-split-reveal > *:last-child,
    .qc-hero__body .qc-badge, .qc-hero__body h1, .qc-hero__body p {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
        transition: none;
    }
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (min-width: 1280px) and (max-width: 1919px) {
    .qc-wrap { padding: 0 40px; }
    .qc-hero__body h1 { font-size: 44px; }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .qc-wrap { padding: 0 24px; }
    .qc-hero { min-height: 260px; border-radius: 25px; }
    .qc-hero__body { padding: 36px 40px; }
    .qc-hero__body h1 { font-size: 40px; }
    .qc-main { grid-template-columns: 1fr 1fr; }
    .qc-card h2 { font-size: 24px; }
    .qc-card { padding: 28px; }
}

@media (max-width: 767px) {
    .qc-wrap { padding: 0 16px; }
    .qc-hero { min-height: 240px; border-radius: 22px; margin-bottom: 24px; }
    .qc-hero__body { padding: 24px; }
    .qc-hero__body h1 { font-size: 30px; }
    .qc-hero__body p { font-size: 15px; }
    .qc-hero__accent { display: none; }
    .qc-chips { gap: 8px; }
    .qc-chip { padding: 10px 16px 10px 10px; gap: 10px; }
    .qc-chip__value { font-size: 14px; }
    .qc-main { grid-template-columns: 1fr; }
    .qc-card { padding: 24px; border-radius: 25px; }
    .qc-card h2 { font-size: 24px; }
    .qc-form-row { grid-template-columns: 1fr; }
    .qc-map { border-radius: 25px; }
    .qc-map iframe { height: 360px; }
}
