/* Fix for verify_email.php menu horizontal and content centering */
.main-content {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Ensure navbar menu stays horizontal and right-aligned */
.navbar-nav {
    flex-direction: row !important;
}
.navbar-nav .nav-item {
    margin-left: 1rem;
}
.navbar-nav .dropdown-menu {
    left: auto;
    right: 0;
}
/* 
 * PT Envirometro Lestari Indonesia
 * Main Stylesheet
 * Theme: Modern Minimalist with Nature/Environmental Focus
 */

/* ===== GENERAL STYLES ===== */
:root {
    /* Main Colors - Nature-inspired palette */
    --primary-color: #2E8B57;     /* Sea Green */
    --secondary-color: #3CB371;   /* Medium Sea Green */
    --accent-color: #6B8E23;      /* Olive Drab */
    --light-color: #F5F5F5;       /* White Smoke */
    --dark-color: #333333;        /* Dark Gray */
    --success-color: #4CAF50;     /* Green */
    --info-color: #5BC0DE;        /* Light Blue */
    --warning-color: #F0AD4E;     /* Orange */
    --danger-color: #D9534F;      /* Red */
    
    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Poppins', sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0; /* Removed padding for transparent navbar */
}

/* Add padding only for non-homepage pages */
body:not(.homepage) {
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light-green {
    background-color: rgba(46, 139, 87, 0.1);
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
    padding: 10px 0;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    padding: 5px 0;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover:after,
.navbar-light .navbar-nav .nav-link.active:after {
    width: 80%;
}

.navbar-light .navbar-nav .nav-link.active {
    color: white !important;
    background-color: var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

/* Video Background Styling */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 90%;
    max-width: 1200px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== SECTION STYLES ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
}

/* ===== ABOUT SECTION ===== */

/* Home About Image Styling */
.home-about-image {
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

@media (max-width: 991.98px) {
    .home-about-image {
        max-height: 550px;
    }
}

@media (max-width: 767.98px) {
    .home-about-image {
        max-height: 500px;
    }
}

.about-content h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

.about-feature {
    margin-top: 30px;
}

.about-feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ===== SERVICES SECTION ===== */
.service-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: white;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* ===== CAREER SECTION ===== */
.career-card {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    background-color: white;
    border-left: 4px solid var(--primary-color);
}

.career-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.career-location {
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.career-location i {
    margin-right: 8px;
    color: var(--primary-color);
}

.career-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.career-date {
    color: #888;
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(46, 139, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-form .form-control {
    border-radius: 5px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

/* ===== LOGIN & REGISTER FORMS ===== */
.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.auth-form .form-control {
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.auth-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-container {
    display: flex;
}

.dashboard-sidebar {
    width: 250px;
    background-color: var(--dark-color);
    color: white;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding-top: 80px;
    z-index: 999;
}

.dashboard-content {
    flex: 1;
    margin-left: 250px;
    padding: 90px 30px 30px;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 3px solid var(--primary-color);
}

.sidebar-menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dashboard-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
    height: 100%;
}

.dashboard-card-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-stats {
    display: flex;
    align-items: center;
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 15px;
}

.stats-info h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.stats-info p {
    margin-bottom: 0;
    color: #888;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

footer .social-icons a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    color: var(--primary-color) !important;
}

/* ===== CARD OPTIMIZATION FOR MOBILE ===== */
@media (max-width: 767.98px) {
    /* Make all cards 2 per row on mobile - more specific selectors */
    .row > .col-lg-4:not(.col-6),
    .row > .col-lg-3:not(.col-6),
    .row > .col-md-6:not(.col-6),
    .row > .col-md-4:not(.col-6) {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    /* Optimize all card padding for mobile */
    .card-body {
        padding: 0.75rem !important;
    }
    
    .card-body h3,
    .card-body h4,
    .card-body h5,
    .card-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
    }
    
    .card-body p,
    .card-text {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .card-body i.fa-2x,
    .card-body i.fa-3x,
    .card-body .fa-2x,
    .card-body .fa-3x {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .card-body .mb-4 {
        margin-bottom: 0.75rem !important;
    }
    
    .card-body .mb-3 {
        margin-bottom: 0.5rem !important;
    }
    
    /* Optimize contact info items */
    .contact-item {
        margin-bottom: 0.75rem !important;
    }
    
    .contact-icon {
        font-size: 1rem !important;
        width: 30px !important;
        height: 30px !important;
        margin-right: 8px !important;
    }
    
    .contact-text h5 {
        font-size: 0.8rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .contact-text p {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.25rem !important;
    }
    
    /* Optimize service cards */
    .service-card {
        padding: 1rem !important;
    }
    
    .service-card .card-body {
        padding: 0.75rem !important;
    }
    
    .service-icon {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
        height: 50px !important;
    }
    
    .service-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Optimize career cards */
    .career-card {
        padding: 0.75rem !important;
    }
    
    .career-title,
    .job-card .card-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .career-location,
    .job-meta {
        font-size: 0.7rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .job-meta .badge {
        font-size: 0.65rem !important;
        padding: 4px 8px !important;
    }
    
    /* Optimize why choose us cards */
    .why-choose-card .card-body {
        padding: 0.75rem !important;
    }
    
    /* Optimize list items in cards */
    .card-body ul li {
        font-size: 0.7rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .card-body .btn {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
    }
    
    /* ===== MOBILE-SPECIFIC FIXES ===== */
    
    /* Footer optimization - keep original size */
    footer {
        padding-top: 2rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    footer h6,
    footer h5 {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    footer p,
    footer li,
    footer a {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
    }
    
    footer .social-icons a {
        font-size: 0.9rem !important;
    }
    
    /* CTA Section - keep original size */
    .bg-primary.text-white section,
    section.bg-primary.text-white {
        padding: 2rem 0 !important;
    }
    
    .bg-primary h2,
    .bg-primary h3 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .bg-primary p.lead,
    .bg-primary p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    .bg-primary .btn {
        font-size: 0.95rem !important;
        padding: 0.6rem 1.5rem !important;
    }
    
    /* Timeline (Perjalanan Kami) - make bigger */
    .timeline-item .card-body {
        padding: 1rem !important;
    }
    
    .timeline-item .eco-badge {
        font-size: 0.75rem !important;
        padding: 4px 10px !important;
    }
    
    .timeline-item h4 {
        font-size: 0.95rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .timeline-item p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    /* Team Names (Tim Kami) - adjust font size */
    .card-body.text-center h4.mb-1 {
        font-size: 0.8rem !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
    
    .card-body.text-center p.text-muted {
        font-size: 0.7rem !important;
    }
    
    /* About Section - "Komitmen Kami" */
    .about-content h2,
    section h2 {
        font-size: 1.3rem !important;
    }
    
    .about-content p,
    section > .container > .row p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    .about-content .d-flex h5 {
        font-size: 0.8rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .about-content .d-flex p {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
    }
    
    .about-content .fa-check-circle {
        font-size: 1.3rem !important;
    }
    
    /* Eco badge */
    .eco-badge {
        font-size: 0.75rem !important;
        padding: 5px 12px !important;
    }
    
    /* ===== ADDITIONAL MOBILE FIXES ===== */
    
    /* Mobile Menu - Change text color to green */
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98) !important;
    }
    
    .navbar-nav .nav-link {
        color: var(--primary-color) !important;
    }
    
    .navbar-nav .nav-link.active {
        background-color: var(--primary-color) !important;
        color: white !important;
    }
    
    /* Footer - Make SMALLER like homepage */
    footer {
        padding-top: 1.5rem !important;
        padding-bottom: 1rem !important;
    }
    
    footer h6,
    footer h5 {
        font-size: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    footer p,
    footer li,
    footer a {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.3rem !important;
    }
    
    footer .social-icons a {
        font-size: 0.8rem !important;
    }
    
    /* FAQ Section - Make smaller */
    .accordion-item {
        margin-bottom: 0.5rem !important;
    }
    
    .accordion-button {
        font-size: 0.8rem !important;
        padding: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    .accordion-body {
        font-size: 0.7rem !important;
        padding: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    /* Contact Form - Make smaller */
    .card h3 {
        font-size: 1rem !important;
    }
    
    .form-label {
        font-size: 0.75rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .form-control {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .input-group-text {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    textarea.form-control {
        font-size: 0.75rem !important;
    }
    
    .btn-lg {
        font-size: 0.85rem !important;
        padding: 0.6rem 1.2rem !important;
    }
    
    /* Contact Page - All sections */
    .contact-info h2 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .contact-info p.lead {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    /* Page Header */
    .bg-primary h1,
    .page-header-custom h1 {
        font-size: 1.5rem !important;
    }
    
    .breadcrumb {
        font-size: 0.7rem !important;
    }
    
    /* Section titles and subtitles - consistent with homepage */
    .section-title h2 {
        font-size: 1.3rem !important;
    }
    
    .section-subtitle {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    /* Remove white space issue - ensure no extra padding/margin */
    body {
        margin: 0 !important;
        padding-top: 0 !important;
    }
    
    body:not(.homepage) {
        padding-top: 76px !important;
    }
    
    section {
        padding: 2rem 0 !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* Map container */
    .map-container {
        height: 250px !important;
    }
    
    /* Social links */
    .social-link {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }
    
    /* Alert messages */
    .alert {
        font-size: 0.75rem !important;
        padding: 0.75rem !important;
    }
    
    /* ===== COMPREHENSIVE MOBILE TEXT OPTIMIZATION ===== */
    
    /* All headings - make smaller */
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.3rem !important;
    }
    
    h3 {
        font-size: 1.1rem !important;
    }
    
    h4 {
        font-size: 0.95rem !important;
    }
    
    h5 {
        font-size: 0.85rem !important;
    }
    
    h6 {
        font-size: 0.75rem !important;
    }
    
    /* All paragraphs and text */
    p, .lead {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    /* Services page - all text */
    .service-card h4,
    .service-card .card-title {
        font-size: 0.85rem !important;
    }
    
    .service-card p {
        font-size: 0.7rem !important;
    }
    
    /* Process section - "Proses Kerja Kami" */
    .process-number h4 {
        font-size: 0.9rem !important;
    }
    
    .process-number p {
        font-size: 0.75rem !important;
    }
    
    .process-number .badge {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    
    /* About page - all sections */
    .about-content h2 {
        font-size: 1.2rem !important;
    }
    
    .about-content h3 {
        font-size: 1rem !important;
    }
    
    .about-content p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    /* Team section - Fix name wrapping */
    .card-body.text-center h4 {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.2 !important;
    }
    
    .card-body.text-center .text-muted {
        font-size: 0.65rem !important;
    }
    
    .card-body.text-center p:not(.text-muted) {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
    }
    
    /* Timeline - Make full width */
    .timeline-item {
        padding: 0 !important;
    }
    
    .timeline-item .card {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .timeline:before {
        left: 20px !important;
    }
    
    .timeline-item:before {
        left: 10px !important;
    }
    
    .timeline-item .card-body {
        padding: 1rem !important;
        margin-left: 40px !important;
    }
    
    /* About page - "Komitmen Kami" section */
    .about-content .d-flex {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .about-content .d-flex .me-3 {
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .about-content .d-flex h5 {
        font-size: 0.8rem !important;
    }
    
    .about-content .d-flex p {
        font-size: 0.7rem !important;
    }
    
    /* Eco badge - all pages */
    .eco-badge {
        font-size: 0.7rem !important;
        padding: 4px 10px !important;
    }
    
    /* Button text */
    .btn {
        font-size: 0.75rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    .btn-lg {
        font-size: 0.8rem !important;
        padding: 0.6rem 1.2rem !important;
    }
    
    /* List items */
    ul li, ol li {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    /* Badge */
    .badge {
        font-size: 0.65rem !important;
        padding: 4px 8px !important;
    }
    
    /* Career/Job cards */
    .job-card h4,
    .career-card h4 {
        font-size: 0.85rem !important;
    }
    
    .job-card p,
    .career-card p {
        font-size: 0.7rem !important;
    }
    
    /* Why choose us cards */
    .why-choose-card h4 {
        font-size: 0.85rem !important;
    }
    
    .why-choose-card p {
        font-size: 0.7rem !important;
    }
    
    /* ===== FOOTER MOBILE OPTIMIZATION - PROPER ===== */
    
    /* Footer spacing - make it compact */
    footer.bg-dark {
        padding-top: 1rem !important;
        padding-bottom: 0.5rem !important;
        margin-top: 2rem !important;
    }
    
    /* Footer container - reduce padding */
    footer .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
    }
    
    /* Footer columns - optimize spacing */
    footer .col-6 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    footer .col-md-5,
    footer .col-md-7 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Footer text sizes - override inline styles */
    footer h6[style*="font-size"] {
        font-size: 0.65rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.2 !important;
    }
    
    footer p[style*="font-size"],
    footer a[style*="font-size"] {
        font-size: 0.55rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.25rem !important;
    }
    
    footer .social-icons a[style*="font-size"] {
        font-size: 0.7rem !important;
        margin-right: 0.5rem !important;
    }
    
    /* Footer lists - remove extra spacing */
    footer ul.list-unstyled {
        margin-bottom: 0 !important;
    }
    
    footer ul.list-unstyled li {
        margin-bottom: 0.1rem !important;
        line-height: 1.2 !important;
    }
    
    /* Footer HR */
    footer hr {
        margin: 0.5rem 0 !important;
        opacity: 0.3 !important;
    }
    
    /* Footer copyright */
    footer p[style*="0.8rem"] {
        font-size: 0.6rem !important;
        margin-bottom: 0 !important;
    }
    
    /* ===== TIMELINE FULL WIDTH - PROPER ===== */
    
    /* Timeline container */
    .timeline {
        position: relative;
        padding: 1rem 0 !important;
    }
    
    /* Timeline vertical line */
    .timeline:before {
        content: '';
        position: absolute;
        width: 3px !important;
        background-color: var(--primary-color);
        top: 0;
        bottom: 0;
        left: 20px !important;
        margin-left: -1.5px;
    }
    
    /* Timeline items - full width */
    .timeline-item {
        padding: 0 0 1rem 50px !important;
        position: relative;
        width: 100% !important;
    }
    
    /* Timeline dots */
    .timeline-item:before {
        content: '';
        position: absolute;
        width: 18px !important;
        height: 18px !important;
        background-color: white;
        border: 4px solid var(--primary-color);
        border-radius: 50%;
        top: 15px;
        left: 10px !important;
        z-index: 1;
    }
    
    /* Timeline cards - full width */
    .timeline-item .card {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 10px !important;
    }
    
    /* Timeline card content */
    .timeline-item .card-body {
        padding: 1rem !important;
    }
    
    /* Remove Bootstrap offset classes on mobile */
    .timeline .col-md-6.offset-md-6 {
        margin-left: 0 !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .timeline .col-md-6:not(.offset-md-6) {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 45px;
    }
    
    /* Fix navbar transparent on mobile */
    .navbar-transparent {
        padding: 0.5rem 0;
    }
    
    .navbar-transparent .navbar-brand img {
        height: 45px;
    }
    
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        margin-top: 0;
    }
    
    .hero p {
        font-size: 1rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    
    .hero-content {
        padding: 0 20px;
        top: 52%; /* Move content slightly below center on mobile */
        transform: translate(-50%, -50%);
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .dashboard-sidebar {
        width: 220px;
    }
    
    .dashboard-content {
        margin-left: 220px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 35px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .dashboard-sidebar {
        width: 0;
        transform: translateX(-100%);
        transition: all 0.3s ease;
    }
    
    .dashboard-sidebar.show {
        width: 250px;
        transform: translateX(0);
    }
    
    .dashboard-content {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .navbar-transparent .navbar-brand img {
        height: 40px;
    }
    
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        line-height: 1.3;
        margin-top: 60px; /* More space below navbar on small screens */
    }
    
    .hero p {
        font-size: 0.95rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        line-height: 1.5;
    }
    
    .hero-content {
        padding: 0 15px;
        width: 95%;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 5px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .auth-container {
        padding: 20px;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== UTILITIES ===== */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.shadow-md {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
}

.rounded-lg {
    border-radius: 10px !important;
}

.bg-overlay {
    position: relative;
}

.bg-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.bg-overlay > * {
    position: relative;
    z-index: 2;
}

/* Nature-inspired elements */
.leaf-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/leaf-pattern.svg');
    background-size: 400px;
    opacity: 0.05;
    z-index: 0;
}

.eco-badge {
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 10px;
}

.eco-badge i {
    margin-right: 5px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ===== MOBILE MENU IMPROVEMENTS ===== */
@media (max-width: 991.98px) {
    /* Mobile navbar improvements */
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        margin-top: 10px;
        padding: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin-left: 0 !important;
        margin-bottom: 5px;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(46, 139, 87, 0.1);
        color: var(--primary-color);
        transform: translateX(5px);
    }
    
    .navbar-nav .nav-link.active {
        background-color: var(--primary-color);
        color: white !important;
        font-weight: 600;
    }
    
    .navbar-nav .nav-link.active:hover {
        background-color: var(--secondary-color);
        color: white !important;
    }
    
    /* Dropdown improvements for mobile */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 5px;
        border: none;
        box-shadow: none;
        background-color: rgba(248, 249, 250, 0.8);
        border-radius: 8px;
        padding: 10px 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 10px 20px;
        border-radius: 5px;
        margin: 2px 10px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(46, 139, 87, 0.1);
        color: var(--primary-color);
        transform: translateX(5px);
    }
    
    /* Login button mobile styling */
    .navbar-nav .btn {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
    
    /* Toggle button improvements */
    .navbar-toggler {
        border: none;
        padding: 8px 12px;
        border-radius: 8px;
        background-color: rgba(46, 139, 87, 0.1);
        transition: all 0.3s ease;
    }
    
    .navbar-toggler:hover {
        background-color: rgba(46, 139, 87, 0.2);
        transform: scale(1.05);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(46, 139, 87, 0.25);
    }
    
    /* Icon spacing for mobile */
    .navbar-nav .nav-link i {
        width: 20px;
        text-align: center;
    }
    
    /* User dropdown mobile styling */
    .navbar-nav .dropdown-toggle::after {
        margin-left: auto;
    }
    
    /* Ensure proper spacing */
    .navbar-nav .dropdown-divider {
        margin: 8px 15px;
    }
}

/* ===== DESKTOP MENU IMPROVEMENTS ===== */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        padding: 8px 15px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(46, 139, 87, 0.1);
        color: var(--primary-color);
    }
    
    .navbar-nav .nav-link.active {
        background-color: var(--primary-color);
        color: white !important;
        font-weight: 600;
    }
    
    .navbar-nav .nav-link.active:hover {
        background-color: var(--secondary-color);
        color: white !important;
    }
    
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        padding: 10px 0;
        margin-top: 5px;
    }
    
    .navbar-nav .dropdown-item {
        padding: 10px 20px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(46, 139, 87, 0.1);
        color: var(--primary-color);
        transform: translateX(5px);
    }
}