/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e0f7e9, #fef9f0);
    color: #222;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background-color: #0d3b66;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.8rem;
    color: #f4d35e;
    text-shadow: 0 0 8px #f4d35e;
}

.logo img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
    background-color: transparent;
    overflow: hidden;
}

/* Navigation links */
.nav-links {
    display: flex;
    gap: 2rem;
    position: static;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: auto;
    transition: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-links:hover {
    background-color: transparent;
    box-shadow: none;
}

.nav-links li a {
    color: #f4f4f4;
    font-weight: 600;
    padding: 0.25rem 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    font-size: 1rem;
    text-shadow: none;
    letter-spacing: normal;
    user-select: auto;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: visible;
}

.nav-links li a:hover {
    color: #f0ecdf;
    transform: scale(1.1);
}

/* Hide default checkbox */
.nav-toggle {
    display: none;
}

/* Hamburger menu label */
.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1100;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background-color: #f4d35e;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle-label span {
    top: 50%;
    margin-top: -1.5px;
}

.nav-toggle-label span::before {
    content: '';
    top: -10px;
}

.nav-toggle-label span::after {
    content: '';
    top: 10px;
}

/* Toggle nav-links visibility on checkbox checked */
.nav-toggle:checked + .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 1.5rem;
    background-color: #0d3b66;
    border-radius: 8px;
    padding: 1rem 2rem;
    box-shadow: 0 8px 20px rgba(13, 59, 102, 0.5);
    width: 200px;
    z-index: 1050;
}

.nav-toggle:checked + .nav-links li {
    margin-bottom: 1rem;
}

.nav-toggle:checked + .nav-links li:last-child {
    margin-bottom: 0;
}

/* Background Image Section */
.background-image-section {
    height: 300px;
    background: url('background-image.png') no-repeat center center/cover;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    background: url('images/Banner\ \ 1.webp') no-repeat center center;
    background-size: cover;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 59, 102, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

.btn-primary {
    background-color: #f4d35e;
    color: #0d3b66;
    padding: 0.75rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(244, 211, 94, 0.5);
    animation: bounce 3s infinite;
}

.btn-primary:hover {
    background-color: #e6c94a;
    box-shadow: 0 6px 20px rgba(244, 211, 94, 0.8);
    transform: scale(1.05);
}

/* Products Section */
.products-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.products-section h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: #0d3b66;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(13, 59, 102, 0.15);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    animation: floatUp 1.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    max-width: 250px;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    color: #0d3b66;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.product-card p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.btn-buy-now {
    background-color: #f4d35e;
    color: #0d3b66;
    padding: 0.6rem 1.8rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-buy-now:hover {
    background-color: #e6c94a;
    box-shadow: 0 6px 20px rgba(244, 211, 94, 0.8);
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    background: url('images/banner\ 2.jpg') no-repeat center center;
    background-size: cover;
    padding: 3rem 2rem 2rem 2rem;
    margin-top: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    color: #f4f4f4;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.testimonials-section h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: #0d3b66;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.testimonial-cards {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, #f4d35e, #e6c94a);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 2.5rem 3rem;
    border-radius: 20px;
    max-width: 320px;
    font-style: italic;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInScale 1.2s ease forwards;
    opacity: 0;
    transform: scale(0.95);
}

.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.testimonial-card h4 {
    margin-top: 1rem;
    font-weight: 700;
    font-style: normal;
}

/* About Section */
.about-section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
    color: #222;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0d3b66;
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer-section {
    background: url('images/footer.jpg') no-repeat center center;
    background-size: cover;
    color: #f4d35e;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.footer-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 59, 102, 0.6); /* transparent overlay */
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.logo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.logo-footer img {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

/* Social Icons */
.social-icons {
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-block;
    margin: 0 0.5rem;
    font-weight: 700;
    color: #f4d35e;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 1.5rem;
        background-color: #0d3b66;
        border-radius: 8px;
        padding: 1rem 2rem;
        box-shadow: 0 8px 20px rgba(13, 59, 102, 0.5);
        width: 200px;
        z-index: 1050;
    }

    .nav-toggle-label {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 25px;
        position: relative;
        z-index: 1100;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background-color: #f4d35e;
        position: absolute;
        height: 3px;
        width: 100%;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-toggle-label span {
        top: 50%;
        margin-top: -1.5px;
    }

    .nav-toggle-label span::before {
        content: '';
        top: -10px;
    }

    .nav-toggle-label span::after {
        content: '';
        top: 10px;
    }

    .nav-toggle:checked + .nav-links {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-cards {
        flex-direction: column;
        gap: 1.5rem;
    }

    section {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
}

/* Additional Styling for More Attractive Look */

/* Add subtle animation to hero content */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add shadow and hover effect to buttons */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Add subtle shadow to product cards */
@keyframes floatUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add fade in scale animation */
@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
