/* Landing Page Custom Styles */

/* Category Items Horizontal Scrolling Design */
.category-item-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 0 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(79, 172, 254, 0.3) transparent;
}

/* Custom scrollbar styling */
.category-item-container::-webkit-scrollbar {
    height: 8px;
}

.category-item-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin: 0 20px;
}

.category-item-container::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.category-item-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #3d8bfe, #00d4fe);
}

.category-item-link {
    flex: 0 0 auto;
    min-width: 280px;
    max-width: 320px;
    width: 300px;
}

/* Responsive breakpoints for category items with horizontal scroll */
@media (max-width: 1200px) {
    .category-item-link {
        min-width: 260px;
        width: 280px;
        max-width: 300px;
    }
    
    .category-item-container {
        gap: 14px;
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .category-item-link {
        min-width: 240px;
        width: 260px;
        max-width: 280px;
    }
    
    .category-item-container {
        gap: 12px;
        padding: 0 12px;
    }
    
    .category-item {
        padding: 20px !important;
        margin: 8px !important;
    }
    
    .category-item-title {
        font-size: 16px !important;
    }
    
    .category-description {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .category-item-link {
        min-width: 220px;
        width: 240px;
        max-width: 260px;
    }
    
    .category-item-container {
        gap: 10px;
        padding: 0 10px;
    }
    
    .category-item {
        padding: 18px !important;
        margin: 6px !important;
    }
    
    .category-item-title {
        font-size: 15px !important;
    }
    
    .category-item-amount {
        font-size: 12px !important;
        padding: 3px 8px !important;
    }
    
    .category-description {
        font-size: 12px !important;
        margin-top: 6px !important;
    }
    
    /* Thinner scrollbar on mobile */
    .category-item-container::-webkit-scrollbar {
        height: 6px;
    }
}

/* Enhanced hover effects for touch devices */
@media (hover: none) {
    .category-item:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
}

/* Scroll indicators for better UX */
.category-item-container::before,
.category-item-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    pointer-events: none;
    z-index: 1;
}

.category-item-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.8), transparent);
}

.category-item-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.8), transparent);
}

/* Container positioning for scroll indicators */
.category {
    position: relative;
}

/* Mobile Navigation Buttons */
.mobile-nav-btn {
    height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: white;
    border: none;
}

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

/* Menu Close Button */
.menu-close-btn-custom {
    height: 35px;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: none;
}

.menu-close-btn-custom:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* Accordion Menu Buttons */
.accordion-menu-custom {
    height: 45px;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e0e0e0;
    width: 100%;
}

/* Mobile Carousel Height Reduction - 60% reduction from 400px = 160px */
@media (max-width: 768px) {
    .slider-item {
        min-height: 160px !important;
    }
    
    .banner-content {
        padding: 20px !important;
    }
    
    .banner-title {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
    }
    
    .banner-text {
        font-size: 13px !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }
    
    .banner-btn {
        padding: 8px 20px !important;
        font-size: 14px !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .slider-item {
        min-height: 160px !important;
    }
    
    .banner-content {
        padding: 15px !important;
    }
    
    .banner-title {
        font-size: 1.2rem !important;
    }
    
    .banner-text {
        font-size: 12px !important;
    }
}

.accordion-menu-custom:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* Banner Slider Items */
.banner-slider-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 10px;
}

.banner-content-custom {
    padding: 40px;
    width: 100%;
}

/* Banner Buttons */
.banner-btn-custom {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
    transition: all 0.3s ease;
    font-weight: 600;
}

.banner-btn-custom:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,107,0.5);
    color: white;
    text-decoration: none;
}

/* Category Items */
.category-item-custom {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Category Buttons */
.category-btn-custom {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(79,172,254,0.3);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-btn-custom:hover {
    background: linear-gradient(45deg, #3b82f6 0%, #06b6d4 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79,172,254,0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content-custom {
        padding: 20px;
    }
    
    .category-item-custom {
        margin: 5px;
        padding: 15px;
    }
    
    .mobile-nav-btn {
        height: 35px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .banner-slider-item {
        min-height: 250px;
        margin: 5px;
    }
    
    .banner-content-custom {
        padding: 15px;
    }
    
    .banner-btn-custom {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    margin-top: 60px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    flex: 1;
    max-width: 500px;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.newsletter-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin: 0;
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.newsletter-form-container {
    display: flex;
    gap: 12px;
    background: rgba(255,255,255,0.15);
    padding: 8px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 40px;
    background: rgba(255,255,255,0.9);
    font-size: 16px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #666;
}

.newsletter-input:focus {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.6);
    background: linear-gradient(135deg, #ff5252 0%, #d63031 100%);
}

/* Main Footer Content */
.footer-main {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Company Info Column */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-brand-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.contact-item ion-icon {
    font-size: 20px;
    color: #4facfe;
    flex-shrink: 0;
}

/* Footer Column Titles */
.footer-column-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link:hover {
    color: #4facfe;
    padding-left: 8px;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #4facfe;
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 4px;
}

/* Social Media Section */
.footer-social {
    margin-top: 32px;
}

.social-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
    background: #4facfe;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79,172,254,0.4);
}

.social-link ion-icon {
    font-size: 20px;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.copyright {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 0;
}

.copyright strong {
    color: #4facfe;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #4facfe;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-text {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

.payment-icon ion-icon {
    font-size: 18px;
}

/* Mobile Footer */
.mobile-footer {
    display: none;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 0 20px;
}

.mobile-footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-footer-section {
    text-align: center;
}

.mobile-footer-brand {
    margin-bottom: 20px;
}

.mobile-footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.mobile-footer-description {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.mobile-footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.mobile-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.mobile-footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.mobile-footer-link:hover {
    color: #4facfe;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background: #4facfe;
    color: #ffffff;
}

.mobile-social-link ion-icon {
    font-size: 18px;
}

.mobile-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-copyright {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }
    
    .newsletter-content {
        gap: 30px;
    }
    
    .newsletter-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-left {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .modern-footer .footer-main,
    .modern-footer .footer-bottom {
        display: none;
    }
    
    .mobile-footer {
        display: block;
    }
    
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-title {
        font-size: 1.8rem;
    }
    
    .newsletter-form-container {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    .newsletter-btn {
        justify-content: center;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 30px 0;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .newsletter-description {
        font-size: 1rem;
    }
    
    .mobile-footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .mobile-social-links {
        gap: 8px;
    }
    
    .mobile-social-link {
        width: 36px;
        height: 36px;
    }
}

/* Advanced Search Dropdown Styles */
.header-search-container {
  position: relative;
}

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 4px;
}

.search-suggestion {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-suggestion:last-child {
  border-bottom: none;
}

.search-suggestion:hover,
.search-suggestion.active {
  background-color: #f8fafc;
  transform: translateX(2px);
}

.suggestion-image {
  width: 50px;
  height: 50px;
  margin-right: 12px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.suggestion-image img[src=""],
.suggestion-image img:not([src]) {
  opacity: 0;
}

.suggestion-image img.loading {
  opacity: 0.5;
}

.suggestion-image img.error {
  display: none;
}

.suggestion-image .no-image {
  color: #9ca3af;
  font-size: 20px;
}

.suggestion-content {
  flex: 1;
  min-width: 0;
}

.suggestion-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.suggestion-meta .brand,
.suggestion-meta .category {
  font-size: 12px;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
}

.suggestion-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.suggestion-price .current-price {
  font-weight: 600;
  color: #059669;
  font-size: 14px;
}

.suggestion-price .original-price {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 12px;
}

.suggestion-price .sale-price {
  font-weight: 600;
  color: #dc2626;
  font-size: 14px;
}

.suggestion-price .discount {
  background: #fef2f2;
  color: #dc2626;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.search-loading,
.search-error,
.search-no-results {
  padding: 16px;
  text-align: center;
  font-size: 14px;
}

.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #3b82f6;
}

.search-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.search-error {
  color: #dc2626;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  margin: 8px;
}

.search-no-results {
  color: #6b7280;
}

.suggestion-price .discount {
  background: #dc2626;
  color: white;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 600;
}

.search-error {
  color: #dc2626;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .search-dropdown {
    left: -16px;
    right: -16px;
    border-radius: 8px;
    max-height: 300px;
  }
  
  .search-suggestion {
    padding: 10px 12px;
  }
  
  .suggestion-image {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  .suggestion-name {
    font-size: 13px;
  }
  
  .suggestion-meta .brand,
  .suggestion-meta .category {
    font-size: 11px;
  }
  
  .suggestion-price .current-price,
  .suggestion-price .sale-price {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .search-dropdown {
    left: -20px;
    right: -20px;
  }
  
  .suggestion-meta {
    flex-direction: column;
    gap: 2px;
  }
  
  .suggestion-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Search input focus enhancement */
.search-field:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Smooth scrollbar for dropdown */
.search-dropdown::-webkit-scrollbar {
  width: 6px;
}

.search-dropdown::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.search-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

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

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

.slide-up {
    animation: slideUp 0.8s ease-out;
}

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

/* Hero Banner Responsive Styles */
.banner .slider-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner .slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3) !important;
}

.banner .banner-content {
    max-width: 100%;
}

.banner .banner-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner .banner-subtitle {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.banner .banner-text {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .banner .slider-item {
        min-height: 300px !important;
        margin: 5px !important;
    }
    
    .banner .banner-content {
        padding: 20px !important;
    }
    
    .banner .banner-title {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }
    
    .banner .banner-subtitle {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }
    
    .banner .banner-text {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .banner .banner-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .banner .slider-item {
        min-height: 250px !important;
    }
    
    .banner .banner-content {
        padding: 15px !important;
    }
    
    .banner .banner-title {
        font-size: 1.5rem !important;
    }
    
    .banner .banner-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
}

/* Video Background Optimization */
@media (max-width: 768px) {
    .banner video {
        object-position: center center;
    }
}

/* Accessibility Improvements */
.banner .banner-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.banner .banner-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Responsive fixes for tablet range (500px-1024px) to eliminate white spaces */
@media (min-width: 500px) and (max-width: 1023px) {
    /* Override container max-width to use full width with proper padding */
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin: 0 auto !important;
    }
    
    /* Ensure banner takes full width */
    .banner {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Ensure slider container is full width */
    .slider-container {
        width: 100%;
        max-width: 100%;
    }
    
    /* Category section full width */
    .category {
        width: 100%;
    }
}

/* Additional fixes for larger tablets (768px-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    /* Adjust banner for tablets */
    .slider-item {
        min-height: 350px !important;
    }
}

/* Specific fix for medium tablets (600px-768px) */
@media (min-width: 600px) and (max-width: 767px) {
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}