.contact-main {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(255, 214, 102, 0.12), transparent 55%),
                radial-gradient(circle at 80% 20%, rgba(33, 255, 236, 0.22), transparent 55%),
                linear-gradient(135deg, #050b17 0%, #0a2340 45%, #043842 100%);
    color: #fff;
    padding-top: var(--inner-page-section-gap-desktop);
    padding-bottom: 0px;
    overflow: hidden;
}

.contact-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(41, 245, 231, 0.14), transparent 60%),
                radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08), transparent 55%);
    pointer-events: none;
    opacity: 0.75;
    filter: blur(30px);
}

/* Hero Section */
.contact-hero {
    padding: 20px 0 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-hero .sub-title {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 8px 20px rgba(0,0,0,0.45);
}

.contact-hero .main-title {
    font-size: calc(clamp(40px, 8vw, 70px) + 2px);
    line-height: 1.05;
    margin-top: 20px;
    letter-spacing: 0.6px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.4fr;
    gap: 80px;
    padding: 20px 0 20px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* keep above background glow */
}

/* Info Items */
.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    transition: 0.4s ease, transform 0.4s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-6px);
    border-color: rgba(244, 196, 48, 0.55);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.info-icon {
    font-size: 26px;
    background: rgba(241, 196, 15, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.info-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--accent);
}

.info-text p {
    opacity: 0.8;
    line-height: 1.6;
}

/* ==========================================
   FLOATING LABEL CONTACT FORM
   ========================================== */

.contact-form-container {
    background: rgba(19, 16, 40, 0.78);
    padding: 56px 52px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

/* form group */

.form-group {
    position: relative;
    margin-bottom: 30px;
    padding-top: 14px;
}

/* input fields */

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.28));
    padding: 18px 0 12px;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.3s ease;
}

/* floating label */

.form-group label {
    position: absolute;
    left: 0;
    top: 32px;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0.5;
    transform-origin: left top;
    line-height: 1;
}

.form-group .select-label {
    top: 0;
    font-size: 14px;
    color: var(--accent);
    opacity: 1;
}

/* activate floating label */

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 14px;
    color: var(--accent);
    opacity: 1;
}

/* focus highlight */

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--accent);
}

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

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    box-shadow: 0 0 0 1000px transparent inset;
    transition: background-color 9999s ease-in-out 0s;
}

/* ==========================================
   SELECT FIELD (CUSTOM DARK DROPDOWN)
   ========================================== */

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    cursor: pointer;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px;

    padding-right: 28px;
}

/* dropdown options */

.form-group select option {
    background: #1a1635;
    color: #ffffff;
}

/* placeholder option */

.form-group select option:first-child {
    color: #aaa;
}

/* selected option */

.form-group select option:checked {
    background: #2b2754;
    color: #ffffff;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(241, 196, 15, 0.3);
}

.submit-btn:disabled {
    cursor: wait;
    opacity: 0.85;
}

.form-status {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-status.is-visible {
    display: block;
}

.form-status-pending {
    color: #c3f1ff;
    background: rgba(64, 176, 255, 0.14);
    border-color: rgba(110, 197, 255, 0.35);
}

.form-status-success {
    color: #c9ffd8;
    background: rgba(65, 187, 104, 0.16);
    border-color: rgba(122, 239, 157, 0.34);
}

.form-status-error {
    color: #ffd1d1;
    background: rgba(214, 76, 76, 0.16);
    border-color: rgba(255, 151, 151, 0.34);
}

/* Map */
.map-section {
    margin-top: 20px;
    filter: grayscale(1) invert(1) contrast(1.2); /* Premium Dark Map Look */
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-form-container {
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-main {
        padding-top: var(--inner-page-section-gap-mobile);
    }

    .contact-hero {
        padding: 12px 0 40px;
        padding-bottom: 0px;
    }

    .contact-grid {
        gap: 32px;
        padding: 40px 0;
    }

    .info-item {
        padding: 22px;
        margin-bottom: 22px;
    }

    .contact-form-container {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .submit-btn {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .contact-hero .main-title {
        font-size: calc(clamp(30px, 11vw, 42px) + 2px);
    }

    .info-item {
        gap: 14px;
        padding: 18px;
    }

    .info-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
        flex: 0 0 48px;
    }
}

/* Add these to your contact.css */

/* Animation States */
.reveal, .reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Initial offsets to create the "sliding" effect */
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up { transform: translateY(50px); }

/* Ensure the container has a width so it's not invisible */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
