/* --- CONTACT PAGE SPECIFIC STYLES --- */

/* Hero Adjustment */
.contact-hero {
    text-align: center;
    padding: 60px 20px 60px;
    background: transparent;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact-hero h1 span {
    background: -webkit-linear-gradient(45deg, #000, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero p {
    color: #64748b;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Cards Grid */
.contact-info-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: #000;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #C6F432;
    border: 1px solid #C6F432;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-card p {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.sub-text {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-top: 10px;
}

/* Main Split Area */
.main-contact-area {
    padding: 60px 20px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.container-split {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-text-side {
    flex: 1;
}

.contact-form-side {
    flex: 1.2;
}

/* Left Side Content */
.consultation-box,
.office-hours-box,
.global-locations {
    margin-bottom: 40px;
}

.consultation-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.highlight {
    color: #111;
    font-weight: 700;
    margin-bottom: 15px;
}

.custom-list {
    list-style: none;
    margin-top: 15px;
}

.custom-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
}

.custom-list i {
    color: #C6F432;
}

.office-hours-box {
    background: #f8fafc;
    border: 1px solid #a0a0a0 !important;
    padding: 25px;
    border-radius: 15px;
    color: #111;
}

.office-hours-box h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.us-uae-note {
    font-size: 0.9rem;
    margin-top: 15px;
    line-height: 1.4;
    color: #666;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tags-cloud span {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Social Links Box */
.social-links-box {
    margin-top: 40px;
}

.social-icons-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #C6F432;
    border: 1px solid #C6F432;
    color: #111;
    border-radius: 10px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #000000;
    border-color: #000000;
    color: #fff;
    transform: translateY(-3px);
}

/* Glass Form */
.glass-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #a0a0a0 !important;
}

.glass-form h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #111;
}

.glass-form p {
    color: #555;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.row-group {
    display: flex;
    gap: 20px;
}

.row-group .input-group {
    flex: 1;
}

.glass-form label {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.glass-form input,
.glass-form select,
.glass-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fdfdfd;
    color: #111;
    font-family: inherit;
    transition: all 0.3s;
}

.glass-form input:focus,
.glass-form select:focus,
.glass-form textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.submit-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.submit-btn:hover {
    background: #C6F432;
    transform: scale(1.02);
    color: #000000;
}

.form-footer {
    margin-top: 15px;
    text-align: center;
    font-size: 0.8rem !important;
    color: #888;
}

/* Process Steps */
.process-steps-section {
    padding: 80px 20px;
    text-align: center;
    background: transparent;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border: 1px solid #a0a0a0;
    border-radius: 15px;
    position: relative;
    background: #fff;
    color: #111;
}

.step-num {
    font-size: 2rem;
    font-weight: 900;
    color: #C6F432;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
}

.step-card p {
    position: relative;
    z-index: 1;
    color: #555;
}

.step-card h4 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}



/* --- HORIZONTAL OFFICE LOCATIONS --- */
.our-offices-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}

.offices-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #111;
}

.offices-title i {
    color: #111;
    margin-right: 10px;
}

.offices-grid {
    display: grid;
    /* Creates 3 equal columns that stack on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.office-card-horizontal {
    background: #ffffff;
    border: 1px solid #a0a0a0;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.office-card-horizontal:hover {
    transform: translateY(-5px);
    border-color: #000;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.office-icon {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.office-card-horizontal:hover .office-icon {
    background: #000;
    color: #fff;
    border-color: #000;
}

.office-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #000;
    font-weight: 700;
}

.office-info p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
    .container-split {
        flex-direction: column;
        gap: 40px;
    }

    .glass-form select,
    .glass-form select option {
        font-size: 12px !important;
        padding: 5px 8px !important;
        line-height: 1.2 !important;
    }

    .offices-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on phones */
    }

    /* Ignore the global paragraph justify rule on the contact page */
    p {
        text-align: inherit !important;
    }

    /* Trust Section Mobile Alignment */
    .trust-banner {
        padding: 60px 20px;
    }

    .trust-grid {
        flex-direction: column;
        gap: 25px;
    }

    .trust-item {
        width: 100%;
        max-width: 260px;
        /* Constrains width so we can center the block */
        margin: 0 auto;
        /* Centers the block on the screen */
        justify-content: flex-start;
        /* Left aligns icon and text within the block */
    }

    .final-cta {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }

    .final-cta a {
        width: 100%;
        text-align: center;
    }
}

/* --- GLOBAL PRESENCE (IMAGE CARDS) --- */
.global-presence-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.presence-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.presence-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.presence-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.22);
}

.presence-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: 1;
    pointer-events: none;
}

.presence-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 10px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.presence-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.presence-details {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.presence-details strong {
    display: block;
    font-size: 1.8rem;
    color: #C6F432;
    margin-bottom: 15px;
}

.presence-details p {
    color: #fff;
    font-size: 1.1rem;
    margin: 5px 0;
}

.presence-card:hover .presence-overlay,
.presence-card.active .presence-overlay {
    opacity: 1;
}

.presence-card:hover .presence-details,
.presence-card.active .presence-details {
    transform: translateY(0);
}

.presence-card:hover .presence-tag,
.presence-card.active .presence-tag {
    opacity: 0;
    transform: translateY(10px);
}

.touch-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #111;
    color: var(--accent-core, #C6F432);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 4;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.presence-card:hover .touch-icon,
.presence-card.active .touch-icon {
    transform: rotate(180deg);
    background: var(--accent-core, #C6F432);
    color: #111;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.presence-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 480px;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-left: 5px;
}

.location-icon {
    width: 45px;
    height: 45px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #111;
    position: relative;
}

.location-icon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    background: var(--accent-core, #C6F432);
    border-radius: 50%;
    z-index: -1;
}

.location-title-wrap {
    display: flex;
    flex-direction: column;
}

.location-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.location-main-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.1;
}