*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
    list-style: none;
    background: #f5f5f5;
    color: #333;
}
/*Gambar yang berada di Home*/
.slider {
    position: relative;
    width: 80%;
    max-width: 1000px;
    overflow: hidden;
    margin: 0 auto;
    padding: 20px 0;
}

.slide {
    display: none;
    width: 100%;
    text-align: center;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}
/*Tombol Next dan Prev yang berada di Home */
#prev, #next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

#prev:hover, #next:hover {
    background: rgba(0,0,0,0.8);
}
/*Footer*/
footer {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-section {
    text-align: center;
    margin-bottom: 10px;
}

.footer-section h4 {
    color: #333;
    margin-bottom: 15px;
}
/*Social Media*/
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #ef3333;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #cc0000;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
    margin: 0;
}
/*Navbar*/
.navbar{
    width: 100%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
}
/*Logo*/
.logo{
    width: 150px;
    cursor: pointer;/*ukuran logo*/

}
/*Menu Navbar*/
.navbar ul li{
    list-style: none;
    display: inline-block;
    margin: 0 20px;
    position: relative;
}
.navbar ul li a{
    text-decoration: none;
    color: #ef3333;
    text-transform: uppercase;
}
/*Hover*/
.navbar ul li::after{
    content: '';
    height: 3px;
    width: 0;
    background: #ef3333;
    position: absolute;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}
.navbar ul li:hover::after{
    width: 100%;
}


.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Warna khusus untuk setiap platform */
.fa-facebook:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}


.fa-instagram:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}


.fa-whatsapp:hover {
    transform: translateY(-5px); 
    transition: all 0.3s ease;
}


/*About*/
.about-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.company-profile {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.company-profile h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h2 {
    color: #444;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.profile-section p {
    line-height: 1.6;
    color: #333;
    text-align: justify;
}
/*Visi dan Misi*/
.vision-mission {
    margin-bottom: 30px;
}

.vision-mission h2 {
    color: #444;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.vision, .mission {
    background-color: #fafafa;
    padding: 20px;
    margin-bottom: 15px;
}

.vision h3, .mission h3 {
    color: #333;
    margin-bottom: 1px;
    font-size: 1.5em;
}

.mission ul {
    padding-left: 20px;
}

.mission ul li {
    margin-bottom: 8px;
    color: #666;
}
/*Services*/
.services {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.services h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #444;
    font-size: 1.5em;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}

.service-item {
    background-color: #fafafa;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.service-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.service-item p {
    color: #666;
    line-height: 1.4;
}


/*Contact*/
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 2em;
}

.contact-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.contact-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h2 {
    color: #ef3333;
    margin-bottom: 15px;
    font-size: 1.5em;
    text-align: center;
}

.contact-details {
    color: #666;
}

.contact-details p {
    margin-bottom: 10px;
    line-height: 1.6;
}
/* Responsif untuk layar besar (diatas 1200px) */
@media screen and (min-width: 1200px) {
    .contact-container {
        max-width: 1400px;
        padding: 60px 40px;
    }
    
    .contact-locations {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .contact-card {
        padding: 35px;
    }
    
    .contact-container h1 {
        font-size: 2.5em;
        margin-bottom: 50px;
    }
    
    .contact-card h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    
    .contact-details p {
        font-size: 1.1em;
        line-height: 1.8;
        margin-bottom: 15px;
    }
    
    .contact-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
}

/* Optimasi untuk layar extra large (1600px+) */
@media screen and (min-width: 1600px) {
    .contact-container {
        max-width: 1600px;
    }
    
    .contact-locations {
        gap: 50px;
    }
    
    .contact-card {
        padding: 40px;
    }
}

/* Optimasi untuk layar 4K (2560px+) */
@media screen and (min-width: 2560px) {
    .contact-container {
        max-width: 2000px;
    }
    
    .contact-container h1 {
        font-size: 3em;
    }
    
    .contact-card h2 {
        font-size: 2em;
    }
    
    .contact-details p {
        font-size: 1.3em;
    }
}

/* Untuk transform */
.element {
    -webkit-transform: scale(1);  /* Safari/Chrome */
    -moz-transform: scale(1);     /* Firefox */
    -ms-transform: scale(1);      /* IE */
    -o-transform: scale(1);       /* Opera */
    transform: scale(1);          /* Standar */
}

/* Untuk backface-visibility */
.element {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}
/* Optimasi untuk layar 1440px */
@media screen and (min-width: 1440px) {
    .contact-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px;
    }
    
    .contact-locations {
        gap: 40px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-card {
        padding: 30px;
    }
    
    .contact-container h1 {
        font-size: 2.5em;
        margin-bottom: 40px;
    }
    
    .contact-card h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    
    .contact-details p {
        font-size: 1.1em;
        line-height: 1.6;
    }
}

/* Mobile Kecil (320px - 480px) */
@media screen and (max-width: 480px) {
    .contact-container {
        padding: 15px 10px;
        width: 100%;
    }
    
    .contact-container h1 {
        font-size: 1.5em;
        margin-bottom: 15px;
        text-align: center;
        word-wrap: break-word;
    }
    
    .contact-locations {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-card {
        padding: 15px;
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-card h2 {
        font-size: 1.2em;
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    
    .contact-details p {
        font-size: 0.9em;
        line-height: 1.4;
        margin-bottom: 5px;
        word-wrap: break-word;
        white-space: normal;
    }
}

/* Mobile Besar (481px - 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .contact-container {
        padding: 20px 15px;
        width: 100%;
    }
    
    .contact-locations {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-details p {
        word-wrap: break-word;
        white-space: normal;
    }
}

/* Tablet (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .contact-container {
        padding: 30px 20px;
        width: 100%;
    }
    
    .contact-locations {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-card {
        padding: 25px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Desktop (1024px ke atas) */
@media screen and (min-width: 1024px) {
    .contact-container {
        padding: 40px;
        width: 100%;
    }
    
    .contact-locations {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-card {
        padding: 30px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Mode Landscape */
@media screen and (max-width: 900px) and (orientation: landscape) {
    .contact-container {
        width: 100%;
    }
    
    .contact-card {
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-details p {
        word-wrap: break-word;
        white-space: normal;
    }
}

/* Fix untuk iOS */
@supports (-webkit-touch-callout: none) {
    .contact-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .contact-card:hover {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

/* Responsive */

@media screen and (max-width: 768px) {
    .service-grid {
        gap: 15px;
    }
    
    .service-item {
        padding: 15px;
    }
    
    .service-item h3 {
        font-size: 1em;
    }
    
    .service-item p {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .service-item {
        padding: 10px;
    }
    
    .service-item h3 {
        font-size: 0.9em;
    }
    
    .service-item p {
        font-size: 0.8em;
    }
}

/* Mobile Besar (481px - 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .service-item {
        padding: 12px;
    }
    
    .service-item h3 {
        font-size: 0.95em;
    }
    
    .service-item p {
        font-size: 0.85em;
    }
}

/* Tablet (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-item {
        padding: 15px;
    }
    
    .service-item h3 {
        font-size: 1.1em;
    }
    
    .service-item p {
        font-size: 0.9em;
    }
}

/* Laptop (1024px - 1440px) */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .service-item {
        padding: 20px;
        width: 100%; /* Memastikan lebar item penuh */
        box-sizing: border-box; /* Termasuk padding dalam perhitungan lebar */
    }
    
    .service-item h3 {
        font-size: 1.2em;
    }
    
    .service-item p {
        font-size: 1em;
        line-height: 1.5;
    }
}

/* Desktop Kecil (1025px - 1366px) */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .service-item h3 {
        font-size: 1.2em;
    }
    
    .service-item p {
        font-size: 1em;
    }
}

/* Desktop Besar (1367px - 1920px) */
@media screen and (min-width: 1367px) and (max-width: 1920px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .service-item {
        padding: 25px;
    }
    
    .service-item h3 {
        font-size: 1.3em;
    }
    
    .service-item p {
        font-size: 1.1em;
    }
}

/* 4K dan Layar Besar (> 1920px) */
@media screen and (min-width: 1921px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1800px;
        margin: 0 auto;
    }
    
    .service-item {
        padding: 30px;
    }
    
    .service-item h3 {
        font-size: 1.5em;
    }
    
    .service-item p {
        font-size: 1.2em;
    }
}

/* Mobile Kecil (320px - 480px) */
@media screen and (max-width: 480px) {
    .navbar {
        padding: 10px;
        flex-direction: column;
    }
    
    .logo {
        width: 100px;
        margin-bottom: 10px;
    }
    
    .navbar ul {
        width: 100%;
        text-align: center;
        padding: 0;
    }
    
    .navbar ul li {
        display: block;
        margin: 8px 0;
    }
    
    .navbar ul li a {
        font-size: 14px;
    }
}

/* Mobile Besar (481px - 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .navbar {
        padding: 12px;
        flex-direction: column;
    }
    
    .logo {
        width: 120px;
        margin-bottom: 12px;
    }
    
    .navbar ul {
        width: 100%;
        text-align: center;
    }
    
    .navbar ul li {
        display: block;
        margin: 10px 0;
    }
    
    .navbar ul li a {
        font-size: 15px;
    }
}

/* Tablet (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: row;
    }
    
    .logo {
        width: 130px;
    }
    
    .navbar ul li {
        display: inline-block;
        margin: 0 12px;
    }
    
    .navbar ul li a {
        font-size: 15px;
    }
}

/* iPad Pro & Desktop Kecil (1024px - 1366px) */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
    .navbar {
        padding: 18px 30px;
    }
    
    .logo {
        width: 140px;
    }
    
    .navbar ul li {
        margin: 0 15px;
    }
    
    .navbar ul li a {
        font-size: 16px;
    }
}

/* Desktop Besar (1367px - 1920px) */
@media screen and (min-width: 1367px) {
    .navbar {
        padding: 20px 40px;
        max-width: 1800px;
        margin: 0 auto;
    }
    
    .logo {
        width: 150px;
    }
    
    .navbar ul li {
        margin: 0 20px;
    }
    
    .navbar ul li a {
        font-size: 16px;
    }
}

/* Layar 4K (>1920px) */
@media screen and (min-width: 1921px) {
    .navbar {
        padding: 25px 50px;
        max-width: 2000px;
    }
    
    .logo {
        width: 180px;
    }
    
    .navbar ul li {
        margin: 0 25px;
    }
    
    .navbar ul li a {
        font-size: 18px;
    }
}

/* Khusus iOS Safari Fix */
@supports (-webkit-touch-callout: none) {
    .navbar {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Orientasi Landscape untuk Mobile */
@media screen and (max-width: 900px) and (orientation: landscape) {
    .navbar {
        padding: 10px 20px;
    }
    
    .logo {
        width: 100px;
        margin-bottom: 5px;
    }
    
    .navbar ul li {
        margin: 5px 10px;
    }
    
    .navbar ul li a {
        font-size: 14px;
    }
}

/* Mobile Kecil (320px - 480px) */
@media screen and (max-width: 480px) {
    footer {
        padding: 40px 15px;
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
    
    .footer-section h4 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }
    
    .social-links {
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .social-links a {
        font-size: 28px;
    }
    
    .footer-bottom {
        padding-top: 25px;
    }
    
    .footer-bottom p {
        font-size: 1em;
        line-height: 1.6;
    }
}

/* Mobile Besar (481px - 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
    footer {
        padding: 45px 20px;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .footer-section h4 {
        font-size: 1.5em;
        margin-bottom: 22px;
    }
    
    .social-links {
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .social-links a {
        font-size: 32px;
    }
    
    .footer-bottom {
        padding-top: 30px;
    }
    
    .footer-bottom p {
        font-size: 1.1em;
        line-height: 1.7;
    }
}

/* Mobile 320px */
@media screen and (min-width: 320px) and (max-width: 374px) {
    .social-links {
        gap: 30px;
        margin: 25px 0;
    }
    
    .social-links a {
        font-size: 35px;  /* Ukuran icon */
    }
    
    .social-icon {
        width: 55px;      /* Lebar container icon */
        height: 55px;     /* Tinggi container icon */
    }
    
    /* Spacing untuk setiap icon */
    .fa-facebook, 
    .fa-instagram, 
    .fa-whatsapp {
        padding: 10px;
    }
}

/* Mobile 375px */
@media screen and (min-width: 375px) and (max-width: 424px) {
    .social-links {
        gap: 35px;
        margin: 28px 0;
    }
    
    .social-links a {
        font-size: 40px;  /* Ukuran icon lebih besar */
    }
    
    .social-icon {
        width: 60px;      /* Container lebih besar */
        height: 60px;
    }
    
    .fa-facebook, 
    .fa-instagram, 
    .fa-whatsapp {
        padding: 12px;
    }
}

/* Mobile 425px */
@media screen and (min-width: 425px) and (max-width: 480px) {
    .social-links {
        gap: 40px;
        margin: 30px 0;
    }
    
    .social-links a {
        font-size: 45px;  /* Icon paling besar */
    }
    
    .social-icon {
        width: 65px;      /* Container paling besar */
        height: 65px;
    }
    
    .fa-facebook, 
    .fa-instagram, 
    .fa-whatsapp {
        padding: 15px;
    }
}

/* Styling umum untuk semua ukuran di atas */
@media screen and (min-width: 320px) and (max-width: 480px) {
    .social-links {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    /* Hover effect */
    .social-links a:hover {
        transform: translateY(-8px);  /* Efek hover lebih terlihat */
    }
    
    /* Memastikan icon tetap di tengah */
    .fa-facebook, 
    .fa-instagram, 
    .fa-whatsapp {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}






