
    :root {
      --primary: #1c8dff;
      --primary-dark: #0f6bc1;
      --secondary: #ff2b2b;
      --accent: #18c964;
      --bg-deep: #0a0f1e;
      --bg-darker: #050a18;
      --glass-bg: rgba(20, 30, 50, 0.4);
      --glass-border: rgba(255, 255, 255, 0.07);
      --text-light: #f0f4fc;
      --text-dim: #b0c0d0;
      --navbar-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-padding-top: var(--navbar-height);
      scroll-behavior: smooth;
    }

    html,
    body {
      max-width: 100%;
      overflow-x: hidden;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: linear-gradient(145deg, #0b1425 0%, #0f1a2f 100%);
      color: var(--text-light);
      line-height: 1.6;
    }

    /* glassmorphic card */
    .glass-card {
      background: rgba(18, 28, 46, 0.7);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid var(--glass-border);
      border-radius: 28px;
      box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
      transition: transform 0.25s ease, box-shadow 0.3s ease;
    }

    .glass-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 30px 50px -15px #0f2b50;
      border-color: rgba(28, 141, 255, 0.3);
    }

    /* gradient buttons */
    .btn-gradient {
      background: linear-gradient(145deg, var(--primary), #0f5bb5);
      border: none;
      color: white;
      font-weight: 600;
      padding: 0.75rem 2rem;
      border-radius: 50px;
      box-shadow: 0 10px 20px -8px rgba(28, 141, 255, 0.4);
      transition: all 0.2s ease;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .btn-gradient:hover {
      background: linear-gradient(145deg, #2b97ff, #136ed4);
      box-shadow: 0 15px 25px -8px #1c8dff;
      color: white;
      transform: scale(1.02);
    }

    .btn-outline-premium {
      background: transparent;
      border: 1.5px solid rgba(28, 141, 255, 0.7);
      color: white;
      font-weight: 600;
      padding: 0.75rem 2rem;
      border-radius: 50px;
      backdrop-filter: blur(4px);
      transition: 0.2s;
    }

    .btn-outline-premium:hover {
      background: rgba(28, 141, 255, 0.15);
      border-color: var(--primary);
      color: white;
    }

    /* navbar - permanently sticky, never hides */
    .navbar {
      background: rgba(6, 12, 24, 0.9);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(28, 141, 255, 0.15);
      padding: 8px 0;
      transition: transform 0.3s ease, background-color 0.3s ease;
      /* smooth hide/show */
      z-index: 1050;
      position: sticky;
      top: 0;
      /* fallback for browsers without backdrop-filter */
      background-color: #0a0f1e;
    }

    @supports (backdrop-filter: blur(14px)) {
      .navbar {
        background-color: rgba(6, 12, 24, 0.8);
      }
    }

    /* Hidden state – slide up out of view */
    .navbar.header-hidden {
      transform: translateY(-100%);
    }

    /* On mobile, disable hiding when menu might be open */
    @media (max-width: 1199.98px) {

      /* matches navbar-expand-xl breakpoint */
      .navbar.header-hidden {
        transform: translateY(-100%);
      }
    }

    .navbar .nav-link {
      color: #e0eaff;
      font-weight: 500;
      margin: 0 8px;
      font-size: 0.95rem;
      position: relative;
    }

    .navbar .nav-link:hover {
      color: var(--primary);
    }

    .navbar .nav-link.highlight {
      background: linear-gradient(145deg, var(--primary), #0f5bb5);
      color: white;
      border-radius: 30px;
      padding: 8px 20px !important;
      margin-left: 10px;
    }

    .navbar .nav-link.highlight:hover {
      background: #2b97ff;
    }

    .navbar .nav-link.highlight-red {
      background: rgba(255, 43, 43, 0.15);
      border: 1px solid rgba(255, 43, 43, 0.4);
      border-radius: 30px;
      padding: 8px 20px !important;
      color: #ffa0a0;
    }

    .navbar .nav-link.highlight-red:hover {
      background: rgba(255, 43, 43, 0.25);
      border-color: var(--secondary);
    }

    .navbar-brand img {
      height: 50px;
      transition: 0.2s;
    }

    /* custom toggler with font awesome */
    .navbar-toggler {
      border: 1px solid rgba(255, 255, 255, 0.2);
      padding: 8px 12px;
      background: transparent;
    }

    .navbar-toggler .fa-bars,
    .navbar-toggler .fa-times {
      font-size: 1.5rem;
      color: white;
    }

    .navbar-toggler .fa-times {
      display: none;
    }

    .navbar-toggler[aria-expanded="true"] .fa-bars {
      display: none;
    }

    .navbar-toggler[aria-expanded="true"] .fa-times {
      display: inline-block;
    }

    /* hero section with background image and overlay */
    .hero {
      padding: 100px 0 80px;
      position: relative;
      overflow: hidden;
      background-image: url('../img/banner.jpeg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      isolation: isolate;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(2, 10, 24, 0.9) 0%, rgba(10, 25, 45, 0.7) 100%);
      z-index: -1;
    }

    .hero::after {
      content: '';
      position: absolute;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle at 30% 50%, rgba(28, 141, 255, 0.2), transparent 70%);
      top: -100px;
      right: -100px;
      z-index: -1;
    }

    .floating-img {
      animation: float 6s infinite ease-in-out;
      filter: drop-shadow(0 20px 30px #00000060);
      max-width: 100%;
      height: auto;
    }

    @keyframes float {
      0% {
        transform: translateY(0px);
      }

      50% {
        transform: translateY(-18px);
      }

      100% {
        transform: translateY(0px);
      }
    }

    /* section titles */
    .section-title {
      font-weight: 700;
      font-size: 2.3rem;
      background: linear-gradient(135deg, #fff, #b0d0ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 1rem;
      letter-spacing: -0.02em;
    }

    .section-sub {
      color: #9bb0cc;
      font-size: 1.1rem;
    }

    /* cards */
    .step-card,
    .service-card,
    .mission-card {
      background: rgba(16, 24, 40, 0.65);
      backdrop-filter: blur(5px);
      border: 1px solid rgba(255, 255, 255, 0.03);
      border-radius: 32px;
      padding: 32px 20px;
      transition: 0.3s;
      height: 100%;
      box-shadow: 0 25px 40px -20px #000000;
    }

    .step-card:hover,
    .service-card:hover,
    .mission-card:hover {
      border-color: rgba(28, 141, 255, 0.3);
      box-shadow: 0 30px 50px -25px #1c8dff;
    }

    .step-icon {
      font-size: 3.2rem;
      color: var(--primary);
      margin-bottom: 1.5rem;
    }

    .service-icon {
      font-size: 2.5rem;
      background: rgba(28, 141, 255, 0.1);
      width: 80px;
      height: 80px;
      border-radius: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      border: 1px solid rgba(28, 141, 255, 0.3);
      color: var(--primary);
    }

    /* about section enhanced glassmorphism */
    .about-card {
      background: rgba(18, 28, 46, 0.7);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(28, 141, 255, 0.2);
      border-radius: 40px;
      padding: 2rem;
      box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(28, 141, 255, 0.1) inset;
      transition: all 0.3s ease;
    }

    .about-card:hover {
      border-color: rgba(28, 141, 255, 0.5);
      box-shadow: 0 40px 60px -20px #1c8dff40;
    }

    .about-img-fluid {
      border-radius: 30px;
      max-width: 100%;
      height: auto;
      box-shadow: 0 25px 40px -15px #000;
    }

    /* mission/vision cards with images */
    .mission-card {
      padding: 0 0 32px 0;
      overflow: hidden;
      background: rgba(16, 24, 40, 0.7);
    }

    .mission-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-bottom: 2px solid rgba(28, 141, 255, 0.3);
      transition: transform 0.5s ease;
    }

    .mission-card:hover img {
      transform: scale(1.03);
    }

    .mission-card .card-content {
      padding: 1.8rem 1.5rem 2rem;
    }

    .mission-icon {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 1rem;
    }

    /* trading widget wrapper */
    .trading-wrapper {
      background: rgba(8, 14, 26, 0.8);
      border-radius: 48px;
      padding: 30px 20px;
      border: 1px solid rgba(28, 141, 255, 0.2);
      backdrop-filter: blur(4px);
    }

    /* contact */
    .contact-info p {
      font-size: 1.3rem;
      background: rgba(255, 255, 255, 0.02);
      padding: 15px 25px;
      border-radius: 60px;
      border: 1px solid rgba(255, 255, 255, 0.05);
      display: inline-block;
    }

    .contact-info i {
      color: var(--primary);
      width: 40px;
    }

    /* footer */
    .footer {
      background: rgba(2, 6, 16, 0.95);
      border-top: 1px solid rgba(28, 141, 255, 0.2);
      backdrop-filter: blur(6px);
    }

    .footer-logo img {
      height: 50px;
      margin-bottom: 1rem;
    }

    .social-icon {
      background: rgba(255, 255, 255, 0.03);
      width: 42px;
      height: 42px;
      border-radius: 50px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 0 8px;
      color: var(--text-dim);
      border: 1px solid rgba(255, 255, 255, 0.05);
      transition: 0.2s;
    }

    .social-icon:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .copyright {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding: 20px 0;
      color: #7a8aa3;
    }

    /* ========== RESPONSIVE FIXES FOR ALL DEVICES ========== */

    /* Extra small devices (phones, < 576px) */
    @media (max-width: 575.98px) {
      .hero {
        padding: 60px 0 40px;
      }

      .hero h1 {
        font-size: 2.2rem !important;
      }

      .hero .fs-3 {
        font-size: 1.4rem !important;
      }

      .hero .lead {
        font-size: 1rem;
      }

      .btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem;
      }

      .section-title {
        font-size: 1.8rem;
      }

      .section-sub {
        font-size: 1rem;
      }

      .step-card,
      .service-card {
        padding: 24px 12px;
      }

      .step-icon {
        font-size: 2.5rem;
      }

      .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
      }

      .mission-card .card-content {
        padding: 1.2rem 1rem;
      }

      .mission-card h3 {
        font-size: 1.5rem;
      }

      .contact-info p {
        font-size: 1rem;
        padding: 10px 15px;
      }

      .footer-logo img {
        height: 40px;
      }

      .social-icon {
        width: 36px;
        height: 36px;
        margin: 0 4px;
      }

      /* Ensure no horizontal scroll */
      .container {
        padding-left: 15px;
        padding-right: 15px;
      }

      /* Adjust logo size on small devices */
      .navbar-brand img {
        height: 44px;
      }

      /* Improve about image on small screens */
      .about-img-fluid {
        max-height: 280px;
        object-fit: cover;
        width: 100%;
      }

      /* Add margin between Login and Register on mobile */
      .navbar-nav .nav-item.highlight {
        margin-top: 0.75rem;
        /* equivalent to mt-3 */
      }
    }

    /* Small devices (landscape phones, 576px and up) */
    @media (min-width: 576px) and (max-width: 767.98px) {
      .hero h1 {
        font-size: 2.5rem;
      }

      .section-title {
        font-size: 2rem;
      }
    }

    /* Medium devices (tablets, 768px and up) */
    @media (min-width: 768px) and (max-width: 991.98px) {
      .hero h1 {
        font-size: 2.8rem;
      }
    }

    /* Extra small devices under 400px */
    @media (max-width: 400px) {
      .navbar-brand img {
        height: 40px;
      }

      .navbar-toggler {
        padding: 4px 8px;
      }

      .navbar-toggler i {
        font-size: 1.2rem;
      }
    }

    /* Ensure trading widget container doesn't overflow */
    .tradingview-widget-container {
      max-width: 100%;
      overflow: hidden;
    }

    /* Image responsiveness */
    img {
      max-width: 100%;
      height: auto;
    }

    .row {
      margin-left: 0;
      margin-right: 0;
    }

    .container,
    .container-fluid {
      padding-left: 15px;
      padding-right: 15px;
    }

    .navbar {
      position: fixed;
      width: 100%;
      top: 0;
    }
    /* ===== MOBILE NAVBAR FIX ===== */

@media (max-width: 1024px) {

  /* Login button */
  .navbar-nav .nav-item .highlight-red {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Register button gap */
  .navbar-nav .nav-item .highlight {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* icon spacing */
  .navbar-nav .nav-link i {
    margin-right: 6px;
  }

}
/* ===== FOOTER MOBILE CENTER ===== */

@media (max-width: 767.98px) {

  .footer .row {
    text-align: center;
  }

  .footer-logo {
    text-align: center;
  }

  .footer ul {
    padding-left: 0;
  }

  .footer .social-icon {
    margin: 6px;
  }

}
@media (max-width: 320px) {

.contact-img{
max-width: 309px !important;
margin-left: -20px;
}

}
@media (min-width: 768px) and (max-width: 786px) {

  .contact-img{
    max-width: 350px !important;

  }

}
