/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #0d6efd;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    --gradient-secondary: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Cool Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(13, 110, 253, 0.6), 0 0 30px rgba(13, 110, 253, 0.4);
        transform: scale(1.05);
    }
}

@keyframes slideInFromLeft {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

@keyframes zoomIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--primary-color); }
}

/* Particle Animation */
@keyframes particles {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particles 15s linear infinite;
    opacity: 0.7;
}

.particle:nth-child(2n) {
    background: var(--info-color);
    animation-duration: 20s;
}

.particle:nth-child(3n) {
    background: var(--primary-color);
    animation-duration: 25s;
    opacity: 0.5;
}

/* Hero Section with Cool Effects */
.hero {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(10, 88, 202, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(13, 110, 253, 0.2) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.hero-content h1 {
    position: relative;
    overflow: hidden;
}

.hero-content h1::after {
    content: '|';
    position: absolute;
    right: 0;
    animation: blink 1s infinite;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    animation: float 4s ease-in-out infinite;
}

.hero-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    animation: float 3s ease-in-out infinite reverse;
}

/* Animated Elements */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.animate-slide-in {
    animation: slideInFromRight 1s ease-out 0.5s both;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate360 20s linear infinite;
}

/* Header with Cool Effects */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: slideInFromLeft 0.5s ease-out;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(13, 110, 253, 0.3));
}

.navbar-brand:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(13, 110, 253, 0.5));
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--dark-color) !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.nav-link:hover::before {
    left: 100%;
}

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

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 80%;
}

/* Stats Section with Counter Animation */
.stats {
    position: relative;
    overflow: hidden;
}

.stat-card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding: 2rem 1rem;
    border-radius: 15px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.stat-card:hover::before {
    opacity: 0.1;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-lg);
    animation: pulse-glow 1s ease-in-out;
}

.stat-card i {
    transition: all 0.3s ease;
}

.stat-card:hover i {
    animation: bounce 1s ease-in-out;
    color: var(--primary-color) !important;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.counter.counting {
    animation: glitch 0.5s ease-in-out;
}

/* Service Cards with 3D Effects */
.service-card {
    background: white;
    border-radius: 20px;
    border: none;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(13, 110, 253, 0.1) 50%, transparent 51%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.service-card:hover {
    transform: translateY(-15px) rotateX(10deg) rotateY(5deg);
    box-shadow: 
        var(--shadow-lg),
        0 0 30px rgba(13, 110, 253, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.service-icon i {
    font-size: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon::before {
    transform: scale(1);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(360deg);
    animation: float 2s ease-in-out infinite;
}

.service-card:hover .service-icon i {
    color: white !important;
    animation: bounce 1s ease-in-out;
}

/* Product Cards with Flip Effect */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: none;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card:hover {
    transform: translateY(-15px) rotateY(10deg);
    box-shadow: 
        var(--shadow-lg),
        0 0 25px rgba(13, 110, 253, 0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(1) saturate(1);
}

.product-card:hover .product-image img {
    transform: scale(1.2) rotate(5deg);
    filter: brightness(1.1) saturate(1.2);
}

.placeholder-image {
    background: var(--light-color);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.8), rgba(10, 88, 202, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0);
}

.product-card:hover .product-overlay {
    opacity: 1;
    transform: scale(1);
}

.product-actions {
    animation: zoomIn 0.5s ease-out 0.2s both;
}

/* Feature Items with Magnetic Effect */
.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    border-radius: 15px;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 15px;
    transition: opacity 0.3s ease;
}

.feature-item:hover::before {
    opacity: 0.05;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-item i {
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-item:hover i {
    animation: bounce 1s ease-in-out, pulse-glow 2s ease-in-out infinite;
    transform: scale(1.2);
}

/* Buttons with Ripple Effect */
.btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

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

.btn::after {
    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 ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        var(--shadow),
        0 0 20px rgba(13, 110, 253, 0.4);
    color: white;
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: rotate360 1s ease-in-out infinite;
}

/* Scroll Animations */
.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Custom Scrollbar with Glow */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.5);
}

/* Special Effects */
.glitch-effect {
    animation: glitch 0.3s ease-in-out infinite;
}

.typing-effect {
    border-right: 2px solid var(--primary-color);
    animation: blink 1s infinite;
}

.magnetic-hover:hover {
    animation: shake 0.5s ease-in-out;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    animation: pulse-glow 1s ease-in-out infinite;
}

/* Footer with Wave Animation */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    animation: float 4s ease-in-out infinite;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer h5:hover::after {
    width: 50px;
}

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

.footer a:hover {
    color: var(--primary-color);
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

/* Responsive Animations */
@media (max-width: 768px) {
    .service-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .product-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .btn:hover {
        transform: translateY(-2px) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utility Classes */
.min-vh-75 {
    min-height: 75vh;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-secondary {
    background: var(--gradient-secondary) !important;
}

/* Presentation Section */
.presentation {
    padding: 5rem 0;
    background-color: #ffffff;
}

.presentation h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.presentation .lead {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

/* Sectors Section */
.sectors {
    background-color: #f8f9fa;
}

.sectors .card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.sectors .card:hover {
    transform: translateY(-5px);
}

.sectors .card-img-top {
    height: 200px;
    object-fit: cover;
}

.sectors .card-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    margin-top: auto;
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.social-links a {
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Partners Section */
.partners {
    background-color: #ffffff;
    padding: 60px 0;
}

.partner-logo {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }

    .carousel-caption {
        bottom: 20%;
        padding: 1rem;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .presentation {
        padding: 3rem 0;
    }

    .partner-logo {
        height: 120px;
    }
    
    .partner-logo img {
        max-height: 80px;
    }

    .hero {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 300px;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 1rem;
}

/* Admin Panel */
.admin-sidebar {
    min-height: calc(100vh - 56px);
    background-color: #f8f9fa;
    padding: 1rem;
}

.admin-sidebar .nav-link {
    color: #212529;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.admin-sidebar .nav-link:hover {
    background-color: #e9ecef;
}

.admin-sidebar .nav-link.active {
    background-color: #0d6efd;
    color: white;
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.carousel-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

.carousel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.min-vh-100 {
    min-height: 100vh;
}

/* Hero Text Animations */
.animate-slide-in-left {
    animation: slideInFromLeft 1s ease-out;
}

.animate-slide-in-right {
    animation: slideInFromRight 1s ease-out 0.3s both;
}

/* Floating Cards */
.floating-cards {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 180px;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.floating-card.card-1 {
    top: 20px;
    left: 20px;
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-2 {
    top: 120px;
    right: 40px;
    animation: float 6s ease-in-out infinite 2s;
}

.floating-card.card-3 {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 6s ease-in-out infinite 4s;
}

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

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

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

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

.carousel-control-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background: white;
    transform: scale(1.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Carousel Fade Effect */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-item {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem !important;
    }
    
    .floating-cards {
        height: 300px;
    }
    
    .floating-card {
        padding: 1rem;
        min-width: 140px;
    }
    
    .floating-card h5 {
        font-size: 0.9rem;
    }
    
    .floating-card i {
        font-size: 2rem !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .carousel-control-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .floating-card.card-1 {
        top: 10px;
        left: 10px;
    }
    
    .floating-card.card-2 {
        top: 100px;
        right: 10px;
    }
    
    .floating-card.card-3 {
        bottom: 20px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text .d-flex {
        justify-content: center;
    }
}

/* Enhanced Product Cards */
.enhanced-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.enhanced-product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.enhanced-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.enhanced-product-card:hover::before {
    transform: translateX(100%);
}

.product-image-container {
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-image {
    transition: all 0.4s ease;
    border-radius: 16px 16px 0 0;
}

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

.product-overlay {
    opacity: 0;
    transition: all 0.3s ease;
}

.enhanced-product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.product-overlay .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.category-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 3rem;
}

.category-section:last-child {
    border-bottom: none;
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.2);
}

.product-features {
    background: rgba(248, 249, 250, 0.5);
    border-radius: 12px;
    padding: 1rem;
}

.product-features small {
    font-size: 0.8rem;
    font-weight: 500;
}

.enhanced-product-card .card-body {
    position: relative;
    z-index: 2;
}

.enhanced-product-card .badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Image Modal Enhancements */
.modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border-bottom: none;
}

.modal-body {
    padding: 2rem;
    background: #f8f9fa;
}

#modalImage {
    transition: transform 0.3s ease;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#modalImage:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Button Enhancements */
.enhanced-product-card .btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

.enhanced-product-card .btn:hover::before {
    left: 100%;
}

/* Responsive Design for Enhanced Cards */
@media (max-width: 768px) {
    .enhanced-product-card {
        margin-bottom: 2rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 1.5rem !important;
    }
    
    .product-image-container {
        height: 220px !important;
    }
    
    .floating-card {
        min-width: 120px;
        padding: 1rem;
    }
    
    .enhanced-product-card .card-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .product-overlay {
        opacity: 1;
        position: static !important;
        margin: 1rem 0 0 0 !important;
        display: flex;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .product-overlay .btn {
        position: static !important;
        margin: 0 !important;
        display: inline-block !important;
    }
    
    .category-section .h2 {
        font-size: 1.5rem;
    }
    
    .category-section p {
        font-size: 0.9rem;
    }
} 