/* ===== LAYANAN PAGE EMBEDDED STYLES ===== */
/* Recreated styles adapted from home page components */

/* ===== MAIN BANNER SECTION ===== */
.main-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/banner-bg.jpg') center/cover;
    opacity: 0.05;
    z-index: 1;
}

.main-banner .container {
    position: relative;
    z-index: 2;
}

.main-banner .left-content {
    color: #2a2a2a;
    padding-right: 30px;
}

.main-banner .left-content h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #0E0F3B;
    text-shadow: none;
}

.main-banner .left-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    color: #666;
    font-weight: 400;
}

.main-banner .right-image {
    text-align: center;
}

.main-banner .right-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    transition: all 0.4s ease;
}

.main-banner .right-image img:hover {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

/* ===== 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;
}

/* ===== SERVICE ALERT BOXES ===== */
.alert {
    border: none;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 30px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0E0F3B 0%, #F7931E 100%);
    z-index: 1;
}

.alert:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.alert-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.alert-box-icon {
    font-size: 60px;
    color: #0E0F3B;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
}

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

.alert-box-title {
    font-size: 24px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.alert:hover .alert-box-title {
    color: #0E0F3B;
    transform: scale(1.05);
}

.alert-box-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.alert:hover .alert-box-desc {
    color: #555;
    transform: translateY(-2px);
}

/* Button Styling - Selaras dengan Contact View */
.btn-primary {
    background: linear-gradient(135deg, #0E0F3B 0%, #1a1b59 100%) !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 15px 30px !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: inline-block !important;
    box-shadow: 0 4px 15px rgba(14, 15, 59, 0.2) !important;
}

/* ===== BUTTON STYLES ===== */
.alert-box-button-whatsapp,
.btn.btn-primary.alert-box-button-whatsapp,
button.btn-primary.alert-box-button-whatsapp {
    background: linear-gradient(135deg, #0E0F3B 0%, #1a1b59 100%) !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 15px 30px !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: inline-block !important;
    box-shadow: 0 4px 15px rgba(14, 15, 59, 0.3) !important;
    font-size: 16px !important;
    cursor: pointer !important;
}

.alert-box-button-whatsapp::before,
.btn.btn-primary.alert-box-button-whatsapp::before,
button.btn-primary.alert-box-button-whatsapp::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-whatsapp:hover,
.btn.btn-primary.alert-box-button-whatsapp:hover,
button.btn-primary.alert-box-button-whatsapp: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-whatsapp:hover::before,
.btn.btn-primary.alert-box-button-whatsapp:hover::before,
button.btn-primary.alert-box-button-whatsapp:hover::before {
    left: 100%;
}

.alert-box-button-whatsapp:active,
.alert-box-button-whatsapp:focus,
.alert-box-button-whatsapp:focus-visible,
.btn.btn-primary.alert-box-button-whatsapp:active,
.btn.btn-primary.alert-box-button-whatsapp:focus,
.btn.btn-primary.alert-box-button-whatsapp:focus-visible,
button.btn-primary.alert-box-button-whatsapp:active,
button.btn-primary.alert-box-button-whatsapp:focus,
button.btn-primary.alert-box-button-whatsapp:focus-visible {
    background: linear-gradient(135deg, #06061e 0%, #0a0a2e 100%) !important;
    border-color: #06061e !important;
    box-shadow: 0 0 0 0.25rem rgba(14, 15, 59, 0.5) !important;
    color: white !important;
    outline: none !important;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    .main-banner {
        padding: 100px 0 60px;
        min-height: 500px;
    }
    
    .main-banner .left-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .main-banner .left-content h2 {
        font-size: 36px;
    }
    
    .main-banner .left-content p {
        font-size: 16px;
    }
    
    .alert {
        margin-bottom: 25px;
    }
}

/* 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%;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .main-banner {
        padding: 120px 20px 60px 20px;
        min-height: 400px;
    }
    
    .main-banner .left-content h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .main-banner .left-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .section-heading h4 {
        font-size: 28px;
    }
    
    .alert-box {
        padding: 30px 20px;
    }
    
    .alert-box-icon {
        font-size: 50px;
    }
    
    .alert-box-title {
        font-size: 20px;
    }
    
    .alert-box-desc {
        font-size: 14px;
    }
    
    .alert-box-button-whatsapp,
    .btn.btn-primary.alert-box-button-whatsapp,
    button.btn-primary.alert-box-button-whatsapp {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 576px) {
    .main-banner {
        padding: 100px 15px 50px 15px;
        min-height: 350px;
    }
    
    .main-banner .left-content h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .main-banner .left-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .section-heading h4 {
        font-size: 24px;
    }
    
    .alert-box {
        padding: 25px 15px;
    }
    
    .alert-box-icon {
        font-size: 40px;
    }
    
    .alert-box-title {
        font-size: 18px;
    }
    
    .alert-box-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

/* ===== RESPONSIVE FIXES FOR 14 INCH SCREENS ===== */
@media (min-width: 1200px) and (max-width: 1440px) {
    /* Main Banner Optimization */
    .main-banner {
        padding: 100px 40px 60px 40px !important;
    }
    
    .main-banner .left-content h2 {
        font-size: 40px !important;
        line-height: 52px !important;
        margin-bottom: 18px;
    }
    
    .main-banner .left-content p {
        font-size: 15px;
        line-height: 26px;
        margin-bottom: 30px;
    }
    
    /* Service Cards */
    .service-card {
        padding: 30px 25px;
        margin-bottom: 25px;
    }
    
    .service-card h4 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 14px;
        line-height: 24px;
    }
    
    .service-card .service-icon {
        font-size: 45px;
        margin-bottom: 15px;
    }
    
    /* Section Spacing */
    .section {
        padding: 60px 0px;
    }
    
    .section-heading h4 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .section-heading p {
        font-size: 15px;
        line-height: 26px;
    }
    
    /* Process Steps */
    .process-step {
        padding: 25px 20px;
    }
    
    .process-step h5 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .process-step p {
        font-size: 13px;
        line-height: 22px;
    }
}

/* Extra optimization for 1366px screens */
@media (min-width: 1300px) and (max-width: 1400px) {
    .main-banner {
        padding: 90px 30px 50px 30px !important;
    }
    
    .main-banner .left-content h2 {
        font-size: 36px !important;
        line-height: 48px !important;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card h4 {
        font-size: 20px;
    }
    
    .service-card p {
        font-size: 13px;
        line-height: 22px;
    }
}

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

/* For 1366x768 and similar resolutions */
@media (min-width: 1300px) and (max-width: 1400px) {
    /* Hero section with 60px font */
    .main-banner h2,
    .hero-title {
        font-size: 45px !important;
        line-height: 52px !important;
    }
    
    /* Main headings with 50px font */
    .main-heading,
    .service-main-title {
        font-size: 38px !important;
        line-height: 44px !important;
    }
    
    /* Section titles with 48px font */
    .section-title,
    .service-section-title {
        font-size: 36px !important;
        line-height: 42px !important;
    }
    
    /* Subsection headings with 45px font */
    .section-heading h2,
    .service-heading {
        font-size: 35px !important;
        line-height: 42px !important;
    }
    
    /* Card titles with 40px font */
    .service-item h4,
    .process-title {
        font-size: 30px !important;
        line-height: 36px !important;
    }
}

/* For 1024x768 and tablet landscape */
@media (min-width: 1024px) and (max-width: 1199px) {
    /* Hero section with 60px font */
    .main-banner h2,
    .hero-title {
        font-size: 40px !important;
        line-height: 46px !important;
    }
    
    /* Main headings with 50px font */
    .main-heading,
    .service-main-title {
        font-size: 35px !important;
        line-height: 41px !important;
    }
    
    /* Section titles with 48px font */
    .section-title,
    .service-section-title {
        font-size: 34px !important;
        line-height: 40px !important;
    }
    
    /* Subsection headings with 45px font */
    .section-heading h2,
    .service-heading {
        font-size: 32px !important;
        line-height: 38px !important;
    }
    
    /* Card titles with 40px font */
    .service-item h4,
    .process-title {
        font-size: 28px !important;
        line-height: 34px !important;
    }
}

/* For tablet portrait */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Hero section with 60px font */
    .main-banner h2,
    .hero-title {
        font-size: 36px !important;
        line-height: 42px !important;
    }
    
    /* Main headings with 50px font */
    .main-heading,
    .service-main-title {
        font-size: 32px !important;
        line-height: 38px !important;
    }
    
    /* Section titles with 48px font */
    .section-title,
    .service-section-title {
        font-size: 30px !important;
        line-height: 36px !important;
    }
    
    /* Subsection headings with 45px font */
    .section-heading h2,
    .service-heading {
        font-size: 28px !important;
        line-height: 34px !important;
    }
    
    /* Card titles with 40px font */
    .service-item h4,
    .process-title {
        font-size: 24px !important;
        line-height: 30px !important;
    }
}