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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Navigation Styles */
.navbar {
    background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: #fff !important;
}

.navbar-brand img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-link {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.2);
    color: #fff !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.carousel {
    margin-bottom: 0;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 600px;
    margin: 0 auto;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

.highlight {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px rgba(231, 76, 60, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(231, 76, 60, 0.8));
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section-blue {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

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

.section-orange {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    position: relative;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    border-radius: 2px;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Button Styles */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-warning {
    background: linear-gradient(45deg, #16a085, #1abc9c);
    color: #fff;
    box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3);
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 160, 133, 0.4);
    color: #fff;
}

.btn-primary {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #fff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    color: #fff;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
}

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

.category-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
}

.footer .col-lg-3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
}

.footer h5 {
    color: #f39c12;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer a:hover {
    color: #f39c12;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-caption h5 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .highlight {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        padding: 1rem;
        margin: 0 10px;
    }
    
    .carousel-caption h5 {
        font-size: 1.5rem;
    }
    
    .highlight {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
}

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

/* 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: spin 1s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #16a085, #1abc9c);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #138d75, #16a085);
}

/* Additional Interactive Elements */
.navbar.scrolled {
    background: rgba(22, 160, 133, 0.95);
    backdrop-filter: blur(10px);
}

/* Tooltip Styles */
.custom-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.custom-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-info {
    background: linear-gradient(45deg, #3498db, #2980b9);
}

.notification-error {
    background: linear-gradient(45deg, #dc3545, #c82333);
}

.notification-success {
    background: linear-gradient(45deg, #28a745, #1e7e34);
}

/* Form Validation Styles */
.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Search Input Styles */
.search-container {
    position: relative;
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.search-input::placeholder {
    color: #6c757d;
}

/* Lazy Loading Styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Enhanced Card Hover Effects */
.category-card {
    position: relative;
    overflow: hidden;
}

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

.category-card:hover::before {
    left: 100%;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #16a085, #1abc9c);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 160, 133, 0.4);
}

/* Enhanced Button States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn.loading {
    pointer-events: none;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .back-to-top {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

/* Contact Page Specific Styles */
.contact-form-container {
    position: relative;
}

.contact-form-container .card {
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 20px;
    overflow: hidden;
}

.contact-info {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
}

.contact-item i {
    width: 20px;
    color: #f39c12;
}

.feature-card {
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

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

.feature-card i {
    color: #f39c12;
}

.feature-card h4 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #333;
    line-height: 1.6;
}

/* Form Enhancement Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    outline: none;
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-label i {
    color: #3498db;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 14px;
    margin-top: 0.25rem;
}

/* Display Classes Enhancement */
.display-4 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Active Navigation State */
.nav-item.active .nav-link {
    background-color: rgba(255,255,255,0.3);
    border-radius: 25px;
}

/* Homepage Specific Styles */
.section-white {
    background: #fff;
    color: #333;
}

.section-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 80px 0;
}

/* Feature Boxes */
.feature-box {
    padding: 2rem;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-box i {
    color: #16a085;
    margin-bottom: 1rem;
}

.feature-box h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

/* Product Categories */
.product-categories {
    margin: 2rem 0;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: rgba(255,255,255,1);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.category-item i {
    color: #2c3e50;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.category-item span {
    color: #2c3e50;
    font-weight: 600;
}

/* Product & About Showcase */
.product-showcase, .about-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.product-showcase img, .about-showcase img {
    transition: transform 0.3s ease;
}

.product-showcase:hover img, .about-showcase:hover img {
    transform: scale(1.05);
}

/* About Features */
.about-features {
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
}

.about-feature i {
    color: #f39c12;
    font-size: 1.2rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    color: #16a085;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author small {
    color: #666;
}

/* Call to Action */
.cta-buttons {
    margin-top: 2rem;
}

/* Footer Enhancements */
.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #f39c12;
    color: #fff;
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255,255,255,0.2);
    margin: 2rem 0 1rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-info i {
    color: #f39c12;
    width: 20px;
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.contact-info p span {
    word-break: break-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: calc(100% - 30px);
    flex: 1;
    hyphens: auto;
}

/* Specific fix for email addresses */
.contact-info p:first-child span {
    word-break: break-all;
    overflow-wrap: anywhere;
    hyphens: none;
}

/* Enhanced Typography */
.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

/* Responsive Enhancements */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.1rem;
    }
    
    .feature-box {
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 0.5rem 0;
    }
}

/* About Us Page Specific Styles */
.hero-features {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-feature {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
}

.hero-feature i {
    width: 20px;
    color: #f39c12;
}

.hero-showcase, .expertise-showcase, .pricing-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.hero-showcase img, .expertise-showcase img, .pricing-showcase img {
    transition: transform 0.3s ease;
}

.hero-showcase:hover img, .expertise-showcase:hover img, .pricing-showcase:hover img {
    transform: scale(1.05);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.expertise-list {
    margin: 2rem 0;
}

.expertise-item {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 1.1rem;
}

.expertise-item i {
    color: #f39c12;
    font-size: 1.2rem;
}

.pricing-benefits {
    margin: 2rem 0;
}

.pricing-benefit {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 500;
}

.pricing-benefit i {
    color: #f39c12;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.pricing-benefit strong {
    color: #f39c12;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Enhanced Categories Page Styles */
.section-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-item i {
    margin-right: 0.5rem;
    color: #f39c12;
}

.search-filter-container {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-input:focus {
    outline: none;
    border-color: #16a085;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22, 160, 133, 0.1);
}

.clear-search {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: #e9ecef;
    color: #495057;
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e9ecef;
    background: #fff;
    color: #6c757d;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.filter-btn:hover {
    border-color: #16a085;
    color: #16a085;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.2);
}

.filter-btn.active {
    background: linear-gradient(45deg, #16a085, #1abc9c);
    border-color: #16a085;
    color: #fff;
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.3);
}

.category-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.category-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-actions {
    display: flex;
    gap: 1rem;
}

.category-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.category-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.category-count, .category-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.category-footer {
    margin-top: auto;
}

.category-footer .btn {
    white-space: normal;
    word-wrap: break-word;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    padding: 0.75rem 1rem;
}

.no-results-content {
    padding: 3rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-info {
    padding: 1rem 0;
}

.category-details {
    margin-top: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Responsive Design for Categories */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        justify-content: center;
    }
    
    .filter-options {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .category-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-filter-container {
        padding: 1.5rem;
    }
    
    .category-image {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .category-image {
        height: 280px;
    }
}
