:root {
    --primary-blue: #1e3a8a;
    --light-blue: #31a7f7;
    --gradient-blue: linear-gradient(to right, #1e3a8a, #3b82f6);
    --white: #ffffff;
    --grey-color: #999999;
    --yellow: #facc15;
    --light-gray: #dedfe0;
    --green-gradient: linear-gradient(to right, #00ff00, #00cc00);
    --purple: #8b5cf6;
    --pink: #ec4899;
}

body {
    margin: 0;
    padding: 0;
    /* background: #f0f0f0; */
}

.contact-pg-sec {
    max-width: 1268px;
    margin: 150px auto;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-pg-sec-box {
    flex: 1;
    min-width: 300px;
    min-height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.26); 
    border-radius: 4px;
    background: transparent;
    position: relative;
    overflow: auto;
}

.contact-pg-sec-form {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.contact-pg-sec-form h2 {
    color: var(--light-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-pg-sec-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 2px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); 
    color: var(--white);
}

.contact-pg-sec-submit {
    width: 100%;
    padding: 0.8rem;
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.contact-pg-sec-submit.success::after {
    content: '✔';
    position: absolute;
    right: 1rem;
    font-size: 1.2rem;
}

.contact-pg-sec-shapes {
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: relative;
    color: var(--white);
    /* background-color: var(--light-blue); */
}

.contact-pg-sec-shapes canvas {
    width: 100% !important;
    height: 100% !important;
    background-color: var(--light-blue);
    position: absolute;
    top: 0;
    left: 0;
    display: block; /* Ensure canvas is visible */
}

@media (max-width: 768px) {
    .contact-pg-sec {
        padding: 1rem;
        gap: 1rem;
    }

    .contact-pg-sec-box {
        height: 400px;
    }
}