/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #007bff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section & Slider */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide.active .slide-content {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3 !important;
}

.slide.blinds-in {
    animation: blindsIn 1.5s ease-out forwards;
}

.slide.blinds-out {
    animation: blindsOut 1.5s ease-in forwards;
}

/* Blinds Animation Effects */
@keyframes blindsIn {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
        opacity: 0;
    }
    25% {
        clip-path: polygon(0 0, 20% 0, 20% 100%, 0 100%);
        opacity: 0.3;
    }
    50% {
        clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
        opacity: 0.6;
    }
    75% {
        clip-path: polygon(0 0, 80% 0, 80% 100%, 0 100%);
        opacity: 0.8;
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
}

@keyframes blindsOut {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
    25% {
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 20% 100%);
        opacity: 0.8;
    }
    50% {
        clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
        opacity: 0.6;
    }
    75% {
        clip-path: polygon(80% 0, 100% 0, 100% 100%, 80% 100%);
        opacity: 0.3;
    }
    100% {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
        opacity: 0;
    }
}

/* Vertical Blinds Effect */
@keyframes verticalBlinds {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    10% {
        clip-path: polygon(0 0, 10% 0, 10% 100%, 0 100%);
    }
    20% {
        clip-path: polygon(0 0, 20% 0, 20% 100%, 0 100%);
    }
    30% {
        clip-path: polygon(0 0, 30% 0, 30% 100%, 0 100%);
    }
    40% {
        clip-path: polygon(0 0, 40% 0, 40% 100%, 0 100%);
    }
    50% {
        clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    }
    60% {
        clip-path: polygon(0 0, 60% 0, 60% 100%, 0 100%);
    }
    70% {
        clip-path: polygon(0 0, 70% 0, 70% 100%, 0 100%);
    }
    80% {
        clip-path: polygon(0 0, 80% 0, 80% 100%, 0 100%);
    }
    90% {
        clip-path: polygon(0 0, 90% 0, 90% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Horizontal Blinds Effect */
@keyframes horizontalBlinds {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    20% {
        clip-path: polygon(0 0, 100% 0, 100% 20%, 0 20%);
    }
    40% {
        clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
    }
    60% {
        clip-path: polygon(0 0, 100% 0, 100% 60%, 0 60%);
    }
    80% {
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0 80%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.slide.vertical-blinds {
    animation: verticalBlinds 1.8s ease-out forwards;
}

.slide.horizontal-blinds {
    animation: horizontalBlinds 1.5s ease-out forwards;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease-out;
}

.slide.active .slide-content {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3 !important;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.2));
    z-index: 1;
    transition: opacity 0.5s ease;
}

.slide:hover::before {
    opacity: 0.7;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
    opacity: 1 !important; /* Ensure content is always visible */
}

.slide-content::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    right: -2rem;
    bottom: -2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    z-index: -1;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #007bff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 4;
    pointer-events: none; /* Allow clicks to pass through to buttons */
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto; /* Ensure buttons can be clicked */
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Slider Dots with Progress */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
    align-items: center;
    pointer-events: none; /* Allow clicks to pass through to dots */
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    pointer-events: auto; /* Ensure dots can be clicked */
}

.dot.active {
    background: white;
    transform: scale(1.3);
    border-color: white;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Progress Ring for Active Dot */
.dot.active::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: rotate 5s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Autoplay Controls */
.slider-controls {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}

.autoplay-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.autoplay-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.autoplay-btn.paused {
    background: rgba(255, 193, 7, 0.8);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 1 !important; /* Force visibility */
}

.about-text {
    opacity: 1 !important; /* Force visibility */
    transform: none !important; /* Reset any transforms */
}

.about-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.highlight {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.highlight h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.about-image {
    opacity: 1 !important; /* Force visibility */
    transform: none !important; /* Reset any transforms */
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
    background: white;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
}

.products-cta {
    text-align: center;
}

/* Why Choose Us Section */
.why-choose {
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.feature-card h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.cta-banner {
    text-align: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 3rem;
    border-radius: 15px;
}

.cta-banner h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-details a {
    color: #007bff;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 2rem;
}

.map-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    /* display: flex; */
    align-items: center;
}

.map-embed {
    position: relative;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #007bff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.business-hours {
    margin-bottom: 2rem;
}

.business-hours h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.business-hours ul {
    list-style: none;
    padding: 0;
}

.business-hours li {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-quick {
    margin-bottom: 2rem;
}

.contact-quick h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-quick p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-quick a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.contact-quick a:hover {
    text-decoration: underline;
}

.services-highlight {
    margin-bottom: 1rem;
}

.services-highlight h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 1001; /* Higher than header z-index */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section */
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slider-nav {
        padding: 0 1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Mobile Slider Controls */
    .slider-controls {
        bottom: 0.5rem;
        right: 1rem;
    }

    .autoplay-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .slider-dots {
        bottom: 1rem;
        gap: 0.8rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Map Container Mobile */
    .map-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .map-info {
        padding: 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .map-embed iframe {
        min-height: 300px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .slide-content {
        padding: 1rem;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .category-card,
    .feature-card {
        padding: 1.5rem;
    }

    .cta-banner {
        padding: 2rem 1rem;
    }

    .cta-banner h3 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Button Animations */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Smooth Card Animations */
.product-card, .feature-card, .category-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.product-card:hover, .feature-card:hover, .category-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Pulse Animation for Important Elements */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Bounce Animation */
.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Enhanced Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(45deg, #007bff, #0056b3, #007bff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glowing Effect */
.glow {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.8);
}

/* Smooth Image Transitions */
img {
    transition: all 0.3s ease;
}

img:hover {
    filter: brightness(1.1) saturate(1.2);
}

/* Fix AOS visibility issues */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

[data-aos]:not(.aos-animate) {
    opacity: 0;
    transform: translateY(20px);
}

/* Ensure about content is always visible */
.about-content {
    opacity: 1 !important;
}

.about-text, .about-image {
    opacity: 1 !important;
    transform: none !important;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }