@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

* {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
    background-color: #0e0f0f;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    padding-top: 100px; 
}



                .dropdown-toggle::after {
            content: none !important;
        }

        .dropdown-toggle {
            font-family: inherit !important;
        }

        /* Navigation Bar */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 10px 0;
            transition: all 0.3s ease;
            background: transparent;
            height: 100px;
        }

        .navbar.scrolled {
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
        }

.navbar.menu-open {
    background-color: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(10px);
}


        .navbar .container {
            max-width: 1200px;
            padding: 0 15px;
        }

        .navbar-brand {
            font-size: 2rem;
            font-weight: bold;
            color: #fff !important;
            text-decoration: none;
        }

        .navbar-brand small {
            font-size: 0.5rem;
            display: block;
            letter-spacing: 2px;
            margin-top: -5px;
        }

        .menu-toggle {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 10px;
            transition: transform 0.3s ease;
            margin-right: 15px;
        }

        .menu-toggle:hover {
            transform: scale(1.1);
        }

        .menu-toggle.active {
            transform: rotate(90deg);
        }

        /* Sliding Menu */
        .sliding-menu {
            position: fixed;
            top: 100px;
            left: 0;
            width: 100%;
            height: calc(100vh - 100px);
            background: rgba(0, 0, 0, 0.98);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
            overflow-y: auto;
        }

        .sliding-menu.active {
            opacity: 1;
            visibility: visible;
        }

        .menu-container {
            max-width: 1200px;
            margin: 0 auto;
            min-height: calc(100vh - 100px);
            display: flex;
            align-items: flex-start;
            padding: 40px 15px 50px 15px;
        }

        .menu-content {
            flex: 1;
            text-align: left;
        }

        .menu-item {
            display: block;
            color: #fff;
            text-decoration: none;
            font-size: 3rem;
            font-weight: 300;
            margin: 15px 0;
            opacity: 0;
            transition: opacity 0.3s ease;
            line-height: 1.2;
            position: relative;
            font-family: 'Poppins', sans-serif;
        }

        .menu-item:hover {
            color: #ccc;
        }

        .sliding-menu.active .menu-item {
            opacity: 1;
        }

        .sliding-menu.active .menu-item:nth-child(1) { transition-delay: 0.1s; }
        .sliding-menu.active .menu-item:nth-child(2) { transition-delay: 0.2s; }
        .sliding-menu.active .menu-item:nth-child(3) { transition-delay: 0.3s; }
        .sliding-menu.active .menu-item:nth-child(4) { transition-delay: 0.4s; }
        .sliding-menu.active .menu-item:nth-child(5) { transition-delay: 0.5s; }
        .sliding-menu.active .menu-item:nth-child(6) { transition-delay: 0.6s; }

        /* Dropdown Styles */
        .dropdown-menu-item {
            position: relative;
            cursor: pointer;
        }

        .dropdown-toggle {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
        }

        .dropdown-arrow {
            font-size: 1.5rem;
            transition: transform 0.3s ease;
            margin-left: 20px;
        }

        .dropdown-arrow.active {
            transform: rotate(180deg);
        }

        .dropdown-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            padding-left: 0;
            margin-top: 20px;
        }

        .dropdown-content.active {
            max-height: 1000px;
        }

        .dropdown-item {
            color: #ccc;
            text-decoration: none;
            font-size: 2.2rem;
            font-weight: 300;
            margin: 15px 0;
            padding: 10px 0;
            transition: color 0.3s ease;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s ease, color 0.3s ease;
            position: relative;
        }

        .dropdown-content.active .dropdown-item {
            opacity: 1;
        }

        .dropdown-content.active .dropdown-item:nth-child(1) { transition-delay: 0.1s; }
        .dropdown-content.active .dropdown-item:nth-child(2) { transition-delay: 0.2s; }
        .dropdown-content.active .dropdown-item:nth-child(3) { transition-delay: 0.3s; }

        .dropdown-item:hover {
            color: #fff;
        }

        .dropdown-item-toggle {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
        }

        .sub-dropdown-arrow {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
            margin-left: 15px;
        }

        .sub-dropdown-arrow.active {
            transform: rotate(180deg);
        }

        .sub-dropdown-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding-left: 40px;
            margin-top: 10px;
        }


                .sub-dropdown-content a{
          color: rgb(216, 211, 211);
        }

        .sub-dropdown-content.active {
            max-height: 300px;
        }

        .sub-dropdown-item {
            display: block;
            color: #aaa;
            text-decoration: none;
            font-size: 1.6rem;
            font-weight: 300;
            margin: 10px 0;
            padding: 5px 0;
            transition: color 0.3s ease;
            opacity: 0;
            transition: opacity 0.3s ease, color 0.3s ease;
        }

        .sub-dropdown-content.active .sub-dropdown-item {
            opacity: 1;
        }

        .sub-dropdown-content.active .sub-dropdown-item:nth-child(1) { transition-delay: 0.1s; }
        .sub-dropdown-content.active .sub-dropdown-item:nth-child(2) { transition-delay: 0.2s; }
        .sub-dropdown-content.active .sub-dropdown-item:nth-child(3) { transition-delay: 0.3s; }

        .sub-dropdown-item:hover {
            color: #fff;
        }

        /* Contact Info */
        .contact-info {
            border-left: 1px solid #444;
            padding-left: 40px;
            text-align: left;
            margin-top: 50px;
        }

        .contact-info p {
            margin: 10px 0;
            font-size: 1rem;
            color: #ccc;
        }

        .contact-info .email {
            font-size: 1.1rem;
            color: #fff;
            margin: 20px 0;
        }

        .social-icons {
            margin-top: 30px;
        }

        .social-icons a {
            color: #fff;
            font-size: 1.2rem;
            margin: 0 10px 0 0;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .social-icons a:hover {
            color: #ccc;
        }



        /* Logo Styles */
        .nav-logo {
            height: 80px; 
            object-fit: contain;
            mix-blend-mode: screen; 
            background-color: transparent;
            padding-left: 15px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .navbar {
                height: 80px;
                padding: 5px 0;
            }
            
            .sliding-menu {
                top: 80px;
                height: calc(100vh - 80px);
            }
            
            .menu-container {
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                text-align: center;
                padding: 40px 15px 50px 15px;
                min-height: calc(100vh - 80px);
            }

            .menu-content {
                margin-bottom: 40px;
                width: 100%;
            }

            .contact-info {
                border-left: none;
                border-top: 1px solid #444;
                padding-left: 0;
                padding-top: 40px;
                text-align: center;
                margin-top: 30px;
            }

            .menu-item {
                font-size: 2rem;
                margin: 12px 0;
            }

            .dropdown-item {
                font-size: 1.5rem;
                padding: 8px 0;
            }

            .sub-dropdown-item {
                font-size: 1.1rem;
                padding: 5px 0;
            }

            .sub-dropdown-content {
                padding-left: 20px;
            }

            .social-icons a {
                font-size: 1rem;
                margin: 0 8px 0 0;
            }

            .demo-section h2 {
                font-size: 2rem;
            }

            .demo-section p {
                font-size: 1rem;
                padding: 0 20px;
            }

            .dropdown-arrow {
                font-size: 1.2rem;
                margin-left: 15px;
            }

            .sub-dropdown-arrow {
                font-size: 1rem;
                margin-left: 10px;
            }

            .nav-logo {
                height: 60px;
                padding-left: 10px;
            }
        }

        @media (max-width: 480px) {


          .nav-logo {
                height: 50px;
                /* padding-left: 30px;
                padding-top: 10px; */
                margin-left: 20px;
                margin-top: 20px;
                padding-bottom: 5px;


            }



            .navbar {
                height: 70px;
            }
            
            .sliding-menu {
                top: 70px;
                height: calc(100vh - 70px);
            }
            
            .menu-container {
                min-height: calc(100vh - 70px);
                padding: 30px 15px 50px 15px;
            }

            .menu-item {
                font-size: 1.6rem;
                margin: 10px 0;
                padding-left: 30px;

            }

            .dropdown-item {
                font-size: 1.2rem;
                padding: 6px 0;
            }

            .sub-dropdown-item {
                font-size: 0.95rem;
                padding: 4px 0;
            }

            .sub-dropdown-content {
                padding-left: 15px;
            }

            .contact-info p {
                font-size: 0.9rem;
            }

            .contact-info .email {
                font-size: 1rem;
            }

            .social-icons a {
                font-size: 0.9rem;
                margin: 0 5px 0 0;
            }

            .dropdown-arrow {
                font-size: 1rem;
                margin-left: 12px;
            }

            .sub-dropdown-arrow {
                font-size: 0.8rem;
                margin-left: 8px;
            }

            .navbar-brand {
                font-size: 1.5rem;
            }

            .navbar-brand small {
                font-size: 0.4rem;
            }
        }


















        
/* blog//////////////////////// */
    .blog-section{

      background-color: #0e0f0f;
      color: #ccc;
      /* font-family: 'Kanit', sans-serif; */


    }
    .blog-section .section-title {
      font-family: 'Baskerville Old Face', serif;
      color: white;
      font-size: 3.2rem;
      margin-top: 20px;
      font-weight: 300;
    }

    .blog-section .blog-label {
      font-family: 'Kanit', sans-serif;
      letter-spacing: 4px;
      color: #6D7D7D;
      font-size: 0.9rem;
    }

    .blog-section .blog-card {
      background-color: #0e0f0f;
      border: none;
      color: #ccc;
      font-family: 'Poppins', sans-serif;
    }
   

    




        .blog-card.animate {
  animation: fadeInScale 0.7s ease-out forwards;
}


    .blog-section .blog-card img {
      width: 100%;
      aspect-ratio: 490 / 360;
      object-fit: cover;
      border-radius: 0;
    }

    .blog-section .blog-card p {
      font-size: 0.9rem;
      margin-top: 15px;
    }

    .blog-section .learn-more {
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 5px;
      color: white;
      text-transform: uppercase;
      display: inline-block;
      margin-top: 10px;
      text-decoration: none;
    }

    .blog-section .learn-more::after {
      content: ' >';
      color: white;
      padding-left: 5px;
    }

    .blog-section .divider {
      border-top: 1px solid #333;
      margin-top: 40px;
    }

    /* Optional: Cap max-width for better balance */
    .blog-section .card-container {
      max-width: 1440px;
      margin: auto;
    }













    .pagination .page-link {
  background-color: #0e0f0f;
  color: #ccc;
  border: 1px solid #333;
}

.pagination .page-item.active .page-link {
  background-color: #333;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #555;
}





footer {
  padding-top: 40px;
  background-color: #0e0f0f;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: end;
  gap: 50px;
  flex-wrap: wrap;
}

.footer-nav li a {
  text-decoration: none;
  color: #ccc;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-nav li a:hover {
  color: #fff;
}

.footer-line {
  border-top: 1px solid #444;
  margin: 60px 0;
}

.footer-text {
  font-size: 0.9rem;
  color: #ccc;
  text-align: left;
}

.footer-icons {
  text-align: right;
}

.footer-icons a {
  display: inline-block;
  margin-left: 15px;
  color: #ccc;
  font-size: 1rem;
  border: 1px solid #555;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  transition: all 0.3s;
}

.footer-icons a:hover {
  color: white;
  border-color: white;
}

.footer-copy {
  text-align: left;
  font-size: 0.85rem;
  color: #FFFFFF;
  margin-top: 10px;
  padding-bottom: 20px;
  font-weight: 400;
}

@media (max-width: 576px) {
  .footer-text,
  .footer-icons {
    text-align: center;
  }

  .footer-icons a {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width:769px) {
    .footer-nav{
        justify-content: center;
        gap: 20px;
    }

    .footer-nav li a {
      font-size: 0.80rem;
      transition: color 0.3s;
    }

    @media (max-width: 576px) {
      .footer-copy {
        text-align: center;
      }
    }
}