* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333; /* Offset the content below to prevent overlap */
}
/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 60px 40px;
    background-color: #fff;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-in-out;
}

.hero-content {
    max-width: 500px;
    animation: slideInUp 1s ease;
}

.hero-content h1 {
    font-size: 2.5em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: #ff6f61;
    font-weight: bold;
}

.hero-content p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.cta-btn {
    padding: 10px 20px;
    background-color: #01612e;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    animation: buttonPulse 1.5s infinite ease-in-out;
}

.cta-btn:hover {
    background-color: #6da788;
    transform: scale(1.05);
}

.hero-image {
    max-width: 500px;
    display: flex;
    justify-content: center;
    animation: scaleUp 1s ease;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Features Section */
.features {
    padding: 40px 20px;
    text-align: center;
    background-color: #c6dbd1;
    animation: fadeIn 1.5s ease-in-out;
}

.features h2 {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 40px;
}

.feature-cards {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.highlight-features {
    color: #18764d;
}

.card {
    width: 100%;
    max-width: 100%;
    padding: 30px;
    border-radius: 15px;
    text-align: left;
    color: #fff;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #04642c;
    animation: slideInUp 1s ease-in-out;
    min-height: 220px;
    justify-content: center;
    cursor: grab;
}

.card:active {
    cursor: grabbing;
}

.card h3 {
    margin-top: 15px;
    font-size: 1.3em;
    font-weight: bold;
}

.card p {
    font-size: 0.9em;
    color: #e0d6ff;
    margin-top: 10px;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

/* Specific card colors */
.green {
    background-color: #04642c;
}

.yellow {
    background-color: #f9e79f;
    color: #333;
}

.yellow p {
    color: #333;
}

/* Icon styling */
.card i {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    color: #fff;
    background: rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.yellow i {
    color: #333;
    background: rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.1);
}

/* Solutions Section */
.solutions {
    padding: 40px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    animation: fadeIn 1.5s ease-in-out;
}

.solutions-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    gap: 30px;
    flex-wrap: wrap; /* Allows content to wrap on smaller screens */
}

.solutions-image img {
    max-width: 500px;
    width: 100%; /* Ensures full width on smaller screens */
    border-radius: 10px;
}

.solutions-text {
    max-width: 600px;
    width: 100%; /* Ensures full width on smaller screens */
}

.solutions-text h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

.solutions-text h3 .highlight {
    color: #18764d;
}

.solutions-text ul {
    list-style: none;
    padding: 0;
}

.solutions-text li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.solutions-text .number {
    font-size: 1.2em; /* Adjusted font size for better fit */
    color: #fff;
    background-color: #84b194;
    border-radius: 50%; /* Makes it a perfect circle */
    width: 40px;
    height: 40px;
    min-width: 40px; /* Ensures circular shape is maintained */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevents shrinking of the circle */
    transition: transform 0.3s ease;
}
.solutions-text .number:hover {
    transform: scale(1.1);
}
.solutions-text div {
    font-size: 1em;
    color: #555;
}

.solutions-text strong {
    font-weight: bold;
    display: block;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .solutions-content {
        flex-direction: column; /* Stacks image and text vertically */
        text-align: center;
    }

    .solutions-image img {
        width: 80%; /* Adjusts image size for smaller screens */
        margin: 0 auto; /* Centers the image */
    }

    .solutions-text ul {
        text-align: left; /* Aligns text on smaller screens */
    }

    .solutions-text .number {
        width: 35px; /* Smaller circle for mobile */
        height: 35px;
        font-size: 1em; /* Smaller font inside circle */
    }
}

/* General Content Alignment */
.content {
    max-width: 800px;
    margin: 0 auto;
    margin-left: 70px;
    text-align: left;
}
.report-now {
    padding: 40px 20px;
    background-color: #c6dbd1;
}

.features scroll-element {
    padding: 40px 20px;
    background-color: #c6dbd1;
}

.report-container {
    display: flex;
    align-items: center;
    padding-left: 90px;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* Agar responsif */
}

.report-content {
    max-width: 50%;
    flex: 1;
    text-align: left;
}

.report-content h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

.report-content p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.report-btn {
    padding: 10px 20px;
    background-color: #01612e;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.report-btn:hover {
    background-color: #61ad85;
}

.report-image {
    flex: 1;
    text-align: center; /* Center gambar di container */
}

.report-image img {
    max-width: 350px;
    height: auto;
    border-radius: 10px;
}

/* Responsiveness */
@media (max-width: 768px) {
    .report-container {
        flex-direction: column;
        text-align: center;
    }

    .report-content {
        max-width: 100%;
    }

    .report-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* Tentang Kami Section */
.about {
    background-color: #fff;
    padding: 40px 20px;
}

.about .container {
    display: flex;
    flex-wrap: wrap;
    padding-right: 40px;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row-reverse;
}

/* Left Column (Map) */
.about-map {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.about-map h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #18764d;
}

.about-map iframe {
    border-radius: 10px;
    border: none;
    width: 500px;
    height: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Right Column (Text) */
.about-text {
    flex: 1 1 45%;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #18764d;
    text-align: center;
}

.about-text p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
    text-align: justify;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content,
    .report-now .report-content,
    .about .about-content {
        padding-left: 20px;
    }

    .feature-cards {
        flex-direction: column;
    }

    .card {
        width: 80%;
        margin: 10px auto;
        flex: 1 1 100%;
    }

    .hero-content,
    .solutions-content {
        flex-direction: column;
        text-align: center;
    }

    .solutions-image img {
        width: 80%;
    }

    .solutions-text ul {
        text-align: left;
    }
    .solutions-text ul li {
        flex-direction: column;
        text-align: center;
    }
    .number {
        margin: 0 auto;
    }
    .report-container {
        flex-direction: column;
    }
}

/* About Section */
.about {
    padding: 60px 40px;
}

/* Developer Section */
.developer-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    width: 70%;
}

.page-btn {
    padding: 5px 12px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    margin: 0 7px;
    font-size: 16px;
    color: #6b7280;
}

.page-btn.active {
    background-color: #6b7280;
    color: #fff;
}

/* Responsive Styles */
@media screen and (max-width: 1385px) {
    .filters-sidebar-admin {
        position: static;
        width: 100%;
        margin-top: 20px;
        right: auto;
        top: auto;
    }
}

@media (max-width: 768px) {
    .filters-admin {
        flex-direction: column;
        padding-left: 20px;
    }

    .table-filters-container-admin {
        flex-direction: column;
    }

    .filters-sidebar-admin {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 20px;
    }

    .table-container-admin table {
        width: 100%;
    }

    .filter-input-admin input,
    .filter-date-admin input {
        max-width: 100%;
    }

    .pagination {
        width: 100%;
        justify-content: center;
    }

    .page-btn {
        padding: 10px;
        font-size: 14px;
    }
}

.swiper {
    overflow: visible;
    padding-left: 20px;
    padding-right: 20px;
}

.swiper-slide {
    width: 280px !important; /* atur lebar sesuai ukuran desain */
    flex-shrink: 0 !important ;
    transition: transform 0.3s ease;
}

.swiper-slide.card {
    margin: 0 10px;
}

.swiper-slide-active {
    transform: scale(1.05);
    z-index: 2;
}
