/* ADD THE @font-face RULES FROM GOOGLE-WEBFONTS-HELPER HERE */
/* For example: */
/* inter-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/inter-v13-latin-300.woff2') format('woff2');
}

/* inter-100 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/inter-v19-latin-100.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-100italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 100;
    src: url('../fonts/inter-v19-latin-100italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/inter-v19-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 200;
    src: url('../fonts/inter-v19-latin-200italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/inter-v19-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/inter-v19-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v19-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/inter-v19-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/inter-v19-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/inter-v19-latin-500italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/inter-v19-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/inter-v19-latin-600italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/inter-v19-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/inter-v19-latin-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/inter-v19-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 800;
    src: url('../fonts/inter-v19-latin-800italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/inter-v19-latin-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 900;
    src: url('../fonts/inter-v19-latin-900italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* A subtle animation that breathes life into the page */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #f7f7f5;
}

/* Styles for the image gallery to create the elegant rotation effect */
.image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.image-container img.active {
    opacity: 1;
}

/* The scrollbar is a small detail that makes a big difference */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #FF7F00;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8f24;
}

/* A custom animated underline for the nav links to add a lively effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF7F00;
    transition: width 0.3s ease-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* The mobile menu's slide-down animation for a more polished feel */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-menu-slide-in {
    animation: slideDown 0.4s ease-out forwards;
}

/* New styles for the full-screen image gallery in the header */
.hero-image-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-image-gallery img.active {
    opacity: 1;
}

/* Custom mobile menu behavior */
@media (max-width: 767px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px;
        /* Adjust based on your header's height */
        left: 0;
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding-top: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 1rem 0;
    }
}

h1,
h2,
h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    /* Bold for headings */
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

p,
li,
button {
    font-weight: 400;
    font-size: 1rem;
}

.btn-primary {
    background-color: #FF7F00;
    color: #fff;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1A3C5A;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    /* Tighter spacing for a button-group feel */
    margin-bottom: 2rem;
    padding: 0.5rem;
    background-color: #f7f7f5;
    /* Matches site background */
    border-radius: 9999px;
    /* Pill-shaped container */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    /* Wraps on small screens */
}

.filter-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.25rem;
    /* Slimmer padding for sleekness */
    background-color: #ffffff;
    color: #1A3C5A;
    /* Navy text */
    border: 1px solid #d1d5db;
    /* Softer gray border */
    border-radius: 9999px;
    /* Full pill shape */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transition: all 0.2s ease-in-out;
    /* Faster, smoother transition */
    cursor: pointer;
    outline: none;
    /* Remove default outline */
}

.filter-btn:hover {
    background-color: #FF7F00;
    color: #ffffff;
    border-color: #FF7F00;
    box-shadow: 0 2px 6px rgba(255, 127, 0, 0.3);
    /* Orange glow shadow */
    transform: scale(1.05);
    /* Slight scale for interactivity */
}

.filter-btn.active {
    background-color: #FF7F00;
    color: #ffffff;
    border-color: #FF7F00;
    box-shadow: 0 2px 6px rgba(255, 127, 0, 0.3);
    transform: scale(1.05);
    /* Scale to indicate selection */
}

.filter-btn.active::after {
    content: '';
    display: block;
    width: 60%;
    /* Slightly wider underline */
    height: 2px;
    background-color: #ffffff;
    margin: 0.25rem auto 0;
    transition: width 0.3s ease;
}

.filter-btn:focus {
    outline: 2px solid #FF7F00;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 127, 0, 0.2);
    /* Accessible focus ring */
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .filter-bar {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        border-radius: 8px;
        /* Less pill-like on mobile */
    }

    .filter-btn {
        width: 100%;
        max-width: 250px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ======= PAGE TRANSITION ANIMATIONS ======= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes slideUpIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDownOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(30px);
        opacity: 0;
    }
}

/* Class to apply to the body for the IN animation */
.page-transition-in {
    animation: slideUpIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Class to apply to the body for the OUT animation */
.page-transition-out {
    animation: slideDownOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ======= CATALOGUE PAGE STYLES ======= */
.catalogue-hero {
    background: linear-gradient(135deg, rgba(26, 43, 92, 0.9) 0%, rgba(26, 43, 92, 0.7) 100%), url('./assets/img/hero/hero-1.jpg') center/cover no-repeat;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.catalogue-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.catalogue-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.catalogue-controls {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.catalogue-controls .search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.catalogue-controls .search-box input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.catalogue-controls .search-box button {
    padding: 0 1.5rem;
    background: #1a2a6c;
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalogue-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background-color: #f7f7f5;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.catalogue-filter-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.25rem;
    background-color: #ffffff;
    color: #1A3C5A;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    outline: none;
}

.catalogue-filter-btn:hover {
    background-color: #FF7F00;
    color: #ffffff;
    border-color: #FF7F00;
    box-shadow: 0 2px 6px rgba(255, 127, 0, 0.3);
    transform: scale(1.05);
}

.catalogue-filter-btn.active {
    background-color: #FF7F00;
    color: #ffffff;
    border-color: #FF7F00;
    box-shadow: 0 2px 6px rgba(255, 127, 0, 0.3);
    transform: scale(1.05);
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details-btn {
    background: #FF7F00;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s ease;
    opacity: 0;
}

.product-card:hover .view-details-btn {
    transform: translateY(0);
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FF7F00;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec-tag {
    background: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #4b5563;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-inquiry {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.whatsapp-inquiry:hover {
    background: #128C7E;
    transform: scale(1.05);
}

/* Modal Styles */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.product-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #1a1a1a;
}

.modal-body {
    display: flex;
    overflow: hidden;
    flex-grow: 1;
}

.modal-image-container {
    flex: 1;
    max-width: 50%;
    position: relative;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
}

.modal-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.modal-thumbnail:hover,
.modal-thumbnail.active {
    opacity: 1;
}

.modal-details {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.modal-description {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-specs {
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    margin-bottom: 0.75rem;
}

.spec-label {
    font-weight: 600;
    min-width: 120px;
    color: #374151;
}

.spec-value {
    color: #6b7280;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }

    .modal-image-container {
        max-width: 100%;
        height: 300px;
    }

    .catalogue-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .catalogue-filter-bar {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        border-radius: 8px;
    }

    .catalogue-filter-btn {
        width: 100%;
        max-width: 250px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .catalogue-controls {
        flex-direction: column;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======= CATALOGUE PAGE STYLES - Integrated with your theme ======= */

.catalogue-hero {
    background: linear-gradient(135deg, rgba(26, 43, 92, 0.9) 0%, rgba(26, 43, 92, 0.7) 100%);
    margin-top: 80px;
}

.catalogue-controls {
    max-width: 1400px;
    margin: 0 auto;
}

.catalogue-grid {
    display: grid;
    gap: 2rem;
}

/* Loading spinner animation */
.loading-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #FF7F00;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Product card hover effects */
.catalogue-grid .group:hover {
    transform: translateY(-4px);
}

/* Modal animations */
.product-modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.product-modal .modal-content {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.product-modal:not(.hidden) .modal-content {
    transform: scale(1);
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive design */
@media (max-width: 768px) {
    .catalogue-hero {
        height: 60vh;
        margin-top: 70px;
    }

    .catalogue-hero h1 {
        font-size: 2.5rem;
    }

    .catalogue-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-body {
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .catalogue-hero h1 {
        font-size: 2rem;
    }

    .filter-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }
}

/* ======= CONTACT SECTION STYLES ======= */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 1.5rem 1.5rem;
}

.map-container iframe {
    display: block;
    border: none;
}

/* Responsive adjustments for contact section */
@media (max-width: 1024px) {
    #contact .grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    #contact {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #contact .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-container iframe {
        height: 250px;
    }
}

/* Hover effects for contact cards */
#contact .bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact .bg-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
/* ======= ENHANCED MOBILE MENU STYLES ======= */
#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

#mobile-menu.menu-open {
    transform: translateY(0);
    opacity: 1;
}

#mobile-menu-overlay {
    transition: opacity 0.3s ease;
}

#mobile-menu-overlay.overlay-visible {
    opacity: 1;
}

/* Mobile menu animations */
@keyframes slideDownIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.menu-open {
    animation: slideDownIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.menu-closing {
    animation: slideUpOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Mobile menu link styles */
.mobile-nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF7F00;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 80%;
}

/* Menu icon transition */
#menu-icon {
    transition: transform 0.3s ease;
}

.menu-open #menu-icon {
    transform: rotate(90deg);
}

/* Ensure body doesn't scroll when menu is open */
.body-no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    #mobile-menu,
    #mobile-menu-overlay {
        display: none !important;
    }
}

/* Enhanced backdrop for mobile menu */
#mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: -1;
}
/* ======= ENHANCED EXPLORE CATALOGUE BUTTON STYLES ======= */
.explore-catalogue-btn {
    position: relative;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.025em;
    isolation: isolate;
}

/* Glow effect on hover */
.explore-catalogue-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 9999px;
    background: linear-gradient(45deg, #FF7F00, #FF8F24, #FF7F00);
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.explore-catalogue-btn:hover::before {
    opacity: 1;
    animation: button-glow 2s ease-in-out infinite;
}

/* Subtle text shadow for better readability */
.explore-catalogue-btn span {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Floating particle animations */
@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(4px, -6px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(8px, -3px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(4px, -8px) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(-5px, -4px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-8px, -8px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(-3px, -6px) scale(1.2);
        opacity: 0.7;
    }
}

/* Glow animation for the gradient border */
@keyframes button-glow {
    0%, 100% {
        filter: blur(0px) brightness(1);
    }
    50% {
        filter: blur(8px) brightness(1.2);
    }
}

/* Magnetic hover effect */
.explore-catalogue-btn {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.explore-catalogue-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 40px rgba(255, 127, 0, 0.3);
}

/* Ripple click effect */
.explore-catalogue-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.explore-catalogue-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Loading animation for when navigating */
.explore-catalogue-btn.loading {
    pointer-events: none;
}

.explore-catalogue-btn.loading .relative span:first-child {
    opacity: 0;
}

.explore-catalogue-btn.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: button-loading 0.8s linear infinite;
}

@keyframes button-loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Bounce animation for continuous attention */
@keyframes subtle-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Add subtle bounce animation to the button */
.explore-catalogue-btn {
    animation: subtle-bounce 3s ease-in-out infinite;
}

/* Enhanced focus states for accessibility */
.explore-catalogue-btn:focus {
    outline: 2px solid white;
    outline-offset: 4px;
}

.explore-catalogue-btn:focus:not(:focus-visible) {
    outline: none;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .explore-catalogue-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .explore-catalogue-btn:hover {
        transform: scale(1.02) translateY(-1px);
    }
    
    /* Reduce animation intensity on mobile */
    .explore-catalogue-btn {
        animation: subtle-bounce 4s ease-in-out infinite;
    }
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
    .explore-catalogue-btn,
    .explore-catalogue-btn:hover,
    .explore-particle-1,
    .explore-particle-2,
    .explore-catalogue-btn::before {
        animation: none !important;
        transition: none !important;
    }
    
    .explore-catalogue-btn:hover {
        transform: none;
    }
}
/* ======= ENHANCED PRODUCT DETAIL STYLES ======= */
#product-detail {
    position: relative;
    animation: slideUpIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#product-detail .image-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

#product-detail .image-container img {
    border-radius: 1.5rem;
    transition: opacity 1.5s ease-in-out;
}

/* Close button animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#product-detail .fixed button {
    animation: fadeInScale 0.3s ease-out 0.2s both;
}

/* Mobile optimizations for product detail */
@media (max-width: 768px) {
    #product-detail {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    
    #product-detail .fixed {
        top: 1rem;
        right: 1rem;
    }
    
    #product-detail .grid {
        gap: 2rem;
    }
}

/* Ensure product detail overlay covers content properly */
#product-detail:not(.hidden) {
    z-index: 40;
    background: #f7f7f5;
}

/* ======= PRODUCT DETAIL MODAL STYLES ======= */
#product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

#product-detail-modal.modal-active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

#product-detail-modal .modal-content {
    background: white;
    border-radius: 1.5rem;
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    margin: 2rem;
}

#product-detail-modal.modal-active .modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Blur the main content when modal is active */
body.modal-open #main-content,
body.modal-open footer {
    filter: blur(5px);
    pointer-events: none;
}

/* Enhanced close button for modal */
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1001;
}

.modal-close-btn:hover {
    background: #f7f7f5;
    transform: scale(1.1);
}

.modal-close-btn ion-icon {
    font-size: 1.5rem;
    color: #1a1a1a;
}

/* ======= FIXED SEARCH BOX STYLES ======= */
.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem; /* Adequate left padding for icon */
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background-color: white;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 1rem center;
    background-size: 1.25rem;
}

.search-box input:focus {
    outline: none;
    border-color: #FF7F00;
    box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
}

.search-box input::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

/* ======= ENHANCED EMAIL CATALOGUE BUTTON STYLES ======= */
.catalogue-header-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .catalogue-header-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
    
    .search-box {
        margin-right: auto;
    }
    
    .email-catalogue-container {
        flex-shrink: 0;
    }
}

.email-catalogue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #FF7F00 0%, #FF8F24 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 127, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-width: 180px;
}

.email-catalogue-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.email-catalogue-btn:hover::before {
    left: 100%;
}

.email-catalogue-btn:hover {
    background: linear-gradient(135deg, #FF8F24 0%, #FF9F40 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 127, 0, 0.4);
}

.email-catalogue-btn:active {
    transform: translateY(0) scale(1);
}

.email-catalogue-btn i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.email-catalogue-btn:hover i {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .catalogue-header-actions {
        gap: 1.5rem;
    }
    
    .email-catalogue-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        padding: 0.875rem 1rem 0.875rem 3rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .catalogue-header-actions {
        gap: 2rem;
    }
    
    .email-catalogue-btn {
        min-width: 200px;
        padding: 1rem 2rem;
    }
    
    .search-box {
        max-width: 400px;
    }
}

/* Animation for button entrance */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.email-catalogue-container {
    animation: slideInRight 0.6s ease-out;
}

/* Ensure proper spacing on larger screens */
@media (min-width: 1280px) {
    .catalogue-header-actions {
        gap: 3rem;
    }
    
    .search-box {
        max-width: 500px;
    }
}