*{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body{
    background: 
        linear-gradient(135deg,#0000 20.5%,#f8f8f8 0 29.5%,#0000 0) 0 5px,
        linear-gradient( 45deg,#0000 8%,#f8f8f8 0 17%, #0000 0 58%) 10px 0,
        linear-gradient(135deg,#0000 8%,#f8f8f8 0 17%, #0000 0 58%,#f8f8f8 0 67%,#0000 0),        
        linear-gradient( 45deg,#0000 8%,#f8f8f8 0 17%, #0000 0 58%,#f8f8f8 0 67%,#0000 0 83%,#f8f8f8 0 92%,#0000 0),
        #ffffff;
    background-size: 20px 20px;
}

section{
    margin: 100px 140px;
}

/* ---------- Navbar ---------- */

nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.logo {
      color: #007086;
      font-family: "Exo 2", sans-serif;
      font-optical-sizing: auto;
      font-weight: weight;
      font-style: normal;
      letter-spacing: 2px;
      text-transform: uppercase;
}
.logo span {
      color: #00ef80; /* green highlight */
}
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    text-transform: uppercase;
}
.nav-links a {
    margin: 0 5px;
    text-decoration: none;
    color: rgb(0, 0, 0);
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #007086;
}

/* ---------- Poster ---------- */
.poster {
    display: grid;
    grid-template-columns: 1fr 4fr;
}
.poster-1 {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.poster-1 h1{
    color: #007086;
}
.poster-1 button{
    width: max-content;
    background-color: white; 
    color: black; 
    border: 2px solid #007086;
    padding: 15px 64px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

/* ---------- Candle ---------- */

.candleContainer{
    place-items: center;
}
.candle {
  height: 300px; width: 40px;
  display: flex;
  flex-direction: column;      /* stack wick → body → wick */
  justify-content: center;     /* center vertically */
  align-items: center;         /* center horizontally */
}
.cwick {
  background: #00b05e;
  width: 10%;    /* 20% of container width */
  min-height: 4px;
}
.cbody {
  background: #00b05e;
  width: 100%;    /* narrower than container */
  flex: 1;       /* take up most space */
}

/* ---------- Indices Analysis ---------- */

.indicesAnalysis h3{
    margin-bottom: 50px;
    text-align: center;
    color: #007086;
}

.indicesContainer table {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;  
  text-align: center;
  background-color: #ffffff;
}

.indicesContainer td, .indicesContainer th {
  border: 1px solid #0000000b;
  padding: 12px;
}

.indicesContainer .trBg {background-color: #e6fdee;}

.indicesContainer tr:hover {background-color: #c4ffe392;}

.indicesContainer th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #04AA6D;
  color: white;
}

/* ---------- Indices Analysis ---------- */

.fnoChart h3{
    margin-bottom: 50px;
    text-align: center;
    color: #007086;
}
.fnoChart-1{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.fnoChart-1 img{
    height: 400px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* ---------- Workstation ---------- */

.workstationImg {
    display: flex;
    justify-content: center;  
}
.workstationImg img{ 
    height: 300px;
}

/* ---------- Products ---------- */

.wsContainer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.15);
    background-color: #f4faff92;
    color: #007086;
}
.wsContainer img{
    padding: 20px;
    height: 280px;
    width: 280px;
}
.wsProduct {
    padding: 50px 0px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.wsProduct a{
    width: max-content;
    color: rgb(4, 106, 2); 
    background-color: #88f2824a;
    border: 2px solid #04AA6D;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}
.wsProduct i{
    color: goldenrod;
}











/* ---------- Hamburger menu ---------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle span {
    height: 3px;
    width: 25px;
    background: rgb(0, 0, 0);
    margin: 4px 0;
    border-radius: 2px;
}
@media (max-width: 768px) {
    nav {
        justify-content: space-between;
    }
    .nav-links {
        position: absolute;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        padding: 15px 0;
    }
    .nav-links.show {
        left: 0;
    }
    .menu-toggle {
        display: flex;
    }
    #navLinks{
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
}

/* Base (xs: mobile) */
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
p  { font-size: 1rem; }
a  { font-size: 1rem; }
small { font-size: 0.875rem; }

/* sm-md: tablets */
@media (min-width: 576px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  h4 { font-size: 1.5rem; }
  h5 { font-size: 1.25rem; }
  p  { font-size: 1rem; }
  a  { font-size: 1rem; }
}

/* lg+: desktops */
@media (min-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 2rem; }
  h4 { font-size: 1.75rem; }
  h5 { font-size: 1.5rem; }
  p  { font-size: 1.125rem; }
  a  { font-size: 1.125rem; }
}

