   :root {
            --primary: #2a7f62;
            --primary-light: #e8f5f0;
            --secondary: #1a5f8c;
            --accent: #ff7e5f;
            --text: #333;
            --light: #f9f9f9;
            --white: #ffffff;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--light);
            color: var(--text);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
            padding: 20px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo img {
            height: 80px;
            padding: 10px;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 16px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4); 
           /* เอฟเฟกต์การเปลี่ยนสีเมื่อโฮเวอร์ */
          filter: grayscale(20%) brightness(100%) contrast(100%);
          transition: all 0.3s ease-in-out;
      }
      .logo img:hover {
        filter: grayscale(0%) brightness(110%) contrast(110%);
    transform: scale(1.05);
    }

    /* โลโก้แบบมีเงาสะท้อน */
    .logo img-reflect {
    position: relative;
    }

    .logo-reflect::after {
    content: '';
    position: absolute;
    bottom: -90%;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: scaleY(-1);
    opacity: 0.6;
    }

 
        .logo-text {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary);
        }

        .logo-text span {
            color: var(--secondary);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        nav a {
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }

        nav a:hover {
            color: var(--primary);
        }

        nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary);
            bottom: -5px;
            left: 0;
            transition: var(--transition);
        }

        nav a:hover::after {
            width: 100%;
        }

        .nav-btn {
            background-color: var(--primary);
            color: white;
            padding: 10px 20px;
            border-radius: 30px;
            transition: var(--transition);
        }

        .nav-btn:hover {
            background-color: var(--secondary);
            color: white;
        }

        .nav-btn::after {
            display: none;
        }

        /* Hero Section */
        .hero {
            padding: 180px 0 100px;
            background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                        url('../about_picture/dragonflylogo.png') no-repeat center center/cover;
            text-align: center;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: var(--primary);
            font-weight: 700;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 40px;
            color: var(--text);
        }

        .hero-btns {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .btn {
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--secondary);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .btn-outline {
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background-color: var(--primary);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        /* Hero section*/
        .slider-wrapper {
            position: relative;
            width: 100%;
            margin: auto;
            overflow: hidden;
            text-align: center;
            align-items: center;
        }
        .slider {
            display: flex;
            transition: transform 0.3s ease-in-out;
        }
        .card {
            min-width: 100%;
            margin-right: 20px;
            background-color: rgb(255, 255, 255,0.01);
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .card-content {
            padding: 20px;
        }
        .card-title {
            font-size: 1.2em;
            margin-bottom: 10px;
        }
    
        .card-button {
            padding: 10px 15px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .slider-nav {
            position: absolute;
            font-size: 50px;
            font-weight: bold;
            padding: 0 25px;
            top: 50%;
            transform: translateY(-50%);
            color: rgb(19, 82, 2);
            cursor: pointer;
            border: none;
            background: none;
            z-index: 10;
        }
        .prev {
            left: 10px;
        }
        .next {
            right: 10px;
        }
        .slider-dots {
            text-align: center;
            margin-top: 10px;
        }
        .dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            margin-right: 5px;
            background-color: #ccc;
            border-radius: 50%;
            cursor: pointer;
        }
        .dot.active {
            background-color: #007bff;
        }



        /* About Section */
        .about {
            padding: 100px 0;
            background-color: var(--white);
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background: var(--accent);
            bottom: -10px;
            left: 25%;
        }

        .section-title p {
            color: var(--text);
            max-width: 700px;
            margin: 0 auto;
        }

        .about-content {    
            display: flex;
            align-items: center;
            gap: 50px;
            margin-bottom: 2rem;
        }

        .about-img {
            position: relative;
            max-height: 400px;
            width: 100%;
            flex: 1;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
        }


        .about-img img {
            object-fit: cover;
            width: 100%;
            display: block;
            transition: var(--transition);
        }

        .about-img:hover img {
            transform: scale(1.05);
        }

       .about-img video {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 16px; /* Match your image style */
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        object-fit: cover; /* or 'contain' if you want to see the whole video */
        background: #000; /* fallback background */
        max-height: 350px; /* optional: limit height */
    }


        .about-text {
            flex: 1;
        }

        .about-text h3 {
            font-size: 1.8rem;
            color: var(--secondary);
            margin-bottom: 20px;
        }

        .about-text p {
            margin-bottom: 20px;
        }

        .about-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .feature-item {
            display: flex;
            gap: 15px;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .feature-text h4 {
            margin-bottom: 5px;
            color: var(--secondary);
        }

        /* Team Section */
        .team {
            padding: 100px 0;
            background-color: var(--primary-light);
        }

        .team-members {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .member-card {
            background-color: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            text-align: center;
        }

        .member-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }

        .member-img {
            height: 250px;
            overflow: hidden;
        }

        .member-img img {
            object-fit: cover;
            width: 100%;
            max-height: 350px;
            transition: var(--transition);
        }

        .member-card:hover .member-img img {
            transform: scale(1.1);
        }

        .member-info {
            padding: 25px 20px;
        }

        .member-info h3 {
            color: var(--secondary);
            margin-bottom: 5px;
        }

        .member-info a:link,
        .member-info a:visited {
            color: var(--primary);
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .member-info a:hover {
           text-decoration: underline;
            color: var(--secondary);
        }

        .member-info p {
            color: var(--primary);
            font-weight: 500;
            margin-bottom: 15px;
        }

        .member-social {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .member-social a:link,
        .member-social a:visited {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background-color: var(--primary-light);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            text-decoration: none;
        }

        .member-social a:hover {
            background-color: var(--primary);
            color: white;
        }

        /* Values Section */
        .values {
            padding: 100px 0;
            background-color: var(--white);
        }

        .values-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .value-card {
            background-color: var(--light);
            text-align: center;
            border-radius: 15px;
            transition: var(--transition);
            border-bottom: 5px solid transparent;
        }

        .value-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
            border-bottom-color: var(--primary);
        }
        .value-icon {
            width: 100%;
            height: 100px;
            border: 5px solid transparent;
            display: flex;
            background-color: var(--primary-light);
            border-radius: 10px;
            align-items: center;
            justify-content: center;
            color: var(--primary);
        }
       .value-icon img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            transition: var(--transition);
        }  
        .value-card h4 {
            color: var(--secondary);
        }
        .value-card a:link,
        .value-card a:visited {
            background-color: var(--primary-light);
            color: var(--primary);
            transition: var(--transition);
            text-decoration: none;
        }

        .value-card a:hover {
            text-decoration-line: none;
            color: var(--secondary);
        }

        /* CTA Section */
        .cta {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            text-align: center;
        }

        .cta h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .cta p {
            max-width: 700px;
            margin: 0 auto 40px;
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* Footer */
        footer {
            background-color: #1a2e35;
            color: white;
            padding: 70px 0 20px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-col h3 {
            color: white;
            margin-bottom: 25px;
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            width: 40px;
            height: 2px;
            background-color: var(--accent);
            bottom: 0;
            left: 0;
        }

        .footer-col p {
            opacity: 0.8;
            margin-bottom: 20px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 15px;
        }

        .footer-links a:link,
        .footer-links a:visited {
            color: white;
            opacity: 0.8;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            opacity: 1;
            padding-left: 5px;
        }

        .footer-social {
            display: flex;
            gap: 15px;
        }

        .footer-social a:link,a:visited{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color:  rgba(32, 0, 160, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
           .footer-social i {
            color: rgb(61, 241, 6);
            font-size: 1.1rem;
        }

        .footer-social a:hover {
            background-color: var(--accent);
            transform: translateY(-5px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            opacity: 0.7;
        }

     