  @import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Kanit', sans-serif;
            /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
            overflow-x: hidden;
        }

        .top-banner {
            background: linear-gradient(90deg, #100cd6, #12b2f1);
            color: white;
            padding: 10px;
            text-align: center;
            font-size: 14px;
        }

        /* Mobile hamburger menu */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 30px;
            height: 30px;
        }

        .hamburger-line {
            width: 25px;
            height: 3px;
            background: #333;
            margin: 2px 0;
            transition: 0.3s;
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: white;
            z-index: 9999;
            padding: 20px;
            overflow-y: auto;
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 30px;
            cursor: pointer;
        }

        .mobile-nav-menu {
            list-style: none;
            padding: 60px 0;
        }

        .mobile-nav-menu>li {
            padding: 0;
            border-bottom: 1px solid #eee;
        }

        .mobile-nav-menu a {
            text-decoration: none;
            color: #333;
            font-size: 18px;
            font-weight: 500;
            display: block;
            padding: 15px 0;
        }

        /* Mobile Dropdown */
        .mobile-dropdown {
            position: relative;
        }

        .mobile-dropdown>a {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mobile-dropdown-arrow {
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .mobile-dropdown.active .mobile-dropdown-arrow {
            transform: rotate(180deg);
        }

        .mobile-dropdown-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            background: #f8f9fa;
            margin: 0;
            padding: 0;
        }

        .mobile-dropdown.active .mobile-dropdown-content {
            max-height: 1500px;
        }

        .mobile-dropdown-content li {
            padding: 0;
            border-bottom: 1px solid #e0e0e0;
        }

        .mobile-dropdown-content li:last-child {
            border-bottom: none;
        }

        .mobile-dropdown-content a {
            padding: 12px 20px;
            font-size: 15px;
            color: #555;
            font-weight: 400;
            line-height: 1.5;
        }

        .mobile-dropdown-content p {
            color: #1506e7;
            font-weight: bold;
            padding: 10px 20px 8px 20px;
            margin: 8px 0 0 0;
            font-size: 15px;
            background: #e8eaf6;
        }

        .mobile-dropdown-content p:first-child {
            margin-top: 0;
        }

        .navbar {
            background: white;
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            max-width: 1200px !important;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0px 20px;
			border:0px solid red;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 20px;
            font-weight: bold;
            color: #333;
        }

        .logo img {
            width: 150px;
            height: auto;
            margin-right: 10px;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 30px;
            align-items: center;
        }

        .nav-menu a {
            text-decoration: none;
            color: #666;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-menu a:hover {
            color: #2936f0;
        }

        .nav-actions {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .dropdown {
            position: relative;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            background: white;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            min-width: 500px;
            max-width: 800px;
            border-radius: 8px;
            padding: 10px;
            z-index: 200;
            max-height: 500px;
            overflow-y: auto;

        }

        .dropdown-content li {
            display: block;
            padding: 10px 20px;
            white-space: nowrap;
            font-size: 16px;
            line-height: 1.6;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        .dropdown-content p {
            color: #1506e7;
            font-weight: bold;
            padding: 10px 20px;
            margin: 0;
        }

        .dropdown-content li:hover {
            background-color: #f5f5f5;
            border-radius: 4px;
        }

        .dropdown-content a {
            text-decoration: none;
            color: #333;
            display: block;
            transition: color 0.2s;
        }

        .dropdown-content a:hover {
            color: #1506e7;
        }

        .flag-icon {
            width: 30px;
            height: 30px;
            border: 1px solid #ececec;
            border-radius: 50%;
            background-size: cover;
            background-position: center;
        }

        .cta-button {
            background: #1506e7;
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: bold;
            transition: transform 0.3s, box-shadow 0.3s;
            white-space: nowrap;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            background-color: #fac004;
        }

        .language-selector {
            display: flex;
            gap: 20px;
            margin-right: 20px;
        }
















        .hero {
            width: 100%;
            min-height: 500px;
            display: flex;
            align-items: center;
            position: relative;
            padding: 80px 0;
            overflow: hidden; 
			border:0px solid red;
            /*background: url('./pics/bg03.png');*/
			

			/*background-image: url('./pics/Bg-CR6.png');*/
            background-size: cover;

        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0; 
            z-index: 1;
        }

        .hero .container {
            position: relative;
            z-index: 2;
        }

        .hero-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 60px;
            margin-left: 0; /* Reset and let container handle padding */
        }

        .hero-text {
            flex: 1;
            min-width: 400px;
            z-index: 2;
        }

        .hero-text h1 {
            font-size: 64px;
            font-weight: 900;
            line-height: 1;
            margin-bottom: 20px;
            color: #100cd6;
            background: linear-gradient(135deg, #100cd6 0%, #3e82ff 50%, #12b2f1 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -1px;
        }

        .hero-text p {
            font-size: 26px;
            color: #475569;
            font-weight: 500;
            position: relative;
            display: inline-block;
        }

        .hero-text p::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 80px;
            height: 4px;
            background: #fac004;
            border-radius: 2px;
        }

        .hero-logos {
            flex: 1.5;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            justify-items: end;
        }

        .hero-image {
            width: 100%;
            max-width: 220px;
            aspect-ratio: 1 / 1.1;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 24px 15px;
            border-radius: 24px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.8);
            text-align: center;
            gap: 12px;
        }

        .hero-image:hover {
            transform: translateY(-12px) scale(1.02);
            background: #ffffff;
            box-shadow: 0 25px 50px -12px rgba(16, 12, 214, 0.15);
            border-color: #3e82ff;
        }

        .hero-image img {
            width: 100px;
            height: 100px;
            object-fit: contain;
            filter: drop-shadow(0 8px 12px rgba(0,0,0,0.08));
            transition: transform 0.5s ease;
        }

        .hero-image:hover img {
            transform: scale(1.1);
        }

        .hero-image p {
            font-size: 14px;
            font-weight: 700;
            color: #1e293b;
            margin: 0;
            line-height: 1.3;
            font-family: 'Kanit', sans-serif;
            opacity: 0.9;
        }

        @media (max-width: 992px) {
            .hero-content {
                flex-direction: column;
                text-align: center;
                gap: 40px;
            }
            .hero-logos {
                grid-template-columns: repeat(2, 1fr);
                justify-items: center;
                width: 100%;
            }
            .hero-text h1 {
                font-size: 48px;
            }
            .hero-text {
                min-width: unset;
                width: 100%;
            }
        }

        @media (max-width: 576px) {
            .hero-logos {
                grid-template-columns: 1fr;
            }
            .hero-text h1 {
                font-size: 36px;
            }
        }


















        .search-box2 {
            display: flex;
            background: white;
            border-radius: 50px;
            padding: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin: 0 auto 20px;
			margin-left: 0px;
            max-width: 700px;
            align-items: left;
        }

        .search-box2 input {
            flex: 1;
            border: none;
            padding: 15px 20px;
            font-size: 16px;
            background: transparent;
            outline: none;
        }

        .search-button2 {
            background: #2936f0;
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .search-button2:hover {
            transform: scale(1.05);
            background-color: #fac822;
        }

          .seach-btn-layout{
            /*margin-left: 80px;*/
            margin-top: 20px;
        }

      .btn-primary2 {
            background: #322ff8;
            color: #ffffff;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .btn-primary2:hover {
            transform: translateY(-3px);
            background: #ebca25;
        }

        /* Banner */
        .main-banner {
            position: relative;
            width: 100%;
            max-width: 2500px;
            margin: 10px auto;
            overflow: hidden;
            min-height: 400px;
			/*border: 1px solid red;*/
       }

        .banner-slideshow {
            /*position: relative;*/
			margin-top: 10px;
            width: 90%;
            min-height: 400px;
			/*border: 1px solid blue;*/
        }

        .banner-slide {
            position: absolute;
            top: 10px;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.7s;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
        }

        .banner-slide.active {
            opacity: 1;
            z-index: 1;
        }

        .banner-arrows {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            z-index: 2;
            pointer-events: none;
        }

        .banner-arrow {
            background: linear-gradient(135deg, #f1dc64 40%, #f1df52 100%);
            border: 3px solid #fff;
            font-size: 1.2rem;
            color: #fff;
            cursor: pointer;
            pointer-events: auto;
            padding: 0.2rem 0.6rem;
            border-radius: 50%;
            margin: 0 0.3rem;
            box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
            transition: transform 0.2s;
            outline: none;
        }

        .banner-arrow:hover {
            transform: scale(1.15);
        }

        .banner-nav {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2;
        }

        .banner-dot {
            display: inline-block;
            width: 12px;
            height: 12px;
            background: #ccc;
            border-radius: 50%;
            margin: 0 6px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .banner-dot.active {
            background: #321be4;
        }

        /* Services */
        .container,
        .container2 {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-header {
            text-align: center;
            margin: 2rem 0;
        }

        .section-title {
            font-size: 2rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: #64748b;
            max-width: 700px;
            margin: 0 auto 1rem;
        }

        .services {
            padding: 4rem 0;
            background: #ffffff;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .service-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
        }

        .service-card img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Slider */
        .slider-container {
            position: relative;
            width: 100%;
            max-width: 1300px;
            padding: 2rem 0;
            margin: 0 auto;
        }

        .slider-btn {
            position: absolute;
            top: 60%;
            transform: translateY(-50%);
            background: #fff;
            border: none;
            border-radius: 50%;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 2;
        }

        .slider-btn.left {
            left: 10px;
        }

        .slider-btn.right {
            right: 10px;
        }

        .slider {
            overflow: hidden;
            width: 100%;
            padding: 1rem 0;
        }

        #sliderTrack {
            display: flex;
            transition: transform 0.6s ease;
            gap: 20px;
        }

        .slider-img {
            min-width: 250px;
            height: 350px;
            object-fit: cover;
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .slider-img:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
			/*box-shadow: 0 0 12px 4px #0d6efd;*/
			box-shadow: 0 0 12px 4px #fff;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        /* Training Plan */
        .trainingplant {
            padding: 60px 20px;
            background: #ffffff;
        }

        .training-grid2 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 24px;
            justify-content: center;
        }

        .training-card {
            padding: 20px 20px;
            align-items: center;
            text-align: center;
            box-shadow: 0 0px 0px 0px rgba(37, 100, 235, 0.932);
            transition: all 0.3s ease;
        }

        .training-card:hover {
            transform: translateY(-8px);
        }

        .training-card img {
            width: 150px;
            height: 150px;
            object-fit: contain;
        }

        .banner-year {
            flex: 1;
            background-size: cover;
            background-position: center;
            color: white;
            padding: 60px 20px;
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            margin-bottom: 20px;
        }

        .banner-year:hover {
            transform: translateY(-5px);
        }

        /* Events */
        .events {
            padding: 60px 20px;
            background: linear-gradient(135deg, #ecf2fd 0%, #cfe0ff 100%);
        }

        .events button {
            background: rgba(39, 122, 240, 0.15);
            color: #2d7be5;
            border: none;
            padding: 12px 24px;
            border-radius: 120px;
            margin: 8px;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.2s;
            font-family: 'Kanit', sans-serif;
        }

        .events button.active {
            background: #2d7be5;
            color: #fff;
        }

        .event-card {
            background: #fff;
            border-radius: 18px;
            box-shadow: 0 2px 16px rgba(45, 123, 229, 0.08);
            padding: 24px;
            display: flex;
             grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            margin-bottom: 24px;
        }

        .event-image {
            width: 100%;
            max-width: 200px;
            height: auto;
            border-radius: 12px;
            object-fit: cover;    
        }

        .event-details h3 {
            font-size: 1.4rem;
            color: #2d7be5;
            margin-bottom: 10px;
            margin-left: 20px;
        }

        .event-details p {
            color: #555;
            font-size: 1.05rem;
            margin-left: 20px;
        }




.tabs {
  display: flex;
  border-bottom: 0px solid #ddd;
}

.tab-btn {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background: #f1f1f1;
  margin-right: 2px;
  font-weight: bold;
}

.tab-btn.active {
  background: #007bff;
  color: #fff;
}

.tab-content {
  display: none;
  padding: 15px;
  border: 0px solid #ddd;
  border-top: none;
}

.tab-content.active {
  display: block;
}








        /* Articles */
        .articles {
            padding: 60px 20px;
            background-color: #ffffff;
        }

        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .article-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: transform 0.3s;
        }

        .article-card:hover {
            transform: translateY(-8px);
        }

        .article-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .article-card h3 {
            font-size: 1.1rem;
            color: #333;
            margin: 15px;
        }

        .article-card p {
            color: #666;
            font-size: 16px;
            margin: 0 15px 15px;
        }

        .btn-foward {
            color: #3b82f6;
            font-weight: bold;
            text-decoration: none;
            margin: 0 15px 15px;
            display: inline-block;
        }

        .btn-foward:hover {
            color: #f2bf18;
        }

        /* Status */
        .status {
            /*background: #f7f6e6;*/
            padding: 40px 20px;
        }

        .status-bar {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            padding: 24px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .counter-item {
            background: linear-gradient(135deg, #a6e2f1 0%, #50e5f0 100%);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .counter-item:hover {
            transform: translateY(-5px);
        }

        .counter-number {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .counter-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* Reviews */
        .reviews {
            padding: 60px 20px;
            background-image: url('./pics/Bg-CR6.png');
            background-size: cover;
            text-align: center;
        }

        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 40px;
        }

        .review-card {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 20px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }

        .review-card:hover {
            transform: translateY(-10px);
        }

        .review-avatar {
            width: 100px;
            height: 100px;
            background: #ddd;
            border-radius: 50%;
            margin: 0 auto 15px;
            overflow: hidden;
        }

        .review-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Contact */
        /* Contact 004e92 */
        .contact {
            padding: 60px 20px;
			background: rgba(0, 78, 146, 1);
			background-image: url("./pics/Bg-concact11.png");
			background-repeat: no-repeat;
			background-size: cover;
			color: white;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
        }

        .contact-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 1.5rem;
        }

        .contact-item iframe {
            width: 100%;
            height: 250px;
            border-radius: 10px;
        }

        .contact-item2 {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1rem;

        }

        .contact-item2 img {
            width: 35px;
            height: 35px;
        }

        .contact-form {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 20px;
            backdrop-filter: blur(10px);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            background: rgba(250, 240, 240, 0.1);
            color: rgb(0, 0, 0);
            font-size: 1rem;
        }

        .submit-btn {
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            color: #1e293b;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            width: 100%;
        }

        /* Footer */
        .footer {
            background: #0f172a;
            padding: 3rem 0 1rem;
            color: white;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h4 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: #fbbf24;
        }

        .footer-section p,
        .footer-section a {
            color: #94a3b8;
            text-decoration: none;
            line-height: 1.8;
        }

        .footer-section a:hover {
            color: #3b82f6;
        }

        .footer-bottom {
            border-top: 1px solid #334155;
            padding-top: 2rem;
            text-align: center;
            color: #64748b;
        }

        .btn-primary {
            background: white;
            color: #322ff8;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary:hover {
            background-color: #ffe920;
            color: white;
        }

        .register-section {
            padding: 80px 20px;
            background-size: cover;
            background-position: center;
            border-radius: 16px;
            text-align: center;
            margin: 20px;
        }

       /* Partners carousel */
        .partners-carousel {
            display: flex;
            overflow: hidden;
            justify-content: center;
            align-items: center;
            gap: 30px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .partner-logo {
            min-width: 120px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .partner-logo img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        /* ส่วนของ Search */
        .search-container {
        display: flex;
        align-items: center;
        position: relative;
        background: #444444;
        border-radius: 25px;
        padding: 5px;
        transition: all 0.4s ease;
        width: 40px; /* เริ่มต้นให้เห็นแค่ปุ่มวงกลม */
        overflow: hidden;
        }
        .search-container2 {
        display: flex;
        align-items: center;
        position: relative;
        background: #444;
        border-radius: 25px;
        padding: 5px;
        transition: all 0.4s ease;
        width: 40px; /* เริ่มต้นให้เห็นแค่ปุ่มวงกลม */
        overflow: hidden;
        }

        /* เมื่อ class 'active' ถูกเพิ่ม (โดย JS) ให้ขยายความกว้าง */
        .search-container.active {
        width: 250px;
        background: rgb(255, 255, 255);
        }
        .search-container2.active {
        width: 250px;
        background: rgb(255, 255, 255);
        }

        .search-input {
        border: none;
        background: transparent;
        outline: none;
        padding: 0;
        width: 0;
        transition: all 0.4s ease;
        }
        .search-input2 {
        border: none;
        background: transparent;
        outline: none;
        padding: 0;
        width: 0;
        transition: all 0.4s ease;
        }

        .search-container.active .search-input {
        width: 100%;
        padding: 0 10px;
        color: #333;
        }
        .search-container2.active .search-input2 {
        width: 100%;
        padding: 0 10px;
        color: #333;
        }

        .search-btn {
        background: none;
        border: none;
        color: rgb(255, 255, 255);
        cursor: pointer;
        font-size: 1.2rem;
        min-width: 30px;
        transition: color 0.3s;
        }
        .search-btn2 {
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        font-size: 1.2rem;
        min-width: 30px;
        transition: color 0.3s;
        }

        .search-container.active .search-btn {
        color: #333;
        }
        .search-container2.active .search-btn2 {
        color: #333;
        }

       

        

        
/* mobile landscape */
@media (max-width: 768px) and (orientation: landscape) {
            .hero-content h1 {
                font-size: 30px !important;
                margin-bottom: 15px;
            }
			.hero-content { margin-left: 0px; align-items: left;}

}
        

        
/* mobile landscape */
@media (max-width: 900px) and (orientation: landscape) {
            .hero-content h1 {
                font-size: 30px !important;
                margin-bottom: 15px;
            }
			.hero-content { margin-left: 0px; align-items: left;}

}
        

        

        

        /* MOBILE RESPONSIVE */
        @media (max-width: 768px) {

			.banner-nav {
				display: none;
			}

            .top-banner {
                font-size: 12px;
                padding: 8px 5px;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .nav-menu {
                display: none;
            }

            .logo img {
                width: 120px;
            }

            .nav-actions a:not(.cta-button):not(:has(.flag-icon)):not(.search-container) {
                display: none;
            }

            .cta-button {
                padding: 8px 16px;
                font-size: 14px;
            }

            .flag-icon {
                width: 25px;
                height: 25px;
            }

            .hero {
                padding: 40px 15px;
                min-height: 50vh;
            }

            .hero-content h1 {
                font-size: 30px;
                margin-bottom: 15px;
				/*text-align: center;*/
            }

            .hero-content p {
                font-size: 16px;
                margin-bottom: 20px;
				/*text-align: center;*/
            }

            .search-box2 {
                flex-direction: column;
                gap: 10px;
                padding: 15px;
                border-radius: 20px;
            }

            .search-box2 input {
                padding: 12px 15px;
                font-size: 14px;
            }

            .search-button2 {
                padding: 12px 25px;
                font-size: 14px;
            }

			.seach-btn-layout{
				text-align: center;
			}

            .btn-primary2 {
                font-size: 0.9rem;
                padding: 0.8rem 1.5rem;
            }

            .banner-slideshow {
                min-height: 110px;
            }

            .main-banner {
                min-height: 110px;
            }

            .banner-arrow {
                padding: 0.15rem 0.5rem;
                font-size: 1rem;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .section-subtitle {
                font-size: 0.95rem;
            }

            .services-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .slider-btn {
                width: 35px;
                height: 35px;
                font-size: 1.2rem;
            }

            .slider-btn.left {
                left: 5px;
            }

            .slider-btn.right {
                right: 5px;
            }

            .slider-img {
                min-width: 200px;
                height: 280px;
            }

            #sliderTrack {
                gap: 15px;
            }

            .training-grid2 {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }

            .training-card img {
                width: 100px;
                height: 100px;
            }

            .events button {
                padding: 10px 16px;
                font-size: 14px;
                margin: 5px;
            }

            .event-card {
                padding: 15px;
            }

            .event-image {
                max-width: 100%;
                height: 180px;
            }

            .event-details h3 {
                font-size: 1.1rem;
            }

            .event-details p {
                font-size: 0.95rem;
            }

            .articles-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .article-card img {
                height: 180px;
            }

            .status-bar {
                grid-template-columns: 1fr;
                gap: 15px;
                padding: 20px 15px;
            }

            .counter-item {
                padding: 15px;
            }

            .counter-number {
                font-size: 2rem;
            }

            .counter-label {
                font-size: 1rem;
            }

            .reviews-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .review-avatar {
                width: 80px;
                height: 80px;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .contact-item iframe {
                height: 200px;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }

            .register-section {
                padding: 40px 15px;
                margin: 10px;
            }

            .register-section h2 {
                font-size: 1.8rem;
            }

            .register-section p {
                font-size: 1rem;
            }

            .banner-year {
                margin-bottom: 15px;
                padding: 30px 15px;
            }

             .partners-carousel {
                gap: 15px;
            }

            .partner-logo {
                min-width: 80px;
                height: 70px;
            }

.list-inline > li {
display: inline-block;
margin-left: 10px !important;
}

.hero-content { margin-left: 0px; align-items: left;}




        }

        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 22px;
            }

            .hero-content p {
                font-size: 13px;
            }

            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .section-title {
                font-size: 1.3rem;
            }

            .slider-btn{
                top: 70%;
                padding: auto;   
            }

            .slider-img {
                min-width: 180px;
                height: 250px;
            }

            .slider-btn.left,
            .slider-btn.right {
                width: 40px;
                height: 40px;
                font-size: 16px;
                border-radius: 50%;
                border: 1px solid rgba(255, 255, 255, 0.2);
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                transition: background 0.3s;
            }


            .training-grid2 {
                grid-template-columns: repeat(2, 1fr);
            }

            .training-card img {
                width: 120px;
                height: 120px;
            }

            .counter-number {
                font-size: 1.8rem;
            }

            .btn-primary,
            .btn-primary2 {
                font-size: 0.9rem;
                padding: 0.8rem 1.5rem;
            }

            .partners-carousel {
                gap: 15px;
            }

            .partner-logo {
                min-width: 80px;
                height: 70px;
            }

			.list-inline {
			display: none;
			}

        }


.img-responsive {
  max-width: 100%;
  height: auto;
}


.lcss a:link {
color: #fff;
text-decoration: none;
}

.lcss a:hover {
text-decoration: underline;
}


.list-inline {
list-style: none;
padding: 0;
margin: 0;
}

.list-inline > li {
display: inline-block;
margin-right: 30px;
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--color-primary);
  background-color: #272727;
  border:1px solid #929292;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  /*transition: all 0.4s;*/
}
.scroll-top i {
  font-size: 25px;
  padding:10px 10px 10px 10px;
  padding-top:15px;
  color: #fff;
  line-height: 0;
}
.scroll-top:hover {
  background: rgba(var(--color-primary-rgb), 0.8);
  background-color: #737272;
  color: #fff;
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}




@media (max-width: 768px) {
  .review-cardx {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .img-crop {
  width: 100%;
  height: 150px;
  }

.img-crop img {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/*.orgname { visibility: hidden; }*/

}





.review-cardx {
display: flex;
align-items: flex-start;
gap: 15px;
padding: 15px;
border-radius: 12px;
background: #fff;
transition: all 0.3s ease;
}

.review-cardx:hover  {
transform: translateY(-5px);
}

.review-contentx h3 {
margin: 0 0 4px;
color: #0066ff;
font-size: 18px;
}


.review-contentx .detail {
margin: 0;
font-size: 16px;
}

.review-contentx .link {
margin: 0;
font-size: 14px;
}


.img-crop {
  overflow: hidden;
  flex-shrink: 0; /* กัน flex บีบรูป */
  
}

.img-crop img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}





@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 1px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  content: "";
  z-index: 2;

    border:0px solid blue;

}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 70px;
  width:80px;
  padding:5px;
  border:0px solid red;
}

.logos-slide img:hover {
	transform: translateY(-5px);
	border:0px solid red;
}



