
        
body, html {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&display=swap');
.footer-bg {
      background-color: var(--colors-base-default-foreground, #000000);
      background-image: 
      linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
        
      background-size: 60px 60px;
      border-radius: var(--layout-radius-radius-4xl, 1.875rem);
      padding: var(--layout-spacing-2.5rem, 2.5rem)
        var(--layout-spacing-1.5rem, 1.5rem)
        var(--layout-spacing-2.5rem, 2.5rem)
        var(--layout-spacing-1.5rem, 1.5rem);
      display: flex;
      flex-direction: column;
      gap: 24px;
      font-family: 'Instrument sans';
      align-items: center;
      justify-content: flex-start;
      width: 80%;
      height: auto;
      position: absolute;
      left: 50%;
      top: 11.875rem;
      transform: translateX(-50%);
      overflow: hidden;
      position: relative; /* Required for before/after positioning */
}

.footer-bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(
circle at 50% 50%,
rgba(255, 255, 255, 0.1),
transparent 70%
);
pointer-events: none; /* Ensure it's non-interactive */
z-index: 1; /* Ensure it sits on top of the main background */
}

.footer-bg::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: 
linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), /* Original vertical line */
linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); /* Original horizontal line */

background-size: 60px 60px;
animation: gridMove 20s linear infinite;
pointer-events: none;
z-index: 2; /* Ensure it sits above the glow effect */
}

@keyframes gridMove {
0% {
transform: translateY(0);
}
100% {
transform: translateY(50px);
}


}

/* Add gradient overlay to fade edges */
.new-footer::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(
rgba(0, 0, 0, 0.3) 0%,
rgba(0, 0, 0, 0) 20%,
rgba(0, 0, 0, 0) 80%,
rgba(0, 0, 0, 0.3) 100%
);
pointer-events: none;
}


.required {
    color: #ff0000;
    margin-left: 4px;
}

/* Optional: Add hover tooltip */
label .required {
    position: relative;
    cursor: help;
}

label .required:hover::after {
    content: 'This field is required';
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}


.content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8rem 1rem 2rem;
    background-image: url('37.png');
    background-size: cover;
    background-position: center;
}

.form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

h1 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Instrument Sans', sans-serif;
    text-align: center;
}

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

label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #333;
    font-family: 'Instrument Sans', sans-serif;
}

input, textarea, select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
}

textarea {
    height: 100px;
    resize: vertical;
}

.phone-input {
    display: flex;
}

.phone-input select {
    width: 30%;
    margin-right: 0.5rem;
}

.phone-input input {
    width: 70%;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: #0066ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0052cc;
}

.terms {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.terms a {
    color: #0066ff;
    text-decoration: none;
}

.footer {
    background-color: black;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.footer h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-family: 'Instrument Sans', sans-serif;
}

.footer p {
    color: #D1D5DB;
    margin-bottom: 2rem;
}

.footer-contact {
    max-width: 600px;
    margin: 0 auto;
}

.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

.contact-button {
    display: inline-block;
    background-color: #0066ff;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #0052cc;
}

.background-top {
    background: var(--default-100, #dfe1e7);
    width: 100vw; /* Changed to viewport width */
    height: 21.6875rem;
    position: absolute;
    left: 50%; /* Center the element */
    transform: translateX(-50%); /* Center the element */
    top: 0;
    box-sizing: border-box; /* Ensure padding is included in width */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Add a wrapper to contain the overflow */
.contact-container {
    min-height: 90vh;
    flex: 1; /* Takes up remaining space */
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: var(--layout-spacing-2.5rem, 2.5rem);
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    left: 50%;
    top: 3.125rem;
    transform: translateX(-50%);
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: var(--layout-spacing-1rem, 1rem);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.footer-bg {
    background-color: #000000;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 85%;
    height: 343px;
    box-sizing: border-box;
    padding: 40px 20px;
}

/* Animated grid background */
.footer-bg::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: -5px;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 15s linear infinite;
}

/* Glow effect */
.footer-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.1),
        transparent 70%
    );
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(30px);
    }
}

.title {
    color: var(--colors-base-default-foreground, #000000);
    text-align: center;
    font-family: 'InstrumentSans-SemiBold', sans-serif;
    font-size: 2.5rem;
    line-height: 120%;
    letter-spacing: -0.01em;
    font-weight: 600;
    position: relative;
}

.subtitle {
    color: var(--colors-base-text-paragraph, #666d80);
    text-align: center;
    font-family: 'InstrumentSans-Regular', sans-serif;
    font-size: 1rem;
    line-height: 160%;
    letter-spacing: -0.01em;
    font-weight: 400;
    position: relative;
}

.footer-title {
    color: var(--colors-base-background, #ffffff);
    text-align: center;
    font-family: 'InstrumentSans-SemiBold', sans-serif;
    font-size: 1.5rem;
    line-height: 290%;
    letter-spacing: -0.01em;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.footer-text {
    color: var(--colors-base-background, #ffffff);
    text-align: center;
    font-family: 'InstrumentSans-Medium', sans-serif;
    font-size: 1.125rem;
    line-height: 155%;
    font-weight: 500;
    position: relative;
    width: 100%;
    max-width: 37.125rem;
    z-index: 1;
}

.social-logos {
    display: flex;
    flex-direction: row;
    gap: var(--layout-spacing-1.25rem, 1.25rem);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.logos-icon4 {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logos-icon4:hover {
    transform: translateY(-3px);
}

.contact-button {
    margin-top: 20px;
    background: var(--color-primary-300, #0179ff);
    border-radius: 6.25rem;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 3.25rem;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(1, 121, 255, 0.2);
}

.contact-button:hover {
    background-color: #0060cc;
    transform: translateY(-2px);
}

.contact-button:active {
    transform: translateY(0);
}

.button-text {
    color: var(--colors-base-background, #ffffff);
    text-align: center;
    font-family: 'InstrumentSans-SemiBold', sans-serif;
    font-size: 1rem;
    line-height: 155%;
    letter-spacing: -0.01em;
    font-weight: 600;
    position: relative;
}

/* Edge gradient overlay */
.footer-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0) 20%,
        rgba(0, 0, 0, 0) 80%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
}

/* Media Queries */
@media (max-width: 1024px) {
    .contact-container {
        width: 100%;
        padding: 1.5rem;
        overflow-x: hidden;
    }
    
    .background-top {
        height: 20rem; /* Slightly reduce height for better proportions */
    }
    
    .mask-group {
        width: 100%;
        max-width: 40rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .footer-title {
        font-size: 1.25rem;
    }
    
    .footer-text {
        font-size: 1rem;
    }

    .logos-icon4 {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 1rem;
        height: auto; /* Allow container to adapt to content */
        min-height: 32.25rem;
    }
    
    .background-top {
        height: 18rem; /* Further reduce height for mobile */
    }
    
    .footer-bg {
        height: auto;
        min-height: 343px;
        padding: 30px 15px;
    }
    
    .mask-group {
        max-width: 30rem;
    }
    
    .title {
        font-size: 1.75rem;
    }
    
    .footer-title {
        font-size: 1.25rem;
    }
    
    .footer-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0.5rem;
    }
    
    .background-top {
        height: 16rem; /* Smallest height for mobile */
    }
    
    .mask-group {
        max-width: 20rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-text {
        font-size: 0.75rem;
    }

    .logos-icon4 {
        width: 30px;
        height: 30px;
    }

    .social-logos {
        gap: 12px;
    }
}