/* Star Surgico - Custom Styles */

/* Color Variables */
:root {
    --primary-blue: #1e3c72;
    --secondary-red: #c31432;
    --dark-blue: #0a1929;
    --light-blue: #2a5298;
    --light-red: #d62828;
    --gray-dark: #2c3e50;
    --gray-medium: #7f8c8d;
    --gray-light: #ecf0f1;
    --white: #ffffff;
}

/* Global Styles */
body {
    font-family: "Poppins", sans-serif;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.3px;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

p,
a,
span {
    font-family: "Inter", sans-serif;
}

/* Smooth Animations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--dark-blue) 100%
    );
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: slideAcross 3s ease-in-out infinite;
}

.top-bar span,
.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar a:hover {
    color: var(--gray-light);
    transform: translateX(3px);
    display: inline-block;
}

@keyframes slideAcross {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Brand Logo */
.navbar-logo {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.navbar-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.navbar.scrolled .navbar-logo {
    height: 45px;
}

.brand-logo {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 28px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.brand-logo::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--primary-blue),
        var(--secondary-red)
    );
    transition: width 0.3s ease;
}

.brand-logo:hover::after {
    width: 100%;
}

.brand-logo span {
    color: var(--secondary-red);
    display: inline-block;
    transition: transform 0.3s ease;
}

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

/* Navigation */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 0;
    background: #ffffff !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--gray-dark);
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.navbar-light .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-red);
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    width: 70%;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary-red);
}

.navbar .btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar .btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* Mega Menu */
.mega-menu-item {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-top: 3px solid var(--primary-blue);
}

.mega-menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-menu-title i {
    color: var(--primary-blue);
    font-size: 18px;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 10px;
}

.mega-menu-list li a {
    color: var(--gray-medium);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
    position: relative;
    padding-left: 15px;
}

.mega-menu-list li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-red);
    transition: width 0.3s ease;
}

.mega-menu-list li a:hover {
    color: var(--secondary-red);
    padding-left: 20px;
}

.mega-menu-list li a:hover::before {
    width: 10px;
}

.mega-menu-list li.view-all a {
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 10px;
}

.mega-menu-banner {
    background: linear-gradient(135deg, var(--gray-light) 0%, #ffffff 100%);
    padding: 25px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.mega-menu-banner h4 {
    color: var(--gray-dark);
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

.mega-menu-banner p {
    color: var(--gray-medium);
    font-size: 14px;
}

/* Hero Slider */
.hero-slider {
    height: 650px;
    position: relative;
    margin-bottom: 0;
}

.hero-slide {
    height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero-slide-1 {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.hero-slide-2 {
    background: linear-gradient(135deg, #c31432 0%, #d62828 100%);
}

.hero-slide-3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-slide::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: slideInLeft 0.6s ease-out;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content p.lead {
    font-size: 18px;
    opacity: 0.95;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: slideInRight 0.8s ease-out;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators li.active {
    width: 30px;
    border-radius: 6px;
    background: white;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--light-blue) 100%
    );
    border: none;
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-custom:hover {
    background: linear-gradient(
        135deg,
        var(--light-blue) 0%,
        var(--primary-blue) 100%
    );
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
    color: var(--white);
}

.btn-secondary-custom {
    background: linear-gradient(
        135deg,
        var(--secondary-red) 0%,
        var(--light-red) 100%
    );
    border: none;
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary-custom::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-secondary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary-custom:hover {
    background: linear-gradient(
        135deg,
        var(--light-red) 0%,
        var(--secondary-red) 100%
    );
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(195, 20, 50, 0.4);
    color: var(--white);
}

/* Features Section */
.features-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    padding: 80px 0 !important;
}

.feature-box {
    padding: 35px 25px;
    background: var(--white);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(30, 60, 114, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.feature-box:hover::before {
    left: 100%;
}

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

.feature-box i {
    font-size: 50px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: all 0.4s ease;
    display: inline-block;
}

.feature-box:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-red);
}

.feature-box h5 {
    color: var(--gray-dark);
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.feature-box:hover h5 {
    color: var(--primary-blue);
}

.feature-box p {
    color: var(--gray-medium);
    margin: 0;
}

/* Section Title */
.section-title h2 {
    font-weight: 700;
    color: var(--gray-dark);
    position: relative;
    display: inline-block;
    animation: fadeInDown 0.6s ease;
    font-size: 38px;
    letter-spacing: -1px;
}

.section-title h2:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-blue),
        var(--secondary-red)
    );
    animation: expandWidth 0.8s ease 0.3s forwards;
    border-radius: 2px;
}

.section-title p {
    color: var(--gray-medium);
    margin-top: 25px;
    animation: fadeInDown 0.8s ease;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* Category Card */
.category-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--light-blue) 100%
    );
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

.category-surgical::before {
    background: linear-gradient(
            135deg,
            rgba(30, 60, 114, 0.95),
            rgba(42, 82, 152, 0.85)
        ),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%231e3c72" width="100" height="100"/></svg>');
}

.category-dental::before {
    background: linear-gradient(
            135deg,
            rgba(195, 20, 50, 0.95),
            rgba(214, 40, 40, 0.85)
        ),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23c31432" width="100" height="100"/></svg>');
}

.category-orthopedic::before {
    background: linear-gradient(
            135deg,
            rgba(102, 126, 234, 0.95),
            rgba(118, 75, 162, 0.85)
        ),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23667eea" width="100" height="100"/></svg>');
}

.category-diagnostic::before {
    background: linear-gradient(
            135deg,
            rgba(52, 152, 219, 0.95),
            rgba(41, 128, 185, 0.85)
        ),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%233498db" width="100" height="100"/></svg>');
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.5s ease;
    z-index: 2;
}

.category-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 3;
    transition: all 0.5s ease;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.category-card:hover::before {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.category-card h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 22px;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.6s ease;
}

.category-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
    display: none;
}

.category-card .btn {
    border-width: 2px;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease;
}

.category-card:hover .btn {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
    transform: translateY(-3px);
}

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

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.product-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 60, 114, 0.05),
        rgba(195, 20, 50, 0.05)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    border-color: var(--primary-blue);
}

.product-card:hover::after {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}

.product-badge.sale {
    background: var(--secondary-red);
}

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

.product-image {
    position: relative;
    padding: 0;
    background: #f8f9fa;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-placeholder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.product-placeholder::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

.product-placeholder i {
    font-size: 80px;
    color: var(--primary-blue);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.product-card:hover .product-placeholder i {
    transform: scale(1.1);
    opacity: 0.7;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.product-info {
    padding: 20px;
}

.product-info h5 {
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 5px;
}

.product-category {
    color: var(--gray-medium);
    font-size: 13px;
    margin-bottom: 10px;
}

.product-rating {
    margin-bottom: 10px;
}

.product-rating i {
    color: #ffc107;
    font-size: 14px;
}

.product-price {
    margin-bottom: 15px;
}

.product-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-red);
}

.product-price .old-price {
    font-size: 16px;
    text-decoration: line-through;
    color: var(--gray-medium);
    margin-left: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(
        135deg,
        var(--secondary-red) 0%,
        var(--light-red) 100%
    );
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.cta-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite;
}

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

/* Footer */
.footer {
    background: var(--gray-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--primary-blue),
        var(--secondary-red),
        var(--primary-blue)
    );
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.footer h3,
.footer h5 {
    color: var(--white);
    position: relative;
}

.footer .brand-logo {
    color: var(--white);
    transition: all 0.3s ease;
}

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

.footer .brand-logo span {
    color: var(--secondary-red);
}

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: var(--gray-light);
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--secondary-red);
    margin-right: 10px;
    width: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--white);
    margin-right: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--secondary-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a:hover {
    background: transparent;
    transform: translateY(-5px) rotate(360deg);
    color: var(--white);
}

/* Page Header */
.page-header {
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--dark-blue) 100%
    );
    padding: 60px 0 40px;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: var(--gray-light);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item a {
    color: var(--gray-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--gray-light);
}

/* Sidebar */
.sidebar .widget {
    background: var(--white);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.widget-title {
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    color: var(--gray-dark);
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}

.category-list a:hover {
    color: var(--secondary-red);
    padding-left: 5px;
}

.category-list i {
    margin-right: 10px;
    color: var(--primary-blue);
}

.category-list span {
    background: var(--gray-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: auto;
}

.sidebar-banner {
    background: linear-gradient(135deg, var(--secondary-red), var(--light-red));
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.sidebar-banner h4 {
    color: var(--white);
}

/* Shop Toolbar */
.shop-toolbar {
    background: var(--gray-light);
    padding: 15px 20px;
    border-radius: 8px;
}

/* Product Detail */
.product-gallery .main-image {
    background: var(--gray-light);
    border-radius: 10px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.product-zoom-image {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

#product-image-container {
    position: relative;
    overflow: hidden;
}

#product-image-container:hover .product-zoom-image {
    transform: scale(1.5);
    transform-origin: center center;
}

.product-placeholder-large {
    height: 400px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder-large i {
    font-size: 150px;
    color: var(--primary-blue);
    opacity: 0.5;
}

.product-placeholder-thumb {
    height: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-placeholder-thumb i {
    font-size: 30px;
    color: var(--primary-blue);
    opacity: 0.5;
}

.thumbnail-item {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.product-info-detail .product-title {
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.product-price-detail .price {
    font-size: 32px;
    font-weight: 700;
}

.product-meta p {
    margin-bottom: 8px;
}

.product-meta a {
    color: var(--secondary-red);
}

.quantity-selector {
    border: 1px solid #ddd;
    border-radius: 5px;
}

.quantity-selector .form-control {
    border: none;
}

.product-features ul li {
    padding: 8px 0;
}

.product-features i {
    margin-right: 10px;
}

/* Cart */
.cart-table {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.cart-table table {
    margin-bottom: 0;
}

.cart-table th {
    background: var(--gray-light);
    color: var(--gray-dark);
    font-weight: 600;
    border: none;
}

.cart-product {
    display: flex;
    align-items: center;
}

.cart-product-img {
    margin-right: 15px;
}

.product-placeholder-small {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder-small i {
    font-size: 30px;
    color: var(--primary-blue);
    opacity: 0.5;
}

.cart-product-info h6 {
    margin: 0;
    font-weight: 600;
}

.quantity-selector-small {
    width: 120px;
}

.cart-summary-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.cart-summary-card h5 {
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.summary-row.total {
    font-size: 18px;
    padding-top: 15px;
}

.trust-badges {
    background: var(--gray-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.badge-item {
    margin-bottom: 15px;
}

.badge-item i {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 5px;
}

.badge-item span {
    display: block;
    color: var(--gray-dark);
    font-size: 14px;
    font-weight: 500;
}

/* Checkout */
.checkout-form {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.checkout-form h4 {
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 25px;
}

.order-summary-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    position: sticky;
    top: 100px;
}

.order-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.order-total-row.final {
    font-size: 20px;
    font-weight: 700;
    padding-top: 20px;
}

.payment-methods {
    border-top: 2px solid var(--gray-light);
    padding-top: 20px;
}

.secure-checkout {
    color: var(--gray-medium);
    font-size: 14px;
}

.secure-checkout i {
    color: #27ae60;
}

/* About Page */
.about-image .about-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-placeholder i {
    font-size: 150px;
    color: var(--white);
    opacity: 0.3;
}

.stats-card {
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stats-card h3 {
    margin-bottom: 10px;
}

.mission-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.mission-card i {
    font-size: 50px;
    color: var(--secondary-red);
    margin-bottom: 20px;
}

.mission-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.value-card {
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 50px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.value-card h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.cert-badge {
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cert-badge i {
    font-size: 50px;
    color: #27ae60;
    margin-bottom: 15px;
}

.cert-badge h6 {
    font-weight: 600;
}

/* Contact Page */
.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.contact-info-card i {
    font-size: 50px;
    color: var(--secondary-red);
    margin-bottom: 20px;
}

.contact-info-card h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.business-hours-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.hours-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
}

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

.support-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
}

.support-card h4 {
    color: var(--white);
}

.map-section {
    height: 400px;
    background: var(--gray-light);
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 80px;
    color: var(--gray-medium);
    opacity: 0.5;
    margin-bottom: 20px;
}

.map-placeholder p {
    color: var(--gray-medium);
    font-size: 18px;
}

/* Account Page */
.account-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.account-card h3 {
    font-weight: 600;
    color: var(--gray-dark);
}

.forgot-password {
    color: var(--secondary-red);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

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

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

/* Navbar Scrolled Effect */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

/* Button Ripple Effect */
.btn-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Added to Cart Animation */
.btn-primary-custom.added {
    background: #27ae60 !important;
    transform: scale(0.95);
}

/* Search Focus Animation */
.widget-search.focused {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(30, 60, 114, 0.2);
}

/* Stagger Animation Delay */
.animate-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}
.animate-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}
.animate-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}
.animate-on-scroll:nth-child(4) {
    transition-delay: 0.4s;
}

/* Loading State */
.btn.loading {
    pointer-events: none;
    opacity: 0.6;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .mega-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding: 20px;
    }

    .mega-menu.show {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .navbar-logo {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .hero-slider,
    .hero-slide {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p.lead {
        font-size: 16px;
    }

    .brand-logo {
        font-size: 24px;
    }

    .product-placeholder-large {
        height: 250px;
    }

    .product-placeholder-large i {
        font-size: 80px;
    }

    .order-summary-card {
        position: static;
    }

    .category-card {
        height: 250px;
    }

    .navbar {
        padding: 10px 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }
}

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Pagination */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 30px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination .page-item {
    margin: 0 4px;
}

.pagination .page-link {
    color: var(--primary-blue);
    border: 1px solid #dfe3e8;
    margin: 0;
    border-radius: 4px;
    padding: 8px 12px;
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.pagination .page-link i {
    font-size: 12px;
    line-height: 1;
}

.pagination .page-link:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.2);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.3);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9fafb;
    color: #919eab;
}

.pagination .page-item.disabled .page-link:hover {
    background-color: #f9fafb;
    color: #919eab;
    transform: none;
    box-shadow: none;
}

/* Tab Styling */
.nav-tabs .nav-link {
    color: var(--gray-dark);
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 500;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
    color: var(--primary-blue);
    border-bottom: 3px solid var(--primary-blue);
    background-color: transparent;
}

/* Review Item */
.review-item {
    padding: 20px;
    background: var(--gray-light);
    border-radius: 8px;
}

.review-rating i {
    color: #ffc107;
    font-size: 14px;
}

.rating-input i {
    color: #ddd;
    font-size: 20px;
    cursor: pointer;
    margin-right: 5px;
}

.rating-input i:hover,
.rating-input i.active {
    color: #ffc107;
}
