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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #000000;
  font-size: 16px;
  overflow-x: hidden;
}

/* Color Variables */
:root {
  --primary-color: #000000;
  --accent-color: #87CEEB;
  --text-color: #000000;
  --bg-light: #ffffff;
  --bg-section: #f8f9fa;
}

/* Navigation Styles */
.navbar {
  background-color: var(--bg-light) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.navbar-brand img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.navbar-nav {
  list-style: none !important;
}

.navbar-nav .nav-link {
  color: var(--primary-color) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.navbar-nav .nav-link::before,
.navbar-nav .nav-link::after {
  display: none !important;
  content: none !important;
}

.btn-casino {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.6rem 1.5rem;
  border: none;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-radius: 4px;
}

.btn-casino:hover {
  background-color: #6bb6d9;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.navbar-toggler {
  border-color: var(--primary-color);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  padding: 100px 0 80px 0 !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 500px !important;
}

.hero-section::before {
  content: '' !important;
  position: absolute !important;
  top: -50px !important;
  right: -50px !important;
  width: 300px !important;
  height: 300px !important;
  background: var(--accent-color) !important;
  opacity: 0.1 !important;
  border-radius: 50% !important;
  z-index: 0 !important;
}

.hero-section::after {
  content: '' !important;
  position: absolute !important;
  bottom: -100px !important;
  left: -100px !important;
  width: 400px !important;
  height: 400px !important;
  background: var(--primary-color) !important;
  opacity: 0.05 !important;
  border-radius: 50% !important;
  z-index: 0 !important;
}

.hero-section .container {
  position: relative !important;
  z-index: 1 !important;
}

.hero-section h1 {
  font-size: 3rem !important;
  font-weight: 800 !important;
  color: var(--primary-color) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
}

.hero-section p {
  font-size: 1.2rem !important;
  color: var(--primary-color) !important;
  margin-bottom: 2rem !important;
  max-width: 800px !important;
}

.hero-section .btn-hero {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  border-radius: 4px !important;
}

.hero-section .btn-hero:hover {
  background-color: #6bb6d9 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4) !important;
}

/* Section Styles */
section {
  padding: 60px 0;
}

section:nth-child(even) {
  background-color: var(--bg-section);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--text-color);
}

strong {
  font-weight: 700;
  color: var(--primary-color);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

picture img {
  display: block;
  margin: 20px 0;
}

/* Cards */
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--bg-light);
  margin-bottom: 20px;
}

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

.card-body {
  padding: 2rem;
}

/* Lists - Reset defaults and add custom styling */
ul, ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 1.5rem;
}

ul li, ol li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

ol {
  counter-reset: custom-counter;
}

ol li {
  counter-increment: custom-counter;
}

ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Remove list markers from navbar and footer */
.navbar ul,
.navbar ol,
footer ul,
footer ol {
  list-style: none !important;
}

.navbar li::before,
.navbar li::after,
footer li::before,
footer li::after {
  display: none !important;
  content: none !important;
}

.navbar li,
footer li {
  padding-left: 0 !important;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-light);
  font-size: 1rem;
}

thead {
  background-color: var(--primary-color);
  color: var(--bg-light);
}

thead th {
  padding: 1.2rem;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid #e9ecef;
}

tbody tr:hover {
  background-color: rgba(135, 206, 235, 0.1);
}

tbody td {
  padding: 1.2rem;
  white-space: nowrap;
}

/* Material Icons */
.material-icons {
  color: var(--accent-color);
  vertical-align: middle;
  font-size: 24px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--bg-light);
  padding: 50px 0 20px 0;
}

footer h5 {
  color: var(--bg-light);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

footer ul {
  list-style: none !important;
  padding: 0 !important;
}

footer ul li {
  margin-bottom: 0.8rem;
  padding-left: 0 !important;
}

footer ul li::before,
footer ul li::after {
  display: none !important;
  content: none !important;
}

footer a {
  color: var(--bg-light);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

footer a:hover {
  color: var(--accent-color);
}

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

/* Conversion Buttons */
.btn-conversion {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-radius: 4px;
  text-align: center;
  margin: 1.5rem 0;
}

.btn-conversion:hover {
  background-color: #6bb6d9;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem !important;
  }

  .hero-section p {
    font-size: 1rem !important;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p, ul li, ol li {
    font-size: 1rem;
  }

  section {
    padding: 40px 0;
  }

  .card-body {
    padding: 1.5rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar-brand img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 60px 0 40px 0 !important;
  }

  .hero-section h1 {
    font-size: 1.6rem !important;
  }

  .hero-section .btn-hero {
    padding: 0.8rem 1.5rem !important;
    font-size: 1rem !important;
  }

  .btn-conversion {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  tbody td, thead th {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}

/* Ensure text readability */
.text-contrast {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

/* Utility classes */
.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}
