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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #222;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.header {
    background-color: #372482;
    padding: 20px 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: 0.3s;
}

.logo a:hover img {
    transform: scale(1.05);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navbar a {
    position: relative;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}


.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),url("images/hero.jpg");
    opacity: 95%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}


.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 25px;
    background-color: #372482;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

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

.products {
    padding: 80px 0;
    background-color: rgb(170, 159, 10);
}
section {
    padding: 100px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    padding-bottom: 20px;
    transition: 0.3s;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card h3 {
    margin: 15px 0 10px 0;
}

.product-card p {
    font-size: 14px;
    padding: 0 15px;
}

.product-card:hover {
    transform: translateY(-8px);
}

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

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px
}

.about-text p {
    margin-bottom: 15px;
}

.about-text .btn {
    display: inline-block;
    margin-top: 25px;
}

.stats {
    color: white;
    background-color: #372482;
    padding: 30px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.stat h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.stat p {
   font-size: 20px;
   opacity: 0.8;

}

.sustainability {
    width: 100%;
    padding: 50px;
    background-color:  #f5f6fb;
    text-align: center;
}

.sustainability h2 {
    font-size: 34px;
    margin-bottom: 50px;
    color: #2d2d2d;
}

.sustain-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
}

.sustain-cards {
    display: flex;
    justify-content:space-between;
    gap: 35px;
}

.sustain-card {
    background: rgb(170, 159, 10);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s ;
    border-top: 4px solid #372482;
}

.sustain-card h3 {
    color:#372482;
    margin-bottom: 15px;
    font-weight: 600;
}

.sustain-card p {
    color: #666;
}

.sustain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.footer {
    background-color: #555555;
    color: #ddd;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 50px;
    margin-left:20px ;
    margin-right: 20px;
}

.footer-columns h3,
.footer-columns h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-columns p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-columns ul {
    list-style: none;
}

.footer-columns ul li {
    margin-bottom: 10px;
}

.footer-columns ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-columns ul li a:hover {
    color: #1b0071;
}

.content {
    display: flex;
    margin-top: 10px;
}

.content input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

.content button {
    padding: 10px 15px;
    background: #1b0071;
    border: none;
    color: white;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding: 5px 0;
    border-top: 1px solid #333;
    font-size: 14px;
}
@media (max-width: 992px) {

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h2 {
        font-size: 36px;
    }
}

/* Mobil */
@media (max-width: 768px) {

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

    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

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

    .hero {
        height: 70vh;
        padding: 20px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .about-container {
    grid-template-columns: 1fr;
    }

    .stats-container {
    grid-template-columns: repeat(2, 1fr);
}
    .sustain-grid {
    grid-template-columns: 1fr;
}

    .footer-container {
    grid-template-columns: 1fr;
}
}