/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive Styles Only - No new styles added */
.iframe-container {
    padding: 0;
    position: relative;
    background: var(--light);
}

.iframe-wrapper {
    width: 100%;
    height: 1080px;
    position: relative;
    transition: opacity 0.3s ease;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    transition: opacity 0.3s ease;
}

/* Tablet Devices (768px and below) */
@media screen and (max-width: 768px) {
    .container {
        margin-top: 15%;
    }

    .contact-header {
        width: 100%;
        margin-left: 0;
        padding: 4rem 0 3rem;
        min-height: 400px;
    }

    .added-style {
        width: 95%;
        margin-left: 2.5%;
    }

    .why-engage-list {
        margin: 0 1.5rem 3rem 1.5rem !important;
        padding: 1.5rem;
    }

    .col-full {
        margin-left: 5%;
        width: 90%;
    }

    .intouch-info a,
    .contact-number {
        font-size: 18px;
    }
}

/* Mobile Devices (480px and below) */
@media screen and (max-width: 480px) {
    .iframe-wrapper {
        margin-left: -20% !important;
        width: 150% !important;
    }

    .container {
        /* margin-left: 10% !important; */
        margin-top: 20%;
    }

    .contact-header {
        min-height: 260px !important;
        padding: 3rem 0 2rem;
    }

    .added-style {
        width: 100%;
        margin-left: 0;
    }

    .section {
        margin: 1rem 0;
        padding: clamp(2rem, 5vw, 2.5rem) 1rem;
    }

    .engagement-grid,
    .contact-info-grid,
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .engagement-card,
    .contact-item,
    .location-card {
        padding: 1.25rem;
    }

    .why-engage-list {
        margin: 0 1rem 2rem 1rem !important;
        padding: 1.25rem;
    }

    .why-engage-list li {
        padding-left: 2rem;
        margin-bottom: 0.75rem;
    }

    .col-full {
        margin-left: 0;
        width: 100%;
        padding: 0 1rem;
    }

    .col-full h3 {
        font-size: 20px;
        letter-spacing: 0.2rem;
        margin-bottom: 1.5rem;
    }

    .intouch-info {
        padding-bottom: 15px;
    }

    .intouch-info a,
    .contact-number {
        font-size: 16px;
        display: block;
        margin-bottom: 10px;
    }

    .contact-email {
        padding-top: 20px;
    }

    .phone-field-wrap {
        flex-direction: column;
    }

    .phone-code {
        height: auto !important;
        margin-bottom: 8px !important;
    }

    .phone-code select {
        width: 100%;
        border-radius: 4px;
        border: 1px solid #BDC8D3;
    }

    .phone-number {
        border-radius: 4px;
        border: 1px solid #BDC8D3;
    }
}

/* Small Mobile Devices (360px and below) */
@media screen and (max-width: 360px) {
    .container {
        margin-top: 25%;
    }

    .contact-header {
        min-height: 250px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .why-engage-list {
        padding: 1rem;
        margin: 0 0.5rem 1.5rem 0.5rem !important;
    }

    .engagement-card h3,
    .location-card h3 {
        font-size: 1.1rem;
    }

    .col-full h3 {
        font-size: 18px;
    }

    .intouch-info a,
    .contact-number {
        font-size: 14px;
    }
}

/* Fix for form section on mobile */
@media screen and (max-width: 768px) {
    #contact.s-contact {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* Landscape Orientation for Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .contact-header {
        min-height: 250px;
        padding: 2rem 0;
    }

    .container {
        margin-top: 12%;
    }
}

/* Adjust form for smaller screens */
@media screen and (max-width: 600px) {
    .wf-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .wf-label {
        width: 100%;
        margin-bottom: 8px;
    }

    .wf-field {
        width: 100%;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: left;
    }
}

@media screen and (max-width: 500px) {
    .header-menu-toggle {
        /* right: 100px !important; */
        top: 30px !important;
    }

    .why-engage-list {
        margin-left: 10% !important;
    }

    .header-nav {
        left: auto;
    }
}

@media screen and (max-width: 1440px) {
    .header-nav {
        left: auto;
    }
}

:root {
    /* Modern Color Palette */
    --primary-dark: #0f172a;
    --primary-blue: #1e293b;
    --accent-blue: #3b82f6;
    --light-blue: #60a5fa;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #64748b;
    --white: #ffffff;
    --black: #0f172a;
    --success-green: #10b981;

    /* Effects */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Animations */
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.col-full {
    margin-left: 11%;
    width: 73%;
}

.col-full h3 {
    font-family: "metropolis-semibold", sans-serif;
    font-size: 24px;
    line-height: 0.3125;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    color: #c71585;
    margin-top: 0;
    margin-bottom: 2.1rem;
}

/* ===== PHONE FIELD WRAPPER ===== */
.phone-field-wrap {
    display: flex;
    align-items: stretch;
}

/* ===== COUNTRY CODE ===== */
.phone-code {
    display: flex;
    height: 48.5px !important;
    margin-top: 8px !important;
}

.phone-code select {
    border: 1px solid #BDC8D3;
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 10px 12px;
    font-size: 15px;
    background-color: #fff;
    cursor: pointer;
    min-width: 70px;
}

/* Dropdown arrow */
.phone-code select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    padding-right: 28px;
}

/* ===== PHONE INPUT ===== */
.phone-number {
    border-radius: 0 4px 4px 0;
}

/* ===== FOCUS STATE (UNIFIED) ===== */
.phone-field-wrap:focus-within select,
.phone-field-wrap:focus-within .phone-number {
    border-color: #1980d8;
}

/* ===== ERROR STATE ===== */
.wf-field-error-active .phone-code select,
.wf-field-error-active .phone-number {
    border-color: #FD6B6D;
    box-shadow: 0 0 1px 1px #F4A2A2;
}

col-full-style {
    font-family: "metropolis-semibold", sans-serif;
    font-size: 24px;
    line-height: 0.3125;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    color: #c71585;
    margin-top: 0;
    margin-bottom: 2.1rem;
}

.intouch-info a {
    font-size: 20px;
}

.contact-number {
    font-size: 20px;
}

.contact-email {
    padding-top: 35px;
}

.intouch-info {
    padding-bottom: 25px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--black);
    /* background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%); */
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 10.1%;
    /* padding: 0 clamp(1rem, 4vw, 2rem); */
}

.added-style {
    width: 90%;
    margin-left: 5%;
}



.contact-header {
    width: 100vw !important; /* Use viewport width */
    margin-left: calc(-50vw + 50%) !important; /* Center align full width */
    margin-right: calc(-50vw + 50%) !important; /* Center align full width */
    background: url('../images/JPG/ContactUs.png') no-repeat center center !important;
    background-size: cover !important; /* Use cover to fill the width */
    background-position: center !important;
    padding: 6rem 0;
    position: relative;
    overflow: hidden !important;
    min-height: 500px !important;
    display: block !important;
    left: 0;
    right: 0;
}
.contact-header::before,
.contact-header::after {
    display: none !important;
}
.intro-text {
    max-width: 48rem;
    margin: 0 auto;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--bounce) forwards 0.6s;
}

/* Section Styles with Staggered Animation */
.section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
    margin: 2rem 0;
    border-radius: clamp(12px, 2vw, 20px);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--light-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease 0.3s;
}

.section.visible::before {
    transform: scaleX(1);
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
    /* Add this */
    left: 50%;
    /* Add this */
    transform: translateX(-50%);
    /* Add this */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    /* Start from left edge of the text */
    width: clamp(3rem, 8vw, 5rem);
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--light-blue));
    border-radius: 2px;
    animation: slideIn 0.6s ease 0.5s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

/* Engagement Options */
.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.25rem, 3vw, 1.75rem);
    margin-top: 2rem;
}

.engagement-card {
    background: var(--light-gray);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
    transition: var(--transition);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.engagement-card.animated {
    opacity: 1;
    transform: translateY(0);
    text-decoration: none;
}

.engagement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.05));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.engagement-card:hover::before {
    transform: translateX(100%);
}

.engagement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-left-color: var(--light-blue);
}

.engagement-card h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
}

.engagement-card p {
    color: var(--dark-gray);
    position: relative;
    z-index: 1;
}

/* Contact Information */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    margin-top: 2rem;
}

.contact-item {
    background: var(--light-gray);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 12px;
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.contact-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.contact-item h4 {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item h4::before {
    content: '📌';
    font-size: 1.2rem;
}

.email-list {
    list-style: none;
}

.email-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.email-list li::before {
    content: '✉️';
    position: absolute;
    left: 0;
    top: 0.1rem;
}

.email-list strong {
    color: var(--accent-blue);
    font-weight: 600;
}

.phone-number {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--accent-blue);
    margin: 0.5rem 0;
    display: block;
}

/* Locations */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: 2rem;
}

.location-card {
    background: var(--light-gray);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 12px;
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.location-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-icon {
    font-size: clamp(2rem, 4vw, 2.5rem);
    animation: float 3s ease-in-out infinite;
}

.location-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--primary-dark);
}

.location-card h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: var(--primary-dark);
}

.location-address {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.global-presence {
    list-style: none;
    margin-top: 1rem;
}

.global-presence li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.global-presence li::before {
    content: '🌍';
    position: absolute;
    left: 0;
}

/* Why Engage */
.why-engage-list {
    margin-left: 10%;
    list-style: none;
    /* margin-left: 23% !important; */
    margin-top: 1.5rem;
    max-width: 42rem;
    margin: 0rem 3rem 3rem 17rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-engage-list li {
    margin-bottom: 1rem;
    padding-left: clamp(2rem, 4vw, 2.5rem);
    position: relative;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
}

.why-engage-list li.animated {
    opacity: 1;
    transform: translateX(0);
}

.why-engage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: clamp(1.2rem, 3vw, 1.4rem);
}

/* Contact Form */
.contact-form {
    background: var(--light-gray);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: clamp(10px, 2vw, 16px);
    margin-top: 2rem;
    border: 1px solid var(--medium-gray);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.contact-form.animated {
    opacity: 1;
    transform: translateY(0);
}

.form-group {
    margin-bottom: clamp(1.25rem, 3vw, 1.5rem);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.form-control {
    width: 100%;
    padding: clamp(0.75rem, 2vw, 0.875rem);
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: clamp(0.95rem, 2vw, 1rem);
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.select-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.textarea-control {
    min-height: clamp(120px, 30vh, 150px);
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(45deg, var(--accent-blue), var(--light-blue));
    color: var(--white);
    padding: clamp(0.875rem, 2vw, 1rem) clamp(2rem, 4vw, 2.5rem);
    border: none;
    border-radius: 8px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    margin: 2rem auto 0;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

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

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(45deg, var(--light-blue), var(--accent-blue));
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-header {
        background-attachment: scroll;
    }

    .section {
        margin: 1.5rem 0;
        padding: clamp(2rem, 6vw, 3rem) clamp(1rem, 4vw, 1.5rem);
    }

    .engagement-grid,
    .contact-info-grid,
    .locations-grid {
        gap: 1.25rem;
    }

    .contact-form {
        padding: clamp(1.5rem, 4vw, 2rem);
    }

    .submit-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
   .contact-header {
        min-height: 200px !important;
        padding: 3rem 0 !important;
        background-size: 95% auto !important;
    }

    .section {
        border-radius: 12px;
    }

    .location-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .email-list li,
    .global-presence li,
    .why-engage-list li {
        padding-left: 1.75rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .engagement-card,
    .contact-item,
    .location-card {
        padding: 1.25rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
.submit-btn:focus,
.form-control:focus,
.select-control:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .section {
        box-shadow: none;
        margin: 1rem 0;
        page-break-inside: avoid;
    }

    .contact-header {
        background: var(--primary-dark);
    }

    .submit-btn {
        display: none;
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}