html {
  scroll-behavior: smooth;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: #333;
    position: relative;
}

main {
    padding-top: 0;
}

.certifications-section img {
  transition: transform 0.3s ease;
}

.hero-section {
    position: relative;
    height: 598px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0; /* Changed from 70px to 0 */
    padding-top: 70px; /* Added padding-top to compensate for removed margin-top */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/abouts/backgrounds/frame-310.png) center/cover no-repeat;
    z-index: -1;
}

.hero-quote-box {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1.5px solid #000;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 40px;
    width: 55%;
    max-width: 880px;
    margin-right: 5%;
}

.quote-text {
    font-size: 23px;
    text-align: justify;
    margin: 0;
}

.quote-author {
    font-size: 23px;
    font-weight: 700;
    text-align: left;
    margin-top: 16px;
}

.about-us-section {
    padding: 100px 5%;
    background-color: #fff;
}

.about-us-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1820px;
    margin: 0 auto;
}

.about-us-text {
    flex: 1;
}

.about-us-title {
    font-size: 49px;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-us-description {
    font-size: 21px;
    text-align: justify;
    max-width: 555px;
}

.about-us-images {
    flex: 1;
    display: flex;
    flex-direction: row; /* Align images horizontally */
    align-items: flex-start; /* Align items to the top */
    gap: 20px;
}

.about-us-images .image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-us-images img {
    border-radius: 20px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 209px;
    height: auto;
    max-height: 80%;
}

.about-img-1 {
    align-self: flex-start;
    margin-top: 0; /* Remove margin-top */
}

.about-img-2 {
    align-self: center;
    margin-top: 50px; /* Add margin-top to push it down */
    height: 598px;
}

.about-img-3 {
    align-self: flex-start;
    margin-top: 0; /* Remove margin-top */
}

.achievements-section {
    background: url(../images/abouts/backgrounds/frame-140.png) center/cover no-repeat;
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.achievement-card {
    background: #ffffff;
    border-radius: 20px;
    width: 323px;
    height: 345px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.2);
}

.achievement-icon {
    height: 120px;
    margin-bottom: 16px;
}

.achievement-title {
    color: #000000;
    text-align: center;
    font-family: "Montserrat-ExtraBold", sans-serif;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 12px;
}

.achievement-description {
    color: #000000;
    text-align: justified;
    font-family: "Montserrat-Regular", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 0 20px;
}

.experience-years {
  text-align: center;
  font-family: "Nexa-Heavy", sans-serif;
  font-size: 90px;
  -webkit-text-stroke: 5px #038dcd;
  color: transparent;
  line-height: 1;
}

.marketing-section {
  position: relative;
  background: url(../images/abouts/backgrounds/frame-660.png) center / cover no-repeat;
  padding: 100px 5%;
  text-align: center;
  z-index: 1;
}

.marketing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7); /* Putih transparan */
  z-index: 0; /* Di bawah konten */
}

.marketing-section > * {
  position: relative;
  z-index: 1; /* Agar kontennya tetap di atas layer putih */
}

.marketing-title {
    font-size: 49px;
    font-weight: 700;
    margin-bottom: 40px;
}

.marketing-description-box {
    border: 2px solid #000;
    border-radius: 20px;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.marketing-description-box p {
    font-size: 26px;
    text-align: justify;
}

.country-flags-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.flag-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.country-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Align content to the bottom */
    min-height: 160px; /* Adjust based on flag height + text height */
    gap: 8px;
    font-size: 21px;
    font-weight: 500;
    text-align: center; /* Center the text */
}

.country-item img {
    width: 120px;
    height: auto; /* Allow natural height based on aspect ratio */
    object-fit: contain; /* Prevent distortion */
    margin-bottom: 5px; /* Add some space between image and text */
}

.contact-banner-section {
    background-color: #dab96b;
    padding: 50px;
}

.contact-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1820px;
    margin: 0 auto;
    color: #fff;
    font-weight: 700;
}

.contact-banner-container a {
    color: #fff;
    text-decoration: underline;
    font-size: 26px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
}

.contact-banner-group {
    display: flex;
    flex-direction: column;
}

.contact-button {
    background: #7aabbd;
    border-radius: 25px;
    padding: 10px 40px;
    transition: transform 0.3s ease;
    text-decoration: none !important;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.contact-button:hover {
  transform: translateY(-5px);
}

.awards-section {
    background-color: #f2f2f2;
    padding: 100px 5%;
    text-align: center;
}

.awards-title {
    font-size: 49px;
    font-weight: 700;
    margin-bottom: 24px;
}

.awards-description {
    font-size: 23px;
    max-width: 1120px;
    margin: 0 auto 40px auto;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.award-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.2);
}

.award-card img {
    max-width: 100%;
    height: 320px;
    object-fit: contain;
    margin-bottom: 16px;
}

.award-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.award-card p {
    font-size: 16px;
}

.certifications-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 80px 5%;
    background-color: #fff;
    flex-wrap: wrap;
}

.certifications-section img {
    height: 152px;
    object-fit: contain;
}

.certifications-section img:hover {
  transform: scale(1.1) rotate(2deg);
}


.featured-products,
.cta-section,
.certification-section,
.brands-section,
.about-us-section,
.marketplace-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.featured-products.visible,
.cta-section.visible,
.certification-section.visible,
.brands-section.visible,
.about-us-section.visible,
.marketplace-section.visible,
.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Responsive Styles */
@media (max-width: 992px) {
    
    /* Hide desktop navigation and show mobile menu button */
    .desktop-nav, .desktop-lang {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 100px 20px;
        text-align: center;
    }

    .hero-quote-box {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }

    .about-us-container {
        flex-direction: column;
    }

    .about-us-images {
        flex-direction: column;
    }

    .achievements-section {
        flex-direction: column;
    }

    .marketing-title {
        font-size: 36px;
    }

    .marketing-description-box {
        padding: 30px;
    }

    .marketing-description-box p {
        font-size: 18px;
    }

    .contact-banner-container {
        flex-direction: column;
        gap: 20px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .certifications-section {
        gap: 20px;
    }

    .certifications-section img {
        height: 100px;
    }

}


/* Enhanced Responsive Styles */
@media (max-width: 1200px) {
    .about-us-container {
        gap: 30px;
    }
    
    .achievements-section {
        gap: 30px;
    }
    
    .flag-row {
        gap: 30px;
    }
    
    .country-item img {
        width: 100px;
    }
    
    .contact-banner-container a {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    
    
    /* Hide desktop navigation and show mobile menu button */
    .desktop-nav, .desktop-lang {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-quote-box {
        padding: 30px;
        width: 70%;
    }
    
    .quote-text {
        font-size: 20px;
    }
    
    .quote-author {
        font-size: 20px;
    }
    
    .about-us-title {
        font-size: 42px;
    }
    
    .about-us-description {
        font-size: 18px;
    }
    
    .marketing-title {
        font-size: 42px;
    }
    
    .awards-title {
        font-size: 42px;
    }
    
    .awards-description {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    
    
    .hero-section {
        height: auto;
        padding: 120px 20px 50px;
        text-align: center;
        margin-top: 60px;
    }

    .hero-quote-box {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        padding: 25px;
    }
    
    .quote-text {
        font-size: 16px;
    }
    
    .quote-author {
        font-size: 16px;
    }

    .about-us-section {
        padding: 60px 20px;
    }

    .about-us-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-us-title {
        font-size: 32px;
        text-align: center;
    }
    
    .about-us-description {
        font-size: 16px;
        text-align: center;
        max-width: 100%;
    }

    .about-us-images {
        flex-direction: row;
        justify-content: center;
        overflow-x: auto;
        gap: 15px;
        padding: 0 10px;
    }
    
    .about-us-images img {
        width: 150px;
        flex-shrink: 0;
    }
    
    .about-img-2 {
        height: auto;
        max-height: 400px;
        margin-top: 0;
    }

    .achievements-section {
        flex-direction: column;
        padding: 60px 20px;
        gap: 30px;
    }
    
    .achievement-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        height: auto;
        padding: 30px 20px;
    }
    
    .achievement-icon {
        height: 80px;
    }
    
    .experience-years {
        font-size: 60px;
    }
    
    .achievement-title {
        font-size: 16px;
    }
    
    .achievement-description {
        font-size: 14px;
    }

    .marketing-section {
        padding: 60px 20px;
    }

    .marketing-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .marketing-description-box {
        padding: 20px;
        margin-bottom: 30px;
    }

    .marketing-description-box p {
        font-size: 16px;
    }
    
    .flag-row {
        gap: 20px;
    }
    
    .country-item {
        font-size: 14px;
        min-height: 100px; /* Adjust for smaller screens */
    }
    
    .country-item img {
        width: 60px;
        margin-bottom: 3px;
    }

    .contact-banner-section {
        padding: 30px 20px;
    }

    .contact-banner-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-banner-container a {
        font-size: 18px;
        margin-right: 0;
    }
    
    .contact-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .awards-section {
        padding: 60px 20px;
    }
    
    .awards-title {
        font-size: 28px;
    }
    
    .awards-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .award-card {
        padding: 20px 15px;
    }
    
    .award-card img {
        height: 200px;
    }
    
    .award-card h3 {
        font-size: 16px;
    }
    
    .award-card p {
        font-size: 14px;
    }

    .certifications-section {
        gap: 15px;
        padding: 40px 20px;
        flex-wrap: wrap;
    }

    .certifications-section img {
        height: 80px;
    }

}

@media (max-width: 480px) {
    
    
    .hero-section {
        padding: 100px 15px 40px;
        margin-top: 50px;
    }
    
    .hero-quote-box {
        padding: 20px;
        border-radius: 15px;
    }
    
    .quote-text {
        font-size: 14px;
    }
    
    .quote-author {
        font-size: 14px;
        margin-top: 12px;
    }
    
    .about-us-section {
        padding: 40px 15px;
    }
    
    .about-us-title {
        font-size: 26px;
    }
    
    .about-us-description {
        font-size: 14px;
    }
    
    .about-us-images {
        gap: 10px;
    }
    
    .about-us-images img {
        width: 120px;
    }
    
    .achievements-section {
        padding: 40px 15px;
        gap: 20px;
    }
    
    .achievement-card {
        padding: 25px 15px;
    }
    
    .achievement-icon {
        height: 60px;
    }
    
    .experience-years {
        font-size: 45px;
        -webkit-text-stroke: 3px #038dcd;
    }
    
    .achievement-title {
        font-size: 14px;
    }
    
    .achievement-description {
        font-size: 12px;
    }
    
    .marketing-section {
        padding: 40px 15px;
    }
    
    .marketing-title {
        font-size: 24px;
    }
    
    .marketing-description-box {
        padding: 15px;
    }
    
    .marketing-description-box p {
        font-size: 14px;
    }
    
    .flag-row {
        gap: 15px;
    }
    
    .country-item {
        font-size: 12px;
        min-height: 80px; /* Adjust for smaller screens */
    }
    
    .country-item img {
        width: 50px;
        margin-bottom: 2px;
    }
    
    .contact-banner-section {
        padding: 25px 15px;
    }
    
    .contact-banner-container a {
        font-size: 16px;
    }
    
    .contact-button {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .awards-section {
        padding: 40px 15px;
    }
    
    .awards-title {
        font-size: 24px;
    }
    
    .awards-description {
        font-size: 14px;
    }
    
    .award-card {
        padding: 15px 10px;
    }
    
    .award-card img {
        height: 150px;
    }
    
    .award-card h3 {
        font-size: 14px;
    }
    
    .award-card p {
        font-size: 12px;
    }
    
    .certifications-section {
        padding: 30px 15px;
        gap: 10px;
    }
    
    .certifications-section img {
        height: 60px;
    }
    
}

@media (max-width: 360px) {
    .hero-quote-box {
        padding: 15px;
    }
    
    .quote-text, .quote-author {
        font-size: 13px;
    }
    
    .about-us-title {
        font-size: 22px;
    }
    
    .marketing-title, .awards-title {
        font-size: 20px;
    }
    
    .about-us-images img {
        width: 100px;
    }
    
    .country-item img {
        width: 40px;
    }
    
    .achievement-card {
        padding: 20px 10px;
    }
    
    .experience-years {
        font-size: 35px;
        -webkit-text-stroke: 2px #038dcd;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Improve touch targets */
    button, a, .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better touch scrolling */
    .about-us-images {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .about-us-images::-webkit-scrollbar {
        display: none;
    }
    
    /* Prevent zoom on form inputs */
    input, select, textarea {
        font-size: 16px;
    }
    
    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Better text selection on mobile */
    body {
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Prevent horizontal scrolling on all devices */
* {
    box-sizing: border-box;
}

/* Optimize for very small screens */
@media (max-width: 320px) {
    .hero-quote-box {
        padding: 12px;
        margin: 0 10px;
    }
    
    .about-us-section,
    .achievements-section,
    .marketing-section,
    .awards-section,
    .certifications-section {
        padding: 30px 10px;
    }
    
    .contact-banner-section {
        padding: 20px 10px;
    }
    
    footer {
        padding: 25px 10px;
    }
    
    .mobile-nav ul {
        gap: 20px;
    }
    
    .mobile-nav ul li a {
        font-size: 20px;
    }
}