/* ===== Contact Page Styles ===== */

/* Hero Section */
.contact-hero-section,
.investasi-hero-section {
    background: linear-gradient(201.8deg, #004BA8 9.14%, #031C2C 92%);
    width: 100%;
    min-height: 300px;
    height: auto;
    position: relative;
    overflow: hidden;
    padding: 75px 0 0 0;
}

.contact-hero-wrapper,
.investasi-hero-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    height: 500px;
    position: relative;
}

.contact-hero-content,
.investasi-hero-content {
    padding: 0 60px 0 110px;
    max-width: 600px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.contact-hero-label,
.investasi-hero-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.12em;
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
}

.contact-hero-title,
.investasi-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 0%;
    color: #ffffff;
    margin-bottom: 24px;
}

.contact-hero-border,
.investasi-hero-border {
    width: 100%;
    height: 0.5px;
    background: #606060;
    margin-bottom: 24px;
}

.contact-hero-description,
.investasi-hero-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #E8E8E8;
    max-width: 400px;
}

.contact-hero-image-wrapper,
.investasi-hero-image-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.contact-hero-image,
.investasi-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-hero-image .image-dark,
.investasi-hero-image .image-dark {
    position: relative;
}

.contact-hero-image .image-dark::after,
.investasi-hero-image .image-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000A6;
    z-index: 1;
}   

/* Responsive Hero */
@media (max-width: 1279px) {
    .contact-hero-image-wrapper,
    .investasi-hero-image-wrapper {
        display: none;
    }
    
    .contact-hero-wrapper,
    .investasi-hero-wrapper {
        height: auto;
        min-height: 300px;
    }
    
    .contact-hero-content,
    .investasi-hero-content {
        padding: 60px 40px;
        max-width: 100%;
        text-align: center;
    }
}

@media (min-width: 1280px) {
    .contact-hero-image-wrapper,
    .investasi-hero-image-wrapper {
        display: block;
    }
}

@media (max-width: 1024px) {
    .contact-hero-wrapper,
    .investasi-hero-wrapper {
        flex-direction: column;
    }

    .contact-hero-content,
    .investasi-hero-content {
        padding: 60px 40px;
        max-width: 100%;
    }

    .contact-hero-image-wrapper,
    .investasi-hero-image-wrapper {
        position: relative;
        width: 100%;
        height: 250px;
        clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
    }
}

@media (max-width: 640px) {
    .contact-hero-content,
    .investasi-hero-content {
        padding: 40px 24px;
    }

    .contact-hero-label,
    .investasi-hero-label {
        font-size: 14px;
        line-height: 22px;
    }

    .contact-hero-title,
    .investasi-hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .contact-hero-description,
    .investasi-hero-description {
        font-size: 16px;
        line-height: 24px;
    }

    .contact-hero-image-wrapper,
    .investasi-hero-image-wrapper {
        height: 200px;
    }
}

/* Contact Section with Background */
.contact-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-wrapper {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side: Informasi Kontak Card */
.contact-info-card {
    width: 542px;
    background: linear-gradient(213.4deg, #004BA8 7.6%, #001D42 134.8%);
    border-radius: 50px;
    padding: 48px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    color: #ffffff;
    height: max-content;
}

.contact-info-title {
    font-family: 'Kumbh Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
    margin-bottom: 32px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
}

.contact-value {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #ffffff;
}

.contact-address {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
}

/* Right Side: Hubungi Kami Form */

.contact-form-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: #1C252E;
    margin-bottom: 12px;
}

.contact-form-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #6B7280;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #1C252E;
}

.form-control {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #F9FAFB;
    color: #1C252E;
    transition: all 0.2s ease;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: #004BA8;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 75, 168, 0.1);
}

.form-control::placeholder {
    color: #9CA3AF;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group-half {
    flex: 1;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #004BA8;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
    margin-top: 8px;
}

.btn-submit:hover {
    background: #003d8a;
    transform: translateY(-1px);
}

.btn-submit svg {
    width: 16px;
    height: 16px;
}

/* Map Section */
.map-section {
    position: relative;
    width: 100%;
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.05);
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.map-pin-marker {
    width: 40px;
    height: 48px;
}

.map-pin-label {
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1C252E;
    text-align: center;
    margin-top: 8px;
    white-space: nowrap;
}


.contact-form-card {
    padding: 40px;
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 1279px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .contact-info-card {
        width: 100%;
        max-width: 500px;
    }

    .contact-form-card {
        width: 100%;
        max-width: 500px;
    }

    .contact-section {
        padding: 60px 20px;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .contact-section {
        min-height: 725px;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: row;
        gap: 20px;

    }
}

@media (min-width: 1280px) {
    .contact-wrapper {
        flex-direction: row;
        align-items: stretch;
        gap: 24px;
    }
    
    .contact-info-card {
        width: 542px;
        flex-shrink: 0;
    }
    
    .contact-form-card {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .contact-info-card,
    .contact-form-card {
        padding: 24px;
        border-radius: 16px;
    }

    .contact-info-title {
        font-size: 20px;
        line-height: 28px;
    }

    .contact-form-title {
        font-size: 28px;
        line-height: 36px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .contact-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .contact-icon {
        width: 24px;
        height: 24px;
    }

    .map-container {
        height: 350px;
    }

    .map-pin-label {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* Legacy Styles - Kept for compatibility */
.contact-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    padding: 120px 0 80px;
}

.section-badge {
    background: rgba(0, 75, 168, 0.1);
    color: #004BA8 !important;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    display: inline-block;
}

.bg-light-gradient {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.benefit-section {
    padding: 80px 0;
}

.benefit-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    color: #004BA8;
    margin-bottom: 16px;
}

.benefit-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: #606060;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.benefit-card {
    width: 508px;
    height: 224px;
    padding: 28px 36px;
    background: white;
    border: 1.5px solid #E2E8F0;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #333333;
    margin: 0;
}

.card-divider {
    border: 1px solid #B6DEC7;
    height: 1px;
    margin: 0;
}

.card-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.card-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    margin: 0;
    flex: 1;
}

@media (max-width: 1023.9px) {
    .benefit-cards {
        flex-direction: column;
        align-items: center;
    }

    .benefit-card {
        width: 100%;
        max-width: 508px;
    }
}

@media (min-width: 1024px) {
    .benefit-cards {
        flex-direction: row;
        align-items: stretch;
    }

    .benefit-card {
        flex: 1;
        max-width: 508px;
    }
}

/* Investasi Motor Section Styles */
.investasi-motor-section {
    padding: 80px 0;
}

.investasi-motor-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    color: #004BA8;
    margin-bottom: 16px;
}

.investasi-motor-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: #606060;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.motor-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.motor-image {
    min-height: 300px;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.motor-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.motor-card {
    width: 320px;
    background: white;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.motor-card-icon {
    margin-bottom: 8px;
}

.motor-card-icon .card-icon {
    width: 48px;
    height: 48px;
}

.motor-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    margin: 0;
}

.motor-card-divider {
    border: 1px solid #D2D2D2;
}

.motor-card-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #606060;
    margin: 0;
    text-align: center;
}

@media (max-width: 1200px) {   
    .motor-cards {
        gap: 20px;
        flex-wrap: wrap;
    }

    .motor-card-divider{
        display: none;
    }

    .motor-card {
        width: 100%;
        max-width: 320px;
        border: 1px solid #D2D2D2;
        padding: 20px;
    }
    
    .motor-image {
        width: 100%;
        max-width: 500px;
        height: auto;
    }
}

/* Investasi Growing Section Styles */
.investasi-growing-section {
    padding-bottom: 80px;
    padding-top: 20px;
}

.investasi-growing-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: #004BA8;
    text-align: center;
    margin-bottom: 60px;
}

.investasi-growing-content {
    display: flex;
    justify-content: center;
}

.investasi-growing-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
}

.investasi-growing-image {
    flex: 0 0 60%;
    display: flex;
    justify-content: center;
}

.growing-image {
    width: 650px;
    height: 400px;
    object-fit: contain;
}

.investasi-growing-description {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.investment-summary {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: #004BA8;
}

.unit-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unit-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #606060;
}

.unit-price {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #4A4A4A;
}

.discount-section {
    text-align: right;
}

.discount-amount {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #D10000;
}

.payment-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #E2E8F0;
}

.payment-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #333333;
}

.payment-amount {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #004BA8;
}

.disclaimer {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #606060;
    margin-top: 16px;
}

@media (max-width: 1024px) {
    .investasi-growing-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .investasi-growing-image {
        flex: 1;
        width: 100%;
    }
    
    .investasi-growing-description {
        flex: 1;
        width: 100%;
    }
    
    .growing-image {
        width: 100%;
        max-width: 650px;
        height: auto;
    }
}
