 :root {
            --primary-color: #00d1b2;
            --secondary-color: #667eea;
            --accent-color: #764ba2;
            --dark-bg: #0a0a0a;
            --card-bg: #1a1a1a;
            --text-primary: #ffffff;
            --text-secondary: #a8a8a8;
            --gradient-primary: linear-gradient(135deg, #00d1b2 0%, #667eea 50%, #764ba2 100%);
            --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--dark-bg);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Custom Navbar Styling */
        .custom-navbar {
            left:0;
            top:0;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(20px);
            padding: 1rem 0;
            border-bottom: 1px solid rgba(0, 209, 178, 0.2);
            position: fixed;
            width: 100%;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .custom-navbar.scrolled {
            background: rgba(10, 10, 10, 0.98);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .navbar-brand {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-primary) !important;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .navbar-brand:hover {
            transform: scale(1.05);
        }

        .navbar-brand span {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .navbar-nav .nav-link {
            color: var(--text-primary) !important;
            margin: 0 1rem;
            font-weight: 500;
            position: relative;
            transition: all 0.3s ease;
        }

        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link.active::after {
            width: 100%;
        }

        .navbar-nav .nav-link:hover {
            color: var(--primary-color) !important;
            transform: translateY(-2px);
        }

        /* Hero Section */
        .hero {
            position: relative;
            height: 50vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('hero_background.png') center/cover no-repeat;
            overflow: hidden;
            margin-top: 70px;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(10, 10, 10, 0.4);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 800px;
            padding: 0 2rem;
            animation: fadeInUp 1s ease-out;
        }

        .hero-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 1.5rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.3rem);
            color: var(--text-secondary);
            margin-bottom: 2rem;
            font-weight: 400;
        }

        /* About Content Section */
        .about-content {
            padding: 4rem 0;
            background-color: var(--dark-bg);
        }

        .about-section {
            margin-bottom: 3rem;
        }

        .about-section h2 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            margin-bottom: 1.5rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-align: center;
        }

        .about-section p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 1rem;
            text-align: justify;
        }

        .team-member {
            text-align: center;
            margin-bottom: 2rem;
        }

        .team-member img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--primary-color);
            margin-bottom: 1rem;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

        .team-member h4 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .team-member p {
            color: var(--text-secondary);
            font-size: 1rem;
        }

        /* Text-to-Speech Section Styles */
        .tts-section {
            background: var(--card-bg);
            padding: 3rem 0;
            margin: 3rem 0;
            border-radius: 20px;
            border: 1px solid rgba(0, 209, 178, 0.2);
        }

        .tts-section h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 2rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-align: center;
        }

        #text-input {
            width: 100%;
            min-height: 120px;
            background: rgba(0, 0, 0, 0.5);
            border: 2px solid var(--primary-color);
            border-radius: 10px;
            color: var(--text-primary);
            padding: 1rem;
            font-size: 1rem;
            resize: vertical;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }

        #text-input:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 20px rgba(0, 209, 178, 0.3);
        }

        .controls {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .controls button {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .controls button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 209, 178, 0.4);
        }

        .tts-footer {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        #language {
            background: rgba(0, 0, 0, 0.5);
            border: 2px solid var(--primary-color);
            border-radius: 10px;
            color: var(--text-primary);
            padding: 0.8rem 1rem;
            font-size: 1rem;
            cursor: pointer;
        }

        #play-button {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 25px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        #play-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 209, 178, 0.4);
        }

        /* Timer Section Styles */
        .timer-section {
            background: var(--card-bg);
            padding: 3rem 0;
            margin: 3rem 0;
            border-radius: 20px;
            border: 1px solid rgba(0, 209, 178, 0.2);
        }

        .timer-section h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 2rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-align: center;
        }

        .listening-goal-container {
            max-width: 500px;
            margin: 0 auto;
            padding: 2rem;
            text-align: center;
        }

        .listening-goal-label {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            display: block;
            color: var(--primary-color);
            font-weight: 600;
        }

        .listening-goal-input {
            background: rgba(0, 0, 0, 0.5);
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            padding: 1rem;
            width: 100%;
            max-width: 300px;
            margin-bottom: 2rem;
            border-radius: 10px;
            font-size: 1.1rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .listening-goal-input:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 20px rgba(0, 209, 178, 0.3);
        }

        .timer-controls {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .start-btn, .pause-btn, .stop-btn {
            background: var(--gradient-primary);
            color: white;
            padding: 0.8rem 1.5rem;
            font-size: 1rem;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            min-width: 100px;
        }

        .start-btn:hover, .pause-btn:hover, .stop-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 209, 178, 0.4);
        }

        .start-btn:disabled, .pause-btn:disabled, .stop-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .progress-container {
            margin: 2rem 0;
            background-color: rgba(66, 67, 66, 0.5);
            border-radius: 15px;
            height: 25px;
            width: 100%;
            overflow: hidden;
            border: 1px solid rgba(0, 209, 178, 0.3);
        }

        .progress-bar {
            background: var(--gradient-primary);
            height: 100%;
            width: 0;
            transition: width 1s ease;
            border-radius: 15px;
        }

        .timer-display {
            margin-top: 1rem;
            font-size: 1.4rem;
            color: var(--primary-color);
            font-weight: 600;
            font-family: 'Space Grotesk', sans-serif;
        }

        /* Footer */
        footer {
            background: #000000;
            padding: 3rem 0 1rem;
            border-top: 1px solid rgba(0, 209, 178, 0.2);
        }

        .footer-section {
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .footer-section p,
        .footer-section a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: var(--primary-color);
        }

        .footer-section ul {
            list-style: none;
            padding: 0;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 2rem;
            color: var(--text-secondary);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Loader styles */
        .loader-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: var(--dark-bg);
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loader {
            width: 60px;
            height: 60px;
            border: 3px solid rgba(0, 209, 178, 0.3);
            border-top: 3px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .navbar-nav .nav-link {
                margin: 0.5rem 0;
                text-align: center;
            }
            
            .controls {
                flex-direction: column;
                align-items: center;
            }
            
            .controls button {
                width: 100%;
                max-width: 250px;
            }
            
            .tts-footer {
                flex-direction: column;
            }
            
            .timer-controls {
                flex-direction: column;
                align-items: center;
            }
            
            .timer-controls button {
                width: 100%;
                max-width: 200px;
            }
        }