:root {
    --primary-color: #faa61a;
    --primary-dark: #bf693d;
    --secondary-color: #17295c;
    --dark-blue: #0d47a1;
    --white: #FFFFFF;
    --black: #000000;
    --text-color: #1A202C;
    --light-gray: #f5f5f5;
    --medium-gray: #666666;
    --dark-gray: #333333;
    --border-gray: #e0e0e0;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sora', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header Hero */
.contact-hero {
    background: linear-gradient(135deg, rgba(191, 105, 61, 0.8) 0%, rgba(23, 41, 92, 0.8) 100%),
        url('/images/contact.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0 4rem;
    color: var(--white);
    text-align: center;
    position: relative;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 700px;
    opacity: 0.95;

}

/* Main Content */
.contact-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    max-width: 700px;
}

/* Contact Cards */
.contact-cards {
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.contact-card.primary {
    border-top: 4px solid var(--primary-color);
}

.contact-card.secondary {
    border-top: 4px solid var(--secondary-color);
}

.contact-card.warning {
    border-top: 4px solid var(--warning-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card.secondary .contact-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-blue));
}

.contact-card.warning .contact-icon {
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.contact-card-text {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-detail i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 24px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-gray);
    margin-bottom: 4rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.form-subtitle {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
}

.form-control::placeholder {
    color: #aaa;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark), #d1491f);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2);
    color: var(--white);
}

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

/* Contact Page Refresh */
.contact-page {
    background: linear-gradient(180deg, #f6f9fc 0%, #eef3f9 100%);
}

.contact-hero-lite {
    padding: 50px 0 28px;
}

.contact-kicker {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(190, 105, 60, 0.14);
    color: #8b4d2b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-hero-lite h1 {
    margin: 16px 0 12px;
    font-size: 2.8rem;
    line-height: 1.1;
    color: #102740;
}

.contact-hero-lite p {
    margin: 0 auto;
    max-width: 720px;
    color: #56657a;
    font-size: 1.05rem;
}

.contact-section {
    padding: 24px 0 80px;
    background: transparent;
}

.brand-card {
    position: relative;
    min-height: 100%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(15, 30, 48, 0.17);
}

.brand-card-img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 0.8s ease;
}

.brand-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    background: linear-gradient(to top, rgba(7, 17, 31, 0.86) 0%, rgba(7, 17, 31, 0.28) 55%, transparent 100%);
    transition: transform 0.45s ease;
}

.brand-card:hover .brand-card-img {
    transform: scale(1.07);
}

.brand-card:hover .brand-card-overlay {
    transform: translateY(-6px);
}

.brand-card-overlay h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    letter-spacing: 0.02em;
}

.brand-card-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    max-width: 420px;
}

.contact-form-panel {
    height: 100%;
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e8edf4;
    box-shadow: 0 12px 28px rgba(12, 30, 54, 0.09);
}

.form-head h3 {
    margin: 0 0 6px;
    color: #132a43;
    font-size: 1.6rem;
}

.form-head p {
    margin: 0 0 18px;
    color: #62748a;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.field-full {
    grid-column: 1 / -1;
}

.contact-form-panel .form-label {
    font-weight: 600;
    color: #2a3d53;
}

.contact-form-panel .form-control {
    border: 1px solid #d8e0ea;
    border-radius: 12px;
    padding: 0.8rem 0.95rem;
}

.contact-form-panel .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.22rem rgba(190, 105, 60, 0.18);
}

.btn-submit-contact {
    border: none;
    border-radius: 12px;
    padding: 12px 26px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #faa61a 0%, #faa61a 100%);
    box-shadow: 0 10px 22px rgba(190, 105, 60, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-submit-contact:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(190, 105, 60, 0.36);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-hero-lite {
        padding-top: 54px;
    }

    .contact-hero-lite h1 {
        font-size: 2.2rem;
    }

    .brand-card-img {
        min-height: 360px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-lite h1 {
        font-size: 1.9rem;
    }

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

    .contact-section {
        padding-bottom: 56px;
    }

    .contact-form-panel {
        padding: 20px;
    }

    .contact-hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .map-container {
        height: 350px;
    }

    .form-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .brand-card-img {
        min-height: 300px;
    }

    .brand-card-overlay {
        padding: 20px;
    }

    .btn-submit-contact {
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .map-container {
        height: 300px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Success Message */
.alert-success-custom {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2);
}

/* Loading State */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
