body {
    font-family: 'Inter', sans-serif;
}

:root {
    --silver-sand: #b3c2c2;
    --elephant: #0c3c3c;
    --sirocco: #658181;
    --granny-smith: #829c9b;
    --william: #3f6464;
    --spectra: #315858;
    --cutty-sark: #446c6b;
    --oslo-gray: #8c9494;
    --blue-dianne: #245453;
    --regent-gray: #84949c;
    --pale-aqua: #7aefeb;
}

/* Text color classes */
.text-silver-sand {
    color: var(--silver-sand) !important;
}

.text-elephant {
    color: var(--elephant) !important;
}

.text-sirocco {
    color: var(--sirocco) !important;
}

.text-granny-smith {
    color: var(--granny-smith) !important;
}

.text-william {
    color: var(--william) !important;
}

.text-spectra {
    color: var(--spectra) !important;
}

.text-cutty-sark {
    color: var(--cutty-sark) !important;
}

.text-oslo-gray {
    color: var(--oslo-gray) !important;
}

.text-blue-dianne {
    color: var(--blue-dianne) !important;
}

.text-regent-gray {
    color: var(--regent-gray) !important;
}

.text-pale-aqua {
    color: var(--pale-aqua) !important;
}

/* Background color classes */
.bg-silver-sand {
    background-color: var(--silver-sand) !important;
}

.bg-elephant {
    background-color: var(--elephant) !important;
}

.bg-sirocco {
    background-color: var(--sirocco) !important;
}

.bg-granny-smith {
    background-color: var(--granny-smith) !important;
}

.bg-william {
    background-color: var(--william) !important;
}

.bg-spectra {
    background-color: var(--spectra) !important;
}

.bg-cutty-sark {
    background-color: var(--cutty-sark) !important;
}

.bg-oslo-gray {
    background-color: var(--oslo-gray) !important;
}

.bg-blue-dianne {
    background-color: var(--blue-dianne) !important;
}

.bg-regent-gray {
    background-color: var(--regent-gray) !important;
}

.text-blue-dianne {
    color: var(--blue-dianne);
}

.btn-william {
    background-color: var(--william);
    color: white;
    border: none;
}

.btn-cutty {
    background-color: var(--cutty-sark);
    color: white;
    border: none;
}

.btn-william:hover,
.btn-cutty:hover {
    opacity: 0.9;
    background-color: var(--blue-dianne);
    color: white;
}

.hero {
    background: url('brick-wall.jpg') center/cover no-repeat;
    height: 80vh;
}

.card {
    border: none;
}

.cst-crd {

    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.cst-shadow {
    box-shadow: 0 .125rem .25rem var(--sirocco) !important;
}

.card:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease-in-out;
}

/* --- Button Styles (reusable) --- */
.btn-cutty-sark {
    background-color: var(--cutty-sark) !important;
    border-color: var(--elephant);
    color: #fff;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cutty-sark:hover {
    background-color: #062c3a;
    border-color: #062c3a;
    color: #fff;
    transform: scale(1.03);
}


/* --- Product Card Styling --- */
.product-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card-img-container {
    position: relative;
    overflow: hidden;
}

.product-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Allows footer button to stick to bottom */
}

.product-card-title {
    color: var(--blue-dianne-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-card-description {
    font-size: 0.9rem;
    color: #6c757d;
    flex-grow: 1;
    /* Pushes specs and button down */
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.product-specs li {
    margin-bottom: 0.5rem;
    color: var(--elephant-color);
}


/* Contact Form */
#contact .form-control:focus {
    border-color: var(--cutty-sark-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Testimonials */
.testimonial-card {
    background-color: #fff;
    border-radius: 0.5rem;
    border-left: 4px solid #17a2b8;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

/* Why Choose Us */
.feature-card {
    background: #fff;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: #17a2b8;
}

/* --- Stat Card Styling --- */
.stat-card {
    padding: 2rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    height: 100%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--sirocco);
    margin-bottom: 1rem;
    display: block;
}

.stat-counter {
    color: #ffffff;
}

.star-rating {
    color: #ffc107;
}

.search-bar {
    max-width: 400px;
}

.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.logo {
    height: 140px;
}

#home {
    min-height: 90vh;
}

header {
    z-index: 1000;
}

section#about {
    background: linear-gradient(180deg, #b3c2c2, #829c9b);
}

.cstpd {
    padding-top: 12rem;

}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll-left {
      0% {
        transform: translateX(80%);
      }

      100% {
        transform: translateX(-100%);
      }
    }
@media screen and (min-width: 992px) {
    .hero-content {
        margin-top: 10rem;
    }

}

@media screen and (max-width: 768px) {
    .cst-crd {
        height: 180px;
    }

    .logo {
        height: 90px !important;
    }

    #home {
        min-height: 80vh;
        padding-top: 140px;
    }

    .about-content {
        padding: 0 15px;
    }

    .navbar-collapse {
        background-color: #212529;
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .fas.fa-cubes {
        font-size: 3.5rem !important;
    }

    .cstpd {
        padding-top: 6rem;
    }
     .timeline::before {
        left: 15px !important;
    }

    .timeline-item {
        margin-left: 30px !important;
    }

    .timeline-icon {
        width: 80px !important;
        height: 35px !important;
    }

    h2.display-5 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }
}

/* Add these styles to your existing <style> block in the <head> */
.notification-alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: none;
    /* Hidden by default */
    position: fixed;
    /* For the fixed top-right notification */
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 250px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
}

.notification-alert.show {
    display: block;
    /* Show when 'show' class is added */
    animation: fadeInDown 0.5s ease-out forwards;
}

.notification-alert.hide {
    animation: fadeOutUp 0.5s ease-in forwards;
}

/* Animation keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.notification-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification-alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.notification-alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.img-fixed {
    height: 200px;
    /* or any height you prefer, e.g., 250px */
    object-fit: cover;
    object-position: center;
    width: 100%;
}

section#about {
    background: linear-gradient(180deg, #b3c2c2, #829c9b);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25px;
    width: 4px;
    background: #7aefeb;
}

.timeline-item {
    position: relative;
    margin-left: 50px;
}

img:hover {
    transform: scale(1.03);
}