/* 999BD Casino Website Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #21A57D;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #fff;
}

h2 {
    font-size: 2rem;
    color: #fff;
}

h3 {
    font-size: 1.5rem;
    color: #fff;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #18785B;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container {
    max-width: unset;
}

.logo {
    height: 30px;

}

.logo img {
    height: 100%;

}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav a:hover, .mobile-menu .nav a:hover, .nav a.active, .mobile-menu .nav a.active {
    color: #20F511;
    background-color: rgba(249, 187, 11, 0.1);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color:#fff;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #18785B;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav {
    flex-direction: column;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 568px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn-primary {
    background-color: #fff;
    color: #1F8B6C;
    border: 2px solid #fff;
}

.btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1F8B6C;
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

section .btn-group {
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #21A57D 0%, #18785B 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #eee;
}

.hero-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Content Sections */
.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: #20F511;
    margin-bottom: 1rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #fff;
}

th {
    background-color: #18785B;
    color: #fff;
    font-weight: 600;
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Lists */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #20F511;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: #18785B;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #20F511;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #eee;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #20F511;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #fff;
    color: #eee;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .nav {
        gap: 1rem;
    }
}

@media (max-width: 1440px) {
    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu .nav {
        display: flex;
        align-items: center;
    }
    
    .nav {
        display: none;
    }
    
    .hero {
        padding: 2rem 0;
    }

    header .btn-group {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}

@media (max-width: 768px) {
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* External Links */
.external-link {
    color: #20F511;
    text-decoration: none;
    font-weight: 600;
}

.external-link:hover {
    text-decoration: underline;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
.nav a:focus,
.logo:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    .hero {
        padding: 1rem 0;
    }
    
    .section {
        padding: 1rem 0;
    }
}

/* Slider Section */
.slider-section {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
}

.banner-swiper {
    width: 100%;
    position: relative;
}

.banner-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Swiper Navigation Buttons */
.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
    color: #20F511;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.banner-swiper .swiper-button-next:hover,
.banner-swiper .swiper-button-prev:hover {
    background: rgba(32, 245, 17, 0.2);
    transform: scale(1.1);
}

.banner-swiper .swiper-button-next:after,
.banner-swiper .swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

/* Swiper Pagination */
.banner-swiper .swiper-pagination {
    bottom: 20px;
}

.banner-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.banner-swiper .swiper-pagination-bullet-active {
    background: #20F511;
}

.banner-swiper .swiper-pagination-bullet:hover {
    background: rgba(32, 245, 17, 0.7);
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .banner-swiper .swiper-pagination, .banner-swiper .swiper-button-next, .banner-swiper .swiper-button-prev {
        display: none;
    }

    header .btn-group {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-content {
        flex-wrap: wrap;
    }
}

/* Responsive Design for Slider */
@media (min-width: 768px) {
    
    .banner-swiper .swiper-button-next,
    .banner-swiper .swiper-button-prev {
        width: 50px;
        height: 50px;
        margin-top: -30px;
    }
    
    .banner-swiper .swiper-button-next:after,
    .banner-swiper .swiper-button-prev:after {
        font-size: 20px !important;
    }
}

@media (min-width: 1024px) {
    
    .banner-swiper .swiper-button-next,
    .banner-swiper .swiper-button-prev {
        width: 50px;
        height: 50px;
        margin-top: -35px;
    }
    
    .banner-swiper .swiper-button-next:after,
    .banner-swiper .swiper-button-prev:after {
        font-size: 24px;
    }
}

/* Fade effect for smooth transitions */
.banner-swiper .swiper-slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-swiper .swiper-slide-active {
    opacity: 1;
}

/* Loading state for slider */
.banner-swiper .swiper-slide img {
    transition: opacity 0.3s ease;
    opacity: 1; /* Default to full opacity */
}

.banner-swiper .swiper-slide img[loading="lazy"]:not(.loaded) {
    opacity: 0.7;
}

.banner-swiper .swiper-slide img.loaded {
    opacity: 1;
}

