/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: #003366;
  color: white;
  padding: 1rem 0;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: white;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* Hero Slider */
.mainSliderHolder {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%;
}

.slides li {
  list-style: none;
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.slides img {
  width: 100%;
  display: block;
}

.sliderCaption,
.sliderBtn {
  position: absolute;
  left: 20px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 4px;
}

.sliderCaption {
  bottom: 80px;
}

.sliderBtn {
  bottom: 20px;
}

.button.blueBtn {
  background: #0073e6;
  color: white;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 4px;
}

/* News Ticker */
.news-ticker {
  background: #f3f3f3;
  padding: 0.5rem 1rem;
  font-weight: bold;
}

/* Promotions */
.promotions {
  background: #f9f9f9;
  padding: 2rem 0;
}

.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.promo-card {
  flex: 1 1 calc(33.333% - 1rem);
  background: white;
  padding: 1rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.promo-card img {
  max-width: 100%;
  height: auto;
}

/* Sidebar */
.sidebar {
  background: #e9ecef;
  padding: 1rem 0;
}

.sidebar .widget {
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

.footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
}

.footer a {
  color: #ccc;
  text-decoration: none;
}

/* Hero Slider Enhanced */
.hero-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 400px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 40px;
  color: #fff;
}

.shape-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background-color: rgba(24, 91, 165, 0.85);
  clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%);
  z-index: 0;
}

.text-box {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.text-box h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.text-box p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background-color: #004b8d;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* Three Column Section */
.three-column-section {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  background: #f2f7fb;
  padding: 20px;
  box-sizing: border-box;
  min-width: 300px;
}

/* Carousel */
.carousel {
  position: relative;
}

.carousel-item {
  display: none;
  text-align: center;
}

.carousel-item.active {
  display: block;
}

.carousel-item img {
  max-width: 100%;
  height: auto;
}

.carousel-caption {
  margin-top: 15px;
}

.carousel-caption h3 {
  margin-bottom: 10px;
}

.carousel-indicators {
  text-align: center;
  margin-top: 10px;
}

.carousel-indicators .dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #999;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.carousel-indicators .dot.active {
  background-color: #333;
}

/* Winner Box */
.winner-box img {
  width: 100%;
  max-width: 200px;
  display: block;
  margin: 0 auto 15px;
}

/* Support Box */
.support-box {
  background: #2f3b46;
  color: white;
}

.support-box ul {
  list-style: none;
  padding: 0;
}

.support-box li {
  padding: 10px 0;
  border-bottom: 1px solid #47525c;
}

.support-box h4 {
  margin-top: 20px;
  font-size: 1.1em;
}

.support-box .link-list {
  color: white;
}

.support-box .link-list li {
  padding: 5px 0;
}

/* Exchange Widget */
.exchange-widget-section {
  background-color: #edf0f3;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.exchange-widget-section h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

.widget-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.widget-column {
  flex: 1 1 50%;
  min-width: 320px;
  background-color: white;
  padding: 10px;
  box-sizing: border-box;
}

/* Quick Links */
.quick-links-section {
  margin-top: 30px;
}

.quick-links-section h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.quick-links-section ul {
  list-style: none;
  padding: 0;
}

.quick-links-section li {
  margin-bottom: 10px;
}

.quick-links-section a {
  color: #004b8d;
  text-decoration: underline;
}

/* Currency Ticker */
.currency-ticker {
  background-color: #f0f0f0;
  padding: 5px 0;
  margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    display: none;
    margin-top: 1rem;
  }

  .main-nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .promo-card {
    flex: 1 1 100%;
  }

  .sliderCaption,
  .sliderBtn {
    font-size: 0.9rem;
    left: 10px;
    right: 10px;
  }

  .hero-slider-container {
    max-width: 100%;
  }

  .slide-content {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .shape-overlay {
    display: none;
  }

  .text-box {
    max-width: 100%;
  }

  .three-column-section {
    flex-direction: column;
  }

  .widget-columns {
    flex-direction: column;
  }
}
/* === Hero Slider Enhanced === */
.hero-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  height: 400px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Left Shape Overlay */
.shape-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background-color: rgba(24, 91, 165, 0.85);
  clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0% 100%);
  z-index: 1;
}

/* Slide Text Content */
.slide-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 40px;
  z-index: 2;
  color: white;
}

.text-box {
  max-width: 500px;
}

.text-box h2 {
  font-size: 36px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.text-box p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.text-box .btn {
  display: inline-block;
  background-color: #004b8d;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 4px;
}

/* Navigation Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 24px;
  padding: 12px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s ease;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .hero-slider-container {
    max-width: 100%;
    height: auto;
  }

  .slide {
    position: relative;
    height: 300px;
  }

  .slide-content {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .shape-overlay {
    display: none;
  }

  .text-box {
    max-width: 100%;
  }

  .text-box h2 {
    font-size: 28px;
  }

  .text-box p {
    font-size: 16px;
  }
}
