/* Reset some defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

/* Navbar */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
}

.menu-toggle {
  display: none; /* ✅ Hidden by default (desktop view) */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 5;
}

/* Hamburger bars */
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #00447c;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Transform to X when open */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.navbar {
  display: flex;
  justify-content: space-between;  /* keep logo left, menu button right */
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  position: relative;
  z-index: 3;
  flex-wrap: nowrap; /* optional, helps with responsiveness */
}


.logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: #00447c;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #00447c;
}

/* Hero Section */
.hero {
  background-color: #1f1d1d;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: #00447c;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #333;
}

/* Hero Section */
.hero2 {
  background-color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-content2 h1 {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 1rem;
}


.hero-content2 p {
  font-size: 1.2rem;
  color: #000000;
}

/* Feature Section */
.features {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.feature h2 {
  color: #00447c;
  margin-bottom: 0.5rem;
}

.feature p {
  color: #555;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #f1f1f1;
  color: #666;
  font-size: 0.9rem;
}

/* Mobile styles */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    flex-direction: row;         /* ✅ side by side */
    align-items: center;         /* ✅ vertical alignment */
    justify-content: space-between;
    padding: 1rem 2rem;
  }

  .menu-toggle {
    display: flex;
    background: none;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    color: #00447c;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 2;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.05);
  }

  .nav-menu.open {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  nav a {
    display: block;
    padding: 0.5rem 0.5rem;
    border-left: 3px solid transparent;
  }

  nav a:hover {
    border-left-color: #00447c;
    background-color: #f2f2f2;
  }
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background-color: #0c0a1c; /* fallback */
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* adjust if needed */
}

.background-video2 {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.09; /* adjust if needed */
}

.hero-content2 {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  text-align: left;
  color: rgb(0, 0, 0);
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  text-align: left;
  color: rgb(255, 255, 255);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.2rem;
  color: white;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero-content a {
  font-size: 1.2rem;
  color: white;
  text-decoration: underline;
}


.hero-content li {
  list-style: none;
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    transform: translateY(-1px);
    opacity: 0;
    pointer-events: none;
    transition: transform 5s ease, opacity 5s ease;
    z-index: 2;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
}
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  z-index: 1;
  transition: opacity 3s ease;
}

.overlay.show {
  display: block;
}

/* table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1.1rem;
} */

thead {
  background-color: #00447c;
  color: white;
}

th, td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ccc;
}

tr:hover {
  background-color: #f2f2f2;
}

#loading-message {
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  color: #555; /* optional for subtle appearance */
}

.logo a {
  text-decoration: none;
  color: inherit;
  font-weight: bold; /* optional */
  font-size: 1.5rem; /* optional */
}

.hero-with-background {
  background-image: url('bkg.jpg'); /* or a URL */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; 
  padding: 4rem 2rem;
  color: white;
}

.hero-with-background .hero-content {
  background-color: rgba(0, 0, 0, 0.5); /* optional dark overlay */
  padding: 0rem;
  border-radius: 12px;
}
.hero-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-content li {
  margin-bottom: 1.5rem;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100vh; /* Adjust if needed */
  /* background-image: url('your-image.jpg'); */
  background-size: cover;
  background-position: left;
  background-attachment: fixed;
  padding: 2rem;
  text-align: left;
}

html {
  scroll-behavior: smooth;
}

.article-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
  justify-content: space-between;
}

.article-card {
  display: flex;
  flex-direction: column;
  width: 300px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  flex-grow: 1;
}

.card-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #2c3e50;
  padding-top: 1rem; 
}

.card-content p {
  font-size: 0.95rem;
  color: #555;
  margin-top: auto;
  text-align: right;
}

.key-focus-areas {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.key-focus-areas li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.cta .btn-primary {
  background-color: #003366;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
}

.hero-content2.side-by-side {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}


.hero-content2.side-by-side h1 {
  flex: 1;
  min-width: 200px;
  font-size: 2rem;
}

.hero-content2.side-by-side .mission-text {
  flex: 3;
  min-width: 280px;
}

@media (max-width: 768px) {
  .hero-content2.side-by-side {
    flex-direction: column;
  }

  .hero-content2.side-by-side h1,
  .hero-content2.side-by-side .mission-text {
    width: 100%;
  }
}

.spacer-sm { height: 30px; }
.spacer-md { height: 60px; }
.spacer-lg { height: 100px; }

@media (max-width: 768px) {
  .spacer-sm,
  .spacer-md,
  .spacer-lg {
    display: none;
  }
}

.spacer {
  height: 60px;
}


@media (max-width: 768px) {
  .spacer {
    display: none;
  }
}

.option-chain-section {
  margin: 2rem auto;
  padding: 1rem;
  max-width: 1000px;
}
/* .option-chain-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.option-chain-table th, .option-chain-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: center;
} */
.expiry-section h3 {
  margin-top: 2rem;
  color: #333;
  font-size: 1.25rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.25rem;
}

#volatilityChart {
  background-color: #131722;
  border-radius: 12px;
}

/* #tvChartContainer {
  width: 100%;
  min-height: 350px;
} */

#tvChartContainer {
  background: red !important;
  border: 2px solid yellow !important;
}

.stylish-section {
  background: linear-gradient(145deg, #0e0e10, #1c1c1f);
  border-radius: 12px;
  padding: 3rem;
  color: #f1f1f1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-family: 'Segoe UI', sans-serif;
  max-width: 1000px;
  margin: auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border-left: 5px solid #4f46e5;
  padding-left: 1rem;
  color: #e0e7ff;
}

.focus-block {
  margin-bottom: 2.5rem;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 3px solid #4f46e5;
  transition: transform 0.2s ease;
}

.focus-block:hover {
  transform: translateY(-4px);
}

.focus-block h2 {
  color: #a5b4fc;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.focus-block p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cta-link {
  display: inline-block;
  color: #93c5fd;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.cta-link:hover {
  border-color: #60a5fa;
  color: #bfdbfe;
}

@media (max-width: 768px) {
  .stylish-section {
    padding: 2rem 1.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .focus-block h2 {
    font-size: 1.25rem;
  }
}

@keyframes flashGlow {
  0% {
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
  }
  50% {
    box-shadow: 0 0 12px 4px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: none;
  }
}

.flash {
  animation: flashGlow 0.8s ease forwards;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
  