  /* CSS Variables */
        :root {
            --primary-color: #4285f4;
            --text-light: #ffffff;
            --text-dark: #333333;
            --transition-slow: 1s ease;
            --transition-fast: 0.5s ease;
            --overlay-color: rgba(0, 0, 0, 0.5);
        }

        /* Base Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body, html {
            height: 100%;
            font-family: 'Arial', sans-serif;
            overflow: auto;
        }

        /* Hero Section */
        .hero {
            position: sticky;
            width: 100%;
            height: 35vh;
            overflow: hidden;
            top:0;
            z-index: 10;
        }

        .hero-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity var(--transition-slow);
            z-index: 1;
        }

        .hero-image.active {
            opacity: 1;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--overlay-color);
            z-index: 2;
        }

        .hero-content {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            padding: 0 5%;
            color: var(--text-light);
            z-index: 3;
            overflow: hidden;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            transform: translateX(100vw);
            opacity: 0;
            transition: transform var(--transition-slow), opacity var(--transition-slow);
        }

        .hero-title.active {
            transform: translateX(0);
            opacity: 1;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            transform: translateY(50px);
            opacity: 0;
            transition: transform var(--transition-slow), opacity var(--transition-slow);
            transition-delay: 0.3s;
        }

        .hero-subtitle.active {
            transform: translateY(0);
            opacity: 1;
        }

        .hero-button {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: var(--text-light);
            text-decoration: none;
            font-size: 1.1rem;
            border-radius: 30px;
            transform: scale(0);
            opacity: 0;
            transition: transform var(--transition-fast), opacity var(--transition-fast);
            transition-delay: 0.6s;
        }

        .hero-button.active {
            transform: scale(1);
            opacity: 1;
        }

        .hero-button:hover {
            background-color: #3367d6;
        }

        /* Navigation Dots */
        .hero-nav {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            z-index: 4;
        }

        .hero-dot {
            width: 12px;
            height: 12px;
            margin: 0 8px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            cursor: pointer;
            transition: background-color var(--transition-fast);
        }

        .hero-dot.active {
            background-color: var(--text-light);
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .hero-button {
                padding: 10px 25px;
                font-size: 1rem;
            }
        }
        
        /*this part is for the header of the front page*/
        header{
             display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #1f1f1f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1000;
        }
        
         .search-bar {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 8px 15px;
            color: white;
            }

        .search-bar input {
            background: transparent;
            border: none;
            color: var(--text-primary);
            margin-left: 10px;
            width: 100%;
            outline: none;
        }

        .user-profile {
            width: 36px;
            height: 36px;
            
            
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            
        }
        .user-profile a{
            color: black;
        }

        