/* Header and Search Improvements */
.hero .search-container {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.hero #product-search-form {
    display: flex;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 50px;
    overflow: hidden;
    background: white;
}

.hero #search-input {
    flex: 1;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
    outline: none;
}

.hero .search-btn {
    background: linear-gradient(to bottom, #ffda44 0%, #ffbd00 100%);
    color: #091e5b;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero .search-btn:hover {
    background: linear-gradient(to bottom, #ffce1f 0%, #ffb000 100%);
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.search-suggestion {
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.search-suggestion:hover {
    background: #f0f7ff;
}

.search-suggestion:last-child {
    border-bottom: none;
}

.search-suggestion strong {
    font-weight: 700;
    color: #0056b3;
}

/* Product Slider Improvements */
.featured-products {
    padding: 4rem 0 2rem;
    background: white;
    position: relative;
}

.featured-slider {
    display: flex;
    position: relative;
    margin: 2rem 0;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.product-card.featured {
    flex: 0 0 calc(33.333% - 2rem);
    margin-right: 2rem;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(to bottom, #ff5e62 0%, #ff2a6a 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(255, 42, 106, 0.3);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 1.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.stars {
    color: #ffbd00;
    margin-right: 0.5rem;
}

.count {
    color: #777;
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #091e5b;
}

.btn-product {
    background: linear-gradient(to bottom, #0056b3 0%, #003580 100%);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-product:hover {
    background: linear-gradient(to bottom, #004494 0%, #002a66 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 53, 128, 0.3);
    text-decoration: none;
    color: white;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.slider-arrow {
    background: transparent;
    border: 2px solid #091e5b;
    color: #091e5b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.slider-arrow:hover {
    background: #091e5b;
    color: white;
}

.slider-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #091e5b;
    transform: scale(1.2);
}

.view-more-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-more {
    background: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
}

.btn-view-more:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Search Cloud Improvements */
.popular-searches {
    padding: 4rem 0;
    background: #f0f7ff;
}

.search-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.search-term {
    background: white;
    color: #0056b3;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    font-weight: 600;
}

.search-term:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #003580;
}

.search-term.xl {
    font-size: 1.3rem;
    padding: 0.6rem 1.2rem;
}

.search-term.lg {
    font-size: 1.1rem;
}

.search-term.md {
    font-size: 0.95rem;
}

.search-term.sm {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Special Icon Backgrounds */
.special-icon-1 {
    background: #ffe9e9;
}

.special-icon-2 {
    background: #e9f5ff;
}

.special-icon-3 {
    background: #f0ffe9;
}

.special-icon-4 {
    background: #fff9e9;
}

.special-icon-5 {
    background: #f9e9ff;
}

.special-icon-6 {
    background: #ffe9f2;
}

/* Responsive Improvements for Products */
@media (max-width: 992px) {
    .product-card.featured {
        flex: 0 0 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .hero .search-container {
        width: 90%;
    }
    
    .product-card.featured {
        flex: 0 0 100%;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
}/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #f4f9ff, #e6f0ff);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5 {
    color: #091e5b;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #444;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #003580;
    text-decoration: underline;
}

/* Header */
header {
    background: linear-gradient(135deg, #091e5b 0%, #1139af 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #ffcc00;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li a:hover {
    text-decoration: none;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-login {
    background: linear-gradient(to bottom, #ffda44 0%, #ffbd00 100%);
    color: #091e5b;
    border: 1px solid #d9a400;
}

.btn-login:hover {
    background: linear-gradient(to bottom, #ffce1f 0%, #ffb000 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
    text-decoration: none;
}

.btn-register {
    background: linear-gradient(to bottom, #ff5e62 0%, #ff2a6a 100%);
    color: white;
    border: 1px solid #e12957;
}

.btn-register:hover {
    background: linear-gradient(to bottom, #ff4e52 0%, #e91e63 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 46, 105, 0.3);
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    text-align: center;
    background: url('../img/sbobet-hero-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 14, 47, 0.8);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e6e6e6;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #0056b3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    background: #f0f7ff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.special-icon-1 {
    background: #ffe9e9;
}

.special-icon-2 {
    background: #e9f5ff;
}

.special-icon-3 {
    background: #f0ffe9;
}

.special-icon-4 {
    background: #fff9e9;
}

.special-icon-5 {
    background: #f9e9ff;
}

.special-icon-6 {
    background: #ffe9f2;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-image {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-text h2 {
    margin-top: 0;
    color: #091e5b;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.feature-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 1.5rem;
}

.faq-question {
    font-weight: 700;
    font-size: 1.2rem;
    color: #091e5b;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    display: none;
    padding-top: 0.5rem;
}

.faq-answer.show {
    display: block;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: #f0f7ff;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.testimonial-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: #091e5b;
}

.testimonial-rating {
    color: #ffbd00;
    margin-top: 0.5rem;
    font-size: 1.25rem;
}

/* Call to Action */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #091e5b 0%, #1139af 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: #e6e6e6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    justify-content: center;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.trust-badge img {
    width: 24px;
    height: 24px;
}

/* Footer */
footer {
    background: #091e5b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #b3c5e6;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #b3c5e6;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    nav {
        order: 2;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: linear-gradient(135deg, #091e5b 0%, #1139af 100%);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(255,255,255,0.1);
        transition: all 0.3s ease;
        z-index: 1000;
        padding: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul.show {
        max-height: 300px;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0.7rem 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 0.5rem 0;
    }
    
    .cta-buttons {
        margin-top: 0;
        order: 1;
    }
    
    .cta-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-login {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Fix for testimonial slider on mobile */
    .testimonial-slide {
        padding: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Improved slider dots for mobile */
    .slider-dots {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
        background: rgba(9, 30, 91, 0.3);
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .slider-dot.active {
        background: #091e5b;
        transform: scale(1.2);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon img {
        width: 30px;
        height: 30px;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}


.tool-btn {
    background: #0056b3;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tool-btn:hover {
    background: #003d82;
    transform: translateY(-2px);
}