.page-hero {
    padding: 9rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(0, 102, 204, 0.14), transparent 38%),
        radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.16), transparent 32%);
    pointer-events: none;
}

.page-hero-contact {
    background-image:
        linear-gradient(90deg, rgba(238, 244, 255, 0.306), rgba(248, 251, 255, 0.654), rgba(255, 255, 255, 0.544)),
        url("../assets/contact-us.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1.05;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    max-width: 13ch;
}

.page-subtitle {
    max-width: 60ch;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.contact-quick-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 102, 204, 0.12);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 20px 45px rgba(0, 68, 153, 0.08);
    backdrop-filter: blur(12px);
}

.contact-quick-card strong {
    display: block;
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.contact-quick-card span {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

.page-hero-panel {
    display: grid;
    gap: 1rem;
}

.page-panel-card,
.location-details-card {
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 24px 50px rgba(23, 46, 84, 0.08);
}

.page-panel-card {
    padding: 2rem;
}

.page-panel-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.85rem;
}

.panel-check-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.panel-check-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--text-light);
}

.panel-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
}

.contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-section-redesign .contact-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    padding: 0.5rem;
    text-align: center;
    line-height: 1.2;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-details p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.contact-details a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-certifications {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-certifications h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cert-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cert-badges .cert-badge {
    background: white;
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.cert-ids {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: "Public Sans", sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.form-group select {
    cursor: pointer;
}

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

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
}

.contact-section-redesign .section-title,
.contact-section-redesign .section-tag,
.contact-section-redesign .contact-section-intro {
    position: relative;
    z-index: 1;
}

.contact-tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
}

.contact-section-intro {
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

.location-map-section {
    padding: 5.5rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.location-map-shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
    background: white;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 28px 70px rgba(23, 46, 84, 0.12);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.location-map-copy > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.location-details-card {
    padding: 1.5rem;
}

.location-details-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.location-details-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

.location-map-frame {
    min-height: 100%;
}

.location-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(0, 102, 204, 0.08);
}

@media (max-width: 992px) {
    .contact-grid,
    .page-hero-grid,
    .location-map-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .page-hero {
        padding: 8rem 1.5rem 4rem;
    }

    .page-title {
        font-size: 2.35rem;
        max-width: none;
    }

    .contact-quick-grid {
        grid-template-columns: 1fr;
    }

    .location-map-section {
        padding: 4rem 1.5rem;
    }

    .location-map-shell {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .contact-info {
        gap: 1rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-form-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

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

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-section-redesign .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 0.68rem;
    }

    .contact-details h4 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.85rem;
    }

    .location-map-frame iframe {
        min-height: 320px;
    }
}
