/* Modern Overrides for BPR Website */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700&display=swap');

/* General Visuals */
body {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #4b5563 !important; /* Modern Gray-700 */
    background: #f3f4f6 !important; /* Light Gray-100 */
    background-image: none !important; /* Remove old pattern */
}

h1, h2, h3, h4, h5, h6, .big-title h1 {
    font-family: 'Poppins', sans-serif !important;
    color: #111827 !important; /* Gray-900 */
    font-weight: 600 !important;
    letter-spacing: -0.01em;
}

#container {
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05) !important;
    max-width: 100%;
    margin: 0 auto;
}

/* Navbar Modernization */
.navbar-default {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border-bottom: none !important;
    position: relative;
    z-index: 1000 !important; /* Elevate navbar container */
}

/* Elevate header as well to be safe */
header {
    position: relative;
    z-index: 1000 !important;
}

.top-bar {
    background-color: #1f2937; /* Dark modern gray */
    color: #d1d5db;
    border-bottom: none !important;
}

.top-bar a, .top-bar .contact-details li a, .top-bar .social-list li a {
    color: #e5e7eb !important;
}

.navbar-default .navbar-nav > li > a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #374151 !important; /* Gray-700 */
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.navbar-default .navbar-nav > li > a.active, 
.navbar-default .navbar-nav > li:hover > a {
    color: #dc2626 !important; /* Modern Red */
    border-bottom: 2px solid #dc2626 !important;
}

/* Cards & Service Boxes */
.service-box, .team-member, .post-row, .pricing-table, .image-service-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.3s ease-in-out;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.service-box:hover, .team-member:hover, .post-row:hover, .pricing-table:hover, .image-service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #fed7aa; /* Subtle highlight */
}

/* Service Icons */
.service-icon i {
    color: #dc2626 !important;
    font-size: 2.5em;
    margin-bottom: 20px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-box:hover .service-icon i {
    transform: scale(1.1);
}

/* Buttons */
.btn-system, a.main-button, .slider.btn {
    background-color: #dc2626 !important; /* Red-600 */
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.25);
    transition: all 0.3s ease !important;
}

.btn-system:hover, a.main-button:hover, .slider.btn:hover {
    background-color: #b91c1c !important; /* Red-700 */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3);
}

/* Footer (assuming there is one, keeping it clean) */
footer {
    background: #111827 !important;
    color: #9ca3af !important;
}

footer h4.classic-title span {
    border-bottom-color: #374151 !important;
}

/* Portfolio / Gallery Items */
#portfolio-list li {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Testimonials */
.classic-testimonials .testimonial-content {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 25px !important;
    font-style: italic;
    color: #4b5563 !important;
}

/* Headlines & Titles */
.big-title h1 strong {
    color: #dc2626;
}

.classic-title {
    border-bottom: 1px solid #e5e7eb !important;
    margin-bottom: 20px;
}

.classic-title span {
    display: inline-block;
    border-bottom: 3px solid #dc2626 !important;
    padding-bottom: 8px;
    font-size: 18px;
}

/* Parallax Text */
.parallax-text-container-1 {
    background: rgba(0,0,0,0.6) !important; /* Darker overlay for readability */
}

/* Portfolio Section */
.section.full-width-portfolio {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.portfolio-item-content {
    background: rgba(220, 38, 38, 0.9) !important;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .service-box, .team-member {
        margin-bottom: 20px;
    }
    
    .big-title h1 {
        font-size: 24px !important;
    }
}

/* Modern Dropdown Styles */
.navbar-default .navbar-nav .dropdown {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 15px 0 10px 0; /* Add top padding internally */
    margin-top: 0 !important; /* Remove external gap to prevent flashing */
    z-index: 9999 !important; /* Ensure on top of everything */
}

/* Ensure arrow / indicator looks good */
.navbar-default .navbar-nav .dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 20px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0,0,0,0.05);
}

.navbar-default .navbar-nav .dropdown li {
    border-top: none !important; /* Remove old lines */
}

.navbar-default .navbar-nav .dropdown li a {
    padding: 10px 20px;
    font-weight: 400;
    font-size: 14px;
    color: #4b5563 !important;
    transition: all 0.2s;
    background: transparent;
}

.navbar-default .navbar-nav .dropdown li a:hover {
    background-color: #fef2f2; /* Light Red BG */
    color: #dc2626 !important;
    padding-left: 25px; /* Slide effect */
}

/* PDF Report Cards */
.report-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.report-item {
    width: 100%;
    padding: 10px;
}
@media (min-width: 768px) {
    .report-item { width: 50%; }
}
/*@media (min-width: 992px) {
    .report-item { width: 33.333%; }
}*/ 
/* Staying with 2 col for sidebar space, or maybe 3 if space allows */

.report-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.report-card:hover, .report-card.active {
    border-color: #EE3733;
    box-shadow: 0 5px 15px rgba(238, 55, 51, 0.15);
    transform: translateY(-3px);
}
.report-card .icon {
    font-size: 32px;
    color: #EE3733;
    margin-bottom: 15px;
}
.report-card h4 {
    font-size: 14px;
    margin: 0;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}
.report-card .btn-preview {
    margin-top: 15px;
    font-size: 12px;
    padding: 6px 15px;
    border-radius: 20px;
    background: #f4f4f4;
    color: #666;
    display: inline-block;
    transition: all 0.2s;
}
.report-card:hover .btn-preview, .report-card.active .btn-preview {
    background: #EE3733;
    color: #fff;
}

/* Profile Timeline Styles */
.history-section {
    position: relative;
    padding: 20px 0;
    margin-top: 30px;
}
.history-item {
    padding-left: 30px;
    border-left: 2px solid #e1e1e1;
    padding-bottom: 30px;
    position: relative;
}
.history-item:last-child { 
    border-left: 2px solid transparent;
    padding-bottom: 0; 
}
.history-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #EE3733;
    border-radius: 50%;
}
.history-year {
    font-size: 20px;
    font-weight: 700;
    color: #EE3733;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}
.history-content {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    text-align: justify;
}

/* Modern PDF Button Styles (Orange Theme) for Laporan Pages */
#pdf-buttons .btn {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important; /* Neutral border initally */
    border-radius: 10px !important;
    padding: 14px 20px 14px 50px !important; /* Left padding for icon space */
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #4b5563 !important;
    text-align: left !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
}

/* Add PDF Icon using pseudo-element */
#pdf-buttons .btn::before {
    content: '\f1c1'; /* FontAwesome PDF Icon */
    font-family: 'FontAwesome';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #f97316; /* Modern Orange */
    transition: all 0.3s ease;
}

/* Hover State */
#pdf-buttons .btn:hover {
    background: #fff7ed !important; /* Very Light Orange */
    border-color: #f97316 !important;
    color: #c2410c !important; /* Darker Orange text */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.15) !important;
    padding-left: 55px !important; /* Subtle slide effect */
}

/* Active State - Gradient Orange */
#pdf-buttons .btn.active {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%) !important; /* Elegant Orange Gradient */
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4) !important;
    padding-left: 55px !important;
}

#pdf-buttons .btn.active::before {
    color: #ffffff !important; /* White icon on active */
}

