* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }

        body {
            background-color: #000;
            color: #fff;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
          header {
            background: rgba(20,20,20,0.40);
            -webkit-backdrop-filter: blur(10px) saturate(120%);
            backdrop-filter: blur(10px) saturate(120%);
            position: fixed;
            width: 100%;
            z-index: 1000;
            padding: 14px 0;
            border-bottom: 1px solid rgba(255,255,255,0.04);
            box-shadow: 0 6px 30px rgba(0,0,0,0.6);
            transition: background-color 0.25s ease, box-shadow 0.25s ease;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .header-container .logo-img{
            width: 50px;
            margin-right: 20px;
        }
     .logo-container{
            display: flex;
            align-items: center;
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: #fff;
            text-decoration: none;
        }

        .logo span {
            color: #8C2131;
        }

        /* Top-level navigation (keeps nested dropdown ULs unaffected) */
        nav > ul {
            display: flex;
            list-style: none;
            align-items: center;
        }

        nav > ul > li {
            margin-left: 30px;
        }

        nav > ul > li a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.22s ease, transform 0.15s ease;
            font-size: 16px;
        }

        nav ul li a:hover {
            color: #8C2131;
            transform: translateY(-1px);
        }

        /* Dropdown for Programs - smooth glass panel, positioned directly under Programs */
        nav ul li.has-dropdown {
            position: relative;
        }

        /* dropdown ul (vertical) */
        nav ul li .dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
            -webkit-backdrop-filter: blur(8px) saturate(120%);
            backdrop-filter: blur(8px) saturate(120%);
            border: 1px solid rgba(255,255,255,0.04);
            border-radius: 10px;
            min-width: 220px;
            list-style: none;
            padding: 6px 6px;
            box-shadow: 0 12px 30px rgba(0,0,0,0.6);
            z-index: 2000;
            opacity: 0;
            transform: translateY(6px);
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
        }

        /* show on hover / keyboard focus */
        nav ul li.has-dropdown:hover .dropdown,
        nav ul li.has-dropdown:focus-within .dropdown {
            opacity: 1;
            transform: translateY(0);
            visibility: visible;
            pointer-events: auto;
        }

        nav ul li .dropdown li a {
            display: block;
            padding: 10px 14px;
            color: #e9eef5;
            text-decoration: none;
            font-size: 14px;
            border-radius: 6px;
            transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
        }

        nav ul li .dropdown li a:hover {
            background: rgba(140,33,49,0.07);
            color: #fff;
            transform: translateX(4px);
        }

        /* Mobile: make dropdown static inside mobile menu when nav is expanded */
        @media (max-width: 768px) {
            nav ul li .dropdown {
                position: static;
                opacity: 1;
                transform: none;
                visibility: visible;
                pointer-events: auto;
                padding-left: 18px;
            }
            nav ul li .dropdown li a {
                padding: 10px 0 10px 6px;
            }
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
        }


            .btn-login {
                background-color:#8C2131;
                color: #fff;
                padding: 10px 25px;
                border-radius: 25px;
                text-decoration: none;
                font-weight: 600;
                font-size: 14px;
                transition: all 0.3s;
                border: 2px solid #8C2131;
            }

            .btn-login:hover {
                background-color: transparent;
                color: #8C2131;
            }

    

        /* Login Section */
        .login-section {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 120px 0 60px;
            background: #000;
        }

        .login-container {
            width: 100%;
            max-width: 420px;
            margin: 0 auto;
        }

        .login-card {
            background: #111;
            border-radius: 20px;
            padding: 50px 40px;
            border: 1px solid #333;
            box-shadow: 0 20px 40px rgba(140, 33, 49, 0.15);
            text-align: center;
        }

        .login-logo {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: #fff;
        }

        .login-logo span {
            color: #8C2131;
        }

        .login-subtitle {
            color: #ccc;
            margin-bottom: 40px;
            font-size: 1.1rem;
        }

        .form-group {
            margin-bottom: 25px;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #fff;
            font-weight: 500;
            font-size: 14px;
        }

        .form-control {
            width: 100%;
            padding: 15px 20px;
            background: #000;
            border: 1px solid #333;
            border-radius: 12px;
            color: #fff;
            font-size: 16px;
            transition: all 0.3s;
        }

        .form-control:focus {
            outline: none;
            border-color: #8C2131;
            box-shadow: 0 0 0 3px rgba(140, 33, 49, 0.1);
        }

        .form-control::placeholder {
            color: #666;
        }

        .btn-primary {
            width: 100%;
            background: #8C2131;
            color: #fff;
            padding: 16px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 25px;
        }

        .btn-primary:hover {
            background: #a52c3f;
            transform: translateY(-2px);
        }

        .divider {
            display: flex;
            align-items: center;
            margin: 30px 0;
            color: #666;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid #333;
        }

        .divider span {
            padding: 0 15px;
            font-size: 14px;
        }

        .signup-link {
            text-align: center;
            margin-top: 30px;
        }

        .signup-link p {
            color: #ccc;
            margin-bottom: 15px;
        }

        .btn-secondary {
            display: inline-block;
            background: transparent;
            color: #8C2131;
            padding: 14px 30px;
            border: 2px solid #8C2131;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-secondary:hover {
            background: #8C2131;
            color: #fff;
        }

        .forgot-password {
            display: block;
            text-align: center;
            color: #8C2131;
            text-decoration: none;
            font-size: 14px;
            margin-top: 15px;
            transition: color 0.3s;
        }

        .forgot-password:hover {
            color: #a52c3f;
        }

        /* Footer */
        footer {
            background-color: #111;
            padding: 40px 0 20px;
            border-top: 1px solid #333;
            margin-top: auto;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 30px;
        }

        .footer-col h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: #8C2131;
        }

        .footer-col ul {
            list-style: none;
        }

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

        .footer-col ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-col ul li a:hover {
            color: #8C2131;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: #222;
            border-radius: 50%;
            color: #fff;
            transition: all 0.3s;
        }

        .social-links a:hover {
            background-color: #8C2131;
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #333;
            color: #666;
            font-size: 14px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            nav ul {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                /* glassmorphism mobile nav */
                background: rgba(10,10,10,0.55);
                -webkit-backdrop-filter: blur(8px) saturate(120%);
                backdrop-filter: blur(8px) saturate(120%);
                border-top: 1px solid rgba(255,255,255,0.04);
                box-shadow: 0 12px 30px rgba(0,0,0,0.6);
                flex-direction: column;
                padding: 20px 0;
                transform: translateY(-8px);
                opacity: 0;
                transition: transform 0.28s cubic-bezier(.2,.9,.2,1), opacity 0.22s ease;
                overflow: hidden;
                border-bottom-left-radius: 12px;
                border-bottom-right-radius: 12px;
            }

            nav ul.show {
                transform: translateY(0);
                opacity: 1;
            }

            nav ul.show {
                display: flex;
            }

            nav ul li {
                margin: 0;
                text-align: center;
                padding: 12px 0;
            }

            .nav-actions {
                display: none;
            }

            .mobile-login {
                display: block;
                text-align: center;
                margin-top: 15px;
                padding-top: 15px;
                border-top: 1px solid #333;
            }

            .mobile-login .btn-login {
                display: inline-block;
                width: 80%;
                max-width: 200px;
            }

            .login-card {
                margin: 0 20px;
                padding: 40px 30px;
            }

            .login-logo {
                font-size: 2rem;
            }
        }

        /* Animation */
        .login-card {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Hide visual chrome of the rendered GSI button but keep it in DOM so clicks can be forwarded */
#google-signin-button > div { 
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Modern full-width Google button that matches .btn-primary width */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  background: linear-gradient(90deg, #fff 0%, #f7f7f7 100%);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  margin-top: 12px;
}

/* Google brand icon (use Font Awesome) - simple, normal appearance */
.btn-google .google-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 18px;
  color: #4285F4;                /* Google blue */
  background: transparent;       /* no gradient behind icon */
  box-shadow: none;
}

/* Text */
.btn-google .google-text { color: #111; }

/* Hover / active */
.btn-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
  filter: saturate(1.03);
}

/* Match spacing on small screens */
@media (max-width: 520px) {
  .btn-google { padding: 12px 14px; font-size: 15px; border-radius: 10px; }
  .btn-google .google-icon { width: 32px; height: 32px; font-size:16px; }
}

/* Ensure visual parity with main sign-in button spacing */
.login-card .btn-google { display:block; }