/* ========== VARIABLES & RESET ========== */
:root {
    --primary-green: #2E8B57;
    --secondary-green: #3CB371;
    --light-green: #90EE90;
    --yellow: #FFD700;
    --white: #FFFFFF;
    --dark-green: #1e6b4a;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-dark: #333333;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--primary-green);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-green);
}

.section-title {
    color: var(--primary-green);
    border-bottom: 3px solid var(--yellow);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-green);
}

.text-cirma-primary { color: var(--primary-green); }
.text-cirma-secondary { color: var(--secondary-green); }
.text-cirma-yellow { color: var(--yellow); }

/* ========== LAYOUT & CONTAINERS ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.main-content-container {
    flex: 1;
    min-width: 0;
}

.sidebar-container {
    width: 350px;
    flex-shrink: 0;
}

/* ========== HEADER & NAVIGATION ========== */
#headerCarousel {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

#headerCarousel .carousel-item img {
    height: 280px;
    object-fit: cover;
    width: 100%;
}

#headerCarousel .carousel-caption {
    background: linear-gradient(transparent, rgba(46, 139, 87, 0.9));
    padding: 1.5rem 2rem;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

#headerCarousel .carousel-caption h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#headerCarousel .carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--white);
    opacity: 0.95;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    padding: 0.8rem 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 800;
    color: var(--yellow) !important;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--yellow) !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--yellow) !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== MAIN CONTENT ========== */
.main-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    padding: 2rem;
}

.sidebar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 1.5rem;
    border-left: 4px solid var(--yellow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* ========== SLIDESHOW/CAROUSEL ========== */
#newsSlider {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.news-slider {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.news-slider img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease;
}

.news-slider:hover img {
    transform: scale(1.05);
}

#newsSlider .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

#newsSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: var(--transition);
}

#newsSlider .carousel-indicators button.active {
    background-color: var(--white);
    border-color: var(--yellow);
    transform: scale(1.2);
}

#newsSlider .carousel-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 2.5rem;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
    border-radius: 0;
}

#newsSlider .carousel-caption h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#newsSlider .carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.5;
}

#newsSlider .carousel-control-prev,
#newsSlider .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    opacity: 0.8;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#newsSlider .carousel-control-prev:hover,
#newsSlider .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 1;
    border-color: var(--yellow);
}

/* Mobile-specific caption styles */
.carousel-caption-mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 0.8rem 1rem;
    text-align: left;
}

.carousel-caption-mobile h6 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Hide regular caption on mobile */
.carousel-caption.d-none.d-md-block {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem 2rem;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
}

.carousel-caption.d-none.d-md-block h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption.d-none.d-md-block p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.5;
}

/* ========== ARTIKEL/BERITA ========== */
.news-item {
    border-bottom: 2px solid var(--medium-gray);
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-item:hover {
    background-color: rgba(46, 139, 87, 0.05);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
    padding: 1.5rem;
    margin: 1rem -0.5rem;
}

.news-item .row {
    align-items: flex-start;
}

.news-item img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-item img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
}

.news-item h5 {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.news-item small.text-muted {
    font-size: 0.9rem;
    color: var(--dark-gray) !important;
    display: block;
    margin-bottom: 1rem;
}

.news-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

/* Mobile-specific news styles */
.news-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-title {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-date {
    font-size: 0.8rem;
    color: var(--dark-gray) !important;
    display: block;
    margin-bottom: 0.8rem;
}

.news-excerpt-mobile {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== CARDS ========== */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-header-cirma {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    padding: 1.2rem 1.5rem;
    border-bottom: 3px solid var(--yellow);
}

.card-header-cirma h5 {
    color: var(--white);
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.2rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: var(--light-gray);
    border-top: 1px solid var(--medium-gray);
    padding: 1rem 1.5rem;
}

/* ========== BUTTONS ========== */
.btn-cirma {
    background: linear-gradient(135deg, var(--yellow), #ffed4a);
    color: var(--primary-green);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-cirma:hover {
    background: linear-gradient(135deg, #ffed4a, var(--yellow));
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cirma:active {
    transform: translateY(0);
}

.btn-cirma-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-cirma-outline:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-btn {
    width: 100%;
    transition: var(--transition);
    font-weight: 600;
}

.contact-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ========== TABLES ========== */
.price-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    -webkit-overflow-scrolling: touch;
}

.table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
}

.table thead th {
    color: var(--white);
    font-weight: 700;
    padding: 1rem;
    border: none;
    text-align: center;
    vertical-align: middle;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: rgba(144, 238, 144, 0.1);
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--medium-gray);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* ========== CHARTS ========== */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* ========== PAGINATION ========== */
.pagination {
    margin: 2rem 0 1rem;
    justify-content: center;
}

.page-link {
    color: var(--primary-green);
    border: 2px solid var(--light-green);
    margin: 0 3px;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.page-link:hover {
    background-color: var(--light-green);
    color: var(--primary-green);
    border-color: var(--secondary-green);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-color: var(--primary-green);
    color: var(--white);
}

.page-item.disabled .page-link {
    color: var(--dark-gray);
    background-color: var(--medium-gray);
    border-color: var(--medium-gray);
}

/* ========== PARTNERSHIP SECTION ========== */
.partnership-section {
    background: linear-gradient(135deg, var(--white), var(--light-gray));
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

.partnership-section .section-title {
    text-align: center;
    border-bottom: none;
}

.partnership-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

.blockquote {
    font-style: italic;
    color: var(--primary-green);
    border-left: 4px solid var(--yellow);
    padding-left: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.partnership-logos .card {
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    height: 100%;
}

.partnership-logos .card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.partnership-logos .card-body {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.partnership-logos img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partnership-logos .card:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer h5 {
    color: var(--yellow);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.footer a {
    color: var(--white);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--yellow);
    text-decoration: underline;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-media a:hover {
    background: var(--yellow);
    color: var(--primary-green) !important;
    transform: translateY(-3px);
}

.input-group {
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.input-group .form-control {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.input-group .form-control:focus {
    box-shadow: none;
    border-color: var(--yellow);
}

.input-group .btn {
    padding: 0.75rem 1.5rem;
}

.footer hr {
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    height: 2px;
    opacity: 0.3;
    margin: 2rem 0;
}

/* ========== WEATHER CARD ========== */
.weather-card {
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.weather-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
}

.weather-card .card-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.weather-card .fa-cloud-sun {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* ========== ACTIVITY ITEMS ========== */
.activity-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--light-green), rgba(144, 238, 144, 0.3));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-green);
    transition: var(--transition);
}

.activity-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

/* ========== ORGANIZATION STRUCTURE ========== */
.org-structure {
    background: linear-gradient(135deg, var(--light-green), rgba(144, 238, 144, 0.2));
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--secondary-green);
}

/* ========== TESTIMONIALS ========== */
.testimonial-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--yellow);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* ========== PROJECT TERKINI ========== */
.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-badge {
    background: var(--yellow);
    color: var(--primary-green);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ========== TRIPLE A SECTION ========== */
.triple-a-section {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border: 2px solid var(--light-green);
}

.triple-a-item {
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.triple-a-item:hover {
    transform: translateY(-5px);
}

.triple-a-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* ========== UTILITY CLASSES ========== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-cirma-primary { background-color: var(--primary-green); }
.bg-cirma-secondary { background-color: var(--secondary-green); }
.bg-cirma-light { background-color: var(--light-green); }
.bg-cirma-yellow { background-color: var(--yellow); }

.shadow-cirma { box-shadow: var(--shadow-medium); }
.rounded-cirma { border-radius: var(--border-radius); }

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== LOADING STATES ========== */
.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== ACCESSIBILITY ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    z-index: 10000;
    transition: var(--transition);
}

.skip-link:focus {
    top: 6px;
}

/* ========== PRINT STYLES ========== */
@media print {
    .navbar,
    .footer,
    .sidebar,
    .btn,
    .carousel-control,
    .social-media {
        display: none !important;
    }
    
    .main-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .news-slider {
        height: 450px;
    }
    
    #headerCarousel .carousel-item img {
        height: 320px;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    html {
        font-size: 15px;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .sidebar-container {
        width: 100%;
        margin-top: 1rem;
    }
    
    .sidebar {
        position: static;
    }
    
    .news-slider {
        height: 350px;
    }
    
    #headerCarousel .carousel-item img {
        height: 240px;
    }
    
    #headerCarousel .carousel-caption {
        padding: 1.2rem 1.5rem;
    }
    
    #headerCarousel .carousel-caption h3 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .main-content, .sidebar {
        padding: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* SLIDESHOW MOBILE */
    .news-slider {
        height: 250px !important;
        border-radius: var(--border-radius-sm);
    }
    
    #newsSlider {
        border-radius: var(--border-radius-sm);
    }
    
    #newsSlider .carousel-caption {
        padding: 1rem 1.2rem;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    }
    
    #newsSlider .carousel-caption h5 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    #newsSlider .carousel-caption p {
        font-size: 0.95rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    #newsSlider .carousel-control-prev,
    #newsSlider .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #newsSlider .carousel-indicators {
        bottom: 15px;
    }
    
    #newsSlider .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    /* ARTIKEL MOBILE */
    .news-item {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    
    .news-item:hover {
        padding: 1rem;
        margin: 0.5rem -0.5rem;
        transform: translateY(-2px);
    }
    
    .news-item .row {
        flex-direction: column;
    }
    
    .news-item .col-md-3 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .news-item .col-md-9 {
        width: 100%;
    }
    
    .news-item img {
        height: 150px;
        width: 100%;
        object-fit: cover;
    }
    
    .news-item h5 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .news-item small.text-muted {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .news-item p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .news-item .btn-cirma {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* HEADER CAROUSEL MOBILE */
    #headerCarousel .carousel-item img {
        height: 180px;
    }
    
    #headerCarousel .carousel-caption {
        padding: 0.8rem 1rem;
    }
    
    #headerCarousel .carousel-caption h3 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    #headerCarousel .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
    
    /* PARTNERSHIP MOBILE */
    .partnership-logos .row-cols-2 {
        row-cols: 1 !important;
    }
    
    /* FOOTER MOBILE */
    .footer .col-md-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .social-media {
        justify-content: center;
    }
    
    /* CARDS MOBILE */
    .card-body {
        padding: 1.2rem;
    }
    
    .card-header-cirma {
        padding: 1rem 1.2rem;
    }
    
    /* TABLES MOBILE */
    .price-table {
        font-size: 0.85rem;
    }
    
    .table thead th,
    .table tbody td {
        padding: 0.8rem 0.5rem;
    }
    
    /* PAGINATION MOBILE */
    .pagination {
        flex-wrap: wrap;
        margin: 1.5rem 0 0.5rem;
    }
    
    .page-item {
        margin-bottom: 0.5rem;
    }
    
    .