* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    /* --- CHANGES HERE --- */
    background-color: #0d0d0d; /* Primary dark background for the entire page */
    background-image: url('image_c7b43c.jpg'); /* Your desired fixed background image */
    background-size: cover; /* Cover the entire viewport */
    background-position: center center; /* Center the image */
    background-attachment: fixed; /* THIS MAKES THE BACKGROUND FIXED */
    background-repeat: no-repeat; /* Prevent tiling */
    padding-top: 4rem; /* Keeps space for fixed header */
    overflow-y: auto;
}

/* Add an overlay to the body to darken the fixed background image */
body::before {
    content: "";
    position: fixed; /* IMPORTANT: Fixed position for the overlay */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 70% opacity black overlay */
    z-index: -1; /* Place it behind content but above the fixed body background image */
}


a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* CSS for the clickable cards */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.why {
    background-color: rgba(31, 31, 31, 0.85); /* Slightly transparent dark background for cards */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    color: #ffffff;
    cursor: pointer;
}

.why > * {
    position: relative;
    z-index: 1;
}

.why:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}
/* End of CSS for clickable cards */


.header {
    background: #000000;
    color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2),
                0 2px 4px -1px rgba(0, 0, 0, 0.12);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-direction: row;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.main-logo {
    height: 3.1rem;
    width: 3.1rem;
    border-radius: 9999px;
    margin-right: 1rem;
    object-fit: cover;
}

.brand-name {
    color: #e7ba51;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    white-space: nowrap;
    font-family: 'Roboto Slab';
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    padding: 1px;
    user-select: none;
    margin-left: auto;
}

.main {
    display: flex;
    align-items: center;
    width: auto;
    flex-grow: 1;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: none;
    opacity: 1;
    position: static;
    padding: 0;
    box-shadow: none;
    margin-left: auto;
}

.main.js-menu-open {
    display: flex;
    flex-direction: column;
    max-height: 300px;
    opacity: 1;
    background-color: #1a1a1a;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.main-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: right;
    gap: 30px;
    width: auto;
}

.nav-link {
    color: #ffffff;
    padding: 0.5rem 0.9rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: block;
    text-decoration: none;
}

.nav-link:hover {
    color: #e7ba51;
    background-color: rgba(255, 255, 255, 0.1);
}

.back-to-home-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #dbb152;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-left: 2.5rem;
}

.back-to-home-button:hover {
    background-color: #b69343;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.section-why {
    position: relative;
    padding: 40px 0;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    background-color: transparent; /* IMPORTANT: Ensure section background is transparent */
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.section-why::before,
.section-why::after {
    display: none; /* Hide these pseudo-elements as background is now on body */
}


.section-why .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.why-light-blue {
    background-color: transparent;
}

.section-title-why {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
    letter-spacing: 0.03em;
    color: #ffffff;
}

.why-gradient-blue {
    background: linear-gradient(to right, #e7ba51, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.card-why {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    /* Reduced gap between cards for a more compact look */
    gap: 30px; /* Changed from 50px */
    margin-top: 20px;
    width: 100%;
    flex-grow: 1;
}

.why {
    /* Adjusted width for SLIGHTLY LARGER cards */
    width: 280px; /* Changed from 250px */
    max-width: 100%;
    /* Adjusted height for SLIGHTLY LARGER cards */
    height: 330px; /* Changed from 300px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Slightly increased padding */
    padding: 22px; /* Changed from 20px */
    text-align: center;
}

.card-image-wrapper {
    /* Adjusted margin and height for slightly larger image */
    margin-bottom: 18px; /* Changed from 15px */
    width: 100%;
    height: 170px; /* Changed from 150px */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.why-title {
    font-family: 'Playfair Display', serif;
    /* Slightly increased font size for title */
    font-size: 1.4em; /* Changed from 1.3em */
    font-weight: 800;
    margin-bottom: 10px; /* Changed from 8px */
    color: #e7ba51;
    letter-spacing: 0.03em;
}

.why-text {
    font-family: Arial, sans-serif;
    /* Slightly increased font size for text */
    font-size: 0.95em; /* Changed from 0.9em */
    font-weight: 400;
    margin-bottom: 0;
    color: #f0f0f0;
    line-height: 1.5;
}

/* ... (card-bg-1, card-bg-2, card-bg-3 remain the same) ... */

@media (min-width: 992px) {
    .card-why {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 20px;
    }

    .why {
        /* Adjusted width for SLIGHTLY LARGER cards on larger screens */
        width: 280px; /* Changed from 250px */
        /* Adjusted height for SLIGHTLY LARGER cards on larger screens */
        height: 330px; /* Changed from 300px */
    }

    /* ... rest of the min-width: 992px media query remains the same ... */
}

@media (max-width: 768px) {
    /* ... (header and main menu adjustments remain the same) ... */

    .card-why {
        flex-direction: column;
        justify-content: center;
        align-items: center; /* This is key for centering when flex-direction is column */
        gap: 15px;
        padding-bottom: 20px;
    }

    .why {
        /* On mobile, slight increase from 280px */
        width: 300px; /* Changed from 280px */
        max-width: 85%; /* Adjusted max-width slightly for the new width */
        margin-left: auto;
        margin-right: auto;
        height: auto;
        min-height: 320px; /* Changed from 300px */
        padding: 18px; /* Changed from 15px */
    }

    .card-image-wrapper {
        height: 145px; /* Changed from 130px */
        margin-bottom: 12px; /* Changed from 10px */
    }

    .why-title {
        font-size: 1.3em; /* Changed from 1.2em */
    }

    .why-text {
        font-size: 0.9em; /* Changed from 0.85em */
    }
    
    /* ... rest of the max-width: 768px media query remains the same ... */
}

.card-image-wrapper {
    /* Adjusted margin and height for smaller image in smaller card */
    margin-bottom: 20px; /* Changed from 25px */
    width: 100%;
    height: 180px; /* Changed from 250px */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.why-title {
    font-family: 'Playfair Display', serif;
    /* Slightly reduced font size for title */
    font-size: 1.5em; /* Changed from 1.8em */
    font-weight: 800;
    margin-bottom: 10px; /* Changed from 15px */
    color: #e7ba51;
    letter-spacing: 0.03em;
}

.why-text {
    font-family: Arial, sans-serif;
    /* Slightly reduced font size for text */
    font-size: 0.95em; /* Changed from 1.1em */
    font-weight: 400;
    margin-bottom: 0;
    color: #f0f0f0;
    line-height: 1.5;
}

.card-bg-1, .card-bg-2, .card-bg-3 {
    background-color: rgba(31, 31, 31, 0.85);
}

@media (min-width: 992px) {
    .card-why {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        /* Maintained reduced gap for larger screens too */
        gap: 30px; /* Changed from 30px to keep it consistent with the overall reduction */
    }

    .why {
        /* Adjusted width for smaller cards on larger screens */
        width: 300px; /* Changed from 410px */
        /* Adjusted height for smaller cards on larger screens */
        height: 350px; /* Changed from 410px */
    }

    body {
        padding-top: 2rem;
    }

    .section-why {
        min-height: calc(100vh - 4rem);
    }
}

@media (max-width: 768px) {
    .header {
        justify-content: space-between;
        padding: 0.7rem 1rem;
    }

    .header1 {
        flex-grow: 1;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-brand {
        flex-grow: 1;
        margin-right: 0;
    }

    .main {
        display: none;
        flex-grow: unset;
        margin-left: 0;
    }

    .hamburger-menu {
        display: block;
        order: 2;
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .back-to-home-button {
        display: inline-block;
        order: 3;
        margin-left: 0;
        font-size: 0.75em;
        padding: 6px 12px;
    }

    .main.js-menu-open {
        display: flex;
        flex-direction: column;
        max-height: 300px;
        opacity: 1;
        background-color: #1a1a1a;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1.5rem;
        text-align: left;
    }

    .section-title-why {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .card-why {
        flex-direction: column;
        /* Maintained reduced gap for mobile screens too */
        gap: 20px; /* Changed from 30px to make it even more compact on mobile */
        padding-bottom: 20px;
    }

    .why {
        /* Adjusted width for smaller cards on mobile */
        width: 85%; /* Changed from 90% */
        height: auto;
        min-height: 350px; /* Changed from 400px */
        padding: 20px; /* Changed from 25px */
    }

    .card-image-wrapper {
        height: 160px; /* Changed from 200px */
        margin-bottom: 15px;
    }

    .why-title {
        font-size: 1.4em; /* Changed from 1.5em */
    }

    .why-text {
        font-size: 0.9em; /* Changed from 1em */
    }
    
    .section-why {
        min-height: calc(100vh - 4rem);
        padding: 20px 0;
        overflow-y: auto;
    }
}