/* Utility: Light gray vertical gradient */
.bg-light-gradient {
    background: #f8f9fa;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');

:root {
    --brand: #73b05a;
    --brandSecondary: #3c5caa;
    --dark: #092032;
    --body: #516171;
    --border: rgba(0,0,0,0.08);
    --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
    --brandHover: #57993b;
    --brandSecondaryHover: #2a3f71;
    
}

body {
    font-family: 'Noto Sans JP', 'Roboto',  sans-serif;
    color: var(--body);
    line-height: 1.7;
}

.container {
    max-width: 1420px;
}

h1,h2,h3,h4,h5,h6,
.display-1,.display-2,.display-3,.display-4 {
    font-weight: 500;
    color: var(--dark);
}

.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fontblue {
    color: #4667b0!important;
}

img {
    width: 100%;
}

a {
    color: var(--brand);
    transition: all 0.4s ease; 
    text-decoration: none;
}

a:hover {
    color: var(--brandHover);
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.text-brand {
    color: var(--brand) !important;
}


.hero-slider .owl-prev,
.hero-slider .owl-next{
    background-color: rgba(255, 255, 255, 0.3) !important;
    width: 60px !important;
    height: 60px !important;
    display: block;
    display: grid;
    place-items: center;
    color: #fff !important;
    border-radius: 100px;
    line-height: 0;
    border-radius: 100px !important;
    position: absolute;
    top: 50%;
    font-weight: 600 !important;
    font-size: 12px !important;
    transition: all 0.4s ease;
    margin-top: -30px !important;
    font-size: 0;
}

 

.owl-prev {
    left: 0;
}
.owl-next {
    right: 0;
}

.owl-nav  {
margin-top:0px!important;
}

.hero-slider .owl-prev:hover,
.hero-slider .owl-next:hover {
    background-color: var(--brand) !important; 
}

.hero-slider .owl-prev::after,
.hero-slider .owl-next::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 22px;
    color: #fff;
}

.hero-slider .owl-prev::after {
    content: '\f053';
}

.hero-slider .owl-next::after {
    content: '\f054';
}

.owl-dot.active span{
    background-color: var(--brand) !important;
}


 /* slide */
 .slide {
     min-height: 85vh;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
}



.slide .display-3 {
    text-transform: uppercase;
    color: #ffffff;
}

/* navbar */
.top-nav { 
    background-color: #fff;
    color: var(--dark);
    padding-top: 2px;
    padding-bottom: 2px;
    box-shadow: var(--shadow);
}

.top-nav p {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 10px;
}

.top-nav span,
.top-nav i {
    vertical-align: middle;
}

.navbar { 
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #fff;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    will-change: padding;
    contain: layout style;
}


.navbar.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: var(--shadow);
}

.sticky-top {
    box-shadow: var(--shadow);
}

/* Shared Mega Menu */
#sharedMegaMenu.multilevel-dropdown {
    position: fixed !important;
    width: 100vw;
    left: 0 !important;
    right: 0 !important;
    margin: 0;
    padding: 0;
    border: none;
    border-top: 3px solid var(--brand);
    box-shadow: var(--shadow);
    background-color: #fff;
    z-index: 1050;
    display: none;
}

#sharedMegaMenu.multilevel-dropdown.show {
    display: block;
    animation: slideDown 0.5s ease forwards;
}

/* Hidden templates */
#megaMenuTemplates {
    display: none !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .dropdown-menu.multilevel-dropdown {
    position: absolute !important;
    width: max-content;
    max-width: 100vw;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0;
    padding: 0;
    border: none;
    border-top: 3px solid var(--brand);
    box-shadow: var(--shadow);
    background-color: #fff;
    top: 100% !important;
}

.topnav-icons a {
    width: 24px;
    height: 24px;
    display: inline-flex;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

    .topnav-icons.flag-links {
        gap: 8px;
    }

    .topnav-icons.flag-links a {
        width: auto;
        height: auto;
        padding: 2px;
        background-color: transparent;
        border-radius: 0;
    }

    .topnav-icons.flag-links a img {
        width: 24px;
        height: auto;
        display: block;
    }

.topnav-icons a:hover {
    background-color: #fff;
    color: var(--brand);
}
.conditions-section{
    margin: 20px 0;
}
.conditions-section a{
   color: #fff;
   margin: 0 10px;
}

.navbar .navbar-nav .nav-link {
    color: var(--dark);
    font-size: 18px;
    padding: 10px 25px;
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--brand);
}

.navbar .navbar-nav .nav-link.active {
    color: var(--brand);
}

/* Normal Dropdown Menu */
.normal-dropdown  {
  padding: 10px 0!important;
}

.nav-link.btn-brand {
  color: #fff !important;
  padding: 6px 25px 5px !important;
  margin-top: 5px;
}

/* Mega Menu Dropdown - Already defined above, removing duplicate */

.dropdown-menu {
    min-width: 320px;
    padding: 0;
    border: none;
    border-top: 3px solid var(--brand);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.multilevel-dropdown .container {
    max-width: 1420px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.multilevel-dropdown .menu-title {
    padding: 20px 20px 0px 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--brand); 
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-wrapper {  
  display: flex;
  position: relative;
  width: 100%;
  max-width: 1140px;
    margin-left: auto;
  margin-right: auto; 
}

.mega-menu-container {
  display: flex;
  min-height: 200px;
  position: relative;
  width: 100%;
  justify-content: flex-start;
  background: #fff;
  padding-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1140px;
}

.menu-column {
    flex: 0 0 auto;
    width: 300px;
    padding: 10px 0;
    margin-right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.menu-column.active {
    opacity: 1;
    visibility: visible;
}

.menu-column:first-child {
    opacity: 1;
    visibility: visible;
}

.menu-column:last-child {
    margin-right: 0;
}

.menu-panel {
    display: none;
    padding: 0;
}

.menu-panel.active {
    display: block;
}

.menu-back {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 10px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: var(--dark);
    padding-left: 5px;
}

.back-btn i {
    font-size: 12px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

 
.menu-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: var(--body);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.menu-item a:hover {
    background-color: rgba(66, 178, 15, 0.1);
    color: var(--brand);
    padding-left: 25px;
}

.menu-item.has-children a {
    cursor: pointer;
}

.menu-item i {
    font-size: 10px;
    color: var(--brand);
    transition: transform 0.3s ease;
}

.menu-item a:hover i {
    transform: translateX(3px);
}

/* Dropdown Items (for simple dropdowns like About) */
.dropdown-item {
    padding: 12px 20px;
    color: var(--body);
    font-size: 16px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(66, 178, 15, 0.1);
    color: var(--brand);
    padding-left: 25px;
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
}

.navbar-brand .dot {
    color: var(--brand);
}

.btn {
    padding: 8px 26px;
}

.btn-brand {
    border-color: var(--brand);
    background-color: var(--brand);
    color: #fff;
}

.btn-brand:hover {
    background-color:var(--brandHover);
    border-color: var(--brandHover);
    color: #fff;
}

.btn-seemore {
border-color: #e5e5e5;
  background-color: #dcdcdc;
  color: #545454;
  padding: 8px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 20px;
}

.btn-seemore:hover {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 178, 15, 0.3);
}

.intro {margin-bottom: 36px;
text-align: center;}

.intro p {
    max-width: 500px;
}
.intro h6{
    color: var(--brand);
    font-weight: 400;
    text-transform: uppercase;
}

.intro h1 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.info-box {
    align-items: center;
    display: flex;
}

.info-box img {
    width: 90px;
}


#milestone {
    background: linear-gradient(rgba(5, 98, 53, 0.85), rgba(6, 123, 49, 0.85)), url(../img/bg_banner1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#milestone h1,
#milestone p {
    color: #fff;
}

.service {
    padding: 20px;
    background-color: #fff;
    box-shadow: var(--shadow);
    text-align: left;
}

.service h5 {
    margin-top: 24px;
    margin-bottom: 10px;
    color:#3c5caa;
}

.service h5 a { 
    color:var(--brand);
}
.service h5 a:hover, .service h5 a:focus ,.service h5 a:active { 
    color:var(--brandHover);
}
.service p {
    font-size:0.95rem;
    line-height: 1.35;
}

.service img {
    width: 100%;
}

.service-img {
    border-radius: 10px;
}

/* Service Filter Tabs */
.service-filter {
    gap: 10px;
}

.service-filter .nav-link {
    color: var(--body);
    background-color: #fff;
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-filter .nav-link:hover {
    color: var(--brand);
    border-color: var(--brand);
    background-color: rgba(66, 178, 15, 0.1);
}

.service-filter .nav-link.active {
    color: #fff;
    background-color: var(--brand);
    border-color: var(--brand);
}

.service-item {
    transition: opacity 0.3s ease;
    display: flex;
}

.service-item .service {
    width: 100%;
}

.service-item.hide {
    display: none;
}


.project {
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project img {
    width: 100%;
    height: auto;
    display: block;
}

.project h6 {
    font-weight: 400;
}

.project h6::before {
    content: "";
    height: 2px;
    width: 30px;
    display: inline-block;
    background: var(--brand);
    vertical-align: middle;
    margin-right: 10px;
}

.project .content {
    padding: 20px;
    background: #fff;
    font-family: "Kanit", sans-serif;
}

.project h2 {
    color: var(--dark);
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-family: "Kanit", sans-serif;
}

.project h6 {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    font-family: "Kanit", sans-serif;
}

.team-member {
    text-align: center;
}

.team-member .image{
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.team-member .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: -10%;
    background-color: rgba(255, 77, 41, 0.7);
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member h5 {
    margin-top: 16px;
    margin-bottom: 4px;
}

.team-member .social-icons {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member .social-icons a {
    width: 40px;
    height: 40px;
}

.team-member:hover .social-icons {
    top: 50%;
    opacity: 1;
}

.team-member:hover .overlay {
    top: 0%;
    opacity: 1;
}

#reviews {

    background: linear-gradient(-90deg, rgba(8, 32, 50, 0.8), rgba(8, 32, 50, 0.8)), url(../img/bg_banner1.jpg), #082032;;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.review {
    text-align: center;
    z-index: 2;
    position: relative;
    margin: 15px;
    max-width: 768px;
    margin: auto;
}

.review .bxs-quote-alt-left {
    font-size: 120px;
    position: absolute;
    opacity: 0.1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.review img {
    width: 80px !important;
    height: 80px;
    border-radius: 100px;
    margin: auto;
}

.review h5 {
    margin-top: 16px;
    margin-bottom: 4px;
    color: #fff;
}

.review h3 {
    margin-top: 26px;
    margin-bottom: 26px;
    font-size: 22px;
    color: #fff;
    font-weight: 400;
    line-height: 1.7;
}

.review small {
    color: var(--brand);
}

.review .stars {
    color: var(--brand);
}









/* GovNews Post Styles */
.govnews-post {
    position: relative;
    background-color: #fff;
    box-shadow: var(--shadow);
    font-family: "Kanit", sans-serif;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
}

.govnews-post .image-wrapper {
    width: 25%;
    min-width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    flex-shrink: 0; 
}

.govnews-post img {
    width: 90%;
    height: auto;
    object-fit: contain;
}

.govnews-post .content {
    padding: 5px 10px;
    font-family: "Kanit", sans-serif;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 75%;
}

.govnews-post a.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--brand);
    padding: 4px 12px;
    border-radius: 100px;
    text-decoration: none;
    color: #fff;
    z-index: 2;
    font-size: 12px;
}

.govnews-post h5 {
  margin-top: 5px;
  margin-bottom: 5px;
  font-family: "Kanit", sans-serif;
  font-size: 17px;
  font-weight: 600;  
  line-height: 22px;
}

.govnews-post small {
    text-transform: uppercase;
    color: var(--brand);
    text-decoration: underline;
    font-family: "Kanit", sans-serif;
}

.govnews-post p {
    font-family: "Kanit", sans-serif;
    line-height: 20px;
}

/* GovNews Slider Navigation */
#govnews .position-relative::before,
#govnews .position-relative::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 5;
    pointer-events: none;
}

#govnews .position-relative::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

#govnews .position-relative::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

@media (max-width: 991px) {
    #govnews .position-relative::before,
    #govnews .position-relative::after {
        display: none;
    }
}


.govnews-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--brand);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    opacity: 0.6;
}

.govnews-slider-nav:hover {
    background-color: var(--dark);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.govnews-slider-prev {
    left: 20px;
}

.govnews-slider-next {
    right: 20px;
}

@media (max-width: 768px) {
    .govnews-slider-prev {
        left: 10px;
    }
    
    .govnews-slider-next {
        right: 10px;
    }
    
    .govnews-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Project Badges */
.project-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 5;
    letter-spacing: 0.5px;
}

.badge-open {
    background-color: #28a745;
    color: #fff;
}

.badge-expired {
    background-color: #e94735;
    color: #fff;
}

.badge-incoming {
    background-color: #1f86ed;
    color: #fff;
}

/* Expired Project Overlay */
.project-expired {
    position: relative;
}

.project-expired img {
    display: block;
    width: 100%;
}

.expired-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 16 / 9;
    background-color: rgba(11, 11, 11, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
}

.expired-overlay * {
    pointer-events: auto;
}

.upcoming-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 16 / 9;
    background-color: rgba(245, 245, 245, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
}

.upcoming-overlay * {
    pointer-events: auto;
}

.project-expired .content {
    position: relative;
    z-index: 1;
    background: #fff;
}
 

.expired-text {
    color: #fff!important;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    padding: 0 20px;
}

.expired-text a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.expired-text a:hover {
    color: #f8f9fa;
}

/* Portfolio Slider Navigation */
.portfolio-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--brand);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    opacity: 0.6;
}

.portfolio-slider-nav:hover {
    background-color: var(--dark);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.portfolio-slider-prev {
    left: 20px;
}

.portfolio-slider-next {
    right: 20px;
}

@media (max-width: 768px) {
    .portfolio-slider-prev {
        left: 10px;
    }
    
    .portfolio-slider-next {
        right: 10px;
    }
    
    .portfolio-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

footer {
    background: linear-gradient(0deg, rgba(8, 32, 50, 0.9), rgba(8, 32, 50, 0.9)), url(../img/bg_banner1.jpg), #082032;;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

footer .footer-top {
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    padding-top: 20px;
}

footer .navbar-brand {
    color: #fff;
}

footer p {
    color: #ADB3B9;
}

footer .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-left: 4px;
    margin-right: 4px;
}

.loader {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #42b20f;
    z-index: 99999;
    position: fixed;
    left: 0;
    right: 0;
}


input.form-control {
    border-color: transparent;
    height: 44px;
}

.form-control {
    background-color: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.04);;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--brand);
}

/* Responsive logo sizing */
.navbar-brand {
    padding: 0;
}
.navbar-brand img,
img.navbar-brand {
    max-height: 56px;
    width: auto;
    display: inline-block;
    transition: max-height 0.3s ease;
}

/* Logo sizes when scrolled */
.navbar.scrolled .navbar-brand img,
.navbar.scrolled img.navbar-brand {
    max-height: 40px;
}

@media (max-width: 767.98px) {
    .navbar-brand img,
    img.navbar-brand { max-height: 40px; }
    
    .navbar.scrolled .navbar-brand img,
    .navbar.scrolled img.navbar-brand { max-height: 35px; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .navbar-brand img,
    img.navbar-brand { max-height: 52px; }
    
    .navbar.scrolled .navbar-brand img,
    .navbar.scrolled img.navbar-brand { max-height: 42px; }
}

@media (min-width: 1200px) {
    .navbar-brand img,
    img.navbar-brand { max-height: 64px; }
    
    .navbar.scrolled .navbar-brand img,
    .navbar.scrolled img.navbar-brand { max-height: 48px; }
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px 15px;
    }


    /* Hide mega menu on mobile */
    #sharedMegaMenu {
        display: none !important;
    }

    /* Mobile navigation adjustments */
    .navbar-collapse {
        background-color: #fff;
        margin-top: 15px;
        padding: 15px;
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    /* Mobile dropdown styles */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
        border: none;
        background-color: transparent;
        box-shadow: none;
    }

    /* Mobile menu items */
    .navbar-nav .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Mobile dropdown toggle - only for top-level nav items */
    .navbar-nav > .nav-item > .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }

    /* Mobile nested menu structure */
    .navbar-nav .dropdown-menu .menu-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .dropdown-menu .menu-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .dropdown-menu .menu-item a {
        padding: 10px 15px;
        padding-left: 25px;
        display: block;
        color: var(--body);
        text-decoration: none;
        font-size: 15px;
    }

    .navbar-nav .dropdown-menu .menu-item a:hover {
        background-color: rgba(66, 178, 15, 0.1);
        color: var(--brand);
        padding-left: 30px;
    }

    /* Mobile nested levels indentation */
    .navbar-nav .dropdown-menu .menu-item.level-2 a {
        padding-left: 35px;
    }

    .navbar-nav .dropdown-menu .menu-item.level-3 a {
        padding-left: 45px;
    }

    /* Mobile chevron icons */
    .navbar-nav .dropdown-menu .dropdown-toggle::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 10px;
        float: right;
        color: var(--brand);
        transition: transform 0.3s ease;
        border: none;
        margin-left: 10px;
    }

    .navbar-nav .dropdown-menu .dropdown-toggle.show::after {
        transform: rotate(180deg);
    }

    /* Mobile submenu collapse */
    .navbar-nav .dropdown-menu .submenu {
        padding-left: 0;
        background-color: rgba(0, 0, 0, 0.02);
        list-style: none;
        border: none;
    }

    .navbar-nav .dropdown-menu .submenu .menu-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .navbar-nav .dropdown-menu .submenu .menu-item:last-child {
        border-bottom: none;
    }

    /* Hide mega menu columns on mobile */
    .menu-column,
    .mega-menu-container {
        display: none !important;
    }

    /* Contact button on mobile */
    .btn-brand.ms-lg-3 {
        margin: 15px 0 0 0 !important;
        width: 100%;
        display: block;
    }

    /* Smooth transitions for mobile menu */
    .navbar-nav .dropdown-menu {
        transition: all 0.3s ease;
    }

    .submenu {
        transition: height 0.3s ease;
    }
}
 

/* About Us Section */
.about-us-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #f8f9fa;
}

.about-us-content {
    background: #fff;
    padding: 0px;
    border-radius: 0px;
    box-shadow: none;
}

.about-intro { 
    margin-bottom: 50px;
}

.about-intro h2,
.about-overview h2,
.expertise-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    position: relative;
}

.about-intro h2::after,
.about-overview h2::after,
.expertise-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

.about-intro p,
.about-overview p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--body);
    margin-bottom: 18px;
}

/* Mission & Vision */
.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.mission-box,
.vision-box {
    background: linear-gradient(135deg, rgba(66, 178, 15, 0.05) 0%, rgba(66, 178, 15, 0.02) 100%);
    padding: 40px;
    border-radius: 10px; 
    transition: all 0.3s ease;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(66, 178, 15, 0.15);
}

.mission-box h3,
.vision-box h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mission-box h3 i,
.vision-box h3 i {
    color: var(--brand);
    font-size: 1.8rem;
}

.mission-box p,
.vision-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--body);
}

/* Expertise Section */
.expertise-section {
    margin-top: 60px;
    padding-top: 40px; 
}

.expertise-list {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.expertise-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 25px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px; 
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(66, 178, 15, 0.1);
}

.expertise-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.expertise-icon i {
    color: var(--brand);
    font-size: 1.8rem;
}

.expertise-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.expertise-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--body);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-banner h1 {
        font-size: 2rem;
    }
    
    .about-banner p {
        font-size: 1rem;
    }
    
    .about-us-content {
        padding: 40px 25px;
    }
    
    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .expertise-item {
        grid-template-columns: 50px 1fr;
        gap: 15px;
        padding: 20px;
    }
}



       /* Article Cards Section Styles */
        .knowledge-section {
            background-color: #f8f9fa;
            font-family: 'Kanit', sans-serif;
            padding: 3rem 0;
        }
        
        .knowledge-section .section-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 2rem;
        }
        
        .article-card {
            border: none;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }
        
        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
        }
        
        .article-card .article-image {
            object-fit: cover;
            height: 100%;
            width: 100%;
        }
        
        .article-card .article-content {
            padding: 1.5rem;
        }
        
        .article-card .article-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 1rem;
        }
        
        .article-card .article-text {
            font-size: 0.9rem;
            line-height: 1.6;
            color: #4a5568;
            margin-bottom: 1rem;
        }
        
        .article-card .article-link {
            color: #28a745;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .article-card .article-link:hover {
            color: #218838;
        }
        
        /* Contact Form Section Styles */
        .contact-form-section {
            background-color: #e9ecef;
            font-family: 'Kanit', sans-serif;
            padding: 3rem 0;
        }
        
        .contact-form-section .section-header {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .contact-form-section .section-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 1rem;
        }
        
        .contact-form-section .section-subtitle {
            color: #6c757d;
            font-size: 1rem;
        }
        
        .contact-form-section .form-control {
            border: 1px solid #ced4da;
            border-radius: 0.375rem;
            padding: 0.75rem 1rem;
            font-size: 0.95rem;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        
        .contact-form-section .form-control:focus {
            border-color: #28a745;
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
        }
        
        .contact-form-section .btn-submit {
            background-color: #28a745;
            color: white;
            border: none;
            padding: 0.75rem 3rem;
            border-radius: 0.375rem;
            font-weight: 600;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }
        
        .contact-form-section .btn-submit:hover {
            background-color: #218838;
            transform: translateY(-2px);
        }
        
/* Contact Information Section */
.contact-info-section {
    padding: 80px 0 40px;
    background-color: #fff;
}

.contact-info-section .section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info-section .section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.contact-info-card .contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info-card .contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-info-card .contact-text {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Contact Form Section */
 

.contact-form-content {
  background: white;
  padding: 60px 50px;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Google Map Section */
.google-map-section {
    padding: 100px 0 0; 
}

.google-map-section h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Career/Work With Us Page Styles */
.careers-section {
    min-height: 100vh;
}

.careers-section .lead {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Override Bootstrap badge colors with brand green */
.careers-section .badge.bg-success {
    background-color: var(--brand) !important;
}

/* Custom badge for location - light gray with dark gray text */
.careers-section .badge.bg-info {
    background-color: #e9ecef !important;
    color: #495057 !important;
}

/* Override Bootstrap button colors with brand colors */
.careers-section .btn-primary {
    background-color: var(--brand);
    border-color: var(--brand);
}

.careers-section .btn-primary:hover {
    background-color: var(--brandHover);
    border-color: var(--brandHover);
}

.careers-section .btn-success {
    background-color: var(--brand);
    border-color: var(--brand);
}

.careers-section .btn-success:hover {
    background-color: var(--brandHover);
    border-color: var(--brandHover);
}

.opening-stat {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.opening-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.opening-stat h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.job-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.job-card-header {
    padding: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.job-title {
    color: var(--brand);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.job-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-meta .badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.job-card-body {
    padding: 2rem;
    background-color: #f8f9fa;
}

.section-subtitle {
    color: var(--brand);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-list {
    list-style: none;
    padding-left: 0;
}

.job-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.job-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: bold;
}

.apply-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--brand);
}

.btn-apply {
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(115, 176, 90, 0.3);
}

.why-join-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.why-icon {
    transition: transform 0.3s ease;
}

.why-join-section:hover .why-icon {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .job-title {
        font-size: 1.25rem;
    }
    
    .job-card-header,
    .job-card-body {
        padding: 1.5rem;
    }
    
    .opening-stat h2 {
        font-size: 2rem;
    }
}

/* Company News Section Styles */
.company-news-section {
    min-height: 100vh;
}

.news-items {
    max-width: 1100px;
    margin: 0 auto;
}

.news-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.news-image {
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    max-height: 200px;
}

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

.news-content {
    padding-left: 1rem;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.news-date i {
    color: var(--brand);
}

.news-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-title a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--brandHover);
}

.news-excerpt {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-read-more {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #e9ecef;
    color: #495057;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: var(--brand);
    color: white;
    transform: translateX(5px);
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments for news section */
@media (max-width: 768px) {
    .news-item {
        padding: 1.5rem;
    }
    
    .news-content {
        padding-left: 0;
        margin-top: 1.5rem;
    }
    
    .news-title {
        font-size: 1.15rem;
    }
    
    .news-image {
        height: 250px;
    }
}



/* Main Page Styling */
.mainpage-banner {
    position: relative; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    color: white;
    overflow: hidden; 
}

.mainpage-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,133.3C1248,128,1344,128,1392,128L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.mainpage-banner .container {
    position: relative;
    z-index: 2;
}

.mainpage-banner-content {
    text-align: center;
}

.mainpage-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mainpage-banner p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}
 

.mainpage-content-section {
    background: #f8f9fa;
    padding: 80px 50px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
    .mainpage-content-section {
        padding: 60px 30px;
    }
}

@media (max-width: 767px) {
    .mainpage-content-section {
        padding: 40px 20px;
        border-radius: 8px;
    }
}

@media (max-width: 575px) {
    .mainpage-content-section {
        padding: 30px 15px;
        border-radius: 6px;
    }
}





/* Pagination Styles */
.pagination {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 8px 15px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: var(--body);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pagination .page-item.active .page-link {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pagination .page-item.disabled .page-link {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
    transform: none;
    box-shadow: none;
}

.pagination .page-link .fa-chevron-left {
    margin-right: 8px;
}

.pagination .page-link .fa-chevron-right {
    margin-left: 8px;
}
 


/**** Page Section Titles and Text ****/
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #4667b0;
    margin-bottom: 1.5rem;
}

.subsection-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #4667b0;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 3px solid #73b05a;
    display: inline-block;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #516171;
    margin-bottom: 2rem;
}
