:root {
    /* Custom Color Variables based on your palette */
    --bs-primary-blue: #8FB8DE; /* Soft Sky Blue */
    --bs-secondary-green: #A0D6B4; /* Muted Mint */
    --bs-neutral-light: #F8F8F8; /* Off-White */
    --bs-neutral-dark: #495057; /* Slightly darker than default secondary for good contrast */
    --bs-accent-lavender: #C7B5D5; /* Soft Lavender */
    
}

body {
    font-family: 'Open Sans', sans-serif; /* A calm, readable font */
    color: var(--bs-neutral-dark); /* Default text color */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif; /* A slightly more friendly heading font */
    color: var(--bs-neutral-dark); /* Ensure headings contrast well */
    z-index: 1;
}

/* Override Bootstrap primary button and links for your palette */
.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--bs-primary-blue);
    border-color: var(--bs-primary-blue);
    color: #fff;
}

.btn-outline-primary {
    color: var(--bs-primary-blue);
    border-color: var(--bs-primary-blue);
}
.btn-outline-primary:hover {
    background-color: var(--bs-primary-blue);
    color: #fff;
}

.nav-link.active {
    color: var(--bs-primary-white) !important;
    font-weight: 600;
}
.nav-link:hover {
    color: var(--bs-primary-blue) !important;
}
.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    margin-bottom: -20px!important;
    text-indent: -999px;
    cursor: pointer;
    background-color: #000000!important;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
}
/* Hero Section Styling */
.hero-section {
    background-image: url('../images/hero-bg.jpg'); /* Add a subtle background image */
    background-size: cover;
    background-position: center;
    color: #fff; /* Ensure text is white over the image */
    padding-top: 100px; /* Adjust padding as needed */
    padding-bottom: 100px;
}

        /* Custom styles for the main page, extending style.css */
        :root {
            --bs-primary-blue: #8FB8DE; /* Soft Sky Blue */
            --bs-secondary-green: #A0D6B4; /* Muted Mint */
            --bs-neutral-light: #F8F8F8; /* Off-White */
            --bs-neutral-dark: #495057; /* Slightly darker than default secondary for good contrast */
            --bs-accent-lavender: #C7B5D5; /* Soft Lavender */
        }

        body {
            font-family: 'Open Sans', sans-serif;
            color: var(--bs-neutral-dark);
            line-height: 1.6;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Quicksand', sans-serif;
            color: var(--bs-neutral-dark);
            font-weight: 600;
            margin-top: 1.5em;
            margin-bottom: 0.8em;
        }

        /* Hero Section specific styles */
        #hero {
            background-image: url('images/hero-bg.jpg'); /* Ensure this path is correct */
            background-size: cover;
            background-position: center;
            color: #fff;
            position: relative;
            z-index: 1; /* Ensure hero content is above any potential ::before overlays */
            padding: 100px 0; /* Adjust padding as needed */
            
        }

        #hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
            z-index: -1; /* Place behind content but above background image */
            pointer-events: none; /* Crucial for allowing clicks on elements above it */
        }

        /* Custom styles for product cards and educational resource cards */
        .card {
            border-radius: 0.75rem; /* Rounded corners for cards */
            overflow: hidden; /* Ensures image corners match card corners */
        }

        .card-img-top {
            border-top-left-radius: 0.75rem;
            border-top-right-radius: 0.75rem;
        }

        /* Carousel specific adjustments for better card display */
        .carousel-item .card {
            margin: 0 auto; /* Center the card in the carousel item */
            max-width: 600px; /* Limit card width for better presentation in carousel */
        }

        /* Ensure carousel controls are visible and well-positioned */
        .carousel-control-prev,
        .carousel-control-next {
            width: 5%; /* Make controls narrower */
            opacity: 0.8; /* Slightly more visible */
            transition: opacity 0.2s ease-in-out;
        }

        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            opacity: 1;
        }
  

        .carousel .carousel-indicators li {  
            background-color: rgb(0, 0, 0); }
        .carousel .carousel-indicators li.active 
        { background-color: var(--primary); }
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            background-color: var(--bs-primary-blue); /* Use primary color for icons */
            border-radius: 50%;
            padding: 1rem;
            background-size: 50%; /* Adjust size of the icon within the circle */
        }

        /* Style for the "View Details" and "Learn More" buttons */
        .btn-primary {
            background-color: var(--bs-primary-blue);
            border-color: var(--bs-primary-blue);
        }
        .btn-primary:hover {
            background-color: #7a9ac2; /* Slightly darker shade for hover */
            border-color: #7a9ac2;
        }

        .btn-outline-primary {
            color: var(--bs-primary-blue);
            border-color: var(--bs-primary-blue);
        }
        .btn-outline-primary:hover {
            background-color: var(--bs-primary-blue);
            color: #fff;
        }

        /* Custom styles for nav-pills to match theme */
        .nav-pills .nav-link {
            color: var(--bs-neutral-dark);
            background-color: var(--bs-neutral-light);
            border-radius: 2rem; /* More rounded pills */
            margin: 0 0.5rem; /* Spacing between pills */
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .nav-pills .nav-link.active,
        .nav-pills .nav-link:hover {
            color: #fff;
            background-color: var(--bs-primary-blue);
        }

        /* Ensure images in educational resources are rounded */
        .educational-resource-img {
            border-radius: 0.75rem;
        }

  
.hero-section::before { /* This effects the overlay making the part behind the apparel section look blue */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(143, 184, 222, 0.7); /* Overlay with your primary blue, adjusted opacity */
    z-index: 0;
    pointer-events: none;
}

.hero-section > .container {
    position: relative;
    z-index: 0; /* Ensure content is above the overlay */
}

/* Product & Educational Cards */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
    height: 400px; /* Standardize image height */
    object-fit: cover;
}

/* Pills for product categories */
.nav-pills .nav-link {
    color: var(--bs-neutral-dark);
    background-color: var(--bs-neutral-light);
    border: 1px solid var(--bs-neutral-dark);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background-color: var(--bs-primary-blue);
    border-color: var(--bs-primary-blue);
    color: #fff;
}

/* Social Icons in Footer */
.social-icons img {
    filter: invert(100%); /* Make social icons white for dark footer */
    transition: transform 0.05s ease-in-out;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* Specific styling for sections to create visual separation */
section:nth-of-type(odd) {
    background-color: var(--bs-neutral-light);
}

section:nth-of-type(even) {
    background-color: #ffffff;
}

/* Ensure consistent spacing */
section {
    padding-top: 60px;
    padding-bottom: 60px;
}

