@font-face {
    font-family: 'PixelFont';
    src: url('/0075209813/malikas-drink/asset/PIXEL_MONO.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    opacity: 0.7;
    animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0.7;
    }
    to {
        opacity: 1;
    }
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'PixelFont', monospace;
    background-color: #FFF;
    align-items: center;
    text-align: center;
}

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

.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* Logo left, nav/hamburger right */
    padding: 0 5%;
    width: 90%;
    background-color: #fcf0c8;
    border-radius: 20px;
    box-sizing: border-box;
    margin: 0.5rem auto;
}

.logo img {
    margin: 0.5rem 0; /* Updated: Added top and bottom margin */
    width: 50px;
    height: auto;
    border-radius: 10px;
    background-color: #f7d098;
}

.nav-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* Center links within nav-items */
    gap: 15px;
}

.nav-items a {
    font-size: 1.7rem;
    font-weight: 400;
    color: #630a10;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-items a:hover {
    color: #8b1016;
}

.footer {
    width: 90%;
    padding: 20px;
    background-color: #f7d098;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 20px 20px 0 0;
    margin-top: auto;
}

.footer hr {
    width: 80%;
    border: none;
    height: 2px;
    background-color: #630a10;
    margin: 20px 0;
}

.nav-footer {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.nav-footer a {
    font-size: 1.4rem;
    font-weight: lighter;
    color: #630a10;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.nav-footer a:hover {
    color: #8b1016;
}

.copyright {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 400;
    color: #630a10;
    text-align: center;
}

.copyright span {
    font-family: 'PixelFont', monospace;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #630a10;
    cursor: pointer;
    align-self: center;
}

.download {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem);
}

/* Header Section */
.download-header-section {
    display: flex;
    gap: clamp(1.5rem, 5vw, 3rem);
    align-items: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    flex-wrap: wrap;
}

.download-image-container {
    flex: 1;
    min-width: 250px;
    max-width: clamp(300px, 50vw, 500px);
    aspect-ratio: 1/1; /* Updated: Ensures a square shape */
}

.download-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Updated: Ensures image covers square container */
    border-radius: 1rem;
    border: 3px solid #911f27;
    transition: transform 0.3s ease;
}

.download-background-image:hover {
    transform: scale(1.05);
}

.download-content-container {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.download-text-content {
    text-align: left;
}

.download-title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    color: #630a10;
    font-weight: bold;
}

.download-subtitle {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    color: #630a10;
}

.download-action-section {
    display: flex;
    gap: clamp(1rem, 3vw, 1.5rem);
    align-items: center;
    flex-wrap: wrap;
}

.download-icon {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    object-fit: contain;
    border-radius: 0.5rem;
}

.news-read-more {
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
    background-color: #630a10;
    border-radius: 0.5rem;
    border: none;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #f7d098;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.news-read-more:hover {
    background-color: #911f27;
    transform: scale(1.05);
}

.news-read-more:active {
    transform: scale(0.98);
}

/* Testimonials Section */
.download-testimonials-container {
    padding: clamp(1rem, 3vw, 2rem);
    text-align: center;
}

.download-testimonials-title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    color: #630a10;
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.download-testimonials-grid {
    display: flex;
    gap: clamp(1rem, 3vw, 1.5rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.download-testimonial-card {
    flex: 0 0 clamp(200px, 30vw, 250px);
    height: clamp(250px, 40vw, 300px);
    background-color: #911f27;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.download-testimonial-card:hover {
    transform: scale(1.05);
}

.download-testimonial-text {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #fcf0c8;
    font-weight: bold;
    padding: 1rem;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-name-tag {
    background-color: #f7d098;
    border-radius: 0 0 1rem 1rem;
    padding: clamp(0.5rem, 2vw, 0.75rem);
    text-align: center;
}

.download-name {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #630a10;
    font-weight: bold;
}

.download-name-tag:hover {
    background-color: #e5c088;
}

/* Slider Styles */
.slider {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider::-webkit-scrollbar {
    display: none;
}

/* Feedback Section */
.download-feedback-section {
    padding: clamp(1rem, 3vw, 2rem);
    margin: clamp(2rem, 5vw, 3rem) 0;
    text-align: center;
}

.download-content-wrapper {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
    justify-content: center;
}

.download-form-section {
    width: 100%;
    max-width: clamp(300px, 60vw, 600px);
}

.download-input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    text-align: left;
}

.download-input-label {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #630a10;
    margin-bottom: 0.5rem;
}

.download-input-field {
    width: 100%;
    padding: clamp(0.5rem, 2vw, 0.75rem);
    background-color: #f7d098;
    border: none;
    border-radius: 0.5rem;
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    transition: background-color 0.3s ease;
}

.download-input-field:focus {
    outline: 2px solid #630a10;
    background-color: #f8d8a8;
}

.download-input-field:hover {
    background-color: #f8d8a8;
}

.download-input-field[type="text"] {
    height: clamp(2rem, 5vw, 2.5rem);
}

.download-input-field[type="textarea"],
textarea.download-input-field {
    height: clamp(100px, 20vw, 150px);
    resize: vertical;
}

.download-submit-section {
    text-align: center;
}

.copyright a{
    text-decoration: none;
    color: #630a10;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .download-header-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .download-text-content {
        text-align: center;
    }

    .download-action-section {
        justify-content: center;
    }

    .navbar {
        padding: 0 3%;
        width: 94%;
        justify-content: space-between;
        align-items: center;
    }

    .nav-items {
        justify-content: center;
        align-items: center;
    }

    .nav-items a {
        font-size: 1.5rem;
    }

    .logo img {
        margin: 0.5rem 0; /* Updated: Maintain margin */
        width: 45px;
    }
}

@media screen and (max-width: 768px) {
    .download-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .download-subtitle {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }

    .download-testimonials-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .download-testimonial-card {
        flex: 0 0 clamp(180px, 40vw, 220px);
        height: clamp(200px, 35vw, 250px);
    }

    .download-icon {
        width: clamp(50px, 8vw, 60px);
        height: clamp(50px, 8vw, 60px);
    }

    .hamburger {
        display: block;
        align-self: center;
    }

    .nav-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fcf0c8;
        padding: 20px 0;
        border-radius: 0 0 20px 20px;
        align-items: center;
        justify-content: center;
    }

    .nav-items.active {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000; /* Ensure dropdown is above other content */
    }

    .nav-items a {
        font-size: 1.4rem;
        padding: 10px 0;
        text-align: center;
    }

    .navbar {
        width: 94%;
        padding: 0 3%;
        justify-content: space-between;
        align-items: center;
    }

    .footer {
        width: 94%;
        padding: 15px;
        justify-content: center;
        align-items: center;
    }

    .nav-footer {
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    .nav-footer a {
        font-size: 1.2rem;
    }

    .copyright {
        font-size: 1.3rem;
    }

    .logo img {
        margin: 0.5rem 0; /* Updated: Maintain margin */
        width: 45px;
    }
}

@media screen and (max-width: 480px) {
    .download {
        padding: 1rem;
    }

    .download-header-section,
    .download-testimonials-container,
    .download-feedback-section {
        padding: 0.5rem;
    }

    .download-image-container {
        max-width: 100%;
    }

    .download-testimonial-card {
        flex: 0 0 clamp(160px, 45vw, 200px);
        height: clamp(180px, 40vw, 220px);
    }

    .download-form-section {
        max-width: 100%;
    }

    .download-input-field[type="text"] {
        height: clamp(1.8rem, 4vw, 2rem);
    }

    .download-input-field[type="textarea"],
    textarea.download-input-field {
        height: clamp(80px, 18vw, 120px);
    }

    .navbar {
        width: 96%;
        padding: 0 2%;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        margin: 0.5rem 0; /* Updated: Maintain margin */
        width: 40px;
    }

    .nav-items {
        align-items: center;
        justify-content: center;
    }

    .nav-items a {
        font-size: 1.2rem;
    }

    .footer {
        width: 96%;
        padding: 10px;
        align-items: center;
        justify-content: center;
    }

    .nav-footer {
        gap: 15px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .nav-footer a {
        font-size: 1.1rem;
    }

    .copyright {
        font-size: 1.1rem;
    }
}