.main-banner {
    background: #f8f9fa;
    padding: 150px 60px 70px 60px !important;
    color: #333;
    position: relative;
    overflow: hidden;
    min-height: 0px;
}

.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-form {
    padding-top: 70px !important;
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-method-card {
    border-radius: 15px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-method-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-card {
    background: #25d366;
}

.video-card {
    background: #4285f4;
}

.form-card {
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: none;
}

.form-control, .form-select {
    border-radius: 15px;
    border: 2px solid #e9ecef;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #0E0F3B;
    box-shadow: 0 0 0 0.2rem rgba(14, 15, 59, 0.25);
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, #0E0F3B 0%, #1a1b59 100%);
    border: none;
    border-radius: 15px;
    padding: 15px 30px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(14, 15, 59, 0.3);
    background: linear-gradient(135deg, #1a1b59 0%, #2a2b69 100%);
    color: white;
}

.btn-outline-primary {
    color: #0E0F3B !important;
    border-color: #0E0F3B !important;
}

.btn-outline-primary:hover {
    background-color: #0E0F3B !important;
    border-color: #0E0F3B !important;
    color: #fff !important;
}

@media (min-width: 769px) and (max-width: 1199px) {
    .contact-info-card .card-body {
        padding: 0.875rem !important;
    }
    
    .contact-icon-circle {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 0.75rem !important;
    }
    
    .contact-info-card h6 {
        margin-bottom: 0.5rem !important;
    }
    
    .contact-info-card p {
        margin-bottom: 0.5rem !important;
    }
}

.bsp-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.bsp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 27, 89, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bsp-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.bsp-card:hover::before {
    opacity: 1;
}

.bsp-card > .card-body {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
}

.bsp-card > .card-body > .card-title {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.bsp-card:hover > .card-body > .card-title {
    color: #1a1b59;
    transform: scale(1.1);
}

.bsp-card > .card-body > .card-text {
    text-align: center;
    transition: all 0.3s ease;
    color: #666;
    font-weight: 500;
}

.bsp-card:hover > .card-body > .card-text {
    color: #1a1b59;
    transform: translateY(-2px);
}

.bsp-card > .card-body > .card-icon {
    color: #1a1b59;
    font-size: 50px;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
}

.bsp-card:hover > .card-body > .card-icon {
    transform: scale(1.2) rotate(5deg);
    color: #F7931E;
    text-shadow: 0 5px 15px rgba(247, 147, 30, 0.3);
}

/* Enhanced Hubungi Sekarang Button Styling */
.alert-box-button-kontak {
    background: linear-gradient(135deg, #0E0F3B 0%, #1a1b59 100%) !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 12px 25px !important;
    font-weight: 600 !important;
    color: white !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(14, 15, 59, 0.2) !important;
}

.alert-box-button-kontak::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.alert-box-button-kontak:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(14, 15, 59, 0.4) !important;
    background: linear-gradient(135deg, #1a1b59 0%, #2a2b69 100%) !important;
    color: white !important;
    text-decoration: none !important;
}

.alert-box-button-kontak:hover::before {
    left: 100%;
}

.no-border {
    border: 0px;
}

.btn-secondary {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    border: none !important;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.btn-secondary::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

.btn-secondary:hover::before {
    left: 100% !important;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
    color: #fff !important;
}

.alert-box-button-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    border: none !important;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3) !important;
}

.alert-box-button-whatsapp::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

.alert-box-button-whatsapp:hover::before {
    left: 100% !important;
}

.alert-box-button-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    color: #fff !important;
}

.main-banner {
    padding-bottom: 5px !important;
}

.stats-cards {
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

/* ===== SECTION HEADING ===== */
.section-heading {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-heading h4 {
    color: #0E0F3B;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-heading h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: #F7931E;
    border-radius: 2px;
}

.section-heading h4 em {
    color: #F7931E;
    font-style: normal;
    position: relative;
}

.section-heading img {
    display: none;
}

/* Contact Method Cards */
.contact-method-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(14, 15, 59, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0E0F3B 0%, #1a1b5e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.contact-title {
    color: #0E0F3B;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: #0E0F3B;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: #1a1b5e;
    text-decoration: underline;
}

/* Office Location Card */
.office-location-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid #dee2e6;
}

.location-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0E0F3B 0%, #1a1b5e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.location-title {
    color: #0E0F3B;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.location-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.location-address {
    color: #495057;
    margin-bottom: 1.5rem;
}

.location-address p {
    margin-bottom: 0.25rem;
}

.location-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Contact info cards */
.contact-info-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    background: #f8f9fa;
}

/* Ensure telephone and email cards stay on same row */
.row.g-2 .col-md-6.col-12:nth-child(1),
.row.g-2 .col-md-6.col-12:nth-child(2) {
    display: inline-block;
    vertical-align: top;
}

@media (min-width: 576px) {
    .row.g-2 .col-md-6.col-12:nth-child(1),
    .row.g-2 .col-md-6.col-12:nth-child(2) {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 0.5rem;
    }
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

.contact-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .main-banner {
        padding: 120px 20px 60px 20px !important;
    }
    
    .hero-gradient {
        padding: 60px 20px 40px 20px;
    }
    
    .contact-form .row {
        margin: 0;
    }
    .contact-form .col-md-6 {
        padding: 0 15px;
    }
    
    .contact-info-card {
        margin-bottom: 0.5rem;
    }
    
    /* Stack cards vertically on small to medium screens */
    .row.g-2 .col-md-6.col-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 0.75rem;
    }
    
    .row.g-2 .col-md-6.col-12:last-child {
        margin-bottom: 0;
    }
    
    .section-heading {
        margin-bottom: 1.5rem !important;
    }
    
    .col-lg-6.mb-3 {
        margin-bottom: 1rem !important;
    }
    
    .alert.mb-3 {
        margin-bottom: 0.75rem !important;
    }
    
    .form-card .card-body {
        padding: 1.5rem !important;
    }
    
    .form-card .text-center {
        margin-bottom: 1.5rem !important;
    }
    
    .form-card h4 {
        margin-bottom: 0.75rem !important;
    }
    
    .contact-info-card .card-body {
        padding: 0.75rem !important;
    }
    
    .contact-icon-circle {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-info-card h6 {
        margin-bottom: 0.25rem !important;
    }
    
    .contact-info-card p {
        margin-bottom: 0.25rem !important;
    }
    
    /* Mobile-specific adjustments */
    .row.g-2 {
        gap: 0.5rem !important;
    }
    
    .col-md-6.col-12 {
        margin-bottom: 0.5rem;
    }
    
    .col-md-6.col-12:last-child {
        margin-bottom: 0;
    }
    

}

@media (max-width: 480px) {
    .main-banner {
        padding: 100px 15px 50px 15px !important;
    }
    
    .hero-gradient {
        padding: 50px 15px 30px 15px;
    }
    
    .contact-info-card .card-body {
        padding: 1rem !important;
    }
    
    .contact-icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-info-card h6 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem !important;
    }
    
    .contact-info-card p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem !important;
    }
    
    .form-card .card-body {
        padding: 1rem !important;
    }
    
    .section-heading h4 {
        font-size: 1.25rem;
    }
    
    /* Force cards to stack vertically on very small screens */
    .row.g-2 .col-md-6.col-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 0.75rem;
    }
    
    .row.g-2 .col-md-6.col-12:last-child {
        margin-bottom: 0;
    }
}

/* Ensure cards stay on same row for tablets and larger screens */
@media (min-width: 768px) {
    .row.g-2 .col-md-6.col-12 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Tablet adjustments (iPad Pro and similar) */
@media (min-width: 769px) and (max-width: 1199px) {
    .contact-info-card .card-body {
        padding: 1.25rem !important;
    }
    
    .contact-icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem !important;
    }
    
    .contact-info-card h6 {
        margin-bottom: 0.5rem !important;
    }
    
    .contact-info-card p {
        margin-bottom: 0.5rem !important;
    }
    
    .contact-form {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .section-heading {
        margin-bottom: 2.5rem !important;
    }
    
    .row.g-2 {
        gap: 1rem;
    }
    
    .col-md-6.col-12:not(:last-child) {
        margin-bottom: 0;
    }
    
    .alert {
        margin-bottom: 1.25rem;
    }
    
    .stats-cards .col-md-3 {
        margin-bottom: 1.5rem;
    }
    
    .main-banner {
        padding-bottom: 2rem !important;
    }
    
    .col-lg-6.mb-3 {
        margin-bottom: 1rem !important;
    }
    
    .alert.mb-3 {
        margin-bottom: 1rem !important;
    }
    
    .form-card .card-body {
        padding: 2rem !important;
    }
    
    .form-card .text-center {
        margin-bottom: 2rem !important;
    }
}

@media (min-width: 1200px) {
    .main-banner {
        padding-bottom: 50px !important;
    }
    
    .stats-cards {
        margin-top: 10px !important;
    }
    
    .contact-form {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

@media (min-width: 1400px) {
    .contact-form {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .section-heading {
        margin-bottom: 2.5rem !important;
    }
    
    .col-lg-6.mb-3 {
        margin-bottom: 2rem !important;
    }
    
    .contact-info-card .card-body {
        padding: 1.25rem !important;
    }
    
    .contact-icon-circle {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        margin-bottom: 1rem !important;
    }
    
    .form-card .card-body {
        padding: 2.5rem !important;
    }
    
    .form-card .text-center {
        margin-bottom: 2.5rem !important;
    }
}

/* ===== RESPONSIVE FONT SIZE OPTIMIZATION FOR CONTACT PAGE ===== */

/* For 1366x768 and similar resolutions */
@media (min-width: 1300px) and (max-width: 1400px) {
    /* Hero section with 50px font */
    .main-banner h2,
    .hero-title,
    .contact-hero-title {
        font-size: 38px !important;
        line-height: 44px !important;
    }
    
    /* Section headings */
    .section-heading h2 {
        font-size: 32px !important;
        line-height: 38px !important;
    }
    
    /* Contact form titles */
    .contact-form-title {
        font-size: 28px !important;
        line-height: 34px !important;
    }
}

/* For 1024x768 and tablet landscape */
@media (min-width: 1024px) and (max-width: 1199px) {
    /* Hero section with 50px font */
    .main-banner h2,
    .hero-title,
    .contact-hero-title {
        font-size: 35px !important;
        line-height: 41px !important;
    }
    
    /* Section headings */
    .section-heading h2 {
        font-size: 30px !important;
        line-height: 36px !important;
    }
    
    /* Contact form titles */
    .contact-form-title {
        font-size: 26px !important;
        line-height: 32px !important;
    }
}

/* For tablet portrait */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Hero section with 50px font */
    .main-banner h2,
    .hero-title,
    .contact-hero-title {
        font-size: 32px !important;
        line-height: 38px !important;
    }
    
    /* Section headings */
    .section-heading h2 {
        font-size: 28px !important;
        line-height: 34px !important;
    }
    
    /* Contact form titles */
    .contact-form-title {
        font-size: 24px !important;
        line-height: 30px !important;
    }
}

/* CTA Section Button Styling */
.btn-success {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    border: none !important;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    text-decoration: none !important;
}

.btn-success::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

.btn-success:hover::before {
    left: 100% !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #20b358 0%, #128c7e 100%) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.btn-outline-light {
    border: 2px solid white !important;
    color: white !important;
    background: transparent !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-outline-light:hover {
    background: white !important;
    color: #1a1b59 !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3) !important;
    text-decoration: none !important;
}

.btn-outline-light:hover::before {
    left: 100%;
}