        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Kanit', sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        ul {
            list-style: none;
        }
        
        /* Loader Styles */
        .loader-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }
        
        .loader {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid #f16322;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Header Styles */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .logo-container img {
            height: 50px;
        }
        
        .nav-desktop {
            display: flex;
            align-items: center;
        }
        
        .nav-desktop > ul {
            display: flex;
            gap: 20px;
        }
        
        .nav-desktop li {
            position: relative;
            padding: 10px 0;
        }
        
        .nav-desktop > ul > li > a {
            font-weight: 500;
            color: #333;
            padding: 10px 15px;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .nav-desktop > ul > li > a:hover {
            background-color: #f16322;
            color: white;
        }
        
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            padding: 10px 0;
            min-width: 200px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 10;
        }
        
        .nav-desktop li:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .dropdown-menu li a {
            display: block;
            padding: 10px 20px;
            transition: all 0.3s ease;
        }
        
        .dropdown-menu li a:hover {
            background-color: #f16322;
            color: white;
        }
        
        .login-btn {
            background-color: #f16322;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            margin-left: 20px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .login-btn:hover {
            background-color: #d35400;
        }
        
        .mobile-menu-btn {
            display: none;
            font-size: 24px;
            cursor: pointer;
        }
        
        /* Mobile Menu Styles */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: -100%;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background-color: white;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: left 0.3s ease;
            overflow-y: auto;
        }
        
        .mobile-menu.active {
            left: 0;
        }
        
        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .mobile-menu-close {
            font-size: 24px;
            cursor: pointer;
        }
        
        .mobile-nav li {
            border-bottom: 1px solid #eee;
        }
        
        .mobile-nav li a {
            display: block;
            padding: 15px;
        }
        
        .mobile-dropdown {
            padding-left: 20px;
            display: none;
        }
        
        .mobile-dropdown.active {
            display: block;
        }
        
        .mobile-dropdown-btn {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 15px;
            background: none;
            border: none;
            text-align: left;
            font-size: inherit;
            color: inherit;
            cursor: pointer;
        }
        
        .mobile-dropdown-btn::after {
            content: '+';
            font-size: 18px;
        }
        
        .mobile-dropdown-btn.active::after {
            content: '-';
        }
        
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* Banner Styles */
        .banner {
            width: 100%;
            height: 400px;
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/img/bg.png');
            background-size: cover;
            background-position: center;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .banner-content h1 {
            font-size: 3rem;
            margin-bottom: 20px;
        }
        
        .banner-content p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
        }
        
        /* Main Content Styles */
        .main-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 5% 40px;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
            color: #f16322;
        }
        
        .card-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-10px);
        }
        
        .card-img {
            height: 200px;
            background-color: #ddd;
            background-size: cover;
            background-position: center;
        }
        
        .card-content {
            padding: 20px;
        }
        
        .card-content h3 {
            margin-bottom: 10px;
            color: #f16322;
        }
        
        /* Footer Styles */
        footer {
            background-color: #222;
            color: #fff;
            padding: 50px 0 0;
        }
        
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 5%;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .footer-logo img {
            height: 60px;
            margin-bottom: 20px;
        }
        
        .footer-logo p {
            opacity: 0.8;
            line-height: 1.8;
        }
        
        .footer-menu h3 {
            color: #f16322;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        
        .footer-menu ul li {
            margin-bottom: 10px;
        }
        
        .footer-menu ul li a {
            opacity: 0.8;
            transition: all 0.3s ease;
        }
        
        .footer-menu ul li a:hover {
            opacity: 1;
            color: #f16322;
        }
        
        .copyright {
            text-align: center;
            padding: 20px;
            background-color: #111;
            margin-top: 50px;
            opacity: 0.8;
        }
        
        /* Responsive Styles */
        @media (max-width: 992px) {
            .nav-desktop {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .banner-content h1 {
                font-size: 2.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .banner {
                height: 300px;
            }
            
            .banner-content h1 {
                font-size: 2rem;
            }
            
            .banner-content p {
                font-size: 1rem;
            }
        }

        /* Login Modal Styles */
        .auth-modal {
            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: 1001;
/*             opacity: 0;
            visibility: hidden; */
            transition: all 0.3s ease;
        }
        
        .auth-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .auth-container {
            background-color: white;
            border-radius: 10px;
            width: 100%;
            max-width: 400px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            transform: translateY(20px);
            transition: all 0.3s ease;
        }
        
        .auth-modal.active .auth-container {
            transform: translateY(0);
        }
        
        .auth-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .auth-header h2 {
            color: #f16322;
            margin-bottom: 10px;
        }
        
        .auth-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #777;
        }
        
        .auth-close:hover {
            color: #333;
        }
        
        .auth-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .auth-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 12px;
            border-radius: 5px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .google-btn {
            background-color: #fff;
            color: #333;
            border: 1px solid #ddd;
        }
        
        .google-btn:hover {
            background-color: #f5f5f5;
            border-color: #ccc;
        }
        
        .auth-divider {
            display: flex;
            align-items: center;
            margin: 20px 0;
            color: #777;
        }
        
        .auth-divider::before,
        .auth-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background-color: #ddd;
        }
        
        .auth-divider span {
            padding: 0 15px;
        }
        
        .auth-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        
        .form-group label {
            font-weight: 500;
        }
        
        .form-group input {
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }
        
        .form-group input:focus {
            outline: none;
            border-color: #f16322;
        }
        
        .auth-submit {
            background-color: #f16322;
            color: white;
            padding: 12px;
            border-radius: 5px;
            font-weight: 500;
            font-size: 16px;
            margin-top: 10px;
            transition: all 0.3s ease;
        }
        
        .auth-submit:hover {
            background-color: #d35400;
        }
        
        .auth-footer {
            text-align: center;
            margin-top: 20px;
            color: #777;
        }
        
        .auth-footer a {
            color: #f16322;
            font-weight: 500;
        }
        
        .auth-footer a:hover {
            text-decoration: underline;
        }
        
        /* User Profile Styles */
        .user-profile {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: 20px;
        }
        
        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .user-name {
            font-weight: 500;
        }
        
        .logout-btn {
            color: #f16322;
            font-weight: 500;
            margin-left: 20px;
            padding: 10px 15px;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .logout-btn:hover {
            background-color: #f16322;
            color: white;
        }
