
:root {
  --default-font: "Inter",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --primary-font: "Inter", sans-serif;
  --heading-font:  "Kanit", sans-serif;
  --nav-font: "Inter", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #394757; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #183152; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #4f44ba; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #2839a5; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #183152;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #222222; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #daa10a; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f7f9fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

a:focus{
  border:none;
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 99999;
  background-color: var(--background-color);
  border-top: 3px solid var(--accent-color);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  background-color: var(--background-color);
  min-height: 60px;
  padding: 20px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 50px;
  margin-right: 25px;
}

.header  .brand-name {
  font-size: 40px;
  margin: 0;
  font-weight: 600;
  letter-spacing: -1px;
  font-style: italic;
  font-family: var(--heading-font);
  color: #615d8d;
}

.header .brand-type{
  font-size: 14px;
  margin: 0;
  font-weight: 500;
  letter-spacing: 1px;
  font-style: normal;
  font-family: var(--default-font);
  color: #7b75b1;
}



.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}



.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

.dropicon{
  width: 16px;
  height: 16px;
  margin-left: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%234f44ba' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
  background-size: 16px;
}
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    position: relative;
    color: var(--nav-color);
    padding: 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 600;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
     overflow: hidden;
    isolation: isolate;    
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu a::before {
    content: "";
    height: 3px;
    width: 100%;
    background-color: var(--accent-color);
    position: absolute;
    bottom: 0;
    left:0;
    right:0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    z-index: -1;
}

.navmenu a:hover::before, .navmenu a.active::before  {
    transform: scaleX(1);
}
  
  .navmenu .active,  .navmenu .active > a, .navmenu a:hover,
  .navmenu .active:focus {
    color: var(--accent-color)!important;
      
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
    border-radius: 0!important;
  }

  .navmenu .dropdown.active .dropicon, .navmenu .dropdown a:hover .dropicon{
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat!important;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: #ffffff;    
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}
@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: 100%;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }
  

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--accent-color);
  font-size: 14px;
  position: relative;
}

.footer .info-list h4{
  border-bottom: 1px solid rgba(255,255,255, 0.5);
  color: #fff;
  margin-bottom: 25px;
}

.footer .info-list ul{
  list-style: none;
  padding:0;
}

.footer .info-list ul li{
  line-height: 1.8;
}

.footer .info-list ul li a{
  color: rgba(255,255,255, 0.8);
  display: block;
  padding-left:25px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6.354 1.646a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L9.293 6 6.354 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") left center no-repeat;
  background-size: 16px;
}

.info-list p{
  color:rgba(255,255,255, 0.8);
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid rgba(255,255,255, 0.5);
}

.footer .copyright p {
  margin-bottom: 0;
  color: rgba(255,255,255, 0.7);
}

.footer .credits {
  margin-top: 6px;
  font-size: 14px;
  color: orange;
}

.py-4{
  padding: 40px 0;
}


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--accent-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5'/%3E%3C/svg%3E") no-repeat center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

.hero{
  padding: 30px 0  70px; 
  overflow: hidden; 
  background: linear-gradient(to bottom,  rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 22%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.hero-slider{
  border-radius: 20px;
  box-shadow: 0 25px 40px color-mix(in srgb, #000, transparent 82%);
}

.swiper-button-next:after,.swiper-button-prev:after{
  font-size: 22px!important;
  color:#fff;
}

.section{
  padding:60px 0;
}

.section-title h2{
  color: var(--accent-color);
  position: relative;
  font-size: 30px;
  font-weight: 600;  
}

.title-center h2::before{  
  content: "";
  position: absolute;
  left: 50%;
  right:0;
  bottom:-12px;  
  transform: translateX(-50%);
  border-radius: 2px;
  width: 50px;
  height: 3px;
  background-color: #999999;
}

.title-left h2{
  display: flex;
  align-items: center;
  line-height: 36px;
  margin-bottom:25px;
}

.title-left h2::after{  
  content: "";
  width: 50px;
  height: 3px;
  margin-top: 8px;
  margin-left: 10px;
  border-radius: 0  5px 0 5px;
  background: #999999;  
}

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

/*Home*/
#profile{
  padding: 40px 0 60px;
}

.rounded-img{
  border-radius: 16px;
}

.bg-blue{
  background-color: #d3e1e5;
}

.service-item{
  overflow: hidden;
  border-radius: 20px;  
}

.service-item .featured-img{
  overflow: hidden;
}

.service-item a{
  display: block;
}

.service-item .featured-img img{
  transition: all 1s ease-in-out;
}

.service-item a:hover .featured-img img{
  transform: scale(1.1);
}

.service-item h3{
  padding: 20px 0;
  margin:0;
  font-size: 20px;
  text-align: center;
  color: #ffff;
  background-color: var(--accent-color);
}

.gray-bg{
  background-color: #f7f9fc;
}

.btn-default{
  width:auto;
  display: block;
  padding: 15px 30px;
  color:var(--accent-color);
  font-weight: 600;
  font-size: 18px;
  border:2px solid var(--accent-color);
  border-radius: 12px;
}

.btn-default:hover {
  background-color: var(--accent-color);
  color: #fff;
}

.news-item{
  overflow: hidden;
}
.news-item img{
  transition: all 2s ease-in-out;
}

.news-item a:hover img{
  transform: scale(1.1);
}

/*page*/
.breadcrumb{
  height:150px;
  width: 100%;
  position: relative; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #80cbea;
}

.breadcrumb-wrapper{ 
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-bottom: 30px;
  
}

.breadcrumb h1{
  font-size: 36px;
  font-weight: 600;
  color: var(--accent-color);
}

.breadcrumb-links{
  display:flex;
  align-items: center;
}

.breadcrumb-links a{
  font-size: 14px;
  color: rgba(255,255,255, 0.8);
}

.breadcrumb-links span{
  font-size: 14px;
  color:rgba(255,255,255, 0.8);
}

.breadcrumb-links .arrow{
  padding:0 8px;
  font-size: 20px;
  color: rgba(255,255,255, 0.5);
}

.breadcrumb-links span.last{
  color:var(--accent-color);
}

.page h3{
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #379cf0;
}

.round-img{  
    border-radius: 20px;
    box-shadow: 0 25px 60px color-mix(in srgb, #000, transparent 82%);
}

.bg-gray{
  padding: 30px 0;
  background-color: #f7f9fc;
}

ul.services{
  list-style: none;
  padding:20px;
}

ul.services li{
  font-size: 16px;
  color: #7c7c7c;
  padding:5px 5px 5px 35px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23daa10a'%3E%3Cpath d='M2.5 8a5.5 5.5 0 0 1 8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0 1 1-11 0'/%3E%3Cpath d='M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0z'/%3E%3C/svg%3E")
    left 5px / 22px 22px no-repeat;
}

.service-box{
  margin-bottom: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px color-mix(in srgb, #000, transparent 94%);
}


.service-box h2{
  padding: 10px 30px;
  color: #ffff;
  font-size: 26px;
  border-radius: 12px 12px 0  0;
  background-color: var(--accent-color);
}

.service-content{
  padding:30px;
}

ol li{
  line-height: 28px;
}

.spacer-lg{
  height: 60px;
}

.spacer{
  height: 30px;
}

.spacer-1{
  height: 10px;
}

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

.box-card{ 
    border-radius: 12px;
    padding: 24px;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--default-color), transparent 92%);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.profile-img{
  border-radius: 50%;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.profile-content{
  margin-top:120px;
  padding: 30px;
  border-radius: 20px;
  background-color: #cbf3ff;
}

ul.ct-list{
  padding:0;
}

ul.ct-list li{
  list-style: none;
  padding:5px 0;
}
