/* Custom Styles for Elegant Kitchens */

    :root {
        --primary-yellow: #FFD700;
        --dark-black: #1a1a1a;
        --medium-gray: #666666;
        --light-gray: #f8f9fa;
        --pure-white: #ffffff;
        --pure-dark: #000000;
        --glass-bg: rgba(255, 255, 255, 0.064);
        --glass-border: rgba(255, 255, 255, 0.2);
        --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
        --navbar-height: 80px; /* used to calculate available viewport height for full-screen sections */
    }

    /* Add global box-sizing and navbar height variable to avoid padding/margin causing overflows */
    *, *::before, *::after {
        box-sizing: border-box;
    }

    /* Ensure html/body occupy full height and prevent horizontal overflow */
    html, body {
        height: 100%;
    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
        color: var(--dark-black);
        /* Removed: overflow-x: hidden; */
        width: 100%;
        max-width: 100%;
        overflow-x: hidden; /* prevent horizontal scrollbar */
        overflow-y: auto;   /* allow normal page vertical scrolling */
    }

    /* ===== NAVIGATION BAR WITH HERO BACKGROUND ===== */
    .navbar {
        background: transparent;
        backdrop-filter: none;
        transition: all 0.4s ease;
        padding: 15px 0;
        z-index: 1030;
        margin: 0;
        border-radius: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .navbar > .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    /* Navbar background when scrolled or when mobile menu is open */
    .navbar.scrolled,
    .navbar:not(.navbar-expanded) {
        background: rgba(26, 26, 26, 0.711);
        backdrop-filter: blur(10px);
    }

    .navbar.navbar-expanded {
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(20px);
    }

    .navbar-brand {
        display: flex;
        align-items: center;
        margin-right: auto;
    }

    .navbar-brand img {
        transition: all 0.3s ease;
        height: 45px;
        width: auto;
      
    }

    /* When navbar has background, show colored logo */
    .navbar.scrolled .navbar-brand img,
    .navbar.navbar-expanded .navbar-brand img {
        filter: none;
    }

    /* Navbar Toggler */
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 6px 10px;
        margin-left: auto;
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 2px var(--primary-yellow);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.2em;
        height: 1.2em;
    }

    /* Navbar Items */
    .navbar-nav {
        align-items: center;
    }

    .navbar-nav .nav-link {
        color: var(--pure-white) !important;
        font-weight: 500;
        margin: 0 12px;
        transition: all 0.3s ease;
        position: relative;
        padding: 8px 4px !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--primary-yellow) !important;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--primary-yellow);
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 100%;
    }

    /* Dropdown Toggle Arrows */
    .navbar-nav .dropdown-toggle::after {
        display: inline-block;
        margin-left: 8px;
        vertical-align: middle;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-left: 0.3em solid transparent;
        border-bottom: 0;
        transition: transform 0.3s ease;
    }

    .navbar-nav .dropdown-toggle.show::after {
        transform: rotate(180deg);
    }

    /* Dropdown Menu Styling */
    .dropdown-menu {
        background-color: var(--dark-black);
        border: none;
        border-radius: 12px;
        padding: 8px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        margin-top: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-item {
        color: var(--pure-white);
        padding: 10px 20px;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        align-items: center;
        font-weight: 500;
    }

    .dropdown-item:hover {
        background-color: var(--primary-yellow);
        color: var(--dark-black);
        transform: translateX(5px);
    }

    /* Nested Dropdown System */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu > .dropdown-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 15px;
        cursor: pointer;
    }

    .dropdown-submenu > .dropdown-item::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
        margin-left: 10px;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -8px;
        margin-left: 1px;
        display: none;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }

    .dropdown-submenu:hover > .dropdown-menu,
    .dropdown-submenu.show > .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateX(0);
    }

    .dropdown-submenu:hover > .dropdown-item::after,
    .dropdown-submenu.show > .dropdown-item::after {
        transform: rotate(90deg);
    }

    .nested-dropdown {
        background-color: #2a2a2a !important;
        border-left: 3px solid var(--primary-yellow);
        border-radius: 8px;
    }

    .nested-dropdown .dropdown-item:hover {
        background-color: #333333;
        color: var(--primary-yellow);
    }

    /* ===== CATALOG HEADER ===== */
    .catalog-header {
        background: linear-gradient(135deg, var(--dark-black) 0%, #2a2a2a 100%);
        color: var(--pure-white);
        padding: 140px 0 60px;
        position: relative;
        overflow: hidden;
        min-height: calc(100vh - var(--navbar-height));
        height: auto;
        display: flex;
        align-items: center; /* vertically center content */
        padding-top: 20px;   /* avoid adding large top padding that causes overflow */
        padding-bottom: 20px;
        overflow: visible; /* ensure content can grow without internal scrollbar */
    }

    .catalog-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('../images/patterns/wood-pattern.png') center/cover;
        opacity: 0.1;
    }

    .catalog-title {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--primary-yellow);
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .catalog-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

    .catalog-breadcrumb {
        font-size: 1rem;
    }

    .catalog-breadcrumb a {
        color: var(--primary-yellow);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .catalog-breadcrumb a:hover {
        color: var(--pure-white);
    }

    .catalog-breadcrumb span {
        color: var(--pure-white);
        opacity: 0.7;
    }

    /* ===== MOBILE RESPONSIVENESS ===== */
    @media (max-width: 991.98px) {
        .navbar {
            position: fixed;
            background: rgba(26, 26, 26, 0.95) !important;
            backdrop-filter: blur(20px) !important;
        }
        
        .navbar-brand img {
            filter: none; /* Always show colored logo on mobile */
        }
        
        .navbar-collapse {
            background: rgba(26, 26, 26, 0.98);
            backdrop-filter: blur(20px);
            border-radius: 15px;
            margin-top: 15px;
            padding: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        }
        
        .navbar-nav {
            padding: 10px 0;
        }
        
        .navbar-nav .nav-link {
            margin: 5px 0;
            padding: 12px 15px !important;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-shadow: none;
        }
        
        .navbar-nav .nav-link:hover {
            background-color: rgba(255, 215, 0, 0.1);
        }
        
        .navbar-nav .nav-link::after {
            display: none;
        }
        
    /* ===== MOBILE DROPDOWN FIXES - COMPLETELY FIXED ===== */
    @media (max-width: 991.98px) {
        /* Completely override Bootstrap dropdown behavior */
        .navbar-nav .dropdown-menu {
            position: static !important;
            float: none !important;
            transform: none !important;
            border: none;
            box-shadow: none;
            background: transparent;
            padding-left: 20px;
            display: none !important; /* Start hidden */
            opacity: 1 !important;
        }
        
        /* Show dropdown when our JS adds display block */
        .navbar-nav .dropdown-menu[style*="display: block"] {
            display: block !important;
        }
        
        .dropdown-menu.show {
            display: block !important;
        }
        
        .dropdown-item {
            padding: 12px 25px;
            margin: 2px 0;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.05);
        }
        
        /* Nested dropdown styling */
        .dropdown-submenu > .dropdown-menu {
            margin-left: 15px !important;
            border-left: 3px solid var(--primary-yellow);
            background: rgba(255, 255, 255, 0.02) !important;
        }
        
        /* Better touch targets */
        .dropdown-toggle {
            cursor: pointer;
            position: relative;
        }
        
        /* Main dropdown items */
        .nav-item.dropdown > .dropdown-menu {
            background: rgba(40, 40, 40, 0.95);
            border-radius: 8px;
            margin: 5px 0;
            padding: 10px 0;
        }
        
        /* Ensure dropdown toggles are clearly clickable */
        .dropdown-toggle::after {
            display: inline-block !important;
        }
        
        /* Fix for nested dropdown arrows */
        .dropdown-submenu > .dropdown-item::after {
            display: inline-block !important;
        }
    }

    /* ===== DROPDOWN ANIMATION FIXES ===== */
    .dropdown-submenu > .dropdown-menu {
        transition: all 0.3s ease;
    }

    /* Ensure proper display states */
    .dropdown-menu {
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    /* Desktop specific */
    @media (min-width: 992px) {
        .dropdown-submenu:hover > .dropdown-menu {
            display: block;
        }
    }

    /* Mobile arrow rotation */
    .dropdown-submenu.show > .dropdown-item::after {
        transform: rotate(90deg) !important;
    }


    /* Catalog header adjustment for mobile */
    .catalog-header {
        padding: 100px 0 40px;
        margin-top: 70px;
    }
    
    .catalog-title {
        font-size: 2.5rem;
    }
    
    .catalog-subtitle {
        font-size: 1.1rem;
    }
}

/* ===== ENHANCEMENTS ===== */
.dropdown-menu {
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .nav-link.active {
    font-weight: 600;
}

.navbar-nav .nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Small screens */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 35px;
    }
    
    .catalog-title {
        font-size: 2rem;
    }
}

/* Very small screens */
@media (max-width: 400px) {
    .navbar-brand img {
        height: 30px;
    }
    
    .navbar-toggler {
        padding: 4px 8px;
    }
    
    .catalog-title {
        font-size: 1.8rem;
    }
}


/* ===== CATALOG HEADER WITH BACKGROUND IMAGE ===== */
.catalog-header {
    position: relative;
    color: var(--pure-white);
    padding: 140px 0 60px;
    overflow: hidden;
    margin-top: 0;
}

/* Background Image */
.catalog-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Background Overlay */
.catalog-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(26, 26, 26, 0.85) 100%);
    z-index: 2;
}

.catalog-header .container {
    position: relative;
    z-index: 3;
}

.catalog-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    animation: fadeInUp 0.8s ease;
}

.catalog-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.catalog-breadcrumb {
    font-size: 1rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.catalog-breadcrumb a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.catalog-breadcrumb a:hover {
    color: var(--pure-white);
}

.catalog-breadcrumb span {
    color: var(--pure-white);
    opacity: 0.8;
}

/* Animation for header content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 991.98px) {
    .catalog-header {
        padding: 120px 0 40px;
    }
    
    .catalog-title {
        font-size: 2.8rem;
    }
    
    .catalog-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .catalog-header {
        padding: 100px 0 40px;
    }
    
    .catalog-title {
        font-size: 2.5rem;
    }
    
    .catalog-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .catalog-header {
        padding: 90px 0 30px;
    }
    
    .catalog-title {
        font-size: 2.2rem;
    }
    
    .catalog-subtitle {
        font-size: 1rem;
    }
    
    .catalog-breadcrumb {
        font-size: 0.9rem;
    }
}

/* Hero Slider */
#heroSlider {
    /* removed: height: 100vh; */
    min-height: calc(100vh - var(--navbar-height));
    height: auto;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.carousel-item {
    /* removed: height: 100vh; */
    min-height: calc(100vh - var(--navbar-height));
    height: auto;
    width: 100%;
}

.carousel-image {
    min-height: calc(100vh - var(--navbar-height));
    height: auto;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-caption {
	/* center horizontally & vertically */
	position: absolute;
	top: 50%;
    bottom: 25%;
    margin-top: -85px; /* adjust to move caption slightly up */
	transform: translate(-50%, -50%);
	width: min(92%, 900px);
	max-width: 92%;
	text-align: center;
	z-index: 6;
	padding: 28px;
	box-sizing: border-box;
    max-width: 600px;
    max-height: calc(100vh - var(--navbar-height) - 60px); /* leave room for caption padding */
    overflow: visible;

	/* translucent backdrop to increase contrast with image */
	background: linear-gradient(180deg, rgba(255, 240, 142, 0.299), rgba(10,10,10,0.28));
	backdrop-filter: blur(1px);
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* Headline */
.carousel-caption h1 {
	margin: 0 0 10px;
	color: #fff;
	font-weight: 800;
	letter-spacing: -0.02em;
	font-size: clamp(1.8rem, 5.2vw, 3.6rem);
	line-height: 1.02;
	text-shadow: 0 8px 28px rgba(0,0,0,0.6);
}

/* Lead paragraph */
.carousel-caption p {
	margin: 0 0 18px;
	color: rgba(255,255,255,0.95);
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	line-height: 1.45;
	text-shadow: 0 6px 18px rgba(0,0,0,0.45);
	opacity: 0.98;
}

/* Buttons inside caption */
.carousel-caption .btn {
	min-width: 140px;
	padding: 10px 18px;
	font-weight: 700;
	border-radius: 28px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.35);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.carousel-caption .btn:active,
.carousel-caption .btn:focus {
	transform: translateY(1px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.32);
}

/* small screens: slightly more compact */
@media (max-width: 767.98px) {
	.carousel-caption {
		width: 92%;
		padding: 18px;
		border-radius: 10px;
	}
	.carousel-caption h1 { font-size: 1.8rem; }
	.carousel-caption p { font-size: 0.98rem; margin-bottom: 12px; }
	.carousel-caption .btn { width: 100%; margin-bottom: 8px; }
	.carousel-caption .btn + .btn { margin-left: 0; }
}

/* Ensure carousel caption doesn't cause internal overflow */
.carousel-caption,
.carousel-caption * {
	max-width: 100%;
	box-sizing: border-box;
}

/* Section Styling */
section {
    padding: 80px 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* About Section */
#about {
    background-color: var(--pure-white);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Products Section */
#products {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon fill="%231a1a1a" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
    z-index: 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--dark-black);
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: var(--pure-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(248,198,48,0.03) 100%);
    z-index: 1;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.product-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark-black);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.product-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-yellow);
    transition: width 0.3s ease;
}

.product-card:hover .product-content h3::after {
    width: 50px;
}

.product-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-product {
    background: transparent;
    color: var(--dark-black);
    border: 1.5px solid var(--dark-black);
    border-radius: 30px;
    padding: 8px 22px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
}

.btn-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--dark-black);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-product:hover {
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-product:hover::before {
    width: 100%;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-yellow);
    color: var(--dark-black);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.product-card:hover .product-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.4rem;
    }
    
    .product-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .product-card {
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    #products {
        padding: 70px 0;
    }
}

/* Features Section */
#features {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1556911220-bff31c812dba?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2068&q=80') no-repeat center center;
    background-size: cover;
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-yellow);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.feature-item {
    padding: 40px 25px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: -1;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: var(--dark-black);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 600;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-item {
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Stats Section */
#stats {
    background-color: var(--dark-black);
}

.stat-item h2 {
    color: var(--primary-yellow);
    font-weight: 700;
}

.stat-item p {
    font-size: 1.2rem;
    color: var(--pure-white);
}

/* Contact Section */
#contact {
    background-color: var(--light-gray);
}

.form-control {
    background-color: var(--pure-white);
    border: 1px solid #ddd;
    color: var(--dark-black);
    padding: 12px 15px;
    border-radius: 5px;
}

.form-control:focus {
    background-color: var(--pure-white);
    border-color: var(--primary-yellow);
    color: var(--dark-black);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/* Catalogs Section */
#catalogs {
    background-color: var(--pure-white);
}

.catalog-card {
    background: var(--pure-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.25);
}

.catalog-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
}

.catalog-card:hover .catalog-image img {
    transform: scale(1.1);
}

/* Default Name Display - CENTERED */
.catalog-name {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s ease;
    z-index: 2;
    background: rgba(26, 26, 26, 0.4);
}

.catalog-name h3 {
    color: var(--pure-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    padding: 20px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(1px);
    transition: all 0.4s ease;
}

.catalog-card:hover .catalog-name {
    opacity: 0;
    transform: scale(0.9);
}

.catalog-card:hover .catalog-name h3 {
    transform: translateY(-10px);
}

/* Hover Overlay */
.catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 20px;
    z-index: 3;
}

.catalog-card:hover .catalog-overlay {
    opacity: 1;
}

.catalog-content {
    text-align: center;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.catalog-card:hover .catalog-content {
    transform: translateY(0);
}

.catalog-btn {
    background: var(--pure-white);
    color: var(--dark-black);
    border: 2px solid var(--pure-white);
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.catalog-card:hover .catalog-btn {
    transform: scale(1);
    opacity: 1;
}

.catalog-btn:hover {
    background: transparent;
    color: var(--pure-white);
    border-color: var(--pure-white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Animated Corner Borders */
.catalog-image::before,
.catalog-image::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.catalog-image::before {
    top: 10px;
    left: 10px;
    border-top: 2px solid var(--primary-yellow);
    border-left: 2px solid var(--primary-yellow);
    opacity: 0.7;
}

.catalog-image::after {
    bottom: 10px;
    right: 10px;
    border-bottom: 2px solid var(--primary-yellow);
    border-right: 2px solid var(--primary-yellow);
    opacity: 0.7;
}

.catalog-card:hover .catalog-image::before,
.catalog-card:hover .catalog-image::after {
    width: 50px;
    height: 50px;
    opacity: 1;
}

/* Mobile responsiveness for catalogs */
@media (max-width: 768px) {
    .catalog-image {
        height: 250px;
    }
    
    .catalog-name h3 {
        font-size: 1.3rem;
        padding: 15px;
    }
    
    .catalog-btn {
        padding: 10px 30px;
        font-size: 0.85rem;
    }
    
    .col-sm-6 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    .catalog-image {
        height: 220px;
    }
    
    .catalog-name h3 {
        font-size: 1.2rem;
        padding: 12px;
    }
    
    .catalog-btn {
        padding: 8px 25px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .col-sm-6 {
        margin-bottom: 20px;
    }
}

@media (max-width: 400px) {
    .catalog-image {
        height: 200px;
    }
    
    .catalog-name h3 {
        font-size: 1.1rem;
        padding: 10px;
    }
    
    .catalog-btn {
        padding: 7px 20px;
        font-size: 0.75rem;
    }
}


/* Gallery Section */
/* Catalog Header */
.catalog-header {
    background: linear-gradient(135deg, var(--dark-black) 0%, #2a2a2a 100%);
    color: var(--pure-white);
    padding: 120px 0 60px;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--navbar-height));
    height: auto;
    display: flex;
    align-items: center; /* vertically center content */
    padding-top: 20px;   /* avoid adding large top padding that causes overflow */
    padding-bottom: 20px;
    overflow: visible; /* ensure content can grow without internal scrollbar */
}

.catalog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/patterns/wood-pattern.png') center/cover;
    opacity: 0.1;
}

.catalog-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.catalog-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.catalog-breadcrumb {
    font-size: 1rem;
}

.catalog-breadcrumb a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.catalog-breadcrumb a:hover {
    color: var(--pure-white);
}

.catalog-breadcrumb span {
    color: var(--pure-white);
    opacity: 0.7;
}

/* Catalog Gallery */
.catalog-gallery {
    background: var(--light-gray);
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.gallery-item.large {
    height: 500px;
}

.gallery-item.small {
    height: 240px;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: var(--pure-white);
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--pure-white);
    color: var(--dark-black);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.gallery-item:hover .view-btn {
    transform: scale(1.1);
    background: var(--primary-yellow);
}

/* Horizontal Gallery Items */
.gallery-item.horizontal {
    height: 200px;
    margin-top: 1rem;
}

.gallery-item.horizontal img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Enhanced hover effects for horizontal items */
.gallery-item.horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.25);
}

/* Responsive adjustments for horizontal images */
@media (max-width: 768px) {
    .gallery-item.horizontal {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .gallery-item.horizontal {
        height: 120px;
    }
    
    .gallery-content h4 {
        font-size: 1.1rem;
    }
    
    .gallery-content p {
        font-size: 0.8rem;
    }
}

/* Lightbox Modal */
.modal-content {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 0;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
}

.btn-close-white {
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.btn-close-white:hover {
    opacity: 1;
}

.modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.lightbox-nav {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--pure-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin: 0 20px;
}

.lightbox-nav:hover {
    background: var(--primary-yellow);
    color: var(--dark-black);
    transform: scale(1.1);
}

.lightbox-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 80%;
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 70vh;
    overflow: hidden;
    border-radius: 10px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.lightbox-info {
    text-align: center;
    color: var(--pure-white);
    margin-top: 20px;
    padding: 0 20px;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-yellow);
}

.lightbox-info p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.lightbox-counter {
    font-size: 0.9rem;
    opacity: 0.7;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    justify-content: center;
}

.lightbox-controls {
    display: flex;
    gap: 15px;
}

.lightbox-control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--pure-white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-control-btn:hover {
    background: var(--primary-yellow);
    color: var(--dark-black);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .catalog-title {
        font-size: 2.5rem;
    }
    
    .catalog-subtitle {
        font-size: 1.1rem;
    }
    
    .gallery-item.large {
        height: 350px;
    }
    
    .gallery-item.small {
        height: 200px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 10px;
    }
    
    .lightbox-content {
        max-width: 90%;
    }
    
    .lightbox-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .catalog-header {
        padding: 100px 0 40px;
    }
    
    .catalog-title {
        font-size: 2rem;
    }
    
    .gallery-item.large {
        height: 300px;
    }
    
    .gallery-item.small {
        height: 180px;
    }
    
    .lightbox-controls {
        gap: 10px;
    }
    
    .lightbox-control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}


/********ABOUT US PAGE STYLES********/
/* ===== ABOUT PAGE STYLES ===== */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.9)), 
                url('../images/about/header-bg.jpg') center/cover;
    color: var(--pure-white);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.page-breadcrumb {
    font-size: 1rem;
}

.page-breadcrumb a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
    color: var(--pure-white);
}

.page-breadcrumb span {
    color: var(--pure-white);
    opacity: 0.8;
}

/* Our Story Section */
.our-story {
    background: var(--pure-white);
}

.story-content {
    padding-right: 2rem;
}

.story-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
}

.story-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-yellow);
    color: var(--dark-black);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
}

.experience-badge span {
    display: block;
    font-size: 1.5rem;
}

.experience-badge small {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Mission & Vision Section */
.mission-card,
.vision-card {
    background: var(--pure-white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--dark-black);
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-black);
}

/* Why Choose Us Section */
.why-choose-us {
    background: var(--light-gray);
}

.feature-card {
    background: var(--pure-white);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15);
    border-color: var(--primary-yellow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--dark-black);
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-black);
}

/* Our Process Section */
.our-process {
    background: linear-gradient(135deg, var(--dark-black) 0%, #2a2a2a 100%);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 80px;
    bottom: -3rem;
    width: 2px;
    background: var(--primary-yellow);
    opacity: 0.3;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-yellow);
    color: var(--dark-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-yellow);
}

/* Team Section */
.our-team {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffefdd 100%);
    color: var(--pure-dark);
    position: relative;
    overflow: hidden;
}

.our-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon fill="%23ffffff" points="0,0 1000,1000 0,1000"/></svg>');
    background-size: cover;
    z-index: 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--pure-dark);
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: var(--glass-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248,198,48,0.05) 0%, rgba(255,255,255,0.02) 100%);
    z-index: -1;
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(248, 198, 48, 0.3);
}

.team-image {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.team-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(12,12,12,0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-image::after {
    opacity: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-info {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.team-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--pure-dark);
    font-weight: 600;
}

.team-role {
    color: var(--pure-dark);
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    position: relative;
    display: inline-block;
}

.team-role::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary-yellow);
    transition: width 0.3s ease;
}

.team-card:hover .team-role::after {
    width: 50px;
}

.team-bio {
    color: var(--pure-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    color: var(--primary-yellow);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--primary-yellow);
    color: var(--dark-black);
    transform: translateY(-3px);
}

.team-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-yellow);
    color: var(--dark-black);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 3;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
}

.team-card:hover .team-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.4rem;
    }
    
    .team-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .team-card {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .our-team {
        padding: 70px 0;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #e6c200 100%);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-black);
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    color: var(--dark-black);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .story-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .process-step:not(:last-child)::after {
        left: 50%;
        top: 60px;
        bottom: -3rem;
        transform: translateX(-50%);
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 120px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .story-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem 1rem;
    }
}


/* Footer */
.footer {
    background-color: #111;
    color: var(--pure-white);
}

.footer h4,
.footer h5 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.footer a {
    color: var(--pure-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-yellow);
}

.footer ul li {
    margin-bottom: 8px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-yellow);
    color: var(--dark-black);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-black);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--pure-white);
    color: var(--dark-black);
    transform: translateY(-2px);
}

.btn-outline-dark {
    border-width: 2px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: var(--dark-black);
    color: var(--pure-white);
    transform: translateY(-2px);
}

/* AOS Animations Customization */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .carousel-caption {
        bottom: 20%;
        left: 5%;
        right: 5%;
        width: auto;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .dropdown-submenu .dropdown-menu {
        left: 15px;
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    body {
        width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .carousel-caption {
        left: 3%;
        right: 3%;
        bottom: 15%;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .navbar > .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Page Header */
.contact-header {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.9)), 
                url('../images/contact/header-bg.jpg') center/cover;
    color: var(--pure-white);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.page-breadcrumb {
    font-size: 1rem;
}

.page-breadcrumb a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
    color: var(--pure-white);
}

.page-breadcrumb span {
    color: var(--pure-white);
    opacity: 0.8;
}

/* Contact Info Section */
.contact-info {
    background: var(--pure-white);
}

.info-card {
    background: var(--pure-white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.15);
    border-color: var(--primary-yellow);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--dark-black);
}

.info-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-black);
}

.info-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.info-link {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--dark-black);
}

.info-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.info-link:hover i {
    transform: translateX(3px);
}

/* Contact Form & Map Section */
.form-container {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-black);
}

.form-subtitle {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-black);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.form-check-label {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-black);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Map Container */
.map-container {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.map-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-black);
    text-align: center;
}

.map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}

.map-content {
    text-align: center;
    padding: 2rem;
}

.map-content i {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.map-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-black);
}

.map-content p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.map-hours {
    background: var(--pure-white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-yellow);
}

.map-hours h5 {
    color: var(--dark-black);
    margin-bottom: 0.5rem;
}

.map-hours p {
    margin: 0;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: var(--pure-white);
}

.accordion-item {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--pure-white);
    color: var(--dark-black);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-yellow);
    color: var(--dark-black);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a1a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a1a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background: #f8f9fa;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* CTA Section */
.contact-cta {
    background: linear-gradient(135deg, var(--dark-black) 0%, #2a2a2a 100%);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .contact-header {
        padding: 120px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .map-container {
        padding: 1.5rem;
    }
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #198754;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}


/**************** GALERY AND PAGINATION STYLES ****************/
/* Gallery Item Styles */
.gallery-item {
    position: relative;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--primary-yellow);
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-yellow);
    color: var(--dark-black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Pagination Styles */
.pagination {
    margin-bottom: 0;
}

.page-link {
    color: var(--dark-black);
    border: 2px solid #dee2e6;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-black);
}

.page-item.active .page-link {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-black);
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    border-bottom: 2px solid var(--primary-yellow);
    background: var(--dark-black);
    color: var(--pure-white);
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-weight: 600;
    color: var(--primary-yellow);
}

.btn-close {
    filter: invert(1);
}

.main-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--primary-yellow);
}

.main-image-container img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

#modalBadge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
}

/* Social Sharing */
.social-sharing {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-yellow);
}

.social-sharing h6 {
    color: var(--dark-black);
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    border-radius: 25px;
    padding: 8px 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Related Products */
.related-products {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    height: auto;
}

.related-products h6 {
    color: var(--dark-black);
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 0.5rem;
}

.related-grid {
    display: grid;
    gap: 15px;
}

.related-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-yellow);
}

.related-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.related-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--primary-yellow);
    color: var(--dark-black);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Email Modal */
#emailModal .modal-content {
    border: 2px solid var(--primary-yellow);
}

.email-app {
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.email-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .catalog-title {
        font-size: 2rem;
    }
    
    .gallery-image img {
        height: 200px;
    }
    
    .main-image-container img {
        max-height: 300px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .catalog-gallery {
        margin-top: 70px;
    }
    
    .catalog-title {
        font-size: 1.8rem;
    }
    
    .gallery-image img {
        height: 180px;
    }
    
    .page-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .social-icons {
        gap: 5px;
    }
    
    .share-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}