:root {
    --primary-color: #2962FF;
    /* Energetic Blue */
    --secondary-color: #8e8e93;
    --dark-color: #1c1c1e;
    --light-color: #f2f2f7;
    --accent-color-1: #FF6D00;
    /* Energetic Orange */
    --accent-color-2: #ff2d55;
    --hero-bg-color: #1c1c1e;
    --font-family-sans-serif: 'Inter', sans-serif;

    --bg-color: var(--light-color);
    --text-color: var(--dark-color);
    --card-bg-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

.dark-mode {
    --primary-color: #2962FF;
    /* Energetic Blue */
    --secondary-color: #8e8e93;
    --dark-color: #f2f2f7;
    --light-color: #1c1c1e;
    --accent-color-1: #FF6D00;
    /* Energetic Orange */
    --accent-color-2: #ff375f;
    --hero-bg-color: #000000;

    --bg-color: #000000;
    --text-color: #ffffff;
    --card-bg-color: #1c1c1e;
    --shadow-color: rgba(255, 255, 255, 0.1);
}

/* General Body Styles */
body {
    font-family: var(--font-family-sans-serif);
    background-color: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.glass-effect,
.product-card,
.category-card,
.admin-card {
    background: var(--card-bg-color);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--shadow-color);
    box-shadow: 0 16px 48px 0 var(--shadow-color);
    padding: 2.5em;
    margin-bottom: 2.5em;
    transition: all 0.3s ease-in-out;
}

.glass-effect:hover,
.product-card:hover,
.category-card:hover,
.admin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px 0 var(--shadow-color);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.5rem;
}

/* Links */
a {
    color: var(--primary-color);
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--accent-color-2);
    text-decoration: none;
}

/* Buttons */
.btn {
    border-radius: 16px;
    font-weight: 700;
    padding: 1rem 2rem;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px var(--shadow-color);
    border: none;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color-1), var(--primary-color));
}



.btn-outline-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-secondary:hover {
    color: #ffffff;
    background-color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.cta-button:hover {
    background-color: #0056b3;
    color: #ffffff;
    border-color: #0056b3;
}

.cta-button-outline {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    /* Thicker border */
    border-radius: 50px;
    /* Pill shape */
    padding: 12px 30px;
    /* More padding */
    font-weight: bold;
    transition: all 0.3s ease;
    /* Smooth transition for all properties */
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}

.cta-button-outline:hover {
    color: #ffffff;
    background-color: var(--primary-color);
    transform: translateY(-3px);
    /* Slight lift on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.btn-modern {
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn {
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


/* Main Carousel */
#mainCarousel .carousel-item img {
    max-height: 550px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

#mainCarousel .carousel-control-prev-icon,
#mainCarousel .carousel-control-next-icon {
    background-color: rgba(0, 123, 255, 0.5);
    border-radius: 50%;
}

#mainCarousel .carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
    width: 12px;
    /* Slightly larger */
    height: 12px;
    /* Slightly larger */
    border-radius: 50%;
    /* Ensure circular shape */
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* White border for visibility */
    opacity: 0.7;
    /* Default opacity */
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

#mainCarousel .carousel-indicators [data-bs-target]:hover,
#mainCarousel .carousel-indicators .active {
    opacity: 1;
    /* Full opacity on hover/active */
    background-color: #ffffff;
    /* White on hover/active */
    border-color: var(--primary-color);
    /* Primary color border on hover/active */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color-2));
    color: #ffffff;
    padding: 150px 0;
    border-radius: 24px;
    margin: 20px;
    text-align: center;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.hero-section .lead {
    font-size: 1.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.custom-hero .cta-button {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    font-weight: 700;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.custom-hero .cta-button:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Featured Products Section */
.featured-products-section {
    background-color: transparent;
    padding: 100px 0;
}

.product-card {
    background-color: #ffffff;
    border-radius: 24px;
    border: none;
    box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 64px 0 rgba(0, 0, 0, 0.12);
}

.product-card .card-img-top {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom: 1px solid #e9ecef;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-card-body {
    padding: 2.5rem;
}

.product-card-body .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.product-card-body .card-text {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.product-card-body .btn-primary {
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s ease-in-out;
}

.product-card:hover .btn-primary {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.footer a:hover {
    color: var(--primary-color);
}

.custom-hero {
    background: linear-gradient(to right, #2962FF, #FF6D00);
    color: #ffffff;
}

.custom-hero h1 {
    font-weight: 700;
    font-size: 4.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.custom-hero .lead {
    font-size: 1.8rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.custom-hero .cta-button {
    background-color: #ffffff;
    color: #2575fc;
    border-color: #ffffff;
    font-weight: bold;
    padding: 15px 40px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-right: 10px;
    /* Added margin */
}

.custom-hero .cta-button-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    font-weight: bold;
    padding: 15px 40px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.custom-hero .cta-button:hover,
.custom-hero .cta-button-secondary:hover {
    background-color: #f0f0f0;
    color: #2575fc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Brands Section */
.brands-section {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    padding: 80px 0;
}

.brands-section h2 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 50px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.brand-logo-container {
    padding: 20px;
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
}

.brand-logo {
    max-height: 90px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo-container:hover .brand-logo {
    transform: scale(1.05);
}

/* Featured Products Section */
.featured-products-section {
    background-color: transparent;
    padding: 80px 0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.product-card .card-img-top {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.product-card-body {
    /* New class for flex content */
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    flex-grow: 1;
    /* Allow card body to grow and take available space */
}

.product-card-body .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.product-card-body .card-text strong {
    font-size: 1.3rem;
    color: var(--primary-color);
    /* Highlight color */
    font-weight: 700;
}

.product-card-body .card-text {
    font-size: 1rem;
    margin-bottom: auto;
    /* Push buttons to the bottom */
    color: var(--dark-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    border-top: 1px solid #dee2e6;
}

.footer h5 {
    color: var(--light-color);
}

.footer a {
    color: var(--light-color);
}

.footer a:hover {
    color: var(--primary-color);
}



/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
        /* Slightly smaller logo on mobile */
    }

    .hero-section h1 {
        font-size: 2.5rem;
        /* Smaller heading for mobile */
    }

    .hero-section .lead {
        font-size: 1.2rem;
        /* Smaller lead text */
    }

    .featured-products-section {
        padding: 40px 0;
        /* Reduced padding on mobile */
    }

    .product-card .card-title {
        font-size: 1.1rem;
    }

    .footer .col-md-4 {
        text-align: center;
        /* Center footer content on mobile */
    }
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.navbar-brand {
    position: relative;
    /* Needed for absolute positioning of ::after */
    display: inline-block;
    /* To make sure position:relative works correctly with width/height */
    overflow: visible;
    /* Allow pseudo-element to extend beyond bounds */
}

.navbar-brand::after {
    content: '';
    position: absolute;
    top: 50%;
    /* Center vertically */
    left: 50%;
    /* Center horizontally */
    transform: translate(-50%, -50%) scale(0);
    /* Start scaled to 0, centered */
    width: 120%;
    /* Slightly wider than the image */
    height: 120%;
    /* Slightly taller than the image */
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 15px;
    /* More pronounced curved corners */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
    /* Start invisible */
    z-index: -1;
    /* Ensure it's behind the image */
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
}



.floating-contact-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: #ffffff;

    text-align: center;
    font-size: 16px;
    /* Smaller font for text */
    box-shadow: 2px 2px 10px rgba(0, 123, 255, 0.2);
    z-index: 1030;
    transition: background-color 0.3s ease;
    text-decoration: none;
    /* Remove underline from link */
}

.floating-contact-btn:hover {
    background-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    /* Even more space */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--dark-color);
    z-index: 10;
    transition: opacity 0.5s ease;
}

.scroll-down-indicator p {
    margin-bottom: 8px;
    font-size: 1rem;
    /* Larger text */
    font-weight: 500;
    /* A bit bolder */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    /* Softer shadow */
}

.scroll-down-indicator i {
    font-size: 3rem;
    /* Larger arrow */
    animation: more-visible-bounce 2s ease-in-out infinite;
}

@keyframes more-visible-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
        /* More movement */
    }
}

.modern-search-bar .form-control {
    border-radius: 50px 0 0 50px;
    /* Rounded left side */
    border-right: none;
    /* Remove border between input and button */
    box-shadow: none;
    /* Remove default shadow */
    padding-left: 20px;
    /* More padding */
    background-color: transparent;
    color: var(--light-color);
    border: 1px solid var(--light-color);
}

.modern-search-bar .form-control::placeholder {
    color: var(--light-color);
}

.modern-search-bar .form-control:focus {
    box-shadow: none;
    /* Remove focus shadow */
    border-color: var(--primary-color);
    /* Keep primary color on focus */
    background-color: transparent;
}

.modern-search-bar .btn {
    border-radius: 0 50px 50px 0;
    /* Rounded right side */
    background-color: transparent;
    border-color: var(--light-color);
    color: var(--light-color);
    padding: 0.375rem 1rem;
    /* Adjust padding to match input height */
}

.modern-search-bar .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--light-color);
    color: var(--light-color);
}

.filter-section {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 20px;
}

.filter-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.brand-card {
    transition: all 0.3s ease;
    background: linear-gradient(to top, var(--light-color), #ffffff);
    border: 1px solid #e9ecef;
}

.brand-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.client-logo-lg {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo-lg:hover {
    transform: scale(1.1);
}

.partner-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.partner-logo {
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
}

.partner-card .card-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.partner-card:hover .card-title-overlay {
    transform: translateY(0);
}

.card.h-100.shadow-sm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Improved Dark Mode Styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
    color: #ffffff;
}

.dark-mode a {
    color: var(--primary-color);
}

.dark-mode a:hover {
    color: #4da3ff;
}

.dark-mode .navbar {
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(12px);
}

.dark-mode .custom-nav-link {
    color: #f5f5f7;
}

.dark-mode .custom-nav-link::before {
    background-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .custom-nav-link.active {
    color: #2997ff;
}

.dark-mode .custom-nav-link.active::before {
    background-color: rgba(41, 151, 255, 0.2);
}

.dark-mode .modern-search-bar .form-control {
    background-color: rgba(118, 118, 128, 0.24);
    color: #f5f5f7;
}

.dark-mode .modern-search-bar .form-control:focus {
    background-color: rgba(118, 118, 128, 0.36);
}

.dark-mode .modern-search-bar .input-group-text {
    color: #f5f5f7;
}

.dark-mode .navbar-text {
    color: #e0e0e0;
}

.dark-mode .footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    border-top: 1px solid #444444;
}

.dark-mode .footer a {
    color: var(--light-color);
}

.dark-mode .footer a:hover {
    color: var(--primary-color);
}

.dark-mode .product-card {
    background-color: #2c2c2c;
    border: 1px solid #444444;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dark-mode .product-card:hover {
    border-color: var(--primary-color);
}

.dark-mode .product-card-body .card-title {
    color: #ffffff;
}

.dark-mode .product-card-body .card-text {
    color: #e0e0e0;
}

.dark-mode .custom-nav-link {
    color: #f5f5f7;
}

.dark-mode .custom-nav-link::before {
    background-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .custom-nav-link.active {
    color: #2997ff;
}

.dark-mode .custom-nav-link.active::before {
    background-color: rgba(41, 151, 255, 0.2);
}

.dark-mode .modern-search-bar .form-control {
    background-color: rgba(118, 118, 128, 0.24);
    color: #f5f5f7;
}

.dark-mode .modern-search-bar .form-control:focus {
    background-color: rgba(118, 118, 128, 0.36);
}

.dark-mode .modern-search-bar .input-group-text {
    color: #f5f5f7;
}

.dark-mode .filter-section {
    background-color: #2c2c2c;
    border: 1px solid #444444;
}

.dark-mode .brand-card {
    background: #2c2c2c;
    border: 1px solid #444444;
}

.dark-mode .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.dark-mode .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.dark-mode .btn-outline-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .btn-outline-secondary:hover {
    color: #ffffff;
    background-color: var(--primary-color);
}

.dark-mode .text-muted {
    color: #a0a0a0 !important;
}

.dark-mode .card {
    background-color: #2c2c2c;
    border: 1px solid #444444;
}

.dark-mode .list-group-item {
    background-color: #2c2c2c;
    border-color: #444444;
    color: #e0e0e0;
}

.dark-mode .form-control {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border-color: #444444;
}

.dark-mode .form-control:focus {
    background-color: #3a3a3a;
    border-color: var(--primary-color);
    color: #ffffff;
}

.dark-mode .input-group-text {
    background-color: #2c2c2c;
    border-color: #444444;
    color: #e0e0e0;
}

.dark-mode .table {
    color: #e0e0e0;
}

.dark-mode .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.075);
}

.dark-mode .blockquote {
    border-left-color: var(--primary-color);
    color: #e0e0e0;
}

.dark-mode .blockquote-footer {
    color: #a0a0a0;
}

.dark-mode .alert-info {
    background-color: #004085;
    color: #cce5ff;
    border-color: #00376b;
}

.dark-mode .floating-contact-btn {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Side Panel */
.side-panel {
    position: fixed;
    top: 0;
    right: -350px;
    /* Start off-screen */
    width: 350px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1040;
    padding: 20px;
}

.side-panel.open {
    right: 0;
    /* Slide in */
}

.side-panel .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

.side-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.side-panel-body .setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.dark-mode .side-panel-body .setting-item {
    border-bottom: 1px solid #444444;
}

/* Overlay for when the side panel is open */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1039;
    display: none;
    /* Hidden by default */
}

.overlay.active {
    display: block;
    /* Show when active */
}

/* Star Rating Input */
.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    /* Stars from right to left */
    justify-content: center;
    font-size: 2.5rem;
    /* Larger stars */
    color: #ccc;
    /* Default star color */
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    cursor: pointer;
    padding: 0 5px;
    /* Spacing between stars */
    transition: color 0.2s ease-in-out;
}

.rating-stars label:hover,
.rating-stars label:hover~label,
.rating-stars input[type="radio"]:checked~label {
    color: var(--accent-color-1);
    /* Gold color for selected/hovered stars */
}

/* Average Rating Display */
.average-rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    border-radius: 15px;
    background-color: #f8f9fa;
    /* Light background */
    border: 1px solid #e9ecef;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

.average-rating-display .bi-star-fill {
    font-size: 4rem;
    /* Larger star icon */
    color: var(--accent-color-1);
}

.average-rating-display h1 {
    font-size: 4.5rem;
    /* Larger average rating number */
    margin-top: 10px;
    margin-bottom: 5px;
    color: #343a40;
}

.average-rating-display p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Individual Rating Cards */
.rating-card {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.dark-mode .rating-card {
    background-color: #2c2c2c;
    border: 1px solid #444444;
}

.rating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.rating-card .img-fluid {
    width: 80px;
    /* Larger image */
    height: 80px;
    border-radius: 50%;
    /* Circular image */
    object-fit: cover;
    border: 2px solid var(--primary-color);
    /* Blue border around image */
    padding: 3px;
    /* Space for border */
}

.rating-card .card-body {
    padding: 20px;
}

.rating-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #343a40;
}

.dark-mode .rating-card .card-title {
    color: #ffffff;
}

.rating-card .text-muted {
    font-size: 0.9rem;
}

.rating-card .rating-stars-display .bi-star-fill,
.rating-card .rating-stars-display .bi-star {
    font-size: 1.2rem;
    /* Size of stars in display */
}

.rating-card .comment-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}

.dark-mode .rating-card .comment-text {
    color: #e0e0e0;
}

.rating-card .read-more-link,
.rating-card .read-less-link {
    font-weight: 500;
}

.dark-mode .side-panel {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

.dark-mode .bg-light {
    background-color: #2c2c2c !important;
    color: #e0e0e0 !important;
}

.dark-mode .bg-light .lead,
.dark-mode .bg-light p {
    color: #e0e0e0 !important;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.login-form-container {
    max-width: 450px;
    width: 100%;
}

/* Custom Admin Offcanvas Styles */
.offcanvas.offcanvas-start {
    background-color: var(--dark-color);
    /* A slightly lighter dark color */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-right: 1px solid #495057;
}

.offcanvas-header {
    border-bottom: 1px solid #495057;
}

.offcanvas-body {
    padding: 20px;
}

.offcanvas .nav-link {
    color: #adb5bd;
    padding: 12px 15px;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.offcanvas .nav-link:hover {
    background-color: #343a40;
    color: #ffffff;
}

.offcanvas .nav-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 500;
}

.offcanvas .nav-link i {
    margin-right: 10px;
}

.offcanvas .dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
}

.offcanvas .dropdown-toggle:hover {
    background-color: #343a40;
}

.offcanvas .dropdown-menu {
    background-color: #343a40;
    border: 1px solid #495057;
}

.offcanvas .dropdown-item {
    color: #adb5bd;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.offcanvas .dropdown-item:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.offcanvas hr {
    border-top: 1px solid #495057;
}

.contact-hero {
    height: 400px;
    /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.contact-hero .container {
    z-index: 1;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.contact-hero p {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.contact-info-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.contact-info-card i {
    font-size: 4rem;
    /* Larger icons */
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-info-card h5 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 1.1rem;
    text-align: center;
}

.contact-info-card .btn {
    margin-top: 15px;
}

/* Form Floating Labels adjustments */
.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating>label {
    padding: 0.75rem 0.75rem;
}

/* Admin Dashboard Cards */
.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.admin-card .card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-card .card-title {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.admin-card .card-text {
    font-size: 2rem;
    font-weight: 700;
}

.admin-card .card-icon i {
    font-size: 3rem;
    opacity: 0.7;
}

.bg-primary-gradient {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
}

.bg-success-gradient {
    background: linear-gradient(45deg, #198754, #0f5132);
}

.bg-info-gradient {
    background: linear-gradient(45deg, #0dcaf0, #087990);
}

/* Admin Table */
.table-modern {
    border-collapse: separate;
    border-spacing: 0 15px;
}

.table-modern thead th {
    border: none;
    font-weight: 600;
}

.table-modern tbody tr {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.table-modern tbody tr:hover {
    transform: translateY(-3px);
}

.table-modern tbody td {
    border: none;
    vertical-align: middle;
}

.table-modern tbody td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.table-modern tbody td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Search and Filter */
.admin-filter-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Pagination */
.pagination .page-item .page-link {
    border-radius: 50%;
    margin: 0 5px;
    border: none;
    color: var(--primary-color);
    background-color: #e9ecef;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #e9ecef;
}

.table-modern thead th {
    background-color: var(--dark-color);
    color: #fff;
}

.table-modern tbody tr:hover {
    background-color: #343a40;
    color: #fff;
}

.table-modern {
    border-color: var(--dark-color);
}

.admin-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Carousel Image Styling */
.carousel-img {
    height: 600px;
    /* Adjust as needed */
    object-fit: cover;
}

/* Carousel Caption Styling */
#mainCarousel .carousel-caption {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#mainCarousel .carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#mainCarousel .carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Animations */
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.animated.delay-1s {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.animated.delay-2s {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.zoomIn {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .carousel-img {
        height: 400px;
        /* Smaller height for mobile */
    }

    #mainCarousel .carousel-caption h2 {
        font-size: 2rem;
    }

    #mainCarousel .carousel-caption p {
        font-size: 1rem;
    }

    #mainCarousel .carousel-caption .btn {
        font-size: 1rem;
        padding: 8px 20px;
    }
}

@media (max-width: 992px) {
    .navbar.floating {
        top: 10px;
        width: 90%;
        padding: 0.1rem 0.2rem;
    }

    .custom-nav-link {
        font-size: 0.9rem;
        margin: 0 0.5rem;
    }

    .navbar .form-control {
        font-size: 0.9rem;
    }
}



.pt-admin-navbar {}



.brand-logo-container {
    padding: 15px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 120px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.brand-logo {
    max-height: 80px;
    /* Larger logos */
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo-container:hover .brand-logo {
    transform: scale(1.1);
}

.main-content-padding {}

.admin-navbar {
    position: fixed;
    top: 56px;
    /* Height of main navbar */
    width: 100%;
    z-index: 1029;
    /* Below main navbar's z-index (default 1030 for fixed-top) */
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

#loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    max-width: 150px;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 82, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Category Page Enhancements */

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.category-card .card-img-top {
    height: 200px;
    object-fit: cover;
    filter: grayscale(50%);
    transition: all 0.3s ease-in-out;
}

.category-card:hover .card-img-top {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.category-card .card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

.category-card .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Admin Dashboard Enhancements */

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.admin-card .card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.admin-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark-color);
    /* Dark text for titles */
    margin-bottom: 10px;
}

.admin-card .card-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    /* Primary color for numbers */
}

.admin-card .card-icon {
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.1);
    /* Light grey icon */
    position: absolute;
    right: 20px;
    bottom: 10px;
    z-index: 0;
}

/* Dark Mode for Admin Cards */
.dark-mode .admin-card {
    background-color: #2c2c2c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .admin-card .card-title {
    color: #e0e0e0;
}

.dark-mode .admin-card .card-text {
    color: var(--primary-color);
}

.dark-mode .admin-card .card-icon {
    color: rgba(255, 255, 255, 0.1);
}

/* Admin Table Enhancements */
.table-modern {
    border-collapse: separate;
    border-spacing: 0 15px;
    width: 100%;
}

.table-modern thead th {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-modern tbody tr {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.table-modern tbody tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.table-modern tbody td {
    border: none;
    vertical-align: middle;
    padding: 15px;
    color: var(--dark-color);
}

.table-modern tbody td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.table-modern tbody td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Dark Mode for Admin Table */
.dark-mode .table-modern tbody tr {
    background-color: #2c2c2c;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode .table-modern tbody tr:hover {
    background-color: #3a3a3a;
}

.dark-mode .table-modern tbody td {
    color: #e0e0e0;
}

/* Admin Filter Form */
.admin-filter-form {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.dark-mode .admin-filter-form {
    background-color: #2c2c2c;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.admin-filter-form .form-control,
.admin-filter-form .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
}

.dark-mode .admin-filter-form .form-control,
.dark-mode .admin-filter-form .form-select {
    background-color: #3a3a3a;
    border-color: #444444;
    color: #e0e0e0;
}

.dark-mode .admin-filter-form .form-control::placeholder {
    color: #a0a0a0;
}

.admin-filter-form .btn-primary {
    border-radius: 8px;
    padding: 10px 20px;
}

/* Admin Title */
.admin-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.dark-mode .admin-title {
    color: #ffffff;
}

/* Compare Page Specific Styles */
.product-checkbox-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    height: 100%;
    /* Ensure consistent height */
}

.product-checkbox-item:hover {
    background-color: #e9ecef;
    border-color: var(--primary-color);
}

.product-checkbox-item input[type="checkbox"] {
    margin-right: 0.75rem;
    flex-shrink: 0;
    /* Prevent checkbox from shrinking */
}

.product-checkbox-item label {
    cursor: pointer;
    margin-bottom: 0;
    font-weight: 500;
    color: var(--dark-color);
    white-space: nowrap;
    /* Prevent text wrapping */
    overflow: hidden;
    /* Hide overflow text */
    text-overflow: ellipsis;
    /* Add ellipsis for overflow */
}

.dark-mode .product-checkbox-item {
    background-color: #2c2c2c;
    border-color: #444444;
}

.dark-mode .product-checkbox-item:hover {
    background-color: #3a3a3a;
    border-color: var(--primary-color);
}

.dark-mode .product-checkbox-item label {
    color: #e0e0e0;
}

.product-header-col .h6 {
    font-size: 1.1rem;
    font-weight: 600;
}

.product-header-col img {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    object-fit: contain;
}

.dark-mode .product-header-col img {
    border-color: #444444;
}

.table-bordered th,
.table-bordered td {
    border-color: #dee2e6;
}

.dark-mode .table-bordered th,
.dark-mode .table-bordered td {
    border-color: #444444;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: rgba(0, 0, 0, 0.02);
}

.dark-mode .table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: rgba(255, 255, 255, 0.03);
}

.table-hover>tbody>tr:hover>* {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark-mode .table-hover>tbody>tr:hover>* {
    background-color: rgba(255, 255, 255, 0.06);
}

.table-secondary {
    background-color: #e2e3e5;
    color: #343a40;
}

.dark-mode .table-secondary {
    background-color: #495057;
    color: #e0e0e0;
}

.text-break {
    word-break: break-word;
}

/* --- Appended Admin Sidebar Styles --- */

.admin-sidebar {
    background-color: #212529;
    /* Dark background */
    color: #fff;
}

.admin-sidebar .offcanvas-header {
    border-bottom: 1px solid #495057;
}

.admin-sidebar .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    color: #adb5bd;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover {
    color: #fff;
    background-color: #343a40;
    border-left-color: var(--primary-color);
}

.admin-sidebar .nav-link.active {
    color: #fff;
    font-weight: bold;
    background-color: var(--primary-color);
    border-left-color: #fff;
}

.admin-sidebar .nav-link .bi {
    margin-right: 0.75rem;
}

.admin-sidebar hr {
    border-top: 1px solid #495057;
}

.admin-sidebar .dropdown-menu {
    background-color: #343a40;
}

.admin-sidebar .dropdown-item:hover {
    background-color: var(--primary-color);
}

/* --- Glassmorphism Styles --- */

.admin-body {
    background: linear-gradient(to right, #8e9eab, #eef2f3);
}

.admin-body .card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.admin-body .navbar {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.admin-body .admin-sidebar {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}


/* Hero Section */
.hero-section.hero-with-bg {
    position: relative;
    background: url('/static/img/volar_background.png') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    padding: 150px 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navbar Styling */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.fixed-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dark-mode .navbar-scrolled {
    background-color: rgba(26, 26, 26, 0.8);
}

.custom-nav-link {
    position: relative;
    color: var(--text-color);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 16px;
}

.custom-nav-link:hover,
.custom-nav-link.active {
    color: #ffffff;
    background-color: var(--primary-color);
}

.navbar .form-control {
    background-color: transparent;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    padding-left: 1.5rem;
}

.navbar .btn-outline-success {
    border-radius: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    background-color: transparent;
    transition: all 0.3s ease;
}

.navbar .btn-outline-success:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}