/* General & Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/header.jpg') no-repeat center center/cover;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5em;
    color: white;
}

.hero-section p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 20px auto;
}

/* Logo di Header */
.logo-container {
    position: absolute;
    top: 30px;
    left: 20px;
    z-index: 10;
}

.logo-container img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

/* Butang CTA - Dibuat supaya berpusat */
.cta-button {
    display: block;
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* Section Styling */
section {
    padding: 80px 0;
}

.about-section, .process-section, .testimonials-section, .contact-section, .trusted-by-section {
    background-color: #ffffff;
}

.features-section, .portfolio-section, .expertise-section {
    background-color: #ecf0f1;
}

/* Styling untuk Seksyen Kepakaran */
.expertise-section {
    background-color: #fff;
}

.expertise-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    text-align: center;
}

.expertise-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.expertise-item i {
    font-size: 3em;
    color: #34495e;
    margin-bottom: 15px;
}

/* Styling untuk Seksyen Dipercayai Oleh - KOD BARU */
.trusted-by-section {
    background-color: #ffffff;
    text-align: center;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.logo-grid img {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Bahagian Hubungi Kami (Contact Us) */
.contact-section {
    background-color: #ffffff;
    text-align: center;
}

/* Grid Layouts */
.feature-grid, .process-grid, .portfolio-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    text-align: center;
}

.feature-item, .process-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feature-item i, .process-item i {
    font-size: 3em;
    color: #e74c3c;
    margin-bottom: 15px;
}

/* Tentang Kami */
.about-section p {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 15px;
    text-align: center;
}

/* Testimonials */
.testimonial-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-left: 5px solid #e74c3c;
    margin-bottom: 20px;
    border-radius: 5px;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-item span {
    display: block;
    text-align: right;
    font-weight: 600;
    color: #555;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    text-align: center;
    padding: 30px 0;
}

/* Styling untuk Ikon Media Sosial di Footer */
.social-icons {
    margin: 20px 0 10px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #e74c3c; /* Warna merah */
}

/* Responsive Design (untuk mobile) */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5em;
    }
    .hero-section p {
        font-size: 1em;
    }
}

/* Styling untuk Popup (Modal) */
.modal {
    display: none;
    position: fixed;
    z-index: 99;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Animasi untuk modal */
.modal-content, .caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform: scale(0)}
    to {-webkit-transform: scale(1)}
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}