* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f5f5f5;
    font-family: Georgia, serif;
    overflow-x: hidden;
}


/* ================= NAVBAR / HERO ================= */

.header-bg {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("images/coffee_image.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.navbar {
    background: transparent !important;
}

.logo {
    width: 170px;
    max-width: 100%;
    height: auto;
}

.header {
    padding-top: 40px;
}

.header .row {
    min-height: 600px;
}

.header h1,
.header p {
    max-width: 600px;
}

.header .img-fluid {
    max-width: 100%;
    height: auto;
}

.text-coffee {
    color: rgb(99, 36, 21);
}


/* ================= COFFEE CARDS ================= */

.coffee-cards {
    padding-top: 40px;
}

.coffee-card {
    background: #FFF9F2;
    border: 1px solid #f0d7b0;
    position: relative;
    overflow: visible;
    height: 100%;
    transition: 0.3s;
}

.coffee-card:hover {
    transform: translateY(-5px);
}

.coffee-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body-custom {
    padding: 25px 20px 45px;
    position: relative;
}

.card-body-custom h3 {
    color: #6F4E37;
    font-weight: bold;
    margin-bottom: 8px;
}

.card-body-custom p {
    color: #666;
    font-size: 15px;
}

.card-body-custom h5 {
    color: #6F4E37;
    font-weight: bold;
    margin-top: 10px;
}


/* ================= ORDER BUTTON ================= */

.order-btn {
    background: #F8BE62;
    color: #3b2a18;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    padding: 10px 28px;

    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);

    box-shadow: 0 5px 10px rgba(0, 0, 0, .15);

    width: auto;
    height: auto;
    white-space: nowrap;
}

.order-btn:hover {
    background: #e9aa43;
    color: #000;
}


/* ================= FEATURES ================= */

.feature-card {
    border: 1px solid #F5D9B8;
    padding: 45px 25px;
    transition: .3s;
    background: #fff;
    height: 100%;
}

.feature-card.active {
    background: #FFF4E8;
}

.feature-card:hover {
    background: #FFF4E8;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 70px;
    color: #000;
    margin-bottom: 25px;
    display: block;
}

.feature-card h3 {
    color: #6F4E37;
    font-size: 28px;
    font-weight: bold;
}


/* ================= FEATURE ORDER BUTTON ================= */

.button {
    position: relative;
    padding-bottom: 70px;
}

.order-btn-1 {
    background: #F8BE62;
    color: #3b2a18;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    padding: 10px 28px;

    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);

    box-shadow: 0 5px 10px rgba(0, 0, 0, .15);

    white-space: nowrap;
}

.order-btn-1:hover {
    background: #e9aa43;
    color: #000;
}


/* ================= FIFTH SECTION ================= */

.cup {
    height: 200px;
    max-width: 100%;
    object-fit: contain;
}

.beans {
    position: absolute;
    right: -10px;
    bottom: 0;
    width: 250px;
    max-width: 50%;
    height: auto;
    z-index: 1;
}


/* ================= FEEDBACK ================= */

.text-brown {
    color: #5c3210;
}

.feedback {
    position: relative;
    overflow: hidden;
}

.feedback-box {
    width: 100%;
    max-width: 850px;
    min-height: 520px;
    padding-bottom: 80px !important;
    position: relative;
}

.feedback-text {
    max-width: 700px;
}

.left-coffee-blast {
    left: 0;
    bottom: 20px;
    width: 300px;
    max-width: 25%;
}

.right-coffee-blast {
    right: 0;
    top: 120px;
    width: 300px;
    max-width: 25%;
}

.comma {
    width: 70px;
    max-width: 15%;
    left: 35px;
    top: 35px;
}

.arrow-btn {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-btn {
    left: -25px;
}

.right-btn {
    right: -25px;
}

.feedback-img {
    position: absolute;
    left: 50%;
    bottom: -50px;
    transform: translateX(-50%);
}

.profile-img {
    width: 90px;
    max-width: 100%;
    border-radius: 12px;
}


/* ================= SUBSCRIBE ================= */

.form {
    background-image: url("images/Rectangle 14.png");
    background-position: center;
    background-size: cover;
    position: relative;
    min-height: 500px;
}

.overlay-1 {
    position: absolute;
    background-color: #60370992;
    inset: 0;
}

.form .container {
    position: relative;
    z-index: 2;
}

.form .input-group {
    position: relative;
    max-width: 750px;
}

.form .input-group input {
    padding-right: 150px !important;
}

.highlighted {
    height: auto;
    border: none;
    border-radius: 0 5px 5px 0;
    white-space: nowrap;
}


/* ================= SUBSCRIBE DECORATIONS ================= */

.cup-left,
.cup-right {
    width: 260px;
    max-width: 25%;
    bottom: -80px;
    z-index: 3;
}

.cup-left {
    left: 0;
}

.cup-right {
    right: 0;
}


/* ================= FOOTER ================= */

.footer {
    background-image: url("images/fotter_image.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay-2 {
    background-color: #442808c4;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer img {
    max-width: 180px;
}

.social-icons {
    flex-wrap: wrap;
}

.social-icons i {
    font-size: 20px;
}


/* ================================================= */
/* ================= TABLET ======================== */
/* ================================================= */

@media (max-width: 991.98px) {

    /* Navbar */

    .navbar {
        padding-left: 15px;
        padding-right: 15px;
    }

    .logo {
        width: 140px;
    }

    .navbar-brand {
        margin-left: 0 !important;
    }

    .navbar-nav {
        align-items: center;
        gap: 5px !important;
        margin-top: 15px;
    }

    .navbar-collapse {
        text-align: center;
        padding-top: 15px;
    }

    .navbar-collapse .d-flex {
        justify-content: center;
        align-items: center;
        margin-right: 0 !important;
        margin-top: 15px;
        margin-bottom: 10px;
    }


    /* Hero */

    .header {
        padding-top: 20px;
    }

    .header .row {
        min-height: 550px;
    }

    .header .col-lg-6 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }


    /* Second section */

    .describe .col-lg-6 {
        text-align: center;
    }

    .describe img {
        width: 80% !important;
    }


    /* Coffee cards */

    .coffee-img {
        height: 190px;
    }

    .card-body-custom {
        padding: 22px 15px 45px;
    }

    .card-body-custom h3 {
        font-size: 22px;
    }


    /* Features */

    .feature-card {
        padding: 35px 15px;
    }

    .feature-card h3 {
        font-size: 24px;
    }

    .feature-icon {
        font-size: 60px;
    }


    /* Fifth section */

    .beans {
        right: -20px;
        bottom: -20px;
        width: 200px;
    }


    /* Feedback */

    .feedback-box {
        max-width: 750px;
    }

    .left-coffee-blast,
    .right-coffee-blast {
        width: 200px;
    }


    /* Subscribe */

    .cup-left,
    .cup-right {
        width: 200px;
        bottom: -60px;
    }


    /* Footer */

    .footer .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}


/* ================================================= */
/* ================= MOBILE ======================== */
/* ================================================= */

@media (max-width: 767.98px) {

    /* General */

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 15px;
    }


    /* Navbar */

    .navbar {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .logo {
        width: 125px;
    }

    .navbar-brand {
        padding: 0 !important;
        margin: 0 !important;
    }

    .navbar-toggler {
        padding: 5px 8px;
    }

    .navbar-nav {
        gap: 0 !important;
    }

    .navbar-collapse .d-flex {
        flex-direction: column;
        gap: 8px !important;
    }


    /* Hero */

    .header {
        padding-top: 0;
    }

    .header .row {
        min-height: auto !important;
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .header .col-lg-6 {
        padding-left: 20px !important;
        padding-right: 20px !important;
        text-align: center;
    }

    .header .col-lg-6 p {
        margin-left: auto;
        margin-right: auto;
    }

    .header .img-fluid {
        width: 85% !important;
    }


    /* Second section */

    .describe {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .describe .container {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .describe .col-lg-6 {
        padding: 25px 20px !important;
        text-align: center;
    }

    .describe h1 {
        font-size: 30px;
    }

    .describe p br {
        display: none;
    }

    .describe img {
        width: 100% !important;
    }


    /* Coffee Cards */

    .coffee-cards {
        padding-top: 20px;
    }

    .coffee-cards h1 {
        font-size: 30px;
    }

    .coffee-cards p {
        padding: 0 15px;
    }

    .coffee-cards p br {
        display: none;
    }

    .coffee-img {
        height: 210px;
    }

    .card-body-custom {
        padding: 20px 15px 45px;
    }

    .card-body-custom h3 {
        font-size: 23px;
    }


    /* Feature Cards */

    .features {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .features h1 {
        font-size: 30px;
    }

    .feature-card {
        padding: 35px 15px;
    }

    .feature-card h3 {
        font-size: 24px;
    }

    .feature-icon {
        font-size: 55px;
        margin-bottom: 15px;
    }

    .button {
        padding-bottom: 70px;
    }

    .button h2 {
        font-size: 26px;
    }


    /* Fifth Section */

    .beans {
        position: relative;
        right: auto;
        bottom: auto;
        width: 150px;
        max-width: 60%;
        margin: 20px auto 0;
        display: block;
    }

    .cup {
        height: 180px;
    }

    section.container-fluid {
        min-height: auto !important;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    section.container-fluid .row {
        text-align: center;
    }

    section.container-fluid p {
        width: 100% !important;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    section.container-fluid h1 {
        font-size: 32px;
    }


    /* Feedback */

    .feedback {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .feedback-box {
        min-height: auto;
        padding: 35px 20px 80px !important;
        width: 95%;
    }

    .feedback-text {
        width: 100% !important;
        font-size: 14px;
        line-height: 1.8 !important;
        margin-top: 35px !important;
        padding-top: 25px !important;
    }

    .feedback-box h3 {
        font-size: 22px;
    }

    .comma {
        width: 45px;
        left: 10px;
        top: 15px;
    }

    .feedback-img {
        bottom: -45px;
    }

    .profile-img {
        width: 75px;
    }


    /* Subscribe */

    .form {
        min-height: 430px;
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .form h1 {
        font-size: 30px;
    }

    .form p {
        padding: 0 15px;
    }

    .form .input-group {
        width: 95% !important;
    }

    .form .input-group input {
        padding: 12px 110px 12px 15px !important;
        min-width: 0;
    }

    .highlighted {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }


    /* Footer */

    .footer .container {
        padding: 40px 25px !important;
    }

    .footer .col-lg-5,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .footer p {
        width: 100% !important;
    }

    .footer h4 {
        margin-bottom: 15px !important;
    }
}


/* ================================================= */
/* =============== SMALL MOBILE ==================== */
/* ================================================= */

@media (max-width: 575.98px) {

    h1 {
        font-size: 27px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }


    /* Navbar */

    .logo {
        width: 110px;
    }


    /* Hero */

    .header .row {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .header .col-lg-6 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .header .img-fluid {
        width: 90% !important;
    }


    /* Coffee cards */

    .coffee-img {
        height: 200px;
    }

    .card-body-custom h3 {
        font-size: 21px;
    }

    .order-btn {
        padding: 9px 22px;
        font-size: 14px;
    }


    /* Features */

    .feature-card {
        padding: 30px 15px;
    }

    .feature-card h3 {
        font-size: 21px;
    }

    .feature-icon {
        font-size: 50px;
    }


    /* Fifth section */

    section.container-fluid h1 {
        font-size: 28px;
    }

    section.container-fluid {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .cup {
        height: 150px;
    }

    .beans {
        width: 130px;
    }


    /* Feedback */

    .feedback-box {
        width: 100%;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .feedback-text {
        font-size: 13px;
    }


    /* Subscribe */

    .form {
        min-height: 400px;
    }

    .form h1 {
        font-size: 26px;
    }

    .form .input-group {
        width: 100% !important;
    }

    .form .input-group input {
        padding-right: 100px !important;
        font-size: 13px;
    }

    .highlighted {
        font-size: 13px;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }


    /* Footer */

    .footer .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .footer img {
        width: 150px;
    }

    .social-icons {
        justify-content: center;
    }
}