/* ===== GLOBAL ===== */
body {
    font-family: 'Inter', sans-serif;
    color: #222;
    background-color: #f7f8fa;
    line-height: 1.6;
}

/* ===== HERO SECTION ===== */
.contact-hero {
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,140,80,0.25), transparent 50%),
        linear-gradient(135deg, #EF8220 0%, #FF7A1A 40%, #FF9E6D 100%);
    color: #fff;
    text-align: center;
    padding: 140px 20px 100px;
    margin-top: var(--navbar-height);
    position: relative;
    overflow: hidden;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ===== CONTACT INFO CARDS ===== */
.contact-info-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 60px 20px;
    background-color: #fff;
}

.contact-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    padding: 35px 25px;
    max-width: 280px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #EF8220;
}

.contact-card p {
    font-size: 0.95rem;
    color: #666;
}

.contact-card a {
    color: #EF8220;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card .icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #EF8220;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
    padding: 100px 20px;
    background: #f7f8fa;
}

/* GRID */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== LEFT SIDE ===== */
.contact-side-info h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #111;
}

.contact-side-info p {
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #333;
}

.highlight i {
    color: #EF8220;
}

/* ===== FORM WRAPPER ===== */
.contact-form-wrapper {
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* ===== FORM LAYOUT ===== */
.form-row {
    display: flex;
    gap: 20px;
}

/* ===== FLOATING FORM GROUP ===== */
.form-group.floating {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* INPUTS */
.form-group.floating input,
.form-group.floating textarea {
    width: 100%;
    padding: 16px 14px;
    background: #f5f7fa;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: all 0.25s ease;
}

/* LABEL */
.form-group.floating label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.25s ease;
}

/* FLOAT EFFECT */
.form-group.floating input:focus + label,
.form-group.floating input:not(:placeholder-shown) + label,
.form-group.floating textarea:focus + label,
.form-group.floating textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    color: #EF8220;
    background: #fff;
    padding: 0 6px;
}

/* FOCUS */
.form-group.floating input:focus,
.form-group.floating textarea:focus {
    background: #fff;
    border-color: #EF8220;
    box-shadow: 0 0 0 3px rgba(239,130,32,0.15);
}

/* PLACEHOLDER CONTROL */
.form-group.floating input::placeholder,
.form-group.floating textarea::placeholder {
    color: transparent;
    transition: color 0.2s ease;
}

.form-group.floating input:focus::placeholder,
.form-group.floating textarea:focus::placeholder {
    color: #aaa;
}

/* ===== BUTTON ===== */
.contact-form button {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #EF8220 0%, #FF6A00 50%, #FFA366 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(239,130,32,0.35);
    background-position: right center;
}

/* ===== BUTTON LOADER ===== */
#submit-btn {
    position: relative;
    overflow: hidden;
}

.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

button.loading .btn-text {
    opacity: 0.7;
}

button.loading .btn-loader {
    display: block;
}

/* ===== FORM MESSAGE ===== */
.form-message {
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    display: none;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.form-message.success {
    background-color: #e6f9ec;
    color: #1e7e34;
    border: 1px solid #1e7e34;
    animation: fadeInScale 0.4s ease;
}

.form-message.error {
    background-color: #fdecea;
    color: #b02a37;
    border: 1px solid #b02a37;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== SELECT FIX (FLOATING SUPPORT) ===== */
.select-group select {
    width: 100%;
    padding: 16px 14px;
    background: #f5f7fa;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* FOCUS */
.select-group select:focus {
    background: #fff;
    border-color: #EF8220;
    box-shadow: 0 0 0 3px rgba(239,130,32,0.15);
}

/* FLOAT LABEL FOR SELECT */
.select-group select:focus + label,
.select-group select:valid + label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    color: #EF8220;
    background: #fff;
    padding: 0 6px;
}

.select-group {
    position: relative;
}

.select-group::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-side-info {
        text-align: center;
    }

    .contact-side-info p {
        margin-left: auto;
        margin-right: auto;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}