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

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Mengubah menjadi kolom untuk footer */
    background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(218, 225, 226) 0%, rgb(252, 252, 252) 100%);
    font-family: 'Poppins', sans-serif;
}


.events-content {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.events-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

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

.events-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
}

.events-card:hover img {
    transform: scale(1.05);
}

.events-content {
    padding: 20px;
}

.events-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}



/* Responsive Design */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .events-content {
        padding: 15px;
    }

    .events-content h3 {
        font-size: 16px;
    }

    .events-content p {
        font-size: 13px;
    }
}

.events-content h1{
    padding-top: 4px;
    text-align: center;
}


/* Optional: Animation for cards on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.events-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Optional: Stagger animation delay for each card */
.events-card:nth-child(1) { animation-delay: 0.1s; }
.events-card:nth-child(2) { animation-delay: 0.2s; }
.events-card:nth-child(3) { animation-delay: 0.3s; }

/* Tablet Responsive */
@media screen and (max-width: 1024px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Mobile Navigation */
  @media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .header_nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0b0949;
        flex-direction: column;
    }
    
    .header_nav ul.active {
        display: block;
    }
    
    .header_nav ul li {
        display: block;
        width: 100%;
    }
    
    .header_nav ul li a {
        padding: 15px 20px;
        text-align: left;
    }
    
    .header_nav ul li ul.dropdown {
        position: static;
        width: 100%;
        display: none;
    }
    
    .header_nav ul li:hover ul.dropdown {
        display: none;
    }
    
    .header_nav ul li.active ul.dropdown {
        display: block;
    }
  }
  
  /* Mobile Responsive */
  @media screen and (max-width: 480px) {
    header {
        padding: 10px;
    }
    
    .header_logo img {
        height: 40px;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .description {
        flex-direction: column;
        text-align: center;
    }
    
    .gallery_grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
  }
  /* Tablet Responsive */
  @media screen and (max-width: 1024px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  /* Tablet Responsive */
  @media screen and (max-width: 1024px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Additional Navigation Styles */
  .header_nav ul li ul.dropdown {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
  }
  
  /* Smooth transitions */
  .header_nav ul li a,
  .services_item,
  .social-icons a {
    transition: all 0.3s ease;
  }
  
  /* Accessibility improvements */
  @media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
  }
  
    /* footer */
    footer {
        background-color: #0b0949;
        color: white;
        padding: 50px 20px;
        font-family: 'Poppins', sans-serif;
    }
  
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        max-width: 1200px;
        margin: 0 auto;
        gap: 30px;
    }
  
    .footer-section {
        flex: 1 1 300px;
        max-width: 300px;
        padding: 0 20px;
        text-align: left;
    }
  
    .footer-logo {
        width: 180px;
        margin-bottom: 15px;
    }
  
    .footer-address {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.6;
    }
  
    .footer-section h4 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 15px;
        text-transform: uppercase;
    }
  
    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
  
    .footer-section ul li {
        margin-bottom: 10px;
    }
  
    .footer-section ul li a {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }
  
    .footer-section ul li a:hover {
        color: #f4d03f;
    }
  
    .social-icons {
        display: flex;
        gap: 10px;
        width: 27px;
        height: 27px;
        margin-top: 5px;
    }
  
    .social-icons a {
        color: white;
        font-size: 20px;
        transition: color 0.3s ease;
    }
  
    .social-icons a:hover {
        color: #f4d03f;
    }
  
    /* Table */
    @media (max-width: 769px) {
        .content {
  
            margin: 15vh 0;
           
        }
  
        .content .title h1 {
            font-size: 28px;
        }
  
        .content .company-profile-nav ul li a {
            font-size: 12px;
        }
  
        .content .items .item .subtitle h2 {
            font-size: 24px;
        }
  
        .content .items .item .subtitle h2 {
            font-size: 24px;
        }
  
        .content .items .manager-items .manager-item {
            margin-bottom: 1em;
            grid-template-columns: 1fr;
            grid-template-areas: "img fullname"
                "img paragraph";
        }
  
        .content .items .manager-items .manager-item img {
            width: 100px;
            padding-right: 10px;
        }
  
        .content .items .manager-items .manager-item .fullname h3 {
            font-size: 20px;
        }
  
        .content .items .manager-items .manager-item .paragraph {
            grid-area: paragraph;
            letter-spacing: 1px;
            line-height: 1.2;
            font-size: 14px;
  
        }
  
        .content .items .employee-items .employee-item {
            margin-bottom: 1em;
            grid-template-columns: 1fr;
            grid-template-areas: "img fullname"
                "img paragraph";
        }
  
        .content .items .employee-items .employee-item img {
            width: 100px;
            padding-right: 10px;
        }
  
        .content .items .employee-items .employee-item .fullname h3 {
            font-size: 20px;
        }
  
        .content .items .employee-items .employee-item .paragraph {
            grid-area: paragraph;
            letter-spacing: 1px;
            line-height: 1.2;
            font-size: 14px;
        }
    }
  
    /* handphone */
    @media (max-width: 481px) {
        .content {
            grid-template-columns: 1fr;
            padding: 5vw;
            grid-template-areas: "title "
                "nav"
                "items";
        }
  
        .content .title h1 {
            font-size: 24px;
        }
  
        .content .company-profile-nav ul {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            text-align: center;
        }
  
        .content .company-profile-nav ul li {
            width: 80%;
        }
  
        .content .company-profile-nav ul li a {
            font-size: 12px;
  
        }
  
        .content .items .item .subtitle h2 {
            font-size: 20px;
        }
  
        .content .items .item .subtitle h2 {
            font-size: 24px;
        }
  
        .content .items .manager-items .manager-item {
            margin-bottom: 1em;
            grid-template-columns: 1fr;
            grid-template-areas: "img "
                "fullname"
                "paragraph";
            grid-template-rows: 1fr;
        }
  
        .content .items .manager-items .manager-item img {
            width: 200px;
            padding-right: 10px;
        }
  
        .content .items .manager-items .manager-item .fullname h3 {
            font-size: 16px;
        }
  
        .content .items .manager-items .manager-item .paragraph {
            grid-area: paragraph;
            letter-spacing: 1px;
            /* line-height: 1; */
            font-size: 12px;
  
        }
  
        .content .items .employee-items .employee-item {
            margin-bottom: 1em;
            grid-template-columns: 1fr;
            grid-template-areas: "img "
                "fullname"
                "paragraph";
            grid-template-rows: 1fr;
        }
  
        .content .items .employee-items .employee-item img {
            width: 200px;
            padding-right: 10px;
        }
  
        .content .items .employee-items .employee-item .fullname h3 {
            font-size: 16px;
        }
  
        .content .items .employee-items .employee-item .paragraph {
            letter-spacing: 1px;
            line-height: 1;
            font-size: 12px;
        }
    }       