body {
            font-family: 'Poppins', sans-serif;
            background: #fafafa;
            margin: 0;
            padding-top: 80px; /* for fixed header */
            display: flex;
            flex-direction: column;
            min-height: 100vh; /* Ensures the body takes full height */
            overflow-x: hidden; /* Prevent horizontal scroll due to animations */
        }
        /* Short Hamburger Button */
        #hamburger {
            width: 45px; /* Same width as register */
            padding: 6px; /* Same padding as register */
            flex-direction: column;
            justify-content: space-around;
        }
      .white-icon {
      color: white;
      font-size: 48px;
    }
        #hamburger span {
            width: 100%;
            height: 2px; /* Slightly thinner lines - adjusted to match register which was 2px */
            background-color: white; /* Changed to white */
            transition: all 0.3s ease;
            border-radius: 2px; /* Added border-radius to match register */
        }
        .line {
            transition: all 0.3s ease-in-out;
        }
        .open .line-1 {
            transform: rotate(45deg) translateY(0.4rem); /* Adjusted translation to match register */
        }
        .open .line-2 {
            opacity: 0;
        }
        .open .line-3 {
            transform: rotate(-45deg) translateY(-0.4rem); /* Adjusted translation to match register */
        }
        footer {
            margin-top: auto; /* Pushes footer to the bottom */
        }
        .text-gradient {
            background-image: linear-gradient(to right, #1a56db, #3498db);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Loading Overlay Styles */
        #loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #1a56db; /* Blue background */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            opacity: 1;
            visibility: visible;
            transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
        }

        #loading-overlay.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none; /* Make it non-interactive */
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .loader-logo {
            animation: spin 1.2s linear infinite;
        }

        /* Typing Effect for Text */
        .typing-text {
            overflow: hidden; /* Ensures the text is not visible until animated */
            white-space: nowrap; /* Keeps the text on a single line */
            border-right: .15em solid white; /* The "caret" */
            animation: typing 1s steps(18, end) forwards, blink-caret .75s step-end infinite;
        }

        @keyframes typing {
            from { width: 0 }
            to { width: 100% }
        }

        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: white }
        }

        /* General Scroll Animation Classes */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.7s ease-out;
        }

        .animate-on-scroll.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Specific Animation Overrides/Adjustments */
        .animate-fade-in-down {
            transform: translateY(-20px); /* Start slightly above */
        }
        .animate-fade-in-down.is-visible {
            transform: translateY(0);
        }

        .animate-slide-in {
            transform: translateX(-50px); /* Start from left */
        }
        .animate-slide-in.is-visible {
            transform: translateX(0);
        }

        .animate-bounce-in {
            transform: scale(0.8);
            opacity: 0;
        }
        .animate-bounce-in.is-visible {
            transform: scale(1);
            opacity: 1;
            animation: bounce-in-keyframe 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
        }

        @keyframes bounce-in-keyframe {
            0% { opacity: 0; transform: scale(0.8); }
            60% { opacity: 1; transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        /* Ensures sections are pushed down by fixed header without affecting layout */
        main {
            flex-grow: 1;
        }

        /* Modal Styles */
        .modal {
            transition: opacity 0.3s ease-in-out;
        }
        .modal.hidden {
            opacity: 0;
            pointer-events: none;
        }
        .modal.block {
            opacity: 1;
        }
        .modal-content {
            transform: scale(0.95);
            transition: transform 0.3s ease-in-out;
        }
        .modal.block .modal-content {
            transform: scale(1);
        }

        /* Success Message Specific Styles (for the payment modal) */
        #paymentModal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
        }
        #paymentModal.show {
            opacity: 1;
            visibility: visible;
        }
        .payment-modal-content {
            background-color: #fff;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transform: translateY(-20px);
            opacity: 0;
            transition: transform 0.3s ease-out, opacity 0.3s ease-out;
            position: relative; /* For close button positioning */
        }
        #paymentModal.show .payment-modal-content {
            transform: translateY(0);
            opacity: 1;
        }
        .payment-modal-content .close-button {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 1.5rem;
            cursor: pointer;
            color: #aaa;
            background: none;
            border: none;
            padding: 5px;
        }
        .payment-modal-content .close-button:hover {
            color: #333;
        }

        /* Language switcher basic styles */
        .language-switcher {
            position: relative;
            display: inline-block;
            margin-left: 15px; /* Adjust as needed */
        }

        .language-switcher .dropdown-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
            display: flex;
            align-items: center;
        }

        .language-switcher .dropdown-btn img {
            width: 30px;
            height: 20px;
            border: 1px solid #ccc; /* Add a slight border to flags */
            box-shadow: 0 0 5px rgba(0,0,0,0.1);
        }

        .language-switcher .dropdown-content {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 100px; /* Adjust width */
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 5px;
            overflow: hidden;
            right: 0; /* Align dropdown to the right of the button */
        }

        .language-switcher .dropdown-content a {
            color: black;
            padding: 8px 12px;
            text-decoration: none;
            display: flex;
            align-items: center;
            white-space: nowrap; /* Prevent wrapping */
        }

        .language-switcher .dropdown-content a img {
            width: 25px;
            height: 17px;
            margin-right: 8px;
            border: 1px solid #eee;
        }

        .language-switcher .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

        .language-switcher.active .dropdown-content {
            display: block;
        }

        /* For desktop navigation, to align language switcher and buttons */
        .header-nav-controls {
            display: flex;
            align-items: center;
            gap: 10px; /* Space between language switcher and nav buttons */
        }
        /* Ensure mobile menu doesn't include language switcher as a direct link */
        #mobileMenu nav a {
            padding: 10px 15px; /* Adjust padding for mobile links */
        }

        /* Custom styles for menu bar */
        header {
            background-color: #1a56db; /* A slightly darker blue for the header */
        }

        header .flex-grow { /* To push register/login to the right */
            flex-grow: 1;
        }

        header nav a {
            position: relative;
            padding: 8px 15px;
            border-radius: 5px;
            transition: all 0.3s ease;
            color: white;
            font-weight: 500;
        }

        header nav a:hover {
            background-color: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        header nav a.active-link { /* Optional: for current page highlight */
            background-color: rgba(255, 255, 255, 0.2);
            font-weight: 600;
        }

        header nav a.register-btn {
            background-color: #10B981; /* Green color */
            color: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        header nav a.register-btn:hover {
            background-color: #0c9c6f;
            transform: translateY(-2px);
        }

        header nav a.login-btn {
            background-color: #3B82F6; /* Blue for login */
            color: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        header nav a.login-btn:hover {
            background-color: #2563EB;
            transform: translateY(-2px);
        }

        /* Adjust icon spacing in nav links */
        header nav a i {
            margin-right: 8px;
        }

        /* Mobile Menu specific styling */
        #mobileMenu {
            background-color: #1a56db;
            padding-bottom: 1rem;
        }
        #mobileMenu nav a {
            color: white;
            background-color: rgba(255, 255, 255, 0.05);
            margin-bottom: 0.5rem;
        }
        #mobileMenu nav a:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }
