*.html{
    scroll-behavior: smooth;
}
:root{
  scrollbar-color: #667eea #f8f9fa !important;
  scrollbar-width: thin !important;
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #4facfe;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f8f9fa;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

body{
    margin:0;
    overflow-x:hidden;
    width:100%;
    font-family: 'Kanit', sans-serif;
    background: #f8f9fa;
}

/*DEFAULT*/
p{
    font-family: 'Kanit', sans-serif;
    line-height: 1.8;
    color: #333;
}
a{
    text-decoration:none;
    transition: all 0.3s ease;
}
li{
    list-style:none;
    padding:5px;
}
.title{
    font-size: 32px;
    font-family: 'Archivo Black', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}
.sub-title{
    font-size: 16px;
    letter-spacing: 1px;
    font-family: 'Kanit', sans-serif;
    color: #666;
    animation: fadeInUp 0.8s ease 0.2s both;
}
em{
    font-style:normal;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}
.btn1{
    padding:20px 30px;
    margin-top: 10px;
    box-shadow:0px 10px 30px -5px rgba(102, 126, 234, 0.3);
    outline:none;
    border:0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius:50px;
    color:#fff;
    font-weight:600;
    text-align:center;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn1:hover::before {
    width: 300px;
    height: 300px;
}

.btn1:hover{
    transform: translateY(-3px) scale(1.05);
    box-shadow:0px 15px 40px -5px rgba(102, 126, 234, 0.5);
}

.btn2{
    padding:10px 25px;
    box-shadow:0px 10px 30px -5px rgba(79, 172, 254, 0.3);
    outline:none;
    border:0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius:50px;
    color:#fff;
    font-weight:600;
    text-align:center;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn2:hover{
    transform: translateY(-3px) scale(1.05);
    box-shadow:0px 15px 40px -5px rgba(79, 172, 254, 0.5);
}
.banner{
    margin:auto;
    width:70%;
    text-align:center;
    animation: fadeInUp 1s ease;
}
#scroll-up{
    position:fixed;
    bottom:2em;
    right:2em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width:45px;
    height:45px;
    text-align:center;
    color:#fff;
    padding:10px;
    border-radius:50%;
    box-shadow:0px 10px 30px -5px rgba(102, 126, 234, 0.4);
    z-index:999;
    display:none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#scroll-up:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow:0px 15px 40px -5px rgba(102, 126, 234, 0.6);
}

.inline-photo {
    opacity: 0;
    transform: translateY(4em);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    will-change: transform, opacity;
    width: 100%;
      max-width: 480px;
      height: auto;
      border-radius: 50%;
}
.inline-photo.is-visible {
    opacity: 1;
    transform: translateY(0);
}
    
    
    /*LOADER*/
    .loading {
      width: 100vw;
      height: 100vh;
      position: fixed;
      top: 0;
      left: 0;
      background: rgb(10, 206, 10);
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: center;
      align-content: center;
    }
    
    .load {
      min-height: 60pt;
    }
    
    @keyframes loading {
      0% {
        width: 50pt;
        height: 50pt;
        margin-top: 0;
      }
      25% {
        height: 4pt;
        margin-top: 23pt;
      }
      50% {
        width: 4pt;
      }
      75% {
        width: 50pt;
      }
      100% {
        width: 50pt;
        height: 50pt;
        margin-top: 0;
      }
    }
    
    .loader {
      width: 50pt;
      height: 50pt;
      border-radius: 100%;
      border: rgb(10, 206, 10) 4pt solid;
      margin-left: auto;
      margin-right: auto;
      background-color: transparent;
      animation: loading 1s infinite;
    }
    
    .load-text {
      padding-top: 15px;
      text-align: center;
      font: 14pt "Helvetica Neue", Helvetica, Arial, sans-serif;
      color: #fff;
    }
    /* Add animation to "page content" */
    .animate-bottom {
      position: relative;
      -webkit-animation-name: animatebottom;
      -webkit-animation-duration: 1s;
      animation-name: animatebottom;
      animation-duration: 1s
    }
    
    @-webkit-keyframes animatebottom {
      from { bottom:0px; opacity:0 } 
      to { bottom:0px; opacity:1 }
    }
    
    @keyframes animatebottom { 
      from{ bottom:0px; opacity:0 } 
      to{ bottom:0; opacity:1 }
    }
    
    #myDiv {
      display: none;
    }
    
  
    
    .navbar{
      margin: none;
      padding: none;
    }
    
      
    
    .main{
    width:100%;
    min-height:100vh;
    background-image:url("https://i.ibb.co/K78xjGh/main-bg.jpg");
    background-size:100% 100%;
    margin-top: 50px;
    padding-bottom: 50px;
    }
    
    .main table{
    width:100%;
    /* height:100vh; */
    }
    
    .main table td{
    width:50%;
    }
    
    .main table td img{
    width:80%;
    float:right;
    height:500px;
    margin-top:10%;
    pointer-events:none;
    --delay: 0s;
    animation: arrows 4s var(--delay) infinite ease-in;
    border-radius: 30%;
    }
    
    @keyframes arrows {
      0%,
      100% {
        color: black;
        transform: translateY(0);
      }
      50% {
        color: #3AB493;
        transform: translateY(20px);
      }
    }
    
    .main table td section{
    margin:5%;
    color:#fff;
    }
    
    .main table td section .sub-title,.main table td section p{
    color:rgb(180, 205, 255);
    margin: 30px;
    font-size: medium;
    font-weight: 400;
    }
    
    @media (max-width:600px){
    .main table td{
    width:100%;
    display:block;
    }
    .main table td section{
    margin-top:20%;
    }
    .main table td img{
    width:60%;
    height:60%;
    margin-top:0%;
    pointer-events:none;
    }
    
    }
    
    
    
    
    /*CARDS*/
    .section0{
    width:100%;
    padding:30px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    }
    
    .section0 .card{
    width:40%;
    padding:30px;
    box-shadow:0px 10px 40px -10px rgba(102, 126, 234, 0.3);
    border-radius:15px;
    margin:1%;
    display:inline-block;
    text-align:center;
    border-top:3px solid transparent;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    }
    
    .section0 .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, #667eea, #764ba2, #4facfe);
        transition: left 0.5s ease;
    }
    
    .section0 .card:hover::before {
        left: 100%;
    }
    
    .section0 .card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow:0px 20px 50px -10px rgba(102, 126, 234, 0.4);
    }
    
    .section0 .banner{
    box-shadow:0px 0px 0px 0px rgba(1,1,1,0.5);
    border-top:0px;
    background: transparent;
    }
    
    .section0 .card i{
    font-size:4em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    float:left;
    transition: transform 0.3s ease;
    }
    
    .section0 .card:hover i {
        transform: scale(1.2) rotate(5deg);
    }
    
    /* @media (max-width:600px){
    .section0{
    display:flex;
    align-items:left;
    justify-content: left;
    position:relative;
    overflow-x:auto;
    scrollbar-width:none;
    scroll-behavior: smooth;
    }
    .section0 .card{
    min-width:79%;
    }
    } */

        @media (max-width:600px) {
          .section0 {
            width: 100%;
            padding: 20px 10px;
            display: block;
          }
    
          .section0 .card {
            width: 90%;
            max-width: 100%;
            display: block;
            margin: 15px auto;
            padding: 25px;
          }
    
          .section0 .banner {
            width: 90%;
            margin: 0 auto 20px auto;
          }
        }
    
    
    
    /*CONTAINER*/
    .container{
    width:100%;
    background: var(--light-bg, #f8f9fa);
    padding: 40px 0;
    margin-bottom: 30px;
    }
    
    .container table{
    width:100%;
    }
    
    .container table td{
    width:50%;
    }
    
    .container table td img{
    margin:auto;
    margin-left: 35px;
    width: 500px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .container table td img:hover {
        transform: scale(1.05) rotate(-2deg);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    }
    
    .container table td:nth-child(2),.container table .aboutus_td2{
    padding:20px;
    padding-bottom: 10px;
    }

    li ul{
      margin: 0%;
      text-align: left;
      font-family: 'Kanit', sans-serif;
      color: #333;
    }
    
    @media (max-width:600px){
    .container table td{
    width:100%;
    display:block;
    }
    .container table td img{
    width:90%;
    }
    .container table td:nth-child(2),.container table .aboutus_td2{
    padding:10px;
    width:95%;
    }
    }
    
    
    
    
    #moreaboutus{
      margin-top: 2rem;
      margin-bottom: 3rem;
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
      padding: 20px 0;
    }
    
           .slick{
            width:90%;
            margin-left:auto;
            margin-right:auto;
            padding: 30px 0;
            margin-bottom: 50px;
            }
            
            .slick table{
            width:100%;
            margin-left:auto;
            margin-right:auto;
            }
            
            .slick table td{
            width:30%;
            padding:1%;
            }
        
            .slick table td ul li{
            list-style:none;
            padding:10px 0px;
            transition: all 0.3s ease;
            }
            
            .slick table td ul li:hover {
                transform: translateX(5px);
            }
            
            .slick table td ul li a{
            text-decoration:none;
            transition:0.5s;
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 600;
            }
            
            .slick table td ul li a:hover{
            text-decoration: underline;
            }
            
            .slick table td ul li h3{
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
            margin-bottom: 10px;
            }
            
            .slick table td ul li p{
            color:rgba(1,1,1,0.7);
            line-height: 1.8;
            }
            
            .slick table td:nth-child(1) ul{
            text-align:right;
            }
            
            .slick table td:nth-child(3) ul{
            text-align:left;
            }
            
            .slick table td:nth-child(2) .card{
            margin-left:auto;
            margin-right:auto;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
            transition: all 0.4s ease;
            }
            
            .slick table td:nth-child(2) .card:hover {
                transform: scale(1.02);
                box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
            }
            
            .slick .card {
            position: relative;
            width: 90%;
            height:250px;
            overflow: hidden;
            border-radius: 15px;
           }
    
    
           .slick .card::after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            z-index: 900;
            display: block;
            width: 100%;
            height: 100%;
           }
    
          .slick .card_part {
           position: absolute;
           top: 0;
           left: 0;
           z-index: 7;
           display: flex;
           align-items: center;
           width: 100%;
           height: 100%;
           background-size:cover;
           transform: translateX( 700px );
           background-image: url("images/home_image_3.jpg");
           background-repeat:no-repeat;
           background-position: center;
           animation: opaqTransition 26s cubic-bezier(0, 0, 0, 0.97) infinite;
           }
    
    
          .slick .card_part.card_part-two {
           z-index: 6;
           background-image: url("images/home_image_2.jpg");
           animation-delay: 7s;
           background-repeat:no-repeat;
          }
    
          .slick .card_part.card_part-three {
           z-index: 5;
           background-image: url("images/home_image.jpg");
           animation-delay: 14s;
           background-repeat:no-repeat;
           }
    
          .slick .card_part.card_part-four {
           z-index: 4;
           background-image: url("images/home_image_4.jpg");
           animation-delay: 21s;
           background-repeat:no-repeat;
           }

    
          @keyframes opaqTransition {
           3% { transform: translateX( 0 ); }
           25% { transform: translateX( 0 ); }
           28% { transform: translateX( -700px ); }
           100% { transform: translateX( -700px ); }
           }
           
           
           @media (max-width:600px){
           .slick{
            width:100%;
            margin-left:auto;
            margin-right:auto;
            }
           .slick table td{
           width:95%;
           display:block;
           padding:0%;
           }
           .slick table td ul{
           width:85%;
           }
           .slick table td:nth-child(1) ul{
            text-align:left;
            }
            .slick .card {
            position: relative;
            width: 60%;
            height:50vh;
            overflow: hidden;
            border-radius: 5px;
           }
           }
           
           @media (max-width:500px){
           .slick table td{
           width:100%;
           display:block;
           }
           .slick table td:nth-child(1) ul{
            text-align:left;
            }
            .title{
            font-size:1.3em;
            }
            .sub-title{
            font-size:0.6em;
            }
            .slick table td ul li{
            padding:5px 0px;
            }
           }
           
                /* Add these styles to fix the mobile square shape and add navigation buttons */
        
                .slick .card {
                  position: relative;
                  width: 60%;
                  height: 50vh;
                  overflow: hidden;
                  border-radius: 5px;
                  aspect-ratio: 1 / 1;
                  /* Force square shape */
                }
        
                /* Navigation buttons */
                .slick-nav {
                  position: absolute;
                  top: 50%;
                  transform: translateY(-50%);
                  z-index: 10;
                  background: rgba(255, 255, 255, 0.8);
                  border: none;
                  width: 40px;
                  height: 40px;
                  border-radius: 50%;
                  cursor: pointer;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  font-size: 20px;
                  transition: background 0.3s;
                }
        
                .slick-nav:hover {
                  background: rgba(255, 255, 255, 1);
                }
        
                .slick-prev {
                  left: 10px;
                }
        
                .slick-next {
                  right: 10px;
                }
        
                @media (max-width:600px) {
                  .slick {
                    width: 100%;
                    margin-left: auto;
                    margin-right: auto;
                  }
        
                  .slick table td {
                    width: 95%;
                    display: block;
                    padding: 0%;
                  }
        
                  .slick table td ul {
                    width: 85%;
                  }
        
                  .slick table td:nth-child(1) ul {
                    text-align: left;
                  }
        
                  .slick .card {
                    position: relative;
                    width: 90%;
                    margin: 0 auto;
                    aspect-ratio: 1 / 1;
                    /* Force square shape on mobile */
                    max-height: 400px;
                    /* Limit maximum height */
                    overflow: hidden;
                    border-radius: 5px;
                  }
        
                  .slick-nav {
                    width: 35px;
                    height: 35px;
                    font-size: 18px;
                  }
                }
        
                @media (max-width:500px) {
                  .slick table td {
                    width: 100%;
                    display: block;
                  }
        
                  .slick table td:nth-child(1) ul {
                    text-align: left;
                  }
        
                  .title {
                    font-size: 1.3em;
                  }
        
                  .sub-title {
                    font-size: 0.6em;
                  }
        
                  .slick table td ul li {
                    padding: 5px 0px;
                  }
        
                  .slick .card {
                    width: 95%;
                    aspect-ratio: 1 / 1;
                    /* Maintain square shape */
                    max-height: 350px;
                  }
                }
           
    
    .section1{
    width:90%;
    margin:auto;
    padding: 40px 0;
    }
    .section1 .accordion {
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
      color: #333;
      cursor: pointer;
      padding: 20px;
      width: 100%;
      border: none;
      text-align: left;
      outline: none;
      font-size: 16px;
      font-weight: 600;
      transition: all 0.4s ease;
      border-radius: 10px;
      margin-bottom: 10px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .section1 .panel img{
    margin:0px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    }
    
    .section1 .panel img:hover {
        transform: scale(1.05);
    }
    
    .section1 .active,.section1 .accordion:hover {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    }
    
    .accordion:after {
      content: '\002B';
      color: #667eea;
      font-weight: bold;
      float: right;
      margin-left: 5px;
      font-size: 20px;
      transition: all 0.3s ease;
    }
    
    .section1 .active:after {
      content: "\2212";
      color: #fff;
      transform: rotate(180deg);
    }
    
    .section1 .panel {
      padding: 0 18px;
      background-color: white;
      max-height: 0;
      overflow: hidden;
      margin:auto;
      transition: max-height 0.4s ease-out, padding 0.4s ease;
      border-radius: 0 0 10px 10px;
    }
    
     @media (max-width:600px){
     .section1 .banner{
     width:90%;
     }
     }
    
     #cards{
      padding: 20px;
      margin-bottom: 20px;
     }
     
     /* Modern Bootstrap Card Styles */
     .bg-info, .bg-success, .bg-warning {
         background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
         border: none !important;
         border-radius: 15px !important;
         box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3) !important;
         transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
         overflow: hidden;
         position: relative;
     }
     
     .bg-success {
         background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
         box-shadow: 0 10px 40px rgba(79, 172, 254, 0.3) !important;
     }
     
     .bg-warning {
         background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
         box-shadow: 0 10px 40px rgba(240, 147, 251, 0.3) !important;
     }
     
     .bg-info:hover, .bg-success:hover, .bg-warning:hover {
         transform: translateY(-10px) scale(1.02);
         box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4) !important;
     }
     
     .bg-info h5, .bg-success h5, .bg-warning h5,
     .bg-info h4, .bg-success h4, .bg-warning h4,
     .bg-info p, .bg-success p, .bg-warning p {
         color: #fff !important;
         position: relative;
         z-index: 2;
     }
     
     .img-thumbnail {
         padding: 20px !important;
         margin: 10px !important;
     }
    
    
    
    :root {
    --rose1: linear-gradient(to right,#E50091,#AE0D97);
    --rose2: linear-gradient(to right,#D219B4,#E50091);
    --blue1: linear-gradient(to right,#3b29cf,#4267D9);
    --blue2: linear-gradient(to right,#4267D9,#17B1EF);
    --green1: linear-gradient(to right,#42c966,#5BD80B);
    --green2: linear-gradient(to right,#04E2CB,#42c966);
    --orange1: linear-gradient(to right,#E03C30,#FF7125);
    --orange2: linear-gradient(to right,#FF7125,#EFBC2F);
    }
    
    
    .main-timeline{
        font-family: sans-serif;
        position: relative;
        width:90%;
        margin:auto;
    }
    .main-timeline:after{
        content: '';
        display: block;
        clear: both;
    }
    .main-timeline .timeline{
        width: 50%;
        padding: 0 0 0 70px;
        margin: 0 0 0 50px;
        float: right;
        position: relative;
        text-align:left;
        margin-top:10vh;
    }
    .main-timeline .timeline ul li:before{
    content:"\f0a4";
    font-family:"FontAwesome";
    margin:0px 5px;
    }
    
    .main-timeline .timeline:before{
        content: '';
        background-color: #D219B4;
        height: 10px;
        width: 10px;
        border-radius: 50%;
        transform: translateY(-50%);
        position: absolute;
        left: -70px;
        top: 50%;
    }
    .main-timeline .timeline-content{
        color: #fff;
        background: var(--rose1);
        min-height: 140px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 15px -5px #555;
        display: block;
        position: relative;
    }
    .main-timeline .timeline-content:before,
    .main-timeline .timeline-content:after{
        content: '';
        background: #E50091;
        height: 16px;
        width: 16px;
        transform: translateY(-50%) rotate(45deg);
        position: absolute;
        left: -8px;
        top: 50%;
    }
    .main-timeline .timeline-content:after{
        background: var(--rose2);
        transform: translateY(-50%) rotate(0);
        left: -140px;
        width: 140px;
        height: 5px;
    }
    .main-timeline .timeline-content:hover{ 
        text-decoration: none; 
    }
    .main-timeline .timeline-icon{
        color: rgba(0,0,0,0.2);
        font-size: 40px;
        position: absolute;
        top: 15px;
        left: -90px;
    }
    .main-timeline .title{
        font-size: 20px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0 0 7px 0;
    }
    .main-timeline .description{
        font-size: 15px;
        margin: 0;
    }
    .main-timeline .timeline:nth-child(even){
        padding: 0 70px 0 0;
        margin: 0 70px 0 0;
        float: left;
    }
    .main-timeline .timeline:nth-child(even):before{
        left: auto;
        right: -71px;
    }
    .main-timeline .timeline:nth-child(even) .timeline-content:before{
        left: auto;
        right: -8px;
    }
    .main-timeline .timeline:nth-child(even) .timeline-content:after{
        left: auto;
        right: -140px;
    }
    .main-timeline .timeline:nth-child(even) .timeline-icon{
        left: auto;
        right: -90px;
    }
    .main-timeline .timeline:nth-child(4n+2):before{ 
        background-color: #17B1EF; 
    }
    .main-timeline .timeline:nth-child(4n+2) .timeline-content{
        background: var(--blue1);
    }
    .main-timeline .timeline:nth-child(4n+2) .timeline-content:before{ 
        background: #4267D9; 
    }
    .main-timeline .timeline:nth-child(4n+2) .timeline-content:after{
        background: var(--blue2);
    }
    .main-timeline .timeline:nth-child(4n+3):before{ 
        background-color: #04E2CB; 
    }
    .main-timeline .timeline:nth-child(4n+3) .timeline-content{
        background: var(--green1);
    }
    .main-timeline .timeline:nth-child(4n+3) .timeline-content:before{ 
        background: #42c966; 
    }
    .main-timeline .timeline:nth-child(4n+3) .timeline-content:after{
        background: var(--green2);
    }
    .main-timeline .timeline:nth-child(4n+4):before{
        background-color: #EFBC2F; 
    }
    .main-timeline .timeline:nth-child(4n+4) .timeline-content{
        background: var(--orange1);
    }
    .main-timeline .timeline:nth-child(4n+4) .timeline-content:before{ 
        background: #FF7125; 
    }
    .main-timeline .timeline:nth-child(4n+4) .timeline-content:after{
        background: var(--orange2);
    }
    
    @media screen and (max-width:767px){
        .main-timeline .timeline,
        .main-timeline .timeline:nth-child(even){
            width: 100%;
            padding: 0 0 0 40px;
            margin-bottom: 20px;
        }
        .main-timeline .timeline:before,
        .main-timeline .timeline:nth-child(even):before{
            transform: translateY(0);
            left: 0;
            right: auto;
            top: 47px;
        }
        .main-timeline .timeline:nth-child(4n+2) .timeline-content{
            background: linear-gradient(to left,#3b29cf,#4267D9);
        }
        .main-timeline .timeline:nth-child(4n+4) .timeline-content{
            background: linear-gradient(to left,#E03C30,#FF7125);
        }
        .main-timeline .timeline-content:before,
        .main-timeline .timeline:nth-child(even) .timeline-content:before{
            transform: translateY(0) rotate(45deg);
            top: 45px;
            left: -4px;
        }
        .main-timeline .timeline-content:after,
        .main-timeline .timeline:nth-child(even) .timeline-content:after{
            width: 40px;
            transform: translateY(0);
            right: auto;
            left: -38px;
            top: 50px;
        }
        .main-timeline .timeline:nth-child(even) .timeline-content:after{
            transform: translateY(0) rotateY(180deg);
        }
        .main-timeline .timeline-icon,
        .main-timeline .timeline:nth-child(even) .timeline-icon{
            font-size: 22px;
            left: -30px;
            right: auto;
        }
    }
    @media screen and (max-width:567px){
        .main-timeline .title{ font-size: 18px; }
        .main-timeline{
        font-family: sans-serif;
        position: relative;
        width:75%;
        margin:auto;
    }
    }
    
    
    
    
    
    
    
    
    /*CONTACT FORM*/
    .container .contact_details{
    width:90%;
    margin:auto;
    }
    
    .container .contact_details td{
    text-align:center;
    }
    
    .contact form{
    width:60%;
    margin:auto;
    }
    .contact form input,.contact form textarea {
      border: 0;
      outline: 0;
      font-size: 16px;
      border-radius: 320px;
      padding: 16px;
      background-color: #EBECF0;
      text-shadow: 1px 1px 0 #FFF;
      margin-top:2%;
    }
    .contact form input,.contact form textarea {
      margin-right: 8px;
      box-shadow: inset 2px 2px 5px #BABECC, inset -5px -5px 10px #FFF;
      width: 100%;
      box-sizing: border-box;
      transition: all 0.2s ease-in-out;
      appearance: none;
      -webkit-appearance: none;
      resize:none;
    }
    .contact form input:focus {
      box-shadow: inset 1px 1px 2px #BABECC, inset -1px -1px 2px #FFF;
    }
    
    .contact form button {
        color: #0f1c48;
        font-weight: bold;
        box-shadow: -5px -5px 20px #FFF, 5px 5px 20px #BABECC;
        transition: all 0.2s ease-in-out;
        cursor: pointer;
        font-weight: 600;
            border: 0;
        outline: 0;
        font-size: 16px;
        border-radius: 320px;
        padding: 16px;
        background-color: #EBECF0;
        width:50%;
        margin-top:2%;
      
    }
    .contact form button:hover {
      box-shadow: -2px -2px 5px #FFF, 2px 2px 5px #BABECC;
      color:#fff;
    }
    .contact form button:active {
      box-shadow: inset 1px 1px 2px #BABECC, inset -1px -1px 2px #FFF;
    }
    
    
    
    .credits{
      background:#1e1e1e;
      color:gray;
      font-size:13px;
      padding:10px;
      position:fixed;
      right:0;
      bottom:20px;
    }

        /* ==========================================================================
       FOOTER STYLES - Add to the very END of home.css file
       ========================================================================== */
    
        /* Override any conflicting styles and ensure footer displays properly */
        .site-footer {
          margin-top: 0 !important;
          position: relative !important;
          background-color: #e9ecef !important;
          background-image: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
          width: 100% !important;
          bottom: 0 !important;
          padding: 40px 0 20px 0 !important;
          z-index: 1000 !important;
          clear: both !important;
          display: block !important;
        }
    
        .site-footer .container {
          max-width: 1200px !important;
          margin: 0 auto !important;
          padding: 0 20px !important;
          background: transparent !important;
        }
    
        .site-footer .footer-content {
          display: grid !important;
          grid-template-columns: repeat(4, 1fr) !important;
          gap: 40px !important;
          margin-bottom: 30px !important;
        }
    
        .site-footer .footer-section {
          color: #fff !important;
        }
    
        .site-footer .footer-section h3 {
          color: #fff !important;
          font-size: 20px !important;
          font-weight: 600 !important;
          margin-bottom: 20px !important;
          text-align: left !important;
        }
    
        .site-footer .footer-section p {
          color: #fff !important;
          font-size: 14px !important;
          line-height: 1.8 !important;
          text-align: left !important;
          margin-bottom: 15px !important;
        }
    
        .site-footer .footer-section p i {
          margin-right: 10px !important;
          width: 20px !important;
        }
    
        .site-footer .footer-divider {
          width: 60px !important;
          height: 3px !important;
          background-color: #000 !important;
          margin: 20px 0 !important;
        }
    
        .site-footer .footer-links {
          list-style: none !important;
          padding: 0 !important;
          margin: 0 !important;
          text-align: left !important;
        }
    
        .site-footer .footer-links li {
          margin-bottom: 12px !important;
          padding: 0 !important;
        }
    
        .site-footer .footer-links li a {
          color: #fff !important;
          text-decoration: none !important;
          font-size: 14px !important;
          transition: all 0.3s ease !important;
          display: inline-block !important;
        }
    
        .site-footer .footer-links li a:hover {
          color: #000 !important;
          transform: translateX(5px) !important;
        }
    
        .site-footer .social-icons {
          display: flex !important;
          gap: 15px !important;
          flex-wrap: wrap !important;
        }
    
        .site-footer .social-icons a {
          display: flex !important;
          align-items: center !important;
          justify-content: center !important;
          width: 45px !important;
          height: 45px !important;
          background-color: rgba(255, 255, 255, 0.1) !important;
          border-radius: 50% !important;
          color: #fff !important;
          font-size: 20px !important;
          text-decoration: none !important;
          transition: all 0.3s ease !important;
          border: 2px solid transparent !important;
        }
    
        .site-footer .social-icons a:hover {
          background-color: #fff !important;
          color: #2a2a72 !important;
          transform: translateY(-5px) !important;
          border-color: #000 !important;
        }
    
        .site-footer .footer-bottom {
          border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
          padding-top: 20px !important;
          margin-top: 30px !important;
        }
    
        .site-footer .footer-bottom p {
          color: #fff !important;
          font-size: 14px !important;
          text-align: center !important;
          margin: 0 !important;
        }
    
        /* Fix container overlap issue */
        .container:last-of-type {
          margin-bottom: 0 !important;
          padding-bottom: 0 !important;
        }
    
        /* Ensure Bootstrap cards don't extend beyond their container */
        .container .row {
          margin-bottom: 0 !important;
        }
    
        /* Clear any floats before footer */
        body>footer::before {
          content: '' !important;
          display: table !important;
          clear: both !important;
        }
    
        /* Responsive footer for mobile */
        @media only screen and (max-width: 768px) {
          .site-footer .footer-content {
            grid-template-columns: 1fr !important;
            gap: 30px !important;
          }
    
          .site-footer {
            padding: 30px 0 20px 0 !important;
          }
        }
    
        /* Medium devices (tablets) */
        @media only screen and (min-width: 768px) and (max-width: 991px) {
          .site-footer .footer-content {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 30px !important;
          }
        }

                /* Banner text - Black & Bold */
                .section0 .banner .title {
                  font-size: 32px;
                  font-family: 'Archivo Black', sans-serif;
                  background: none !important;
                  -webkit-background-clip: unset !important;
                  -webkit-text-fill-color: #000 !important;
                  background-clip: unset !important;
                  color: #000 !important;
                  font-weight: 900 !important;
                  animation: fadeInUp 0.8s ease;
                }
        
                .section0 .banner .sub-title {
                  font-size: 16px;
                  letter-spacing: 0.5px;
                  font-family: 'Kanit', sans-serif;
                  color: #333 !important;
                  font-weight: 600 !important;
                  animation: fadeInUp 0.8s ease 0.2s both;
                  line-height: 1.8;
                }
        
                /* Mobile adjustments */
                @media (max-width:600px) {
                  .section0 .banner .title {
                    font-size: 24px;
                    font-weight: 900 !important;
                  }
        
                  .section0 .banner .sub-title {
                    font-size: 14px;
                    font-weight: 600 !important;
                  }
                }
/* Container Section - Black & Bold Text */
.container .title {
  font-size: 32px;
  font-family: 'Archivo Black', sans-serif;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #000 !important;
  background-clip: unset !important;
  color: #000 !important;
  font-weight: 900 !important;
}

.container .sub-title {
  font-size: 16px;
  letter-spacing: 1px;
  font-family: 'Kanit', sans-serif;
  color: #000 !important;
  font-weight: 700 !important;
}

.container p {
  font-family: 'Kanit', sans-serif;
  line-height: 1.8;
  color: #000 !important;
  font-weight: 500 !important;
  font-size: 15px;
}

.container li ul {
  margin: 0%;
  text-align: left;
  font-family: 'Kanit', sans-serif;
  color: #000 !important;
  font-weight: 600 !important;
  font-size: 15px;
}

/* Mobile */
@media (max-width:600px) {
  .container .title {
    font-size: 24px;
    font-weight: 900 !important;
  }

  .container .sub-title {
    font-size: 14px;
    font-weight: 700 !important;
  }

  .container p {
    /* font-size: 14px; */
    font-weight: 500;
  }
}

/* Light grey footer text colors */
.site-footer .footer-section h3 {
  color: #212529 !important;
}

.site-footer .footer-section p {
  color: #495057 !important;
}

.site-footer .footer-links li a {
  color: #495057 !important;
}

.site-footer .footer-links li a:hover {
  color: #212529 !important;
  transform: translateX(5px);
}

.site-footer .footer-bottom p {
  color: #6c757d !important;
}

.site-footer .social-icons a {
  background-color: rgba(52, 58, 64, 0.1) !important;
  color: #495057 !important;
}

.site-footer .social-icons a:hover {
  background-color: #495057 !important;
  color: #fff !important;
}

.site-footer .footer-divider {
  background-color: #495057 !important;
}

/* Force cards to stay in one horizontal line on desktop */
@media (min-width: 768px) {
  #cards .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: space-between;
  }

  #cards .bg-info.img-thumbnail {
    flex: 1;
    margin: 0 !important;
    min-height: 250px;
  }
}
@media (min-width: 992px) {
  .inline-photo {
    max-width: 520px;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  /* left & right */
  align-items: center;
  padding: 15px 20px;
  font-size: 14px;
  color: #666;
    border-top: 5px solid #ccc;
      /* top line */
      border-bottom: 5px solid #ccc;
      /* bottom line */
}
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
}