body {
    font-family: 'Open Sans', sans-serif;
}
.heading-font {
    font-family: 'Montserrat', sans-serif;
}
.zest-blue {
    color: #2A569F;
}
.bg-zest-blue {
    background-color: #2A569F;
}
.border-zest-blue {
    border-color: #2A569F;
}
.mobile-menu {
    transition: all 0.3s ease;
}
.zest-logo {
    height: 4rem;
}
.zest-logo-footer {
    width: 17rem;
}
/****************************************** Message slider styles */
.message-slide {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s ease-in-out;
    position: absolute;
    width: 100%;
}

.message-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.message-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e0;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-dot.active {
    background-color: #2a569f;
    transform: scale(1.3);
}

.director-image {
    transition: transform 0.5s ease;
}

.director-image:hover {
    transform: scale(1.03);
}
/*************************************************** Product card animations */
.product-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-image {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(42, 86, 159, 0.9), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

/* Badge animation */
.stock-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Hero background image with controllable overlay layer */
.hero-bg {
    position: relative;
    background-image: url('../images/background-hero.svg');
    background-repeat: repeat;
    /* background-size: cover; */
    /* background-position: center; */
    /* overflow: hidden; */
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(255, 255, 255);
    /* Control the overlay opacity via CSS variable on the section, default 0.45 */
    opacity: var(--hero-overlay-opacity, 0.90);
    pointer-events: none;
    z-index: 5;
}

.hero-bg > .container {
    position: relative;
    z-index: 10; /* keep content above the overlay */
}

/* Helper classes if you want a lighter or colored overlay */
.hero-bg.overlay-light::before { opacity: 0.15; }
.hero-bg.overlay-dark::before { opacity: 0.65; }

/*********************************************************/
/* Contact page specific styles */
.contact-hero {
    background: linear-gradient(135deg, rgba(42, 86, 159, 0.9) 0%, rgba(30, 64, 120, 0.8) 100%), url('../images/zest-2.jpg');
    background-size: cover;
    background-position: center;
}

.contact-form-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-card {
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Form styling */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #2a569f;
    box-shadow: 0 0 0 3px rgba(42, 86, 159, 0.1);
}
/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Form loading state */
.form-loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    display: none;
}

.form-loading .loading-spinner {
    display: block;
}

.form-loading .submit-text {
    display: none;
}
/****************************************************/
/* About page specific styles */
.about-hero {
    background: linear-gradient(135deg, rgba(42, 86, 159, 0.9) 0%, rgba(30, 64, 120, 0.8) 100%), url('https://images.pexels.com/photos/7689817/pexels-photo-7689817.jpeg?auto=compress&cs=tinysrgb&w=800');
    background-size: cover;
    background-position: center;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #2a569f;
}

.timeline-item:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 20px;
    width: 2px;
    height: calc(100% + 10px);
    background-color: #e5e7eb;
}

.timeline-item:last-child:after {
    display: none;
}

.value-card {
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    transition: all 0.3s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.stats-counter {
    font-size: 3rem;
    font-weight: bold;
    color: #2a569f;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-1000px) rotate(360deg);
    }
}

/***********************************************************************/
/* Director page specific styles */
.director-hero {
    background: linear-gradient(135deg, rgba(42, 86, 159, 0.9) 0%, rgba(30, 64, 120, 0.8) 100%), url('https://images.pexels.com/photos/7689817/pexels-photo-7689817.jpeg?auto=compress&cs=tinysrgb&w=800');
    background-size: cover;
    background-position: center;
}

.message-slide {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s ease-in-out;
    position: absolute;
    width: 100%;
}

.message-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.message-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e0;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-dot.active {
    background-color: #2a569f;
    transform: scale(1.3);
}

.director-image {
    transition: transform 0.5s ease;
}

.director-image:hover {
    transform: scale(1.03);
}

.achievement-card {
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.quote-mark {
    font-size: 5rem;
    line-height: 1;
    color: #2a569f;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #2a569f;
}

.timeline-item:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 20px;
    width: 2px;
    height: calc(100% + 10px);
    background-color: #e5e7eb;
}

.timeline-item:last-child:after {
    display: none;
}

/************************************************************************/
/* Product page specific styles */
.products-hero {
    background: linear-gradient(135deg, rgba(42, 86, 159, 0.9) 0%, rgba(30, 64, 120, 0.8) 100%), url('https://images.pexels.com/photos/7078618/pexels-photo-7078618.jpeg?auto=compress&cs=tinysrgb&w=800');
    background-size: cover;
    background-position: center;
}

.product-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-image {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(42, 86, 159, 0.9), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.category-filter {
    transition: all 0.3s ease;
}

.category-filter.active {
    background-color: #2a569f;
    color: white;
}

.stock-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.feature-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}