/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Global Background Image */
body {
    line-height: 1.6;
    color: #333;
    background-image: url('../img/world-map.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    background-attachment: fixed;
    background-color: #fff; /* Fallback color */
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

/* Optional: Subtle animation for background */
@keyframes subtle-float {
    0% {
        background-position: center;
    }
    50% {
        background-position: center 52%;
    }
    100% {
        background-position: center;
    }
}

body {
    animation: subtle-float 20s ease-in-out infinite;
}

/* Add overlay to make content readable */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #003366;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: #003366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #002244;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95); /* More opaque white for header */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo img {
    max-height: 70px;
}

/* Navigation Menu - Updated */
nav {
    margin-left: auto; /* Pindahkan nav ke kanan */
}

.nav-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
    position: relative;
}

.nav-menu li a {
    color: #003366;
    font-weight: bold;
    padding: 10px 0;
    position: relative;
    display: block;
    text-decoration: none;
}

.nav-menu li a.active,
.nav-menu li a:hover {
    color: #003366;
}

.nav-menu li a.active::after,
.nav-menu li a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #003366;
}

.nav-menu > li.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

/* Box dropdown besar */
.megamenu {
    position: absolute;
    left: 0;
    top: 120%;
    width: 500px;
    background: #fff;
    padding: 25px 30px;
    display: flex;
    gap: 40px;
    border-radius: 6px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 999;
}

/* Kolom */
.megamenu ul {
    list-style: none;
    padding: 0;
}

/* Item */
.megamenu ul li a {
    display: block;
    padding: 6px 0;
    font-size: 15px;
    color: #333;
    text-decoration: none;
}

.megamenu ul li a:hover {
    color: #003366; /* warna kuning United Tractors style */
}


/* Language Dropdown - FIXED */
.language-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-toggle i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 120px;
    display: none;
    z-index: 1001;
    margin-top: 5px;
}

/* Show dropdown on hover in desktop view */
@media (min-width: 992px) {
    .language-dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Show dropdown when active class is applied (for mobile) */
.language-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-toggle i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 120px;
    display: none;
    z-index: 1001;
    margin-top: 5px;
}

/* Show dropdown on hover in desktop view */
@media (min-width: 992px) {
    .language-dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Show dropdown when active class is applied (for mobile) */
.language-dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0 !important;
    padding: 0;
}

.dropdown-menu li a {
    padding: 10px 15px;
    display: block;
    color: #333;
    font-weight: normal;
    transition: background-color 0.3s;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
}

.dropdown-menu li a:hover::after {
    display: none;
}

/* Mobile view adjustments */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        margin-top: 10px;
        padding-left: 15px;
        border-radius: 0;
    }
    
    .dropdown-menu li a {
        padding: 8px 15px;
    }
}

/* Hero Section */
.hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    text-align: center
    ;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Home Page Hero

.hero {
    background-image: url('images/hero-home.jpg');
}

*/

.history-section {
    padding: 40px 0;
}

.container-large {
    background: none !important;
    box-shadow: none !important;
}

.history-center {
    display: flex;
    justify-content: center;
}

.history-image {
    width: 100%;
    max-width: 1400px;
    cursor: zoom-in;
    transition: .3s ease;
}

.history-image:hover {
    opacity: .9;
    transform: scale(1.02);
}


/* Profile Page Hero */
.profile-hero {
    background-image: url('../img/handshake.png');
}

.visimisi-hero {
    background-image: url('../img/rpa-img/STAMPING-PLATING-DELTA-mini.jpg');
}

.history-hero {
    background-image: url('../img/rpa-img/RPA-PIK.jpg');
}

.award-hero {
    background-image: url('../img/rpa-img/Peresmian.jpg');
    background-repeat: no-repeat;     /* supaya gak ngulang */
    background-size: cover;           /* gambar mengisi seluruh area tanpa distorsi */  
    background-position: center;
    background-attachment: fixed;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .award-hero {
        background-attachment: scroll;   /* fixed bikin masalah di HP */
        background-position: top;        /* geser ke atas biar muka/objek tidak kepotong */
    }
}

/* Services Page Hero */
.services-hero {
    background-image: url('../img/container.png');
}

/* Gallery Page Hero */
.gallery-hero {
    background-image: url('../img/galeri-1.png');
}

/* Contact Page Hero */
.contact-hero {
  background-image: url('../img/rpa-img/manajer-mini.jpg');
  background-size: cover;           /* gambar mengisi seluruh area tanpa distorsi */
  background-position: center;      /* posisi gambar di tengah */
  background-repeat: no-repeat;     /* supaya gak ngulang */
  background-attachment: fixed;     /* opsional: biar efek parallax (gambar diam saat scroll) */
  width: 100%;
  min-height: 400px;                /* kamu bisa ubah tinggi sesuai kebutuhan */
}


/* Main Content Sections */
main {
    padding: 60px 0;
}

section {
    margin-bottom: 60px;
}

/* Ensure content sections have proper background */
main section {
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #003366;
}

/* Services Overview Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card p {
    text-align: justify;
    color: #003366;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: #003366;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #003366;
}

/* About Preview Section */
.about-preview {
    padding: 60px 0;
    background-color: rgba(245, 245, 245, 0.8);
    text-align: center;
}

.about-preview p {
    text-align: justify;
    color: #003366;
    font-size: 1rem;
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: left;
    color: #003366;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.about-content .btn {
    margin-top: 20px;
}

/* World Map Background */
.world-map-bg {
    padding: 60px 20px;
    text-align: justify;
    position: relative;
}

.world-map-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.world-map-bg .container {
    position: relative;
    z-index: 1;
}

.visimisi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.visimisi-box h2 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #0a2d5a;
}

.visimisi-box .content-wrapper {
    padding: 20px;
    border-radius: 10px;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 700;
    color: #003366;
}

/* Responsive */
@media (max-width: 768px) {
    .visimisi-grid {
        grid-template-columns: 1fr;
    }
}


/* About Section */
.about-section {
    padding: 60px 0;
}

.about-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

.about-section .content-wrapper {
    margin: 0 auto;
    line-height: 1.5;
    font-size: 1rem;
    color: #003366;
    text-align: justify;
    letter-spacing: 0.3px;
}

.about-section .content-wrapper p {
    margin-bottom: 18px;
}


/* Vision Mission Section */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vision, .mission {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
}

.vision h2, .mission h2 {
    text-align: center;
    margin-bottom: 20px;
}

.vision p, .mission p {
    color: #003366;
    text-align: justify;
}

/* Services Grid Section */
.services-intro h2 {
    font-size: 2rem;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.service-box {
    background-color: #ffbc00;
    color: #003366;
    text-align: justify;
    padding: 30px;
    border-radius: 5px;
    transition: transform 0.3s;
}

.service-box h3 {
    text-align: center;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    color: #fff;
    font-size: 1.5rem;
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #003366;
}

/* Additional Services */
.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.additional-service {
    text-align: center;
    padding: 20px;
}

.additional-service i {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 15px;
}

.additional-service h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #003366;
}

/* Gallery Section */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid #003366;
    color: #003366;
    padding: 8px 15px;
    margin: 0 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #003366;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 250px;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: 100% auto;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 51, 102, 0.8);
    color: #fff;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h2,
.contact-form h2 {
    text-align: left;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: #002244;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.working-hour h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: bold;
}

.hour-row {
  display: grid;
  grid-template-columns: 130px 8px auto; /* Bisa diubah sesuai kebutuhan */
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: lighter;
  color: #002244;
}

.day,
.colon,
.time {
  line-height: 1.5;
}

.contact-item i {
    font-size: 1.5rem;
    color: #003366;
    margin-right: 15px;
    min-width: 30px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #003366;
}

.social-media h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #003366;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #003366;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #002244;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #003366;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.submit-btn {
    background-color: #003366;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #002244;
}

/* Map Section */
.map-container {
    border-radius: 5px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #ecf2f2;
    color: #002244;
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Explicit 3-column layout */
    gap: 60px;
    margin-bottom: 50px;
}

/* First column - Follow Us / Logo */
.footer-content > div:nth-child(1) {
    justify-self: start; /* Align to start of grid cell */
}

/* Second column - Contact Us */
.footer-content > div:nth-child(2) {
    justify-self: center; /* Center in grid cell */
}

/* Third column - Quick Links */
.footer-content > div:nth-child(3) {
    justify-self: end; /* Align to end of grid cell */
    padding-right: 20px; /* Add some padding on the right */
}

.footer-logo img {
    height: 80px;
    margin-bottom: 30px;
}

.footer-contact h3,
.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-contact h3::after,
.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #002244;
}

/* Contact section improvements - with better alignment */
.footer-contact p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    margin-top: 4px;
}

/* Improved contact info alignment */
.footer-contact p span:first-of-type {
    min-width: 70px; /* Fixed width for labels */
    display: inline-block;
}

/* Address specific styling - improved */
.footer-contact p.address {
    display: flex;
    align-items: flex-start;
}

.footer-contact p.address span:first-of-type {
    min-width: 70px; /* Fixed width for "Address:" label */
}

.footer-contact p.address span:last-of-type {
    flex: 1; /* Take remaining space */
}

/* Quick Links fixes */
.footer-links {
    text-align: left; /* Align text to the left */
}

.footer-links h3 {
    text-align: left; /* Align heading to the left */
}

.footer-links h3::after {
    left: 0; /* Position line from the left */
    right: auto; /* Remove right positioning */
}

.footer-links ul {
    padding-left: 0; /* Remove default padding */
    text-align: left; /* Align text to the left */
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #002244;
    transition: color 0.3s;
    font-size: 1.05rem;
    padding: 5px 0;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #001a33;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 51, 102, 0.2);
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 1.05rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.3s;
    text-decoration: none;
}

/* Hover effect */
.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Position both buttons at the bottom right, stacked vertically but close together */
.whatsapp-btn.top {
    bottom: 90px;
    right: 20px;
    background-color: #25D366;
}

.whatsapp-btn.bottom {
    bottom: 20px;
    right: 20px;
}

/* Tooltip Custom */
.whatsapp-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%; /* tooltip muncul di atas button */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn:hover::after {
    opacity: 1;
}


/* Responsive Styles */
@media (max-width: 768px) {
    body {
        background-size: 200% auto; /* Make background larger on mobile */
    }
    
    main section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    header {
        flex-direction: column;
        padding: 10px;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
    }
    
    .nav-menu li {
        margin: 5px 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .language-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero {
        height: 400px;
        margin-top: 120px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .service-card,
    .service-box {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr; /* Single column on mobile */
        text-align: left; /* Align text to left instead of center */
        gap: 30px; /* Reduced gap for mobile */
    }
    
    .footer-content > div:nth-child(1),
    .footer-content > div:nth-child(2),
    .footer-content > div:nth-child(3) {
        justify-self: start; /* Align all columns to left */
        width: 100%; /* Full width */
        padding-left: 20px; /* Add consistent left padding */
        padding-right: 20px; /* Add consistent right padding */
    }
    
    .footer-contact h3::after,
    .footer-links h3::after {
        left: 0; /* Align underline to left */
        right: auto;
        transform: none; /* Remove transform */
    }
    
    .footer-contact p {
        justify-content: flex-start; /* Align contact info to left */
        text-align: left;
    }
    
    .footer-contact p.address {
        align-items: flex-start; /* Align address to left */
        text-align: left;
    }
    
    .footer-links {
        text-align: left; /* Align quick links to left */
    }
    
    .footer-links h3 {
        text-align: left; /* Align quick links heading to left */
    }
    
    .footer-links ul {
        text-align: left; /* Align quick links list to left */
        padding-left: 0; /* Remove default padding */
    }
    
    /* Social icons alignment */
    .social-icons {
        justify-content: flex-start; /* Align social icons to left */
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
    }
    
    .whatsapp-btn.top {
        bottom: 80px; /* Adjust for smaller button size */
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        background-size: 350% auto; /* Make background larger on mobile */
    }

    .hero {
        height: 300px;
        margin-top: 150px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .gallery-filter {
        flex-direction: column;
    }
    
    .filter-btn {
        margin: 5px 0;
    }
    .footer-content {
        grid-template-columns: 1fr; /* Single column on mobile */
        text-align: left; /* Align text to left instead of center */
        gap: 30px; /* Reduced gap for mobile */
    }
    
    .footer-content > div:nth-child(1),
    .footer-content > div:nth-child(2),
    .footer-content > div:nth-child(3) {
        justify-self: start; /* Align all columns to left */
        width: 100%; /* Full width */
        padding-left: 20px; /* Add consistent left padding */
        padding-right: 20px; /* Add consistent right padding */
    }
    
    .footer-contact h3::after,
    .footer-links h3::after {
        left: 0; /* Align underline to left */
        right: auto;
        transform: none; /* Remove transform */
    }
    
    .footer-contact p {
        justify-content: flex-start; /* Align contact info to left */
        text-align: left;
    }
    
    .footer-contact p.address {
        align-items: flex-start; /* Align address to left */
        text-align: left;
    }
    
    .footer-links {
        text-align: left; /* Align quick links to left */
    }
    
    .footer-links h3 {
        text-align: left; /* Align quick links heading to left */
    }
    
    .footer-links ul {
        text-align: left; /* Align quick links list to left */
        padding-left: 0; /* Remove default padding */
    }
    
    /* Social icons alignment */
    .social-icons {
        justify-content: flex-start; /* Align social icons to left */
    }
}

/* Extra small screens (575px and down) */
@media (max-width: 575px) {
    .footer-content > div:nth-child(1),
    .footer-content > div:nth-child(2),
    .footer-content > div:nth-child(3) {
        padding-left: 15px; /* Slightly less padding on very small screens */
        padding-right: 15px;
    }
}

/* Hero Carousel Styles */
.hero-carousel {
  width: 100%;
  aspect-ratio: 16 / 9;   /* browser modern */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Set different background images for each slide */
.carousel-slide:nth-child(1) {
    background-image: url('../img/rpa-img/STAMPING-PLATING-DELTA-mini.jpg');
}

.carousel-slide:nth-child(2) {
    background-image: url('../img/rpa-img/DSC01376-mini.jpg');
}

.carousel-slide:nth-child(3) {
    background-image: url('../img/truck.png');
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.carousel-prev,
.carousel-next {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: #fff;
}

/* Responsive Design - Additional Styles */

/* Base responsive settings */
html {
    font-size: 16px;
}

/* Container responsive adjustments */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Extra large screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    html {
        font-size: 18px;
    }
    
    .hero-carousel, .hero {
        height: 600px;
    }
}

/* Large screens (992px to 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
        body {
        background-size: 200% auto; /* Make background larger on mobile */
    }
    .container {
        max-width: 960px;
    }
    
    .hero-carousel, .hero {
        height: 500px;
    }
}

/* Medium screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    html {
        font-size: 15px;
    }
    
    .hero-carousel, .hero {
        height: 400px;
        margin-top: 100px;
    }
    
    .hero h1, .carousel-slide h1 {
        font-size: 2.5rem;
    }
    
    .services-grid, .additional-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    html {
        font-size: 14px;
    }
    
    .hero-carousel, .hero {
        height: 350px;
        margin-top: 120px;
    }
    
    .hero h1, .carousel-slide h1 {
        font-size: 2rem;
    }
    
    .hero p, .carousel-slide p {
        font-size: 1rem;
    }
    
    .services-grid, .additional-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Extra small screens (575px and down) */
@media (max-width: 575px) {
    html {
        font-size: 14px;
    }
    
    .hero-carousel, .hero {
        height: 300px;
        margin-top: 120px;
    }
    
    .hero h1, .carousel-slide h1 {
        font-size: 1.8rem;
    }
    
    .hero p, .carousel-slide p {
        font-size: 0.9rem;
    }
    
    .services-grid, .additional-services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card, .service-box {
        padding: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .carousel-nav {
        bottom: 10px;
    }
    
    .carousel-prev, .carousel-next {
        width: 30px;
        height: 30px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
}

/* Header responsive adjustments */
@media (max-width: 991px) {
    header {
        padding: 10px;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #333;
        cursor: pointer;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 10px 0;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        width: 100%;
        margin-top: 10px;
        padding-left: 15px;
    }
    
    .language-dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Overlay for mobile menu */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .menu-overlay.active {
        display: block;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .hero h1, .carousel-slide h1 {
        font-size: 1.5rem;
    }
    
    .hero p, .carousel-slide p {
        font-size: 0.8rem;
    }
    
    .carousel-nav {
        display: none;
    }
}

/* Mobile Menu Toggle Button - Additional Styles */
/* Mobile Menu Toggle Button - Updated Position */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    header {
        justify-content: space-between;
        padding: 10px 20px;
        flex-direction: row;
        position: relative;
    }
    
    nav {
        order: 3;
        width: 100%;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%; /* Changed from left to right */
        left: auto; /* Reset left position */
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); /* Changed shadow direction */
        transition: right 0.3s ease; /* Changed from left to right */
        z-index: 1000;
        margin-top: 0;
    }
    
    .nav-menu.active {
        right: 0; /* Changed from left to right */
    }
}

/* Clients & Awards Section */
.clients-awards {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.clients-awards h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: #003366;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.client-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.award-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.award-image {
    height: 200px;
    overflow: hidden;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.award-item:hover .award-image img {
    transform: scale(1.05);
}

.award-content {
    padding: 25px;
}

.award-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #003366;
    text-align: left;
    padding: 0;
}

.award-content h3::after {
    display: none;
}

.award-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background-color: #003366;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #003366;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-carousel.fullwidth {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-carousel.fullwidth .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-carousel.fullwidth .hero-content p {
        font-size: 1.2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-content {
        order: 2;
    }
    
    .awards-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-carousel.fullwidth {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-carousel.fullwidth .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-carousel.fullwidth .hero-content p {
        font-size: 1.1rem;
    }
    
    .service-highlights {
        margin-top: -60px;
        padding: 60px 0;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .highlight-icon {
        width: 70px;
        height: 70px;
    }
    
    .highlight-icon i {
        font-size: 2rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .award-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-carousel.fullwidth {
        height: 60vh;
        min-height: 350px;
    }
    
    .hero-carousel.fullwidth .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-carousel.fullwidth .hero-content p {
        font-size: 1rem;
    }
    
    .hero-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .service-highlights {
        margin-top: -40px;
        padding: 40px 0;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .client-item {
        height: 100px;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .award-image {
        height: 160px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Hero Carousel - Full Width Style (like indahonline.com) */
.hero-carousel.fullwidth {
    width: 100%;
    height: 100vh; /* Full viewport height */
    min-height: 600px;
    margin-top: 0;
    position: relative;
}

.hero-carousel.fullwidth .carousel-slide {
    background-size: cover;
    background-position: center;
}

.hero-carousel.fullwidth .carousel-slide:nth-child(1) {
    background-image: url('img/hero-global.jpg');
}

.hero-carousel.fullwidth .carousel-slide:nth-child(2) {
    background-image: url('img/hero-freight.jpg');
}

.hero-carousel.fullwidth .carousel-slide:nth-child(3) {
    background-image: url('img/hero-customs.jpg');
}

.hero-carousel.fullwidth .hero-content {
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
}

.hero-carousel.fullwidth .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-carousel.fullwidth .hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-btn {
    font-size: 1.1rem;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 20px;
}

/* Service Highlights (like indahonline.com) */
.service-highlights {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    margin-top: -80px; /* Overlap with hero section */
    border-radius: 10px 10px 0 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background-color: #003366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.highlight-icon i {
    font-size: 2.5rem;
}

.highlight-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #003366;
}

.highlight-item p {
    color: #666;
    line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background-color: #003366;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #003366;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-carousel.fullwidth {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-carousel.fullwidth .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-carousel.fullwidth .hero-content p {
        font-size: 1.2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-content {
        order: 2;
    }
    
    .awards-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-carousel.fullwidth {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-carousel.fullwidth .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-carousel.fullwidth .hero-content p {
        font-size: 1.1rem;
    }
    
    .service-highlights {
        margin-top: -60px;
        padding: 60px 0;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .highlight-icon {
        width: 70px;
        height: 70px;
    }
    
    .highlight-icon i {
        font-size: 2rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .award-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-carousel.fullwidth {
        height: 60vh;
        min-height: 350px;
    }
    
    .hero-carousel.fullwidth .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-carousel.fullwidth .hero-content p {
        font-size: 1rem;
    }
    
    .hero-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .service-highlights {
        margin-top: -40px;
        padding: 40px 0;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .client-item {
        height: 100px;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .award-image {
        height: 160px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Animasi tambahan untuk melengkapi AOS */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

/* Animasi untuk highlight-icon */
.highlight-icon {
    animation: float 3s ease-in-out infinite;
}

/* Animasi untuk tombol CTA */
.cta-buttons .btn {
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animasi untuk client-item */
.client-item:hover img {
    animation: pulse 1s ease-in-out;
}

/* Animasi untuk social-icons */
.social-icons a {
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px) rotate(10deg);
}

/* Animasi untuk WhatsApp button */
.whatsapp-btn {
    animation: pulse 2s infinite;
}

/* Efek hover untuk award-item */
.award-item {
    transition: all 0.5s ease;
}

.award-item:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Animasi untuk hero-content */
.hero-content h1 {
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 1s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Animasi untuk section headings */
section h2, section h3 {
    position: relative;
    overflow: hidden;
}

section h2::after, 
section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #003366;
    transition: all 0.8s ease;
}

section h2.aos-animate::after, 
section h3.aos-animate::after {
    width: 80px;
    left: calc(50% - 40px);
}

/* Animasi untuk footer */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #003366, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Animasi tambahan untuk AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Pastikan animasi AOS berfungsi dengan baik */
[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(2500px) rotateY(90deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(2500px) rotateY(0);
}

/* Animasi scroll tambahan */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variasi animasi untuk elemen berbeda */
.highlight-item.animate-on-scroll {
    transform: translateY(50px) scale(0.95);
}

.highlight-item.animate-on-scroll.visible {
    transform: translateY(0) scale(1);
}

.about-image.animate-on-scroll {
    transform: translateX(-50px);
}

.about-image.animate-on-scroll.visible {
    transform: translateX(0);
}

.about-content.animate-on-scroll {
    transform: translateX(50px);
}

.about-content.animate-on-scroll.visible {
    transform: translateX(0);
}

.client-item.animate-on-scroll {
    transform: scale(0.8);
}

.client-item.animate-on-scroll.visible {
    transform: scale(1);
}

.award-item.animate-on-scroll {
    transform: translateY(30px) rotateY(20deg);
}

.award-item.animate-on-scroll.visible {
    transform: translateY(0) rotateY(0);
}

.cta-section.animate-on-scroll {
    transform: translateY(30px);
    opacity: 0;
}

.cta-section.animate-on-scroll.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Delay berbeda untuk setiap item */
.highlight-item:nth-child(1).animate-on-scroll,
.client-item:nth-child(1).animate-on-scroll,
.footer-logo.animate-on-scroll {
    transition-delay: 0.1s;
}

.highlight-item:nth-child(2).animate-on-scroll,
.client-item:nth-child(2).animate-on-scroll,
.footer-contact.animate-on-scroll {
    transition-delay: 0.2s;
}

.highlight-item:nth-child(3).animate-on-scroll,
.client-item:nth-child(3).animate-on-scroll,
.footer-links.animate-on-scroll {
    transition-delay: 0.3s;
}

.highlight-item:nth-child(4).animate-on-scroll,
.client-item:nth-child(4).animate-on-scroll {
    transition-delay: 0.4s;
}

.client-item:nth-child(5).animate-on-scroll {
    transition-delay: 0.5s;
}

.client-item:nth-child(6).animate-on-scroll {
    transition-delay: 0.6s;
}

.map-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.map-item {
  flex: 1 1 45%;
  max-width: 550px;
  text-align: justify;
}
