/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 77, 142, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(33, 150, 243, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(0, 60, 120, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="floating-shapes" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="3" fill="rgba(0,77,142,0.1)"/><circle cx="150" cy="50" r="2" fill="rgba(33,150,243,0.08)"/><circle cx="50" cy="150" r="2.5" fill="rgba(0,60,120,0.06)"/><circle cx="150" cy="150" r="1.5" fill="rgba(255,107,53,0.05)"/><polygon points="100,20 110,10 120,20 110,30" fill="rgba(0,77,142,0.08)"/><polygon points="180,80 190,70 200,80 190,90" fill="rgba(33,150,243,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23floating-shapes)"/></svg>');
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(0.5deg); }
}

/* Background Decorations */
.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 77, 142, 0.1) 0%, rgba(33, 150, 243, 0.08) 100%);
    animation: floatAround 15s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(0, 77, 142, 0.15) 0%, rgba(33, 150, 243, 0.1) 100%);
}

.element-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-delay: -3s;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(0, 60, 120, 0.08) 100%);
}

.element-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 5%;
    animation-delay: -6s;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(0, 77, 142, 0.06) 100%);
}

.element-4 {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 10%;
    animation-delay: -9s;
    background: linear-gradient(135deg, rgba(0, 60, 120, 0.1) 0%, rgba(255, 107, 53, 0.08) 100%);
}

.element-5 {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 50%;
    animation-delay: -12s;
    background: linear-gradient(135deg, rgba(0, 77, 142, 0.2) 0%, rgba(33, 150, 243, 0.15) 100%);
}

@keyframes floatAround {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) rotate(90deg) scale(1.1);
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-10px) translateX(-15px) rotate(180deg) scale(0.9);
        opacity: 0.6;
    }
    75% { 
        transform: translateY(-30px) translateX(5px) rotate(270deg) scale(1.05);
        opacity: 0.8;
    }
}

/* Color Variables */
:root {
    --primary-color: rgb(0, 77, 142);
    --secondary-color: rgb(0, 60, 120);
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
}

/* Header Styles */
.header {
    background: #21b7fb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand .logo {
    height: 40px;
    width: 120px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-gray) !important;
}

.navbar-nav .nav-link.active {
    color: var(--white) !important;
    font-weight: 600;
}

.navbar-toggler {
    border-color: var(--white);
}

.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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    background: #f8f9fa;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(0,77,142,0.1)"/><circle cx="80" cy="80" r="1.5" fill="rgba(0,77,142,0.08)"/><circle cx="60" cy="30" r="1" fill="rgba(0,77,142,0.06)"/><circle cx="30" cy="70" r="1.2" fill="rgba(0,77,142,0.05)"/></svg>');
    opacity: 0.6;
    z-index: 1;
}
.carousel-item{
  background-color: #021d5c;
}
.carousel-item img {
    max-height: 600px;
    object-fit: contain;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 2rem;
    bottom: 50px;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color) !important;
    border: none !important;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

/* All buttons should be blue */
.btn-orange, .btn-blue {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-orange:hover, .btn-blue:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 77, 142, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 2rem;
    min-height: 460px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--dark-color);
    line-height: 1.3;
    min-height: 1.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-original-price {
    font-size: 1rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.product-discount {
    background: var(--danger-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.product-brand {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-rating {
    color: var(--warning-color);
    margin-bottom: 0.8rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    align-items: stretch;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
}

/* Product detail page specific button styles */
.product-actions .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.product-actions .btn i {
    font-size: 0.8rem;
    margin-right: 0.3rem;
}

/* Category Cards */
.category-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 2rem;
    text-align: center;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.category-info {
    padding: 1.5rem;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.category-count {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    margin-top: 4rem;
}

.footer h5, .footer h6 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--light-gray);
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 77, 142, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-caption {
        padding: 1rem;
        bottom: 20px;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-sm {
        width: 100%;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .category-info {
        padding: 1rem;
    }
    
    /* Mobile background decorations */
    .floating-element {
        display: none;
    }
    
    .element-1, .element-2 {
        display: block;
        width: 40px;
        height: 40px;
    }
    
    .element-1 {
        top: 15%;
        left: 5%;
    }
    
    .element-2 {
        top: 25%;
        right: 5%;
    }
}

/* Desktop spacing between the two Special Offers rows */
@media (min-width: 992px) {
    .special-offers .offers-scroll + .offers-scroll {
        margin-top: 24px;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}
#footer-container .bg-primary {
  background-color: #21b7fb !important;
}
.bg-primary {
    background-color: #21b7fb !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.shadow {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.rounded {
    border-radius: 15px !important;
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

/* Cart Header Styles */
.cart-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cart-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1px;
}

.decoration-circle {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* Cart Items Container */
.cart-items-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.cart-header-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    font-size: 1.4rem;
}

.cart-count-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-items-list {
    padding: 0;
}

/* Cart and Wishlist Styles */
.cart-item, .wishlist-item {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.cart-item:hover, .wishlist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

/* Cart Item Layout */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
}

.cart-item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.cart-item-brand {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
    text-align: right;
}

/* Mobile responsive for cart items */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cart-item-image {
        width: 100px;
        height: 100px;
    }
    
    .cart-item-actions {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .cart-item-price {
        text-align: center;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .cart-item {
        padding: 1rem;
    }
    
    .cart-item-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .quantity-controls {
        justify-content: center;
    }
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 0.2rem;
    border: 1px solid #e9ecef;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 77, 142, 0.3);
}

.quantity-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 77, 142, 0.4);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 60px;
    height: 36px;
    text-align: center;
    border: none;
    background: white;
    border-radius: 18px;
    padding: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #212529;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quantity-input:focus {
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(0, 77, 142, 0.2);
}

/* Remove button styling */
.remove-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #dc3545;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.remove-btn:hover {
    background: #c82333;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.remove-btn:active {
    transform: scale(0.95);
}

/* Checkout Styles */
.checkout-form {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Order Summary Styles */
.order-summary-container {
    position: sticky;
    top: 100px;
}

.order-summary {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #f0f0f0;
}

.summary-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem 2rem;
}

.summary-title {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 1.3rem;
}

.summary-content {
    padding: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.summary-item:hover {
    background: #f8f9fa;
    margin: 0 -1rem 1.2rem -1rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
}

.item-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 1rem;
}

.item-value {
    font-weight: 600;
    color: #212529;
    font-size: 1rem;
}

.item-value.discount {
    color: #28a745;
}

.summary-total .item-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
}

.summary-total .item-value.total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    margin: 1.5rem 0;
    border-radius: 1px;
}

.summary-actions {
    padding: 0 2rem 2rem 2rem;
}

.btn-checkout {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 77, 142, 0.3);
    margin-bottom: 1rem;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 77, 142, 0.4);
    color: white;
}

.btn-continue {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-continue:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 77, 142, 0.2);
    text-decoration: none;
}

/* Security Features */
.security-features {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.security-item:last-child {
    margin-bottom: 0;
}

.security-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Empty Cart Styles */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.empty-cart i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
}

.empty-cart h4 {
    color: #6c757d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.empty-cart p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.empty-cart .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-header-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cart-count-badge {
        align-self: center;
    }
    
    .order-summary-container {
        position: static;
        margin-top: 2rem;
    }
    
    .summary-content {
        padding: 1.5rem;
    }
    
    .summary-actions {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .security-features {
        margin-top: 1rem;
    }
    
    .header-decoration {
        gap: 0.5rem;
    }
    
    .decoration-line {
        width: 40px;
    }
}

@media (max-width: 576px) {
    .cart-header {
        padding: 3rem 0;
    }
    
    .cart-header h1 {
        font-size: 2rem;
    }
    
    .cart-items-container {
        margin-bottom: 1rem;
    }
    
    .cart-header-section {
        padding: 1rem;
    }
    
    .summary-header {
        padding: 1rem 1.5rem;
    }
    
    .summary-content {
        padding: 1rem;
    }
    
    .summary-actions {
        padding: 0 1rem 1rem 1rem;
    }
    
    .btn-checkout, .btn-continue {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
}

.summary-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Product Detail Styles */
.product-detail {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 2rem;
    border: 1px solid rgba(0, 77, 142, 0.1);
}

/* Product Brand and Sales Info */
.product-brand-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, rgba(0, 77, 142, 0.05) 0%, rgba(0, 60, 120, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 77, 142, 0.1);
}

.product-brand {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(0, 77, 142, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.product-sales {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    background: rgba(0, 77, 142, 0.05);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.quantity-selector .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.3rem;
    border: 1px solid #e9ecef;
    width: fit-content;
}

.quantity-selector .quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 77, 142, 0.3);
}

.quantity-selector .quantity-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 77, 142, 0.4);
}

.quantity-selector .quantity-btn:active {
    transform: scale(0.95);
}

.quantity-selector .quantity-input {
    width: 80px;
    height: 40px;
    text-align: center;
    border: none;
    background: white;
    border-radius: 20px;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quantity-selector .quantity-input:focus {
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(0, 77, 142, 0.2);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-buttons .btn {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.action-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 77, 142, 0.3);
}

.action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 77, 142, 0.4);
}

.action-buttons .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.action-buttons .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 77, 142, 0.2);
}

/* Mobile responsive for action buttons */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        min-width: auto;
        width: 100%;
    }
    
    .quantity-selector .quantity-controls {
        width: 100%;
        justify-content: center;
    }
}

/* Ensure equal height columns */
.product-detail .row {
    align-items: stretch;
    min-height: 500px;
}

.product-detail .col-lg-5,
.product-detail .col-lg-7 {
    display: flex;
    flex-direction: column;
}

/* Optimize layout for better balance */
@media (min-width: 992px) {
    .product-detail .col-lg-5 {
        flex: 0 0 42%;
        max-width: 42%;
    }
    
    .product-detail .col-lg-7 {
        flex: 0 0 58%;
        max-width: 58%;
    }
}

.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-details {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title-large {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.product-price-large {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.product-warranty {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
}

.warranty-info {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2e7d32;
}

.warranty-info i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.warranty-text {
    font-weight: 600;
}

.product-description {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    background: rgba(0, 77, 142, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.product-attributes {
    margin-bottom: 1rem;
    background: rgba(0, 77, 142, 0.03);
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 77, 142, 0.1);
}

.attribute-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 77, 142, 0.1);
    transition: background-color 0.3s ease;
}

.attribute-item:hover {
    background-color: rgba(0, 77, 142, 0.05);
    border-radius: 5px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.attribute-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.attribute-value {
    color: var(--dark-color);
    font-weight: 500;
}

/* Reviews Styles */
.reviews-section {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(0, 77, 142, 0.1);
}

.review-item {
    border-bottom: 1px solid rgba(0, 77, 142, 0.1);
    padding: 1.5rem 0;
    transition: background-color 0.3s ease;
}

.review-item:hover {
    background-color: rgba(0, 77, 142, 0.02);
    border-radius: 10px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.review-item:last-child {
    border-bottom: none;
}

/* Like button style */
.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.like-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
}

.like-btn.liked {
    background: #e3f2fd;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.like-btn i {
    font-size: 0.8rem;
    color: inherit;
}

/* Related Products Banner */
.related-products-banner {
    text-align: center;
    margin-bottom: 2rem;
}

.related-products-banner img {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-height: 80px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.related-products-banner img:hover {
    transform: scale(1.02);
}

/* Responsive banner */
@media (max-width: 768px) {
    .related-products-banner {
        margin-bottom: 1.5rem;
    }
    
    .related-products-banner img {
        max-height: 100px;
    }
}

/* Related products layout optimization for 4 items */
.related-products .col-lg-4 {
    flex: 0 0 25%;
    max-width: 25%;
}

@media (max-width: 1200px) {
    .related-products .col-lg-4 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .related-products .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 768px) {
    .related-products .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .related-products .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-user {
    font-weight: 600;
    color: var(--dark-color);
}

.review-date {
    color: var(--gray);
    font-size: 0.9rem;
}

.review-content {
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-replies {
    margin-left: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
    background: var(--light-color);
    padding: 1rem;
    border-radius: 0 10px 10px 0;
}

.review-reply {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.review-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.like-btn {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.like-btn:hover,
.like-btn.liked {
    color: var(--danger-color);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Team Section */
.team-section .card-img-top {
    height: 300px;
    object-fit: cover;
}

/* About Page Main Image */
.about-section .img-fluid {
    max-height: 400px;
    object-fit: cover;
}

/* Simple theme: Blue header/footer, Orange buttons */
.section-light {
    background: var(--light-color);
}

.card-simple {
    border: 1px solid var(--light-gray);
}

/* Blue text class */
.text-orange {
    color: var(--primary-color) !important;
}

/* Product card hover effects */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.wishlist-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wishlist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Product Gallery Styles */
.product-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(0, 77, 142, 0.03) 0%, rgba(0, 60, 120, 0.02) 100%);
    border-radius: 20px;
    padding: 1.2rem;
    border: 1px solid rgba(0, 77, 142, 0.08);
    box-shadow: 0 4px 20px rgba(0, 77, 142, 0.1);
}

.main-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 1px solid rgba(0, 77, 142, 0.08);
    flex: 1;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin: 0 auto;
}


/* Gallery Info Styles */
.gallery-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 77, 142, 0.1);
    margin-top: 0.5rem;
    backdrop-filter: blur(5px);
}

.product-sales-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-sales-info i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.product-rating-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.product-rating-info .product-rating {
    margin: 0;
}

.rating-text {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(0,65, 126);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.main-image-container:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.thumbnail-container {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(0, 77, 142, 0.08);
    position: relative;
    backdrop-filter: blur(5px);
}

.thumbnail-container::before {
    content: '';
    position: absolute;
    top: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 0.4rem;
    background: linear-gradient(to bottom, rgba(0, 77, 142, 0.3), transparent);
    border-radius: 2px;
}


.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.05);
}

/* Tablet responsive */
@media (max-width: 992px) and (min-width: 769px) {
    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-actions .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        width: 100%;
    }
    
    .product-main-image {
        height: 350px;
    }
    
    .product-title-large {
        font-size: 1.3rem;
    }
    
    .gallery-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .product-rating-info {
        align-items: center;
    }
    
    .product-price-large {
        font-size: 1.6rem;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .product-main-image {
        height: 280px;
    }
    
    .thumbnail {
        width: 45px;
        height: 45px;
    }
    
    .gallery-nav {
        width: 30px;
        height: 30px;
        opacity: 1;
    }
    
    .gallery-info {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
        padding: 0.6rem;
    }
    
    .product-warranty {
        padding: 0.6rem 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .warranty-info {
        font-size: 0.9rem;
    }
    
    .product-sales-info {
        font-size: 0.8rem;
    }
    
    .product-rating-info {
        align-items: center;
    }
    
    .rating-text {
        font-size: 0.7rem;
    }
    
    .product-details {
        padding: 0.8rem;
    }
    
    .product-title-large {
        font-size: 1.2rem;
    }
    
    .product-price-large {
        font-size: 1.6rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-actions .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        width: 100%;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    color: white;
}

.loading-logo {
    margin-bottom: 2rem;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-logo img {
    max-width: 200px;
    height: auto;
}

.loading-spinner {
    margin-bottom: 2rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: textFade 2s ease-in-out infinite;
}

.loading-text p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes textFade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* Enhanced Hover Effects */
.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Product Card Animations */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Category Card Animations */
.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Page Transitions */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Product Details Tabs */
.product-details-tabs {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid rgba(0, 77, 142, 0.1);
}

.tabs-container {
    width: 100%;
}

.tabs-header {
    display: flex;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0, 77, 142, 0.1);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 1.2rem 2rem;
    background: transparent;
    border: none;
    color: #6c757d;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    min-width: 200px;
}

.tab-btn:hover {
    background: rgba(0, 77, 142, 0.05);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 -2px 10px rgba(0, 77, 142, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.tab-btn i {
    font-size: 1.1rem;
}

.tabs-content {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
    display: block;
}

/* Specifications Tab */
.specifications-content {
    width: 100%;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    background: linear-gradient(135deg, rgba(0, 77, 142, 0.03) 0%, rgba(0, 60, 120, 0.02) 100%);
    border: 1px solid rgba(0, 77, 142, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-item:hover {
    background: linear-gradient(135deg, rgba(0, 77, 142, 0.08) 0%, rgba(0, 60, 120, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 77, 142, 0.1);
}

.spec-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.spec-label i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.spec-value {
    color: var(--dark-color);
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
}

/* Reviews Tab */
.reviews-content {
    width: 100%;
}

.reviews-summary {
    background: linear-gradient(135deg, rgba(0, 77, 142, 0.05) 0%, rgba(0, 60, 120, 0.02) 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 77, 142, 0.1);
}

.rating-overview {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.average-rating {
    text-align: center;
    min-width: 150px;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-stars {
    margin-bottom: 0.5rem;
}

.rating-count {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.rating-breakdown {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    min-width: 30px;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.rating-percentage {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    min-width: 35px;
    text-align: right;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: var(--white);
    border: 1px solid rgba(0, 77, 142, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 77, 142, 0.1);
    border-color: var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-user-info {
    display: flex;
    align-items: center;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.review-user {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
}

.review-rating {
    display: flex;
    gap: 0.2rem;
}

.review-rating i {
    font-size: 0.9rem;
    color: #ffc107;
}

.review-date {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.review-content {
    margin-bottom: 1rem;
}

.review-content p {
    color: var(--dark-color);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.review-replies {
    background: rgba(0, 77, 142, 0.03);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 3px solid var(--primary-color);
}


.review-reply {
    background: var(--white);
    border-radius: 8px;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 77, 142, 0.1);
}

.reply-content {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
}

.review-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 77, 142, 0.1);
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
}

.like-btn.liked {
    background: #e3f2fd;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.like-btn i {
    font-size: 0.8rem;
}

.like-count {
    font-weight: 600;
}

/* Responsive Design for Tabs */
@media (max-width: 768px) {
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        min-width: auto;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .tab-panel {
        padding: 1.5rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .rating-overview {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .rating-breakdown {
        width: 100%;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .review-user-info {
        width: 100%;
    }
    
    .review-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .like-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .product-details-tabs {
        margin-top: 1rem;
    }
    
    .tab-panel {
        padding: 1rem;
    }
    
    .reviews-summary {
        padding: 1.5rem;
    }
    
    .rating-number {
        font-size: 2.5rem;
    }
    
    .review-card {
        padding: 1rem;
    }
    
}

/* Special Offers Section */
.special-offers {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.special-offers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="15,15 20,10 25,15 20,20" fill="rgba(255,107,53,0.1)"/><polygon points="75,75 80,70 85,75 80,80" fill="rgba(0,77,142,0.08)"/><polygon points="50,25 55,20 60,25 55,30" fill="rgba(33,150,243,0.06)"/></svg>');
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.offer-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.offer-card:hover::before {
    transform: scaleX(1);
}

.offer-card:hover {
    transform: translateY(-10px);
}

.offer-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.offer-image img {
    width: 90%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    border-radius: 20px;
}

.offer-card:hover .offer-image img {
    transform: scale(1.05);
}



/* Responsive Design for Special Offers */
@media (max-width: 992px) {
    .offer-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .offer-image {
        height: 350px;
    }
    
    .offer-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .offer-image {
        height: 260px;
    }
    
    .special-offers {
        padding: 3rem 0;
    }
    
    /* Two-row horizontal scroll on mobile */
    .offers-scroll {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 2.3rem;
    }
    .offers-scroll > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Print Styles */

/* Stats Section */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 77, 142, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.avatar {
    width: 50px;
    height: 50px;
}

/* Social Links */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    color: var(--primary-color) !important;
}

/* Checkout Order Summary Styles */
.order-summary-container {
    position: sticky;
    top: 2rem;
}

.order-summary {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 77, 142, 0.1);
}

.summary-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem 2rem;
}

.summary-title {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 1.3rem;
}

.summary-content {
    padding: 2rem;
}

.order-items-section {
    margin-bottom: 1.5rem;
}

.section-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.order-items-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.order-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.order-item:hover {
    box-shadow: 0 4px 12px rgba(0, 77, 142, 0.1);
    transform: translateY(-1px);
}

.order-item-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-item-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.order-item-brand {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.order-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.quantity-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(0, 77, 142, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.order-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    min-width: 80px;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    margin: 1.5rem 0;
    border-radius: 1px;
}

.summary-actions {
    padding: 0 2rem 2rem 2rem;
}

.btn-checkout {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 77, 142, 0.3);
    margin-bottom: 1rem;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 77, 142, 0.4);
    color: white;
}

.btn-continue {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-continue:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 77, 142, 0.2);
    text-decoration: none;
}

/* Advanced Homepage Styles */

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-caption .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 77, 142, 0.3);
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 77, 142, 0.4);
}

/* Section Badge */
.section-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.badge-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 77, 142, 0.2);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.features {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="3" height="3" fill="rgba(0,77,142,0.08)"/><rect x="80" y="20" width="2" height="2" fill="rgba(0,77,142,0.06)"/><rect x="20" y="80" width="2.5" height="2.5" fill="rgba(0,77,142,0.05)"/><rect x="70" y="70" width="1.5" height="1.5" fill="rgba(0,77,142,0.04)"/></svg>');
    opacity: 0.4;
    z-index: -1;
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,77,142,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 77, 142, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 77, 142, 0.15);
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 77, 142, 0.3);
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 77, 142, 0.3);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-link {
    margin-top: auto;
}

.feature-link-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-link-text:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Categories Section */
.categories {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><line x1="10" y1="10" x2="20" y2="20" stroke="rgba(0,77,142,0.08)" stroke-width="1"/><line x1="80" y1="80" x2="90" y2="90" stroke="rgba(0,77,142,0.06)" stroke-width="1"/><line x1="30" y1="70" x2="40" y2="80" stroke="rgba(0,77,142,0.05)" stroke-width="1"/></svg>');
    opacity: 0.4;
    z-index: 1;
}

.categories-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="lines" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 0 0 L 50 0 L 50 50 L 0 50 Z" fill="none" stroke="rgba(0,77,142,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23lines)"/></svg>');
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stats-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stat-item {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon-wrapper {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Testimonials Section */
.testimonials {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="3" fill="rgba(0,77,142,0.08)"/><circle cx="75" cy="75" r="2" fill="rgba(0,77,142,0.06)"/><circle cx="50" cy="50" r="1.5" fill="rgba(0,77,142,0.04)"/></svg>');
    opacity: 0.4;
    z-index: 1;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="0.5" fill="rgba(0,77,142,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 77, 142, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 77, 142, 0.15);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
}

.stars i {
    color: #ffc107;
    font-size: 1.1rem;
}

.quote-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 77, 142, 0.3);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 77, 142, 0.3);
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.2rem;
}

.author-location {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Animation Delays */
.animate-on-scroll[data-delay="100"] {
    animation-delay: 0.1s;
}

.animate-on-scroll[data-delay="200"] {
    animation-delay: 0.2s;
}

.animate-on-scroll[data-delay="300"] {
    animation-delay: 0.3s;
}

.animate-on-scroll[data-delay="400"] {
    animation-delay: 0.4s;
}

@media print {
    .header,
    .footer,
    .btn,
    .navbar {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
}
