@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; 
}




                
/* === Navbar Base === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 10rem;
  transition: all 0.3s ease;
  background: transparent;
  height: 100px;
}


.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9); /* black with transparency */
  backdrop-filter: blur(5px);     /* adds blur effect */
}

.offcanvas{
    background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);

}

.dropdown-toggle::after {
  display: none !important;
  content: none !important;
}




.navbar .container {
  max-width: 1200px;
  padding: 0 15px;
}

.nav-logo {
  height: 80px;
  object-fit: contain;
  mix-blend-mode: screen;
  background-color: transparent;
  padding-left: 15px;
}

.navbar-brand {
  font-size: 2rem;
  font-weight: bold;
  color: #fff !important;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}
.navbar-brand small {
  font-size: 0.6rem;
  display: block;
  letter-spacing: 2px;
  margin-top: -5px;
}

/* Menu Toggle */
.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);
}


.offcanvas-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  z-index: 9999;
  transition: right 0.4s ease;
  padding: 100px 30px 50px 30px;
  overflow-y: auto;
}
.offcanvas-menu.active {
  right: 0;
}


.menu-item {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 300;
  /* margin: 10px 0; */
  transition: color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}



.dropdown-toggle,
.dropdown-toggle:focus,
.dropdown-toggle:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important; /* optional */
}

.m{
  margin: 10px 0;

}

.ser{
  margin:  0px !important;
}
.menu-item:hover {
  color: #ccc;
}

.dropdown-item {
  position: relative;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 300;

  transition: color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  font-family: 'Poppins', sans-serif;
}
.dropdown-arrow {
  font-size: 1.2rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
}
.dropdown-arrow.active {
  transform: rotate(180deg);
}
.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 10px;
  padding-left: 20px;
}
.dropdown-content.active {
  max-height: 500px;
}
.dropdown-item {
  display: block;
  color: #ccc;
  text-decoration: none;
  font-size: 1.4rem;
  margin: 10px 0;
  transition: color 0.3s ease;
}
.dropdown-item:hover {
  color: #fff;
}

.offcanvas-header .btn-close {
  filter: invert(1) !important;    
  width: 1.5rem !important;        
  height: 1.5rem !important;
  opacity: 1 !important;  
  float: right;         
}

.offcanvas-header .btn-close:focus {
  box-shadow: none !important;     
}




/* === Responsive === */
@media (max-width: 768px) {
  .navbar {
    height: 80px;
  padding: 1rem 1rem;

  }
  .nav-logo {
    height: 60px;
    padding-left: 10px;
  }
  .menu-item {
    font-size: 1.6rem;
  }
  .dropdown-toggle {
    font-size: 1.6rem;
  }
  .dropdown-item {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 70px;
  }
  .nav-logo {
    height: 40px;
    margin-left: 15px;
  }
  .menu-item {
    font-size: 1.4rem;
  }
  .dropdown-item {
    font-size: 1rem;
  }
}


















        
/* 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;
      }
    }
}