.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    width: min(1200px, 92vw);
    max-height: 78vh;
    overflow: auto;
    scrollbar-width: none;
    box-sizing: border-box;
}

.contact-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.contact-header h5 {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.8;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px 18px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    min-width: 0;
    box-sizing: border-box;
}

.contact-info {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.07) 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 18px 36px rgba(7, 14, 30, 0.35);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
    display: grid;
    gap: 12px;
    min-width: 0;
    box-sizing: border-box;
}

.contact-info::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -40px;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.26) 0%, transparent 70%);
    pointer-events: none;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: #fff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group textarea {
    resize: vertical;
    min-height: 72px;
}

.submit-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.45) 0%, rgba(118, 75, 162, 0.45) 100%);
    color: white;
    padding: 11px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    box-shadow: 0 8px 20px rgba(20, 30, 60, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.submit-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.22) 45%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    z-index: -1;
}

.submit-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.48);
    box-shadow: 0 12px 24px rgba(20, 30, 60, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.62) 0%, rgba(118, 75, 162, 0.62) 100%);
}

.submit-btn:hover::before {
    transform: translateX(120%);
}

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

.submit-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.info-section {
    margin: 0;
    padding: 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    min-width: 0;
    box-sizing: border-box;
}

.info-section h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.3;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    color: #dbe8ff;
    text-shadow: none;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 11px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.18) 100%);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.28) 0%, rgba(118, 75, 162, 0.26) 100%);
}

.info-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(12, 20, 36, 0.55);
    text-align: center;
    display: grid;
    place-items: center;
    font-size: 15px;
    flex-shrink: 0;
}

.info-text {
    color: rgba(255, 255, 255, 0.93);
    line-height: 1.35;
    font-size: 0.95rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.info-text strong {
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 0.72rem;
    color: rgba(224, 234, 255, 0.92);
}

.info-item a {
    color: #d5ebff;
    text-decoration: none;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    text-shadow: none;
    font-weight: 600;
}

.info-item a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(135, 206, 255, 0.45);
}

.response-note {
    margin: 0;
    opacity: 0.9;
    line-height: 1.55;
    color: rgba(234, 240, 255, 0.92);
    font-size: 0.93rem;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.download-section {
    margin-top: 0;
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    min-width: 0;
    box-sizing: border-box;
}

.download-section h3 {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #dbe8ff;
    text-shadow: none;
}

.download-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.45) 0%, rgba(118, 75, 162, 0.45) 100%);
    color: white;
    padding: 11px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    box-shadow: 0 8px 20px rgba(20, 30, 60, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    min-width: 0;
    box-sizing: border-box;
}

.download-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.22) 45%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    z-index: -1;
}

.download-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.48);
    box-shadow: 0 12px 24px rgba(20, 30, 60, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.62) 0%, rgba(118, 75, 162, 0.62) 100%);
}

.download-btn:hover::before {
    transform: translateX(120%);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.download-btn.secondary {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.58) 0%, rgba(55, 65, 81, 0.58) 100%);
}

.download-btn.secondary:hover {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.72) 0%, rgba(55, 65, 81, 0.72) 100%);
    box-shadow: 0 12px 24px rgba(8, 13, 26, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-header {
        position: fixed;
        top: 72px;
        left: 50%;
        transform: translateX(-50%);
        width: 94vw;
        margin: 0;
    }

    .contact-header h4 {
        margin: 0 0 8px;
        font-size: 1rem;
    }

    .contact-container {
        position: fixed;
        top: 108px;
        left: 50%;
        transform: translateX(-50%);
        width: 94vw;
        max-height: calc(100svh - 198px);
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 12px;
    }
    
    .contact-form,
    .contact-info {
        width: 100%;
        min-width: 0;
        padding: 10px 12px;
    }

    #contact {
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        padding: 0;
    }

    .download-btn {
        width: 100%;
        text-align: center;
    }

    .info-section,
    .download-section {
        padding: 10px;
    }
}
