﻿/* ==============================
   CONTACT US PAGE STYLES
   ============================== */

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

.contact-page {
    /* padding-top: 100px; */
    position: relative;
    z-index: 0;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60vw;
    height: calc(100% - 60vh); /* Spans down to the globe section */
    max-width: 800px;
    background: url("./images/2026/06/Ellipse-11.svg") right top / contain no-repeat;
    z-index: 2; /* Above section backgrounds */
    pointer-events: none;
}

/* Hero Section */
.contact-hero {
    position: relative;
    padding: 6rem 0 0rem;
    overflow: hidden;
    z-index: 1;
    background-color: #f3f3f3;
}

.contact-hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.contact-hero__bg img {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    height: 120%;
    width: auto;
    max-width: none;
}

.contact-hero__container {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2; /* Sit above the background ellipse */
}

.contact-hero__content {
    max-width: 900px;
}

.contact-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: #00684A; /* Dark green brand color */
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
}

.contact-hero__desc {
    font-size: clamp(18px, 1.56vw, 20px);
    color: #00684A;
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.contact-hero__btn-wrapper {
    margin-top: 2rem;
}

.contact-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: #00684A;
    color: #00684A;
    padding: 10px 24px;
}

.contact-hero__btn:hover {
    background-color: #00684A;
    color: #ffffff;
}

/* Contact Info Blocks */
.contact-info {
    /* padding-bottom: 4rem; */
    background-color: #f3f3f3;
}

.contact-info__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    position: relative;
    z-index: 2; /* Sit above the background ellipse */
}

@media (min-width: 768px) {
    .contact-info__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-info__col h4 {
    font-size: clamp(16px, 1.56vw, 18px);
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-info__col p {
    font-size: clamp(18px, 1.56vw, 20px);
    color: #1a1a1a;
    margin: 0;
}

/* Global Office Section */
.contact-global {
    background: #ffffff;
    padding: 4rem 0 2rem 0; /* Add padding for transition */
    position: relative;
}

.contact-global__container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    z-index: 2; /* Sit above the background ellipse */
    padding-bottom: 0px;
    padding-top: 0px;
}

@media (min-width: 992px) {
    .contact-global__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.contact-global__left {
    flex: 1;
    max-width: 450px;
}

.contact-global__title {
    font-size: clamp(34px, 1.56vw, 40px);
    font-weight: 400;
    color: #00684A;
    margin-bottom: 1.5rem;
}

.contact-global__left p {
    font-size: clamp(18px, 1.56vw, 20px);
    color: #1a1a1a;
    line-height: 1.4;
}

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

@media (min-width: 768px) {
    .contact-global__right {
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }
}

.contact-stat {
    display: flex;
    flex-direction: column;
    border-left: none;
    padding-left: 0;
}

@media (min-width: 768px) {
    .contact-stat {
        border-left: 0.8px solid #043f2e86;
        padding: 0 2rem;
    }
    
    .contact-stat:first-child {
        border-left: none;
        padding-left: 0;
    }
}

.stat-label {
    font-size: 16px;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    color: #00684A;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: clamp(18px, 1.56vw, 20px);
    color: #1a1a1a;
}

/* Globe Section */
.contact-globe-section {
    background: transparent;
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    margin-top: -200px;
}

#globeContainer.contact-globe {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -45%; /* push it down so it emerges from the footer */
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: scale(1.25);
}

@media (max-width:768px){
    .contact-hero__desc, .contact-info__col h4{
        font-size: 16px;
    }
    .contact-info__col p, .contact-global__left p{
        font-size: clamp(16px, 1.56vw, 18px);
    }
    .contact-global__title{
        font-size: 32px;
    }
    .contact-hero{
        padding: 6rem 0 1rem;
    }
}

