:root {
    --navy:       #1A2744;
    --navy-light: #2C3E6B;
    --gold:       #C9A84C;
    --gold-light: #DFC47A;
    --gold-pale:  #F9F3E3;
    --offwhite:   #F8F9FC;
    --slate:      #64748B;
    --border:     #E2E8F0;
    --text:       #1E293B;
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --shadow-sm:  0 2px 8px rgba(26,39,68,0.07);
    --shadow-md:  0 6px 24px rgba(26,39,68,0.11);
    --shadow-lg:  0 16px 48px rgba(26,39,68,0.15);
    --transition: 0.28s ease;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background-color: var(--offwhite);
}

main{
    background-color: var(--offwhite) !important;
}

.hero-contact {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(223, 196, 122, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-contact h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-contact .subtitle {
    font-size: 1.25rem;
    color: var(--gold-light);
    font-weight: 400;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.hero-breadcrumb a,
.hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.hero-breadcrumb a:hover {
    color: var(--gold);
}

.contact-wrapper {
    background: var(--offwhite);
    padding: 80px 0;
}

.form-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 48px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.form-card:hover {
    box-shadow: var(--shadow-lg);
}

.form-card-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--gold-pale);
}

.form-card-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-card-header p {
    color: var(--slate);
    font-size: 1rem;
    margin-bottom: 0;
}

.form-label {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--gold);
    font-size: 1rem;
}

.form-control {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    color: var(--text);
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
    outline: none;
    background: white;
}

.form-control::placeholder {
    color: #94a3b8;
    font-size: 0.95rem;
}

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

.btn-submit {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy);
    border: none;
    padding: 16px 48px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--navy);
}

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

.btn-submit i {
    margin-right: 8px;
}

.info-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.info-card-header {
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.info-card-header h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: white;
}

.info-card-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    padding: 16px;
    border-radius: var(--radius-md);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.contact-item-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(201, 168, 76, 0.2);
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-item:hover .contact-item-icon {
    background: var(--gold);
    transform: scale(1.05);
}

.contact-item-icon i {
    font-size: 1.4rem;
    color: var(--gold);
    transition: var(--transition);
}

.contact-item:hover .contact-item-icon i {
    color: var(--navy);
}

.contact-item-content h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    color: white;
}

.contact-item-content p {
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.contact-item-content small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.info-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(201, 168, 76, 0.3) 50%, transparent 100%);
    margin: 32px 0;
}

.trust-section {
    background: var(--gold-pale);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-top: 32px;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.trust-section h6 {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

.trust-badge i {
    color: var(--gold);
}

.text-danger {
    color: #DC2626 !important;
}

.form-required-note {
    color: var(--slate);
    font-size: 0.875rem;
    margin-bottom: 24px;
    padding: 12px;
    background: var(--gold-pale);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
}

@media (max-width: 991px) {
    .hero-contact h1 {
        font-size: 2.5rem;
    }
    
    .form-card {
        padding: 32px 24px;
        margin-bottom: 32px;
    }
    
    .info-card {
        padding: 32px 24px;
    }
}

@media (max-width: 575px) {
    .hero-contact {
        padding: 80px 0 60px;
    }
    
    .hero-contact h1 {
        font-size: 2rem;
    }
    
    .contact-wrapper {
        padding: 48px 0;
    }
    
    .form-card,
    .info-card {
        padding: 24px 20px;
    }
    
    .btn-submit {
        padding: 14px 32px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card,
.info-card {
    animation: fadeInUp 0.6s ease-out;
}

.info-card {
    animation-delay: 0.2s;
}

.thank-you-wrapper {
    background: var(--offwhite);
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.thank-you-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.thank-you-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

.success-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, var(--gold-pale) 0%, #fff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: scaleIn 0.5s ease-out;
}

.success-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s ease-out infinite;
}

.success-icon {
    font-size: 56px;
    color: var(--gold);
    animation: checkmark 0.6s ease-out 0.3s both;
}

.thank-you-card h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 16px;
    font-weight: 700;
}

.thank-you-card .lead-text {
    font-size: 1.15rem;
    color: var(--slate);
    margin-bottom: 32px;
    line-height: 1.7;
}

.info-box {
    background: var(--gold-pale);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin: 32px 0;
    text-align: left;
}

.info-box h5 {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text);
}

.info-box ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.info-box ul li i {
    color: var(--gold);
    margin-right: 8px;
    width: 16px;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy);
    border: none;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--navy);
}

.btn-secondary-custom {
    background: white;
    color: var(--navy);
    border: 2px solid var(--border);
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary-custom:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-pale);
}

.contact-quick-info {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.contact-quick-info h6 {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.quick-contact-items {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--slate);
    font-size: 0.9rem;
}

.quick-contact-item i {
    color: var(--gold);
    font-size: 1.1rem;
}

/* Animations */
@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmark {
    from {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you-card > * {
    animation: fadeInUp 0.6s ease-out both;
}

.thank-you-card > *:nth-child(2) { animation-delay: 0.2s; }
.thank-you-card > *:nth-child(3) { animation-delay: 0.3s; }
.thank-you-card > *:nth-child(4) { animation-delay: 0.4s; }
.thank-you-card > *:nth-child(5) { animation-delay: 0.5s; }

/* Responsive */
@media (max-width: 768px) {
    .thank-you-card {
        padding: 48px 24px;
    }

    .thank-you-card h1 {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        justify-content: center;
    }

    .quick-contact-items {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}
