/* ----------------------------
   GLOBAL STYLE
------------------------------*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: whitesmoke;
    font-family: 'Times New Roman', Times, serif;
    color: #341E04;
}


/* ----------------------------
   LOGO DECORATION
------------------------------*/

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 36px;
    background-color: #5e3939;
    color: white;
    padding: 10px;
    border-radius: 14px;
}

.logo h1 {
    margin: 0;
    font-size: 28px;
    color: #341E04;
    font-family: Georgia, serif;
}

.logo p {
    margin: 0;
    font-size: 13px;
    color: #7a5c4a;
    letter-spacing: 1px;
}


/* ----------------------------
   HEADER AND NAV
------------------------------*/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: whitesmoke;
}

nav a {
    display: inline-block;
    text-decoration: none;
    font-size: 24px;
    margin-left: 20px;
    padding: 10px 20px;
    border-radius: 14px;
    background-color: #5e3939;
    color: white;
    transition: 0.3s;
}

nav a:hover {
    background-color: white;
    color: #5e3939;
    transform: translateY(-3px);
}


/* ----------------------------
   TITLE SECTION
------------------------------*/

.title {
    text-align: center;
    padding: 30px 10px;
}

.title h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.title p {
    color: rgb(53, 33, 33);
    font-size: 18px;
}


/* ----------------------------
   IMPACT SECTION
------------------------------*/

.impact-section {
    text-align: center;
    /* padding: 2px; */
    background-color: whitesmoke;
}

.impact-section h2 {
    color: rgb(53, 33, 33);
    font-size: 32px;
}

.impact-intro {
    color: rgb(53, 33, 33);
    font-size: 22px;
    animation: fadesode 2s ease;
}

@keyframes fadesode {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    margin-top: 40px;
}

.impact-card {
    width: 450px;
    background-color: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    transition: 0.3s;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}


/* ----------------------------
   FEATURES SECTION
------------------------------*/

.features {
    padding: 35px 50px 60px;
    text-align: center;
    background-color: whitesmoke;
}

.features h2 {
    font-size: 34px;
    margin-bottom: 30px;
    color: rgb(53, 33, 33);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: linear-gradient(180deg, #ffffff, #f8eeee);
    padding: 30px 22px;
    border-radius: 22px;

    border-top: 6px solid #5e3939;

    box-shadow: 0 8px 18px rgba(53, 33, 33, 0.20);

    transition: 0.3s;
}

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

    box-shadow: 0 12px 25px rgba(53, 33, 33, 0.30);
}

.feature-icon {
    display: inline-block;

    font-size: 38px;

    background-color: #5e3939;
    color: white;

    padding: 14px;

    border-radius: 50%;

    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 22px;
    color: #5e3939;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 16px;
    color: rgb(53, 33, 33);
    line-height: 1.5;
}

/* ----------------------------
   WORKING METHOD
------------------------------*/

.working-method {
    padding-top: 10px;
    padding-bottom: 50px;
    text-align: center;
    background-color: whitesmoke;
}

.working-method h2 {
    font-size: 34px;
    color: rgb(53, 33, 33);
    margin-bottom: 45px;
}

.working-steps {
    display: grid;
    grid-template-columns: repeat(4, 240px);
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.work-step {
    position: relative;

    width: 240px;
    height: 240px;

    margin: auto;

    border: 5px solid #5e3939;
    border-radius: 50%;

    background-color: white;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 8px 20px rgba(53, 33, 33, 0.25);
    transition: 0.3s;
}

.work-step:hover {
    transform: translateY(-8px);
}

.work-step img {
    width: 125px;
    height: 125px;
    object-fit: contain;
}

.circle-text {
    position: absolute;

    background-color: #5e3939;
    color: white;

    padding: 8px 14px;
    border-radius: 20px;

    font-size: 16px;
    font-weight: bold;
}

.top-text {
    top: -25px;
}

.bottom-text {
    bottom: -25px;
}

.arrow {
    display: none;
}


/* ----------------------------
   FOOTER
------------------------------*/

footer {
    text-align: center;
    padding: 20px;
    background-color: #5e3939;
    color: white;
}

footer p {
    background-color: #5e3939;
    margin: 0;
}



/* ----------------------------
   RESPONSIVE DESIGN
------------------------------*/
@media (max-width: 1100px) {

    .impact-cards,
    .feature-cards {
        grid-template-columns: 1fr;
    }

    .working-steps {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .impact-card {
        width: 90%;
    }
}

.back-to-top {
    display: block;
    width: fit-content;
    margin: 30px 30px 30px auto;

    text-decoration: none;
    background-color: #5e3939;
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 18px;
}

.back-to-top:hover {
    background-color: white;
    color: #5e3939;
    border: 2px solid #5e3939;
}