

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Nexa', 'Poppins', sans-serif;
}

body {
  background: #f8f8f6;
}

.hero {
    height: 100vh;
    background: url('/image/bg_home.webp') no-repeat center/cover;
    display: flex;
    align-items: center;
    padding: 0 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: rgba(69, 68, 75, 0.6); */
    background: oklch(33.093% 0.04045 243.884 / .58);
}

.hero-content {
    position: relative;
    color: white;
    max-width: 600px;
}

.top-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 70px;
    width: 100%;
}

.top-brand img {
    width: 125px;

    filter: drop-shadow(0 0 6px rgba(108,255,61,0.6))
            drop-shadow(0 0 12px rgba(108,255,61,0.4));
}

.top-brand h3 {
    color: #84f15f;
    font-size: 35px;
    white-space: nowrap;
    font-family: 'Nexa', 'Poppins', sans-serif;
    font-weight: 700; /* biasa */

    text-shadow: 
        0 0 5px rgba(108,255,61,0.6),
        0 0 10px rgba(108,255,61,0.4);
}

.top-brand p {
    color: #84f15f;
    font-size: 25px;
    font-family: 'Nexa', 'Poppins', sans-serif;
    font-weight: 525; /* biasa */

    text-shadow: 
        0 0 4px rgba(108,255,61,0.5),
        0 0 8px rgba(108,255,61,0.3);
}

.hero h1 {
    font-size: 55px;
    font-weight: 700; /* bold */
    font-family: 'Nexa', 'Poppins', sans-serif;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* SUBTEXT */
.subtext {
    color: #fdfcfc;
    margin-bottom: 30px;
    font-size: 20px;
    font-family: 'Nexa', 'Poppins', sans-serif;
    font-weight: 540;
}

.btn {
    display: inline-block;
    background: #3daa41;
    padding: 14px 30px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #3a9c3d;
}

/* ================= ABOUT ================= */
.about{
    background: color-mix(in oklab, var(--accent) 20%, white 100%);
    padding:90px 90px 70px;
}

/* CONTAINER */
.about-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
    max-width: 1280px;
    margin: 0 auto;
}

/* LEFT TEXT */
.about-text{
    width:48%;
    padding-top:5px;
}

/* TITLE */
.about-text h2{ 
    font-size:42px; 
    font-weight:700; /* biasa */
    font-family: 'Nexa', 'Poppins', sans-serif;
    line-height:1.2; 
    color:#231e70; 
    margin-bottom:25px; 
} 
    
.about-text h2 span{ 
    color:#4CAF50;
    font-weight:700;
}

/* PARAGRAPH */
.about-text p{
    font-size:15px;
    line-height:1.75;
    color: var(--base-content);
    max-width:520px;
    margin-bottom:22px;
    text-align:justify;
    font-family: 'Nexa', 'Poppins', sans-serif;
    font-weight:400;
}

/* BOTTOM */
.about-bottom{
    display:flex;
    align-items:center;
    gap:22px;
    margin-top:35px;
}

/* BUTTON */
.btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#56b11f;
    color:#fff;
    text-decoration:none;
    padding:12px 24px;
    border-radius:14px;
    font-size:18px;
    font-weight:600;
}

/* WA ICON */
.btn i{
    font-size:30px;
    color:#fff;
    line-height:1;
}

/* SOCIAL */
.social{
    display:flex;
    align-items:center;
    gap:18px;
}

/* LINK */
.social a{
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
}

/* ICON */
.social a i{
    font-size:42px;
    color:#56b11f;
    line-height:1;
}

/* HOVER */
.social a:hover{
    transform:translateY(-3px);
}

/* RIGHT IMAGE */
.about-image{
    width:48%;
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

/* IMAGE */
.about-image img{
    width:100%;
    max-width:430px;
    height:430px;
    object-fit:cover;
    border-radius:24px;
    display:block;
}

#scrollTopBtn{
  position: fixed;
  bottom: 5.5rem;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;

  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  z-index: 999;
}

/* ================= ANIMASI ABOUT SECTION (MUNCUL DARI ATAS) ================= */
/* State awal untuk elemen about */
.about-text h2,
.about-text p,
.about-bottom {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* State akhir saat animasi dipicu */
.about-text.animate h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.about-text.animate p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.about-text.animate .about-bottom {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

/* Animasi untuk gambar about (muncul dari atas juga) */
.about-image img {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image.animate img {
    opacity: 1;
    transform: translateY(0);
}

#scrollTopBtn.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover{
  background:#15803d;
  transform: translateY(-3px);
}

/* ================= ABOUT 2 / BLOGS ================= */
.about2, .blogs {
    position: relative;
    min-height: 100vh;

    /* FOTO BACKGROUND */
    background-image: url('/image/bg_blogs.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
    overflow: hidden;
}

/* OVERLAY */
.about2::before, .blogs::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
    linear-gradient(
        to bottom,
        rgba(22,28,50,0.78),
        rgba(20,40,15,0.45),
        rgba(35,70,10,0.72)
    );
}

/* CONTENT */
.about2-content, .blogs-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280;
    text-align: center;
}

/* TITLE */
.about2-content h2, .blogs-content h2 {
    color: #fff;
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Nexa', 'Poppins', sans-serif;
}

/* SUBTITLE */
.subtitle {
    color: #fff;
    font-size: 22px;
    font-weight: 400; /* biasa */
    font-family: 'Nexa', 'Poppins', sans-serif;
    margin-bottom: 55px;
}

/* GRID */
.about2-grid, .blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* BOX */
.about2-box, .blog-box {
    min-height: 255px;
    border: 1.5px solid #56b42c;
    background: rgba(0,0,0,0.18);
    padding: 28px 24px;
    text-align: left;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.about2-box.animate,
.blog-box.animate {
    opacity: 1;
    transform: translateY(0);
}

/* TEXT */
.about2-box p, .blog-box p {
    color: #fff;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Nexa', 'Poppins', sans-serif;
}

/* FOOTER */
.about2-box span, .blog-box span {
    color: #bfa26e;
    font-size: 18px;
    font-style: italic;
    font-family: Georgia, serif;
    font-weight: 600;
}

/* ================= PROJECT SECTION ================= */
.project-section {
    background: color-mix(in oklab, var(--accent) 20%, white 100%);
}

.project-section__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    gap: 50px;
}

/* LEFT SIDE */
.project-left {
    width: 48%;

    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-left.animate {
    opacity: 1;
    transform: translateY(0);
}


.project-left h1 {
    font-size: 52px;
    color: #4CAF50;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Nexa', 'Poppins', sans-serif;
}

.project-left p {
    margin-bottom: 24px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    font-family: 'Nexa', 'Poppins', sans-serif;
    font-weight: 400;
}

.project-left ul {
    padding-left: 20px;
}

.project-left ul li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    font-family: 'Nexa', 'Poppins', sans-serif;
    font-weight: 400;
}

.project-left h1,
.project-left p,
.project-left ul {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-left.animate h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.project-left.animate p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.project-left.animate ul {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

/* RIGHT GRID */
.project-right {
    width: 48%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;

     opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-right.animate {
    opacity: 1;
    transform: translateX(0);
}


.project-right img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;

}

.project-right img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ================= PRODUCT SECTION ================= */
.product {
    padding: 80px;
    background: color-mix(in oklab, var(--accent) 20%, white 100%)
}

/* TOP AREA */
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

/* LEFT TEXT */
.left {
    width: 45%;
}

.left h1 {
    color: #4CAF50;
    font-size: 40px;
    font-weight: 600; /* biasa */
    font-family: 'Nexa', 'Poppins', sans-serif;
    margin-bottom: 24px;
}

.left p {
    color: color-mix(in oklab ,var(--base-content) 100%, white 80%);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Inter', 'Nexa', 'Poppins', sans-serif;
    font-weight: 400;
}

/* RIGHT IMAGE */
.right {
    width: 50%;
    display: flex;
    justify-content: center;
}

.right img {
    width: 100%;
    max-width: 600px;
}

/* PARTNERS */
.partners {
    text-align: center;
    margin-top: 60px;
}

.partners h2 {
    color: #4CAF50;
    font-weight: 700; /* biasa */
    font-family: 'Nexa', 'Poppins', sans-serif;
    margin-bottom: 1rem;
    font-size: 32px;
}

/* LOGO */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.logo img:first-child {
    max-height: 2.5rem; 
}

.logo img:last-child {
    max-height: 6rem; 
}

/* ================= CONTACT SECTION ================= */
.contact {
    background: color-mix(in oklab, var(--accent) 20%, white 100%);
    padding: 130px 50px 40px;
}

.contact-title {
    text-align: center;
    font-size: 56px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-family: 'Nexa', 'Poppins', sans-serif;
}

.contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 25px;
}

.contact-row > * {
    max-width: 40rem;
    width: 100%;
}

/* LEFT */
.contact__sub-title {
    font-size: 26px;
    font-weight: 400; /* biasa */
    font-family: 'Nexa', 'Poppins', sans-serif;
    line-height: 1.05;
    color: black;
    margin-bottom: 8px;
    text-align: center;
}

/* FORM */
.form-box {
    border: 2px solid black;
    border-radius: 8px;
    padding: 2rem;
    background: white;
}

.form-title {
    font-size: 24px;
    font-weight: 800;
    color: #3344aa;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: #3344aa;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #c7cde4;
    background: white;
    padding: 6px;
    font-size: 12px;
    outline: none;
    border-radius: 6px;
}

.form-group textarea {
    resize: none;
    height: 4rem;
}

.submit-btn {
    width: 100%;
    border: none;
    background: var(--primary);
    color: #3344aa;
    font-size: 14px;
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    padding: .5rem;
}

.form-note {
    text-align: center;
    font-size: 10px;
    color: #3344aa;
    margin-top: 4px;
    line-height: 1.2;
}

/* ============ CONTACT FADE-UP ANIMATION =========== */

.contact-title,

.contact-title.animate { opacity:1; transform: translateY(0); transition-delay: 0s }

/* ================= OFFICE SECTION ================= */
.office {
    background: #1f3a50;
    padding: 25px 0 18px;
}

/* TITLE */
.office-title {
    text-align: center;
    font-size: 54px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    text-shadow:
        0 0 3px rgba(255,255,255,.85),
        0 0 8px rgba(255,255,255,.55);
    margin-bottom: 4px;
    font-family: 'Nexa', 'Poppins', sans-serif;
}

/* MAP BOX */
.office-map {
    width: 620px;
    height: 342px;
    margin: 0 auto 100px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    background: #fff;
}

.office-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(8%) brightness(1.02);
}

/* ================= RESPONSIVE DESIGN ================= */
/* Laptop (1200px - 1366px) */
@media (max-width: 1366px) {
    .hero {
        padding: 0 60px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .top-brand h3 {
        font-size: 30px;
    }
    
    .top-brand p {
        font-size: 20px;
    }
    
    .top-brand img {
        width: 110px;
    }
    
    .about {
        padding: 80px 60px 60px;
    }
    
    .about-text h2 {
        font-size: 38px;
    }
    
    .project-section {
        padding: 80px 60px;
    }
    
    .product {
        padding: 60px;
    }
    
    .contact {
        padding: 100px 40px 40px;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .hero {
        padding: 0 40px;
        height: 90vh;
        justify-content: center;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .hero h1 {
        font-size: 38px;
    }
    .subtext {
        font-size: 18px;
    }
    .top-brand {
        justify-content: center;
    }
    .top-brand img {
        width: 85px;
    }
    .top-brand h3 {
        font-size: 22px;
        white-space: normal;
    }
    .top-brand p {
        font-size: 14px;
    }
    
    /* ABOUT */
    .about {
        padding: 60px 40px 50px;
    }
    
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text {
        width: 100%;
        text-align: start;
    }
    
    .about-text p {
        max-width: 100%;
        text-align: start;
    }
    
    .about-bottom {
        justify-content: center;
    }
    
    .about-image {
        width: 100%;
        justify-content: center;
    }
    
    .about-image img {
        max-width: 350px;
        height: 350px;
    }
    
    /* ABOUT 2 / BLOGS */
    .about2, .blogs {
        padding: 60px 40px;
    }
    
    .about2-content h2, .blogs-content h2 {
        font-size: 42px;
    }
    
    .subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .about2-grid, .blogs-grid {
        gap: 20px;
    }
    
    .about2-box p, .blog-box p {
        font-size: 16px;
    }
    
    /* PROJECT */
    .project-section {
        flex-direction: column;
        padding: 60px 40px;
        gap: 40px;
    }
    
    .project-left {
        width: 100%;
        text-align: start;
    }
    
    .project-left ul {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .project-right {
        width: 100%;
    }
    
    .project-left h1 {
        font-size: 42px;
    }

    @media (max-width: 639px) {
        .project-section__content {
            flex-direction: column;
        }
    }
    
    /* PRODUCT */
    .product {
        padding: 60px 40px;
    }
    
    .top {
        flex-direction: column;
        gap: 40px;
    }
    
    .left {
        width: 100%;
        text-align: center;
    }
    
    .right {
        width: 100%;
        justify-content: center;
    }
    
    .right img {
        max-width: 400px;
    }
    
    .left h1 {
        font-size: 36px;
    }
    
    .logo {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    /* CONTACT */
    .contact {
        padding: 80px 30px 40px;
    }
    
    .contact-title {
        font-size: 42px;
    }
    
    .contact-row {
        flex-direction: column;
        align-items: center;
    }
    
    
    /* OFFICE */
.office {
        padding: 25px 0 50px;
    }
    .office-title {
        font-size: 40px;
    }
    .office-map {
        width: 90%;
        height: auto;
        aspect-ratio: 620 / 342;
        margin-bottom: 50px; 
    }
}

/* Mobile Landscape (480px - 767px) */
@media (max-width: 767px) {
     .hero {
        padding: 0 20px;
        height: 80vh;
        justify-content: center;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .hero h1 {
        font-size: 28px;
    }
    .subtext {
        font-size: 14px;
    }
    .top-brand {
        flex-direction: column;
        justify-content: center;
        margin-bottom: 35px;
    }
    .top-brand img {
        width: 65px;
        margin: 0 auto;
    }
    .top-brand h3 {
        font-size: 16px;
    }
    .top-brand p {
        font-size: 11px;
    }
    
    /* ABOUT */
    .about {
        padding: 50px 20px 40px;
    }
    
    .about-text h2 {
        font-size: 28px;
    }
    
    .about-text p {
        font-size: 13px;
    }
    
    .about-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .btn i {
        font-size: 22px;
    }
    
    .social a i {
        font-size: 32px;
    }
    
    .about-image img {
        max-width: 280px;
        height: 280px;
    }
    
    /* ABOUT 2 / BLOGS */
    .about2, .blogs {
        padding: 50px 20px;
        min-height: auto;
    }
    
    .about2-content h2, .blogs-content h2 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .about2-grid, .blogs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about2-box, .blog-box {
        padding: 20px;
        min-height: auto;
    }
    
    .about2-box p, .blog-box p {
        font-size: 14px;
    }
    
    .about2-box span, .blog-box span {
        font-size: 14px;
        margin-top: 12px;
        display: block;
    }
    
    /* PROJECT */
    .project-section {
        padding: 50px 20px;
    }
    
    .project-left h1 {
        font-size: 32px;
    }
    
    .project-left p, .project-left ul li {
        font-size: 12px;
    }
    
    .project-right {
        gap: 12px;
    }
    
    /* PRODUCT */
    .product {
        padding: 50px 20px;
    }
    
    .left h1 {
        font-size: 28px;
    }
    
    .left p {
        font-size: 14px;
    }
    
    .right img {
        max-width: 280px;
    }
    
    .partners h2 {
        font-size: 20px;
    }
    
    .logo {
        gap: 20px;
        flex-direction: column;
    }
    
    .logo img:first-child {
        max-height: 25px;
    }
    
    .logo img:last-child {
        max-height: 60px;
    }
    
    /* CONTACT */
    .contact {
        padding: 60px 20px 40px;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .contact__sub-title {
        font-size: 16px;
    }    
    
    .form-title {
        font-size: 12px;
    }
    
    .form-group label {
        font-size: 10px;
    }
    
    .form-group input, 
    .form-group textarea {
        font-size: 10px;
    }
    
    /* OFFICE */
    .office-title {
        font-size: 28px;
    }
    
    .office-map {
        margin-bottom: 40px;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .hero {
        height: 75vh;
    }
    .hero h1 {
        font-size: 24px;
    }
    .subtext {
        font-size: 13px;
    }
    .top-brand img {
        width: 55px;
    }
    .top-brand h3 {
        font-size: 14px;
    }
    .top-brand p {
        font-size: 10px;
    }
    
    .about-text h2 {
        font-size: 24px;
    }
    
    .about-text p {
        font-size: 12px;
    }
    
    .about-image img {
        max-width: 240px;
        height: 240px;
    }
    
    .about2-content h2, .blogs-content h2 {
        font-size: 24px;
    }
    
    .project-left h1 {
        font-size: 28px;
    }
    
    .left h1 {
        font-size: 24px;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .office-title {
        font-size: 24px;
    }

    .office {
        padding: 20px 0 30px; 
    }
    .office-title {
        font-size: 24px;
    }
    .office-map {
        margin-bottom: 25px;
    }
}

/* Scroll Top Button Responsive */
@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 4rem;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #scrollTopBtn {
        bottom: 3rem;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}