/* Color Theme */
:root {
  --red: #e50914;
  --black: #111;
  --white: #fff;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--black);
}

/* Top Bar (Scrolling Message) */
.top-bar {
  background-color: var(--black);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  position: relative;
  z-index: 1000;
  width: 100%;
}

.top-bar marquee {
  white-space: nowrap;
  overflow: hidden;
}

/* Main Header */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white);
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Logo */
.logo a {
  font-size: 1.7rem;
  font-weight: bold;
  color: var(--red);
  text-decoration: none;
}

/* Navigation Menu */
.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--black);
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--red);
}

.main-nav {
  display: block;
}
.main-nav.show {
  display: block;
}

.menu-link {
  color: var(--black);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.menu-item.has-submenu .menu-link {
  color: var(--black); /* Prevent unwanted white */
  font-weight: 500;
}

.menu-link:hover {
  color: var(--red);
}


@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .main-nav {
    display: none; /* Hide on mobile unless .show is added */
  }
  .main-nav.show {
    display: block;
  }
}


/* Account Icons */
.account-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.account-icons a {
  font-size: 1.4rem;
  color: var(--black);
  transition: color 0.3s ease;
}

.account-icons a:hover {
  color: var(--red);
}

/* Responsive Menu */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .account-icons {
    margin-top: 1rem;
    align-self: flex-end;
  }
}

/* Submenu Styles */
.main-nav li {
  position: relative;
}

.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  padding: 0.5rem 0;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  display: none;
  min-width: 180px;
  list-style: none;
  z-index: 999;
}

.main-nav .submenu li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav .submenu li a:hover {
  background-color: #f8f8f8;
  color: var(--red);
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Show submenu on hover */
.main-nav li:hover > .submenu {
  display: block;
}


/* Mobile Menu */
.menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.menu-item {
  position: relative;
}

.arrow {
  font-size: 0.7rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.submenu {
  display: none;
  position: absolute;
  background: white;
  top: 100%;
  left: 0;
  padding: 0.5rem 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  z-index: 1001;
  min-width: 180px;
}

.submenu li a {
  display: block;
  padding: 0.6rem 1rem;
  white-space: nowrap;
  color: var(--black);
}

.submenu li a:hover {
  background-color: #f0f0f0;
  color: var(--red);
}

/* Show Submenu (controlled by JS) */
.menu-item.open > .submenu {
  display: block;
}

.menu-item.open > a .arrow {
  transform: rotate(180deg);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .hamburger {
    display: block;
  }

  .menu {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .submenu {
    position: relative;
    top: 0;
    box-shadow: none;
    border-left: 2px solid #eee;
    margin-left: 1rem;
  }

  .submenu li a {
    padding: 0.5rem 1rem;
  }

  .account-icons {
    align-self: flex-end;
    margin-top: 1rem;
  }
}

.hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 75vh;
  display: flex;
  align-items: center;
  padding: 2rem;
  color: white;
  overflow: hidden;
}

.hero-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeInLeft 1s ease-in-out;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--red);
  color: white;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-button:hover {
  background-color: #b2060f;
}

/* Animation */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-banner {
    height: 60vh;
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-button {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}

.hero-split {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 90vh;
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4)), rgba(0,0,0,0.2);
    z-index: 1;
}


.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  animation: slideInLeft 1s ease-in-out;
  animation: fadeInUp 1.5s ease forwards;
  opacity: 0;
}

.hero-text .welcome {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text .subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #eee;
}

.hero-button {
  background-color: var(--red);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero-button:hover {
  background-color: #b2060f;
}

.hero-image {
  flex: 1;
  text-align: center;
  animation: fadeIn 1.2s ease-in-out;
}

.hero-image img {
  max-height: 85vh;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}

/* Animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-split {
    height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-image img {
    max-width: 100%;
    margin-top: 2rem;
    animation: fadeInRight 2s ease forwards;
    opacity: 0;
  }

  @keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
}

.hero-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-dots .dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: moveDots 10s linear infinite;
}

.hero-dots .dot:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero-dots .dot:nth-child(2) {
  top: 50%;
  left: 50%;
  animation-delay: 2s;
}

.hero-dots .dot:nth-child(3) {
  top: 80%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes moveDots {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-200px) scale(0.5); opacity: 0; }
}


.countdown-section {
  background-color: #1e2a44;
  color: white;
  padding: 2rem;
  text-align: center;
}

.countdown-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.countdown-left {
  flex: 1;
  text-align: left;
}

.countdown-left h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.countdown-left p {
  color: #ccc;
  max-width: 400px;
}

.countdown-timer {
  display: flex;
  gap: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-timer div {
  text-align: center;
}

.countdown-timer small {
  display: block;
  font-size: 0.8rem;
  font-weight: normal;
  color: #aaa;
  margin-top: 0.2rem;
}

.cd-btn {
  background: var(--red);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
  font-weight: bold;
}

.cd-btn:hover {
  background: #c20610;
}

.countdown-button {
  align-self: center;
}


.livestream-section {
  background: #0f1b2a;
  color: white;
  padding: 4rem 1rem;
}

.livestream-container {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
}

.video-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.video-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.video-frame iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

.overlay-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #e50914;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.overlay-btn:hover {
  background: #fff;
  color: #e50914;
}

.video-text {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.video-text h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.video-text p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  background: #e50914;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn:hover {
  background: white;
  color: #e50914;
}

.btn.wide {
  flex: 1 1 100%;
  text-align: center;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .livestream-container {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }

  .video-text h2 {
    font-size: 1.8rem;
  }
}



.homepage-blogs {
  padding: 4rem 1rem;
  background: #f5f7fa;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #111;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #e50914;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: fadeInUp 0.7s ease forwards;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.blog-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.2rem 1.5rem;
  flex: 1;
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: #222;
  font-weight: 600;
}

.blog-intro {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-meta {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 0.6rem;
  margin-top: auto;
}

.btn.btn-primary {
  background: #e50914;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
  margin-top: 1rem;
}

.btn.btn-primary:hover {
  background: #c10710;
}

.text-center {
  text-align: center;
  margin-top: 3rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 1s ease both;
}

.animate-slide-up {
  animation: fadeInUp 0.7s ease both;
}


/* Animation */

.animate-fade-in {
  animation: fadeInUp 0.5s ease forwards;
}


.blog-page {
  padding: 3rem 1rem;
  background: #f9f9f9;
}

.page-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.blog-filters input,
.blog-filters select {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.blog-filters button {
  background: #e50914;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-content {
  padding: 1rem;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.blog-content .intro {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.8rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.8rem;
}

.read-more {
  color: #e50914;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.9rem;
}

.read-more:hover {
  text-decoration: underline;
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease both;
}


.blog-detail-section {
  padding: 3rem 1rem;
  background: #fdfdfd;
  animation: fadeIn 0.6s ease-in;
}

.blog-detail-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.blog-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #222;
}

.blog-meta {
  text-align: center;
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.blog-featured-img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.blog-intro {
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 1.5rem;
}

.blog-body {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 2rem;
}

.blog-body p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: #333;
  font-size: 1.05rem;
}


.blog-video {
  margin: 2rem 0;
}

.blog-tags {
  margin-bottom: 2rem;
  color: #555;
  font-style: italic;
}

.social-share {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.social-share a {
  display: inline-block;
  margin-right: 1rem;
  color: #e50914;
  font-weight: bold;
  transition: all 0.3s ease;
}

.social-share a:hover {
  text-decoration: underline;
}

.related-blogs {
  margin-top: 3rem;
}

.related-blogs h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.blog-card:hover {
  transform: translateY(-6px);
}



.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.blog-card h4 {
  font-size: 1.1rem;
  margin: 0.8rem;
  color: #222;
}

.blog-card p {
  font-size: 0.95rem;
  margin: 0 0.8rem 1rem;
  color: #666;
}

.comments-section {
  margin-top: 3rem;
}

.comments-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.comment {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.comment strong {
  font-size: 1rem;
  color: #222;
}

.comment small {
  color: #888;
  display: block;
  margin-bottom: 0.4rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.comment-form .btn-primary {
  background: #e50914;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.comment-form .btn-primary:hover {
  background: #c10710;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-detail-wrapper {
    padding: 0 1rem;
  }

  .blog-title {
    font-size: 1.7rem;
  }

  .blog-featured-img {
    max-height: 300px;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


.homepage-cards .card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.homepage-cards .card {
  border-radius: 16px;
  padding: 2rem;
  color: #000;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homepage-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-button {
  margin-top: 1rem;
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
}

.account-icons a {
    margin-left: 0.5rem;
    color: #111;
    transition: transform 0.2s, color 0.2s;
}
.account-icons a:hover {
    transform: scale(1.1);
    color: #e50914;
}

