/* General Body & Typography */
body {
    margin: 0;
    font-family: 'Lato', sans-serif; /* Clean, modern sans-serif for body text */
    background-color: #f8f8f8; /* Light, warm background */
    color: #333; /* Soft black text */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* Elegant serif font for headings */
    color: #6a057d; /* A rich, deep purple for headings - adjust to your brand color */
    margin-bottom: 0.8em;
}

h1 { font-size: 2.8em; text-align: center; margin-top: 40px; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.6em; }

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: #007bff; /* Standard link blue, will override in specific contexts */
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: #ffffff; /* White background for header */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Soft shadow for depth */
    padding: 10px 0;
    position: sticky; /* Sticky header */
    top: 0;
    z-index: 1000; /* Ensures it stays on top */
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.navbar-brand .logo {
    height: 60px; /* Larger logo for impact */
    width: auto;
    display: block; /* Ensures no extra space below image */
}

.navbar-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px; /* Space between navigation items */
}

.navbar-nav li a {
    display: flex;
    align-items: center;
    color: #333; /* Darker text for nav links */
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative; /* For the underline effect */
}

.navbar-nav li a:hover {
    color: #6a057d; /* Hover color matches heading */
}

/* Underline effect on hover */
.navbar-nav li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #6a057d;
    transition: width 0.3s ease-in-out;
}

.navbar-nav li a:hover::after,
.navbar-nav li a[aria-current="page"]::after { /* Active link style */
    width: 100%;
}

.nav-icon {
    height: 20px; /* Slightly larger icons */
    width: 20px;
    margin-left: 8px; /* Space between text and icon */
    filter: invert(20%) sepia(80%) saturate(1000%) hue-rotate(250deg) brightness(80%); /* Example: Color icons to match brand. Adjust values */
}

/* --- Main Content Area --- */
.product-grid-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-description {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px; /* Spacing between cards */
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #eee; /* Subtle border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05); /* Softer, larger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex; /* Flex to arrange content vertically */
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* More pronounced shadow */
}

.product-link {
    display: block;
    padding: 15px; /* Padding inside the card */
    color: inherit; /* Inherit text color */
}

.product-image {
    width: 100%;
    height: 300px; /* Fixed height for consistent layout */
    object-fit: cover; /* Crops image to fit */
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.product-title {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #6a057d; /* Matches heading color */
}

.product-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #4CAF50; /* A friendly green for price */
    margin-bottom: 10px;
}

.product-description-snippet {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1; /* Allows snippet to take available space */
}

.view-details-btn {
    display: inline-block;
    background-color: #8A2BE2; /* A beautiful purple for the button */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    margin-top: 10px; /* Space above button */
}

.view-details-btn:hover {
    background-color: #6a057d; /* Darker purple on hover */
}

.no-products {
    text-align: center;
    grid-column: 1 / -1; /* Make it span all columns */
    padding: 50px;
    font-size: 1.2em;
    color: #777;
}

/* --- Footer --- */
.main-footer {
    background-color: #333; /* Dark background for footer */
    color: #f4f4f4; /* Light text */
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links li a {
    color: #f4f4f4;
    font-size: 0.95em;
}

.footer-links li a:hover {
    color: #8A2BE2; /* Hover color for footer links */
}

.social-media img {
    height: 28px;
    width: 28px;
    margin: 0 10px;
    filter: invert(100%); /* Make social icons white */
    transition: transform 0.2s ease;
}

.social-media img:hover {
    transform: scale(1.1);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 15px;
    }

    .navbar-nav li {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    .navbar-nav li a {
        padding: 12px 0;
        justify-content: center; /* Center text and icon */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Separator */
    }

    .navbar-nav li:last-child a {
        border-bottom: none;
    }

    h1 {
        font-size: 2em;
    }

    .product-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }

    .product-card {
        margin: 0 10px; /* Add some side margin on small screens */
    }
}

/* product-details.css */

/* Ensure general styles from style.css are loaded first */

.product-detail-page {
    display: flex;
    flex-wrap: wrap; /* Allows sections to wrap on smaller screens */
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px; /* Space between gallery and info */
}

.product-gallery {
    flex: 1; /* Takes available space */
    min-width: 300px; /* Minimum width before wrapping */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image-display {
    width: 100%;
    max-width: 500px; /* Max size for the main image */
    margin-bottom: 20px;
}

.main-product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.thumbnail-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.thumbnail-image {
    width: 80px; /* Size for thumbnails */
    height: 80px;
    object-fit: cover;
    border: 2px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.thumbnail-image:hover {
    border-color: #8A2BE2; /* Highlight on hover */
    transform: scale(1.05);
}

.thumbnail-image.active {
    border-color: #6a057d; /* Active thumbnail highlight */
    box-shadow: 0 0 8px rgba(106, 5, 125, 0.4);
}

.product-info {
    flex: 2; /* Takes more space than gallery */
    min-width: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 30px;
}

.product-title {
    font-size: 1.8em;
    color: #6a057d;
    margin-top: 0;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.8em;
    color: #4CAF50; /* Green for price */
    font-weight: bold;
    margin-bottom: 25px;
}

.product-price span {
    font-size: 1.2em; /* Emphasize the price number */
}

.product-description h2 {
    font-size: 1.6em;
    color: #6a057d;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.product-description p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
}

.product-meta {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 0.95em;
    color: #777;
}

.product-meta strong {
    color: #333;
}

.product-meta p {
    margin-bottom: 8px;
}

.product-tag {
    display: inline-block;
    background-color: #e6e6fa; /* Light lavender background */
    color: #6a057d;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 8px;
    margin-bottom: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.product-tag:hover {
    background-color: #d1c4e9;
    color: #4a045c;
}

.add-to-cart-btn,
.buy-now-btn {
    display: block; /* Make them full width */
    width: 100%;
    padding: 15px 25px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin-top: 20px;
    text-decoration: none; /* In case you make them links */
}

.add-to-cart-btn {
    background-color: #8A2BE2; /* Main accent color */
    color: white;
}

.add-to-cart-btn:hover {
    background-color: #6a057d;
    transform: translateY(-2px);
}

.buy-now-btn {
    background-color: #4CAF50; /* Another accent color for immediate purchase */
    color: white;
    margin-top: 15px;
}

.buy-now-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.product-not-found {
    text-align: center;
    padding: 100px 20px;
    max-width: 800px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.product-not-found h1 {
    color: #d9534f; /* Red for error */
}

.back-to-shop-btn {
    display: inline-block;
    background-color: #8A2BE2;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.back-to-shop-btn:hover {
    background-color: #6a057d;
}


/* Responsive Design for Product Details Page */
@media (max-width: 768px) {
    .product-detail-page {
        flex-direction: column; /* Stack gallery and info vertically */
        gap: 30px;
        padding: 0 15px;
        margin-top: 20px;
    }

    .product-gallery, .product-info {
        padding: 20px;
    }

    .product-title {
        font-size: 2em;
    }

    .product-price {
        font-size: 1.5em;
    }

    .product-description h2 {
        font-size: 1.4em;
    }

    .product-description p, .product-meta p {
        font-size: 1em;
    }

    .add-to-cart-btn, .buy-now-btn {
        font-size: 1.1em;
        padding: 12px 20px;
    }

    .thumbnail-image {
        width: 60px;
        height: 60px;
    }
}

/* --- Pagination Styling --- */
.pagination {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
}

.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex; /* Use flexbox for horizontal alignment */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden; /* Ensures borders are rounded */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.pagination li {
    margin: 0;
    border-right: 1px solid #ddd; /* Separator between items */
}

.pagination li:last-child {
    border-right: none; /* No separator for the last item */
}

.pagination li a {
    display: block;
    padding: 12px 18px;
    color: #6a057d; /* Matches your brand color */
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination li a:hover {
    background-color: #f0f0f0; /* Light hover background */
    color: #4a045c; /* Darker text on hover */
}

.pagination li a.active {
    background-color: #6a057d; /* Active page background */
    color: white;
    cursor: default; /* No pointer on active page */
}

.pagination li a.active:hover {
    background-color: #6a057d; /* Keep active color consistent on hover */
    color: white;
}

/* Responsive adjustments for pagination */
@media (max-width: 600px) {
    .pagination ul {
        flex-wrap: wrap; /* Allow pagination items to wrap */
        justify-content: center;
        border: none; /* Remove border on small screens */
        box-shadow: none;
    }

    .pagination li {
        border: 1px solid #ddd; /* Individual borders for wrapped items */
        margin: 5px; /* Space out wrapped items */
        border-radius: 8px;
    }

    .pagination li:last-child {
        border-right: 1px solid #ddd;
    }
}

/* about.css */

/* --- About Hero Section --- */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('./img/meeting.jpg') no-repeat top center/cover; /* Replace with a beautiful background image */
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Ensure a good height */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: white; /* Override default heading color for hero */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-tagline {
    font-size: 1.5em;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- General Section Styling --- */
.about-page-container {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.about-page-container section {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 40px;
    margin-bottom: 50px;
}

.about-page-container h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.about-page-container h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: #8A2BE2; /* Accent line */
    border-radius: 2px;
}

/* --- Our Story Section --- */
.story-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 30px;
    align-items: flex-start;
}

.story-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    object-fit: cover;
    flex-shrink: 0; /* Don't shrink the image */
}

.story-content p {
    flex-grow: 1; /* Allow paragraphs to take remaining space */
    font-size: 1.1em;
    color: #444;
    line-height: 1.7;
}

/* --- Our Materials Section --- */
.materials-grid, .commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.material-item, .commitment-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-item:hover, .commitment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.material-icon, .commitment-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.1)); /* Soft shadow for icons */
}

.material-item h3, .commitment-item h3 {
    font-size: 1.5em;
    margin-top: 0;
    color: #6a057d;
}

.material-item p, .commitment-item p {
    font-size: 0.95em;
    color: #666;
}

/* --- Marketplace Mission Section --- */
.marketplace-mission p {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.7;
}

.marketplace-mission .call-to-action {
    font-size: 1.2em;
    font-weight: bold;
    color: #6a057d; /* Highlight the call to action text */
    margin-top: 30px;
    text-align: center;
}

.inline-link {
    color: #007bff;
    text-decoration: underline;
    font-weight: bold;
}

.inline-link:hover {
    color: #0056b3;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .about-hero {
        padding: 80px 15px;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-tagline {
        font-size: 1.2em;
    }

    .about-page-container section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .about-page-container h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .story-content {
        flex-direction: column;
    }

    .story-image {
        max-width: 100%;
        margin: 0 auto 20px auto; /* Center image */
    }

    .materials-grid, .commitment-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}



/* contact.css */

/* --- Contact Hero Section --- */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('./img/contact.jpg') no-repeat center center/cover; /* Replace with an image related to contact/communication */
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.contact-hero .hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.contact-hero .hero-tagline {
    font-size: 1.4em;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- General Section Styling (reused from about.css idea) --- */
.contact-page-container {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.contact-page-container section {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 40px;
    margin-bottom: 50px;
}

.contact-page-container h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    color: #6a057d; /* Matches your brand color */
}

.contact-page-container h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 70px;
    height: 3px;
    background-color: #8A2BE2; /* Accent line */
    border-radius: 2px;
}

/* --- Contact Details & Map Section --- */
.contact-details-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center; /* Center cards if space allows */
}

.details-card, .map-card {
    flex: 1; /* Allow cards to grow and shrink */
    min-width: 300px; /* Minimum width before wrapping */
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content within cards */
    text-align: center;
}

.details-card address {
    font-style: normal; /* Remove default italic for address */
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #444;
}

.details-card p {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #555;
}

.details-card a {
    color: #007bff; /* Standard link color */
    font-weight: bold;
}

.details-card a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.working-hours {
    font-style: italic;
    color: #777;
    margin-top: 20px;
}

.google-map {
    width: 100%;
    height: 450px; /* Fixed height for the map */
    border-radius: 8px;
    overflow: hidden; /* Ensures iframe respects border-radius */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px; /* Space between map heading and map */
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: 0; /* Remove default iframe border */
}

/* --- Contact Form Section --- */
.contact-form-section {
    padding: 40px;
    margin-bottom: 50px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-intro {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 1em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #8A2BE2;
    box-shadow: 0 0 8px rgba(138, 43, 226, 0.2);
    outline: none; /* Remove default focus outline */
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px;
}

.contact-form .submit-btn {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background-color: #8A2BE2; /* Main accent color */
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 30px;
}

.contact-form .submit-btn:hover {
    background-color: #6a057d; /* Darker accent on hover */
    transform: translateY(-2px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 15px;
        min-height: 250px;
    }

    .contact-hero .hero-content h1 {
        font-size: 2.5em;
    }

    .contact-hero .hero-tagline {
        font-size: 1.2em;
    }

    .contact-details-section {
        flex-direction: column;
        gap: 20px;
    }

    .details-card, .map-card {
        min-width: unset; /* Remove min-width to allow full stacking */
        padding: 25px;
    }

    .contact-page-container section {
        padding: 30px 15px;
    }

    .contact-page-container h2 {
        font-size: 1.8em;
    }

    .google-map {
        height: 300px; /* Shorter map on mobile */
    }

    .contact-form-section {
        padding: 30px 15px;
    }
}

///////// mobile /////
/* --- Base Styles (Apply to ALL screen sizes, good for mobile) --- */
.main-header {
    background-color: #ffffff; /* White background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    padding: 10px 0;
    position: sticky; /* Keeps header at top when scrolling */
    top: 0;
    z-index: 1000; /* Ensures header is above other content */
}

.navbar {
    display: flex;
    justify-content: space-between; /* Puts logo on one side, toggle on other */
    align-items: center;
    padding: 10px 15px; /* Padding for mobile screens */
    position: relative; /* Important for positioning the mobile menu */
    max-width: 100%; /* Ensures it fits */
}

.navbar-brand .logo {
    height: 50px; /* Logo size for mobile */
    width: auto;
    display: block;
}

/* --- Hamburger Menu Icon Styles --- */
.menu-toggle {
    /* Always display the toggle button on mobile */
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Ensure it's clickable above other content */
    margin-left: 10px; /* Space from logo */
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333; /* Color of the lines */
    margin: 5px 0; /* Space between lines */
    transition: all 0.3s ease-in-out; /* Smooth animation */
    border-radius: 2px;
}

/* --- Mobile Navigation Links (Hidden by default) --- */
.navbar-links {
    /* Hidden by default on mobile */
    display: none; /* Hide until activated by JS */
    flex-direction: column; /* Stack links vertically */
    width: 100%; /* Take full width of the navbar */
    background-color: #ffffff; /* Background for the dropdown menu */
    position: absolute; /* Position relative to .navbar */
    top: 100%; /* Appears directly below the header */
    left: 0;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1); /* Shadow for dropdown effect */
    padding: 10px 0;
    border-top: 1px solid #eee;
    /* Optional: Add a subtle animation when it appears */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    transform: translateY(-10px); /* Start slightly off-screen */
    opacity: 0;
    pointer-events: none; /* Disable clicks when hidden */
}

/* --- State when mobile menu is active/open (JS adds 'active' class) --- */
.navbar-links.active {
    display: flex; /* Show the menu */
    transform: translateY(0); /* Slide into view */
    opacity: 1;
    pointer-events: auto; /* Enable clicks */
}

.navbar-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    flex-direction: column; /* Ensure vertical stacking */
    width: 100%;
}

.navbar-nav li {
    width: 100%;
    text-align: center; /* Center menu items */
}

.navbar-nav li a {
    display: block; /* Make links fill their space for better tapping */
    color: #333;
    font-weight: 500;
    padding: 15px 0; /* Generous padding for touch targets */
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Subtle separator between items */
    transition: background-color 0.3s ease;
}

.navbar-nav li:last-child a {
    border-bottom: none; /* No separator for the last item */
}

.navbar-nav li a:hover {
    background-color: #f8f8f8; /* Light hover background */
    color: #6a057d; /* Highlight color */
}

/* --- Active link styling for mobile --- */
.navbar-nav li a[aria-current="page"] {
    background-color: #f0f0f0; /* Highlight active background */
    color: #6a057d;
    font-weight: bold;
}

/* --- Hamburger Animation (Optional but enhances UX) --- */
.menu-toggle.open .hamburger:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open .hamburger:nth-child(2) {
    opacity: 0; /* Fade middle line */
}

.menu-toggle.open .hamburger:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* --- Desktop Styles (Apply from a certain screen width upwards) --- */
@media (min-width: 769px) { /* Adjust this breakpoint as needed (e.g., 768px, 992px) */
    .navbar {
        max-width: 1200px; /* Max width for content on larger screens */
        margin: 0 auto;
        padding: 10px 20px; /* More padding for desktop */
    }

    .navbar-brand .logo {
        height: 60px; /* Larger logo on desktop */
    }

    .menu-toggle {
        display: none; /* Hide hamburger menu on desktop */
    }

    .navbar-links {
        display: block; /* Always visible on desktop */
        position: static; /* Remove absolute positioning */
        box-shadow: none; /* No shadow */
        border-top: none; /* No border */
        padding: 0;
        transform: none; /* Remove transformations */
        opacity: 1;
        pointer-events: auto;
        width: auto; /* Allow content to dictate width */
    }

    .navbar-nav {
        flex-direction: row; /* Horizontal on desktop */
        gap: 30px; /* Space between navigation items */
    }

    .navbar-nav li {
        width: auto;
        text-align: left; /* Align text left */
    }

    .navbar-nav li a {
        padding: 8px 0; /* Less padding for desktop */
        border-bottom: none; /* Remove separators */
        position: relative; /* For underline effect */
    }

    .navbar-nav li a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px; /* Position underline below text */
        left: 0;
        background-color: #6a057d; /* Underline color */
        transition: width 0.3s ease-in-out;
    }

    .navbar-nav li a:hover::after,
    .navbar-nav li a[aria-current="page"]::after {
        width: 100%; /* Expand underline on hover/active */
    }

    .navbar-nav li a[aria-current="page"] {
        background-color: transparent; /* No background highlight on desktop active */
        color: #6a057d;
        font-weight: bold;
    }
}