    :root {
      --primary-color: #6366f1;
      /* Indigo */
      --secondary-color: #ec4899;
      /* Pink */
      --bg-dark: #0f172a;
      /* Deep Blue/Black */
      --glass-bg: rgba(255, 255, 255, 0.05);
      --glass-border: rgba(255, 255, 255, 0.1);
      --text-main: #ffffff;
      --text-muted: #94a3b8;
      --alert-red: #ef4444;
      --font-main: 'Inter', sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      text-decoration: none;
      list-style: none;
    }

    body {
      font-family: var(--font-main);
      background-color: var(--bg-dark);
      color: var(--text-main);
      overflow-x: hidden;
      background-image:
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.15) 0%, transparent 25%);
    }

    /* --- UTILITY: GLASSMORPHISM --- */
    .glass {
      background: var(--glass-bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--glass-border);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

    /* --- 2. NAVBAR (Symmetry Fixed) --- */
    header {
      position: fixed;
      top: 35px;
      width: 100%;
      z-index: 1000;
      transition: 0.3s;
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 5%;
      height: 60px;
    }

    
/* --- TOP BAR STYLES --- */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px; /* Very small size as requested */
  z-index: 1001; /* Higher than the main header */
  display: flex;
  align-items: center;
  font-size: 12px;
  /* border-bottom: 1px solid var(--glass-border); */
}

.top-bar-content {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left .top-link {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: 0.3s;
}

.top-bar-socials {
  display: flex;
  gap: 15px;
}

.top-bar-socials a {
  color: var(--text-main);
  font-size: 14px;
  opacity: 0.7;
  transition: 0.3s;
}

.top-bar-socials a:hover, .top-link:hover {
  opacity: 1;
  color: var(--primary-color);
  transform: translateY(-1px);
}

 

/* Fix for mobile responsiveness */
@media (max-width: 768px) {
  .top-bar-socials {
    gap: 10px;
  }
  .top-bar-left span {
    display: none; /* Hide 'email' text on tiny screens, keep icon */
  }
}

/* --- NEW PORTAL NOTICE (Scrolling) --- */
.portal-notice {
  background: rgba(99, 102, 241, 0.15); /* Indigo tint to match your primary color */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 5%;
  margin-top: 0; /* Ensures no gap with fixed disclaimer above */
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
}

.notice-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notice-content i {
  color: var(--primary-color);
  margin-top: 4px;
}

.notice-content a {
  color: var(--secondary-color);
  font-weight: 700;
  text-decoration: underline;
}
    /* Logo Left */
    .logo div {
      font-size: 24px;
      background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 800;
    }

    /* Links Center */
    .nav-center {
      display: flex;
      gap: 30px;
    }

    .nav-center a {
      color: var(--text-main);
      font-weight: 500;
      font-size: 15px;
      transition: 0.3s;
      position: relative;
    }
    .logo img {
    height: 40px;
    width: auto;
    display: block;
    /* This makes white/light backgrounds transparent so the glass shows through */
    mix-blend-mode: screen; 
    
    /* Optional: If you want to make the logo look like "Glass" itself */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    opacity: 0.9;
    transition: var(--transition);
}

.logo:hover img {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px var(--primary-color));
}
.glass-logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
/* Container for the globe icon and select box */
.lang-selector {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 5px 12px;
  transition: var(--transition);
}

.lang-selector:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.lang-selector i {
  font-size: 14px;
  color: var(--text-muted);
  margin-right: 8px;
}

.lang-selector select {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  font-family: var(--font-main);
  cursor: pointer;
  outline: none;
  appearance: none; /* Removes default browser arrow */
  -webkit-appearance: none;
}

/* Optional: Add a custom arrow using a background image if you want a dropdown indicator */
.lang-selector {
  position: relative;
}

/* Style the options inside the dropdown */
.lang-selector select option {
  background: #1e293b; /* Matches your dropdown menu color */
  color: white;
}
    .nav-center a:hover {
      transform: translateX(5px);
    }

    /* Dropdown Styling */
    .dropdown-trigger {
      position: relative;
      cursor: pointer;
    }

    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      background: #1e293b;
      min-width: 200px;
      border-radius: 10px;
      border: 1px solid var(--glass-border);
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      padding: 10px 0;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .dropdown-trigger:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      top: 120%;
    }

    .dropdown-menu li a {
      display: block;
      padding: 10px 20px;
      text-transform: capitalize;
      /* Requested: Capitalize first letter */
      white-space: nowrap;
    }

    .dropdown-menu li a:hover {
      background: rgba(255, 255, 255, 0.05);
    }

    /* Icons & Login Right */
    .nav-right {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .search-icon {
      color: var(--text-main);
      cursor: pointer;
      font-size: 18px;
    }

    .login-btn {
  background: var(--primary-color); /* Original Indigo */
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition for all properties */
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2); /* Soft shadow */
}

.login-btn:hover {
  /* Option A: Light Vibrant Purple */
  background: #818cf8; 
  
  /* Adds a "glow" effect on hover */
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.4); 
  
  /* Slight lift effect */
  transform: translateY(-2px); 
}

.login-btn:active {
  /* This happens exactly when you click */
  transform: translateY(0);
  background: #4f46e5; /* Darker purple for the actual click */
}

    .hamburger {
      display: none;
      color: white;
      font-size: 24px;
      background: none;
      border: none;
    }
 

   
/* The Container - Dynamic but not Fixed */
.scrolling-ticker-container {
  width: 100%;
  height: 45px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

/* The Animation Track */
.dynamic-mover {
  display: flex; /* Using flex ensures items stay in a perfect line */
  white-space: nowrap;
  padding-left: 100%; /* Initial starting position */
  animation: tv-scroll-speed 60s linear infinite;
}

.ticker-content {
  display: inline-block;
  padding-right: 150px; /* Space between the red and blue parts */
  font-size: 14px;
}

/* Color differences within the same line */
.disclaimer-style {
  color: #fca5a5; /* Reddish tint */
}

.important-style {
  color: #93c5fd; /* Bluish tint */
}

.important-style a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* TV Ticker Animation */
@keyframes tv-scroll-speed {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Pause on hover */
.scrolling-ticker-container:hover .dynamic-mover {
  animation-play-state: paused;
}

/* ADJUST BODY PADDING */
body {
  padding-top: 95px !important;
}


    /* --- PROFESSIONAL FOOTER STYLING --- */
.site-footer {
  background: #020617; /* Matches your dark theme */
  padding: 80px 8% 30px; /* Increased side margins (8%) */
  margin-top: 80px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-main);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 20px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
}

/* Accent line under headings */
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Link Hover Effect: Changes to Purple/Indigo and moves slightly */
.footer-col ul li a:hover {
  /* color: var(--primary-color); */
  transform: translateX(5px);
}

/* Social Media Icons Styling */
.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: white;
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  /* background: var(--primary-color); */
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.contact-email {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-email i {
  color: var(--primary-color);
  margin-right: 8px;
}

/* Footer Bottom Section */
.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.bottom-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-bottom .disclaimer {
  margin-top: 15px;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 60px 5% 30px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .social-links {
    justify-content: center;
  }
  .footer-col ul li a:hover {
    transform: translateY(-2px);
  }
}
/* --- User Profile Dropdown Styles --- */

.user-profile-wrapper {
    position: relative;
    cursor: pointer;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.user-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.user-name-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* The Dropdown Card */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 240px;
    background: var(--bg-dark); /* Solid fallback */
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px;
    display: none; /* Hidden by default */
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeInDown 0.3s ease;
}

.user-profile-wrapper.active .user-dropdown-menu {
    display: flex;
}

.user-info-header {
    padding: 5px 10px 15px;
    display: flex;
    flex-direction: column;
}

.user-info-header strong {
    font-size: 1rem;
    color: white;
}

.user-info-header span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dropdown-divider {
    border: 0;
    border-top: 1px solid var(--glass-border);
    margin: 10px 0;
}

.dropdown-item, .logout-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.logout-link {
    color: var(--alert-red);
}

.logout-link:hover {
    background: rgba(239, 68, 68, 0.1);
}

.spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 5px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .user-name-text {
        display: none; /* Only show avatar on small mobile headers */
    }
}

      /* --- Default Setup --- */
      .mobilesection,
      .mobile-controls {
        display: none;
      }

      /* --- 1. Desktop Behavior (993px and up) --- */
      @media (min-width: 993px) {
        .desktop-only {
          display: flex;
          align-items: center;
        }

        .nav-center {
          display: flex;
          gap: 30px;
        }
        .hamburger {
          display: none;
        }

        .dropdown-trigger {
          position: relative;
          padding-bottom: 15px;
          margin-bottom: -15px;
        }
        .dropdown-trigger:hover .dropdown-menu {
          display: block;
          opacity: 1;
          visibility: visible;
        }
      }

      /* --- 2. Mobile Behavior (992px and down) --- */
      @media (max-width: 992px) {
        .hamburger {
        display: block;    /* This makes it visible on mobile */
        position: relative;
        z-index: 1100;     /* Keeps it above the nav drawer */
        cursor: pointer;
    }
        .desktop-only {
          display: none !important;
        }
        .mobilesection,
        .mobile-controls {
          display: flex;
        }

        /* The Slide-out Drawer */
        .nav-center {
          display: flex;
          flex-direction: column;
          position: fixed;
          top: 0;
          right: -100%; /* Hidden off-screen */
          width: 280px;
          height: 100vh;
          background: #0f172a;
          padding: 30px 20px;
          transition: 0.4s ease-in-out;
          box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
          overflow-y: auto;
          gap: 10px;
          z-index: 1000;
        }

        .nav-center.active {
          right: 0; /* Slide into view */
        }

        /* Mobile Links Styling */
        .nav-center a {
          padding: 12px 0;
          border-bottom: 1px solid rgba(255, 255, 255, 0.05);
          width: 100%;
        }

        .mobilesection {
          flex-direction: column;
        }
        .mobile-label {
          color: var(--primary-color);
          font-size: 12px;
          font-weight: 700;
          text-transform: uppercase;
          margin: 20px 0 5px 0;
        }

        /* Mobile Login & Language */
        .mobile-controls {
          flex-direction: column;
          gap: 15px;
          margin-top: 30px;
          padding-bottom: 50px;
        }
        .mobile-divider {
          border: 0;
          border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .mobile-lang {
          display: flex;
          align-items: center;
          background: rgba(255, 255, 255, 0.05);
          padding: 10px;
          border-radius: 8px;
        }
        .mobile-lang select {
          background: transparent;
          color: white;
          border: none;
          width: 100%;
          margin-left: 10px;
          outline: none;
        }
        .mobile-login-btn {
          width: 100%;
          padding: 12px;
          background: var(--primary-color);
          border: none;
          border-radius: 8px;
          color: white;
          font-weight: 600;
        }
      }
 