/**
* Template Name: Dewi
* Template URL: https://bootstrapmade.com/dewi-free-multi-purpose-html-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font:  'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --heading-font: "Raleway",  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: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #273d4e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ff4a17; /* 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: #ffffff; /* 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: #e5eaee;  /* The default color of the main navmenu links */
  --nav-hover-color: #ff4a17; /* 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: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ff4a17; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
  --sm-black: #000;
    --sm-pink: #FFE1E9;
    --sm-dark-pink: #ff7214;
    --sm-blue: #223055;
    --sm-dark-gray: #899094;
    --sm-gray: #B0B7C0;
    --sm-light-gray: #f2f2f2;
    --sm-white: #fff;
    --sm-black-line: 1px solid var(--sm-white);
    --sm-black-bold-line: 3px solid var(--sm-white);
    --sm-padding-xl: 5px;
    --sm-padding-l: 40px;
    --sm-padding-m: 30px;
    --sm-padding-s: 24px;
    --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
    --wp--preset--font-size--normal: 16px;
    --wp--preset--font-size--huge: 42px;
    --swiper-theme-color: #007aff;
    --swiper-navigation-size: 44px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    --wp--preset--color--pale-pink: var(--sm-dark-pink);
    --wp--preset--color--cyan-bluish-gray: var(--sm-dark-gray);
    --sm-header-height: 120px;
    --sm-shrunk-header-height: 100px;
    --sm-container-width: 90%;
    --page-padding: 156px;
}

/* 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: #f1f4fa;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000910;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --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;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}
span{
  text-align: justify;
}
/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
  font-weight: 400;
}



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

.header .logo img {
  max-height: 60px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 400;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  font-size: 13px;
  padding: 7px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
  border: 2px solid var(--contrast-color);
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}



@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

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

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(21, 34, 43, 0.85);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@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>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

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

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

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 90%, white 15%);
  }

  .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);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

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

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

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

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

/* Mobile Navigation */
@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: black;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: white;
    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 .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    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(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 3px;
  font-size: 13px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 575px) {

  .footer .copyright{
    padding: 25px 15px;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.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;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 50px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: white;
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: white;
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .section-title p {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/


.parallax-mirror{

  visibility: visible;
    z-index: -100;
    position: fixed;
    top: 0px;
    left: 0px;
    overflow: hidden;
    transform: translate3d(0px, 77px, 0px);
    height: 1008.76px;
    width: 1384.8px;
}
.parallax-slider{
  transform: translate3d(-47px, 18.4px, 0px);
    position: absolute;

    max-width: none;
}



.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  /* background: color-mix(in srgb, var(--background-color), transparent 30%); */
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  padding-top: 60px;
}

.hero h2 {
  margin: 0;
  font-size: 90px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size:50px;
}

.hero .btn-get-started {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 400;
  color: var(--default-color);
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about  {
  background-color: #000000;
  color: #000000; /* Màu bạc sáng */
   
}


.about h3 {
  font-weight: 700;
  font-size: 45px;
  margin-bottom: 20px;
  color: #ffffff;
}

.about .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Khoảng cách giữa các ô */
}

.stats-item {
  display: flex;
  align-items: center;
  min-width: 310px;
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
  flex: 1 1 300px; /* Cho phép co giãn responsive */
}

.stats-item img {
  width: 100px;
  height: 100px;
  border-radius: 5px;
  margin-right: 30px;
  flex-shrink: 0;
}

.stats-item i {
  color: var(--accent-color);
  font-size: 40px;
  line-height: 1;
  margin-right: 30px;
  flex-shrink: 0;
}

.stats-item span {
color: var(--heading-color);
  font-size: 24px;           /* Giảm font để tránh tràn */
  font-weight: 600;
  display: block;
  white-space: nowrap;       /* Không xuống dòng */
  overflow: hidden;          /* Ẩn phần tràn */
  text-overflow: ellipsis;   /* Hiển thị "..." nếu quá dài */
  max-width: 100%;           
}

.stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .stats {
    padding: 0 15px; /* Căn lề vào 2 bên */
    padding-bottom: 20px;
    padding-top: 20px;
  }

  .stats-item {
    min-width: auto !important; /* Gỡ bỏ min-width cứng */
    width: 100% !important;     /* Cho phép co lại theo chiều ngang */
    box-sizing: border-box;
    padding: 20px !important;
    margin-bottom: 20px;
  }

  .stats-item img {
    width: 80px !important;
    height: 80px !important;
    margin-right: 15px !important;
  }

  .stats-item span {
    font-size: 20px !important;
  }

  .stats-item p {
    font-size: 14px !important;
  }
}
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services{
  background-color: #000000;
  color: #e5e6e7;
}

.services .img {
  border-radius: 8px;
  overflow: hidden;
}

.services .img img {
  transition: 0.6s;
}

.services .details {
  background: color-mix(in srgb, rgb(68, 68, 68), transparent 15%);
  padding: 50px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  transition: box-shadow 0.3s ease;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .details .icon {
  margin: 0;
  width: 72px;
  height: 72px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 6px solid var(--contrast-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
}

.services .details h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
  color: color-mix(in srgb, white, transparent 10%);
}

.services .details p {
  color: color-mix(in srgb, white, transparent 10%);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover .details{
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.services .service-item:hover .details h3 {
  color: var(--accent-color);
}

.services .service-item:hover .details .icon {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
}

.services .service-item:hover .details .icon i {
  color: var(--accent-color);
}



.services .service-item:hover .img img {
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .services .img {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .services .img img {
    width: 100%;
    height: auto;
    max-width: 360px; /* hoặc tuỳ ý (ví dụ: 100%, 90vw) */
    display: block;
    margin: 0 auto;
  }

  .services .details {
    padding: 30px 20px;
    margin: -60px 15px 0 15px;
  }

  .services .details h3 {
    font-size: 18px;
  }

  .services .details p {
    font-size: 13px;
    line-height: 22px;
  }

  .services .details .icon {
    width: 60px;
    height: 60px;
    font-size: 22px;
    top: -30px;
    left: calc(50% - 30px);
  }
}



/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 20px 0;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 20px 40px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features{
  background-color: #4d4d4d;
  color: white;
}

.features .nav-tabs {
  padding-bottom: 20px ;
  border: 0;
}

.features .nav-link {
  background-color: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 60px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

.p-tab{
  font-size: 20px;
}
.icon-img {
  width: 75px;
  height: 75px;
  vertical-align: middle;
  
}

.icon-img:active{
  color: var(--contrast-color);
}

a.nav-link.active .icon-img {
  filter: invert(1);
}
@media (max-width: 768px) {
  .features {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
  }

  .features .nav-tabs {
    margin-bottom: 15px;
  }

  .features .nav-link {
    padding: 12px;
    font-size: 14px;
  }

  .features .nav-link i {
    font-size: 50px;
    padding-right: 10px;
  }

  .features .nav-link h4 {
    font-size: 16px;
  }

  .features .tab-pane h3 {
    font-size: 22px;
  }

  .features .tab-pane ul li {
    font-size: 14px;
  }

  .features .tab-pane ul i {
    font-size: 18px;
  }

  .features .tab-pane p {
    font-size: 13px;
  }
   .icon-img {
    width: 60px;
    height: 60px;
    
}
}

@media (max-width: 575px) {
  .features {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 13px;
  }

  .features .nav-tabs {
    margin-bottom: 15px;
  }

  .features .nav-link {
    padding: 10px;
    font-size: 13px;
    height: 80%;
  }

  .features .nav-link i {
    font-size: 50px;
    padding: 8px;
  }

  .features .nav-link h4 {
    font-size: 14px;
  }

  .features .tab-pane h3 {
    font-size: 20px;
  }

  .features .tab-pane ul li {
    font-size: 13px;
  }

  .features .tab-pane ul i {
    font-size: 16px;
  }

  .features .tab-pane p {
    font-size: 13px;
  }

  .icon-img {
    width: 60px;
    height: 60px;
    
}
}


/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 p{
  color: #000;
}

.services-2 h2{
  color: #000;
}


.services-2 .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: 0.3s;
}

.services-2 .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  color: var(--accent-color);
}

.services-2 .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services-2 .service-item .title a {
  color: var(--heading-color);
}

.services-2 .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
}

.services-2 .service-item:hover {
  border-color: var(--accent-color);
}

.services-2 .service-item:hover .title a {
  color: var(--accent-color);
}

/* Default (desktop) styles đã có sẵn */

/* Responsive styles */
@media (max-width: 992px) {
  .services-2 {
    padding: 20px; /* Giảm padding tổng thể */
  }

  .services-2 .service-item {
    padding: 20px; /* Giảm padding từng item */
    margin-bottom: 20px; /* Khoảng cách giữa các item */
    
  }

  .services-2 .service-item .icon {
    margin-right: 15px; /* Giảm khoảng cách biểu tượng */
  }

  .services-2 .service-item .title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .services-2 .service-item .description {
    font-size: 13px;
    line-height: 22px;
  }

  .services-2 .section-title {
    margin-top: 15px;
    margin-bottom: 20px; /* Giảm khoảng cách bên dưới tiêu đề */
    padding: 0 15px; /* Căn lề hai bên */
    text-align: center; /* Tuỳ chọn: căn giữa tiêu đề */
  }
}
@media (max-width: 768px) {
  .services-2 .section-title {
    padding: 0 10px;
    text-align: left;
  }
}
@media (max-width: 576px) {
  .services-2 {
    padding: 10px; /* Lề nhỏ hơn cho thiết bị rất nhỏ */
  }

  .services-2 .section-title {
    font-size: 22px;
    padding: 0 10px;
  }

  .services-2 .service-item {
    padding: 15px;
  }

  .services-2 .service-item .title {
    font-size: 16px;
  }

  .services-2 .service-item .description {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/

.portfolio{
  background-color: #000910;
  color: white;
   padding-left: 10px;
  padding-right: 10px;

}


.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}




@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/

.team .container{
  width: 1300px;
  
}

.team p{
  color: #000910;
}

.team h2{
  color: #000910;
}
.team .member {
  position: relative;
}

#partner-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* gap: 20px; */
  padding-bottom: 20px;

}
#partner-slider .col-lg-3 {
  flex: 0 0 25%; /* 100% / 4 */
  max-width: 25%;
}
#partner-slider::-webkit-scrollbar {
  height: 8px;
}

#partner-slider::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

/* Đảm bảo mỗi item có đúng 1/4 chiều ngang để hiển thị 4 cái */
#partner-slider > .col-lg-3 {
  flex: 0 0 25%;
  max-width: 25%;
  scroll-snap-align: start;
}

#partner-prev{
transform: translate(-150% ,200px);
}

#partner-next{
  transform: translate(150%, 190px);
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

.team .container {
  width: 100%; /* Đặt độ rộng là 100% để linh hoạt trên mọi kích thước màn hình */
  max-width: 1300px; /* Giới hạn độ rộng tối đa */
}

.team p {
  color: #000910;
}

.team h2 {
  color: #000910;
}

.team .member {
  position: relative;
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 0%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;

  height: 105px; /* ← Cố định chiều cao */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 2px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}


@media (max-width: 1200px) {
  .team .container {
    padding: 0 15px; 
  }
  
  .team .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .team .col-lg-3 {
    flex: 1 1 48%; 
  }
}
@media (max-width: 992px) {
  #partner-slider .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {

  #partner-slider .col-lg-3 {
    flex: 0 0 47%;
    max-width: 47%;
  }

.team .member .pic {
  overflow: hidden;
  margin-bottom: 10px!important;
}
  .container{
    padding-left: 15px;
    padding-right: 15px;
  
  }
  .team .member .pic {
    position: relative; 
  }


    .team .member .pic img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .team .member .member-info {
    position: static;
    background-color: var(--surface-color);
    padding: 15px 10px;
    box-shadow: none;
  }

  .team .member h4 {
    font-size: 14px;
  }

  .team .member span {
    font-size: 12px;
      padding-bottom: 15px;
  }

  .team .member .social a {
    font-size: 14px;
  }


  #partner-prev,
  #partner-next {
    transform: translate(0, 0);
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .team .member .member-info {
    padding: 10px 5px;
  }

  .team .member h4 {
    font-size: 13px;
  }

  .team .member span {
    font-size: 11px;
            padding-bottom: 15px;
  }

  .team .member .social a {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact{
  background-color: #000910;
}

.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 24px 0 30px 0;
  border-radius: 10px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 30px;
  border-radius: 10px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }

  
.contact .info-item p{
    padding-left: 20px;
    padding-right:20px ;
    text-align: justify;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/

/* Layout ảnh slider */
.portfolio-details-slider img {
  max-height: 800px;   /* Giới hạn chiều cao */
  width: 100%;         /* Ảnh luôn co dãn theo chiều ngang */
  object-fit: contain; /* Giữ nguyên tỉ lệ ảnh, không bị méo hay cắt */
  display: block;
  margin: 0 auto;
}

/* Card thông tin bên phải */
.portfolio-info {
  background-color: #fff;
  padding: 24px;
  
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  
}

.portfolio-info h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 10px;
}

.portfolio-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-description h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}

.portfolio-description p {
  font-size: 14px;
  color: #444;
}


/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

/* .service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
} */
.service-details h2 {
    
    font-weight: 700;
}
.service-details .services-list a:hover {
  border-color: var(--accent-color);
  color: var(--heading-color);
  font-weight: 700;
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
}
/*  */
.page-content {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

.page-content div {
  
  unicode-bidi: isolate;
}

.sm-section {
  
  justify-content: flex-end;
  padding: 20px;
}

.sm-section-inner {
  width: var(--sm-container-width);
  margin: 0 !important;
  position: relative;
}

.sm-section-inner > p {
  font-size: 1.23em;
  line-height: 1.6;
}

.sm-section-inner h2 {
  color: #ffffff;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.sm-section-inner > p + .sm-block,
.sm-section-inner > .wp-block-heading + .sm-block {
  margin-top: calc(var(--sm-padding-xl) * 1.3);
}

.sm-block:last-child {
  border-bottom: var(--sm-black-line);
}

.sm-block {
  border-top: var(--sm-black-bold-line);
  width: 1280px
}

/* Navigation */
.sm-content.has-padding {
  padding: var(--sm-padding-l) var(--sm-padding-s) var(--sm-padding-xl);
}
/* Timeline dòng */
.sm-columns {
  display: grid;
  grid-template-columns: 1fr 50px 2fr; 
  align-items: center;
  position: relative;
  
}

.sm-columns:first-of-type::after,
.sm-columns:last-of-type::after {
  display: none;
}
/* Năm */
/* Năm bên trái */
.sm-columns .column:first-child {
  text-align: left;
  padding-left: 10px;
  display: flex;
  align-items: center;

}

.sm-columns .column:first-child h1 {
  color: var(--sm-light-gray);
  font-size: 150px;
  font-weight: 600;
  margin: 0;
  transition: color 0.3s ease;
  transform: translate(100px, -40px);
  
}

.sm-columns .right-column {
  padding-left: 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  position: relative;
  box-sizing: border-box;
}


/* Hover số năm */
.sm-columns:hover .column:first-child h1 {
  color: var(--sm-dark-pink);
}

/* Chấm tròn ở giữa */
/* Chấm ở giữa */
.sm-columns .column:nth-child(2) {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100%; */
}
.sm-columns .column:nth-child(2)::before {
  content: "";
  width: 30px;
  height: 30px;
  background-color: var(--sm-gray);
  border-radius: 50%;
  z-index: 1;
  transform: translate(154px, -25px);
}

/* Đường thẳng nối các chấm */
.sm-columns::after {
  content: "";
  position: absolute;
  left: 50%; /* giữa cột thứ 2 */
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: rgb(146, 146, 146); /* đường màu cam */
  transform: translateX(-50%);
  z-index: -1;
}

/* Hover chấm */
.sm-columns:hover .column:nth-child(2)::before {
  background-color: var(--sm-dark-pink);
}

.right-column {
  width: 500px;
  transform: translate(210px, 10px);
  will-change: transform;
}

/* Nội dung bên phải */
.sm-columns .column:last-child {
        
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;         /* giữ cột ở bên phải */
  text-align: left;              /* căn trái nội dung trong cột */
  max-width: 100%;               /* không cho vượt quá khung */
  box-sizing: border-box;
  
}
.sm-columns .column:last-child {
  max-width: 900px; /* hoặc 80%, tùy theo giao diện */
  margin-bottom: 80px;
}

.content-wrapper p{
   max-width :1500px; 
   word-break: break-word;     /* cho phép xuống dòng khi dài */
   overflow-wrap: break-word;
   font-size: 22px;
}
.sm-columns .column:last-child .content-wrapper {
  text-align: left;
  align-items: flex-start;
  max-width: calc(100% - -200px);/* Giới hạn chiều ngang để không tràn qua chấm */
  word-wrap: break-word;
}

.sm-columns .column:last-child h4 {
  font-size: 20px;
  font-weight: 500;
  color: var(--sm-gray);
  margin: 0 0 8px;
  transition: color 0.3s ease;
}

.sm-columns .column:last-child p {
  margin: 0 0 12px;
  color: var(--sm-gray);
  transition: color 0.3s ease;
  
}

/* Hover nội dung */
.sm-columns:hover .column:last-child h4,
.sm-columns:hover .column:last-child p {
  color: rgb(255, 255, 255);
}

.sm-columns {
  justify-content: end; /* đẩy toàn bộ grid sang bên phải */
}

.dot-column {
  position: relative;
  z-index: 1; /* nằm trên đường cam */
}

.history-list {
  position: relative;
}

.history-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(48.1% + -20px); /* Mặc định cho desktop */
  width: 2px;
  background-color: rgb(99, 99, 99);
  z-index: 0;
}

.scrollable-history {
    max-height: 900px; /* Điều chỉnh để hiện 3 mốc đầu (thay đổi nếu cần) */
    overflow-y: scroll;
    
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none; 
  
  }

  /* Tùy chỉnh thanh cuộn cho đẹp (optional) */
  .scrollable-history::-webkit-scrollbar {
    display: none;  
  }

  .scrollable-history::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 4px;
  }

  .scrollable-history::-webkit-scrollbar-track {
    background: #f1f1f1;
  }


  @media (max-width: 1024px) {
  .sm-columns {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 60px 30px;
  }

  
.sm-columns .column:last-child{
  margin-bottom: -170px;
}

  .sm-columns .column:first-child h1 {
    font-size: 60px;
    transform: translate(-20px, -50px);
  }

  .sm-columns .column:last-child .content-wrapper {
    max-width: 80%;
    transform: translate(0, -220px);

  }

  .sm-columns .column:last-child h4 {
    
    font-weight:600;
   
}
  .sm-columns .column:nth-child(2)::before {
    transform: translate(-393px, -120px);
  }
  

  .history-list::before {
    transform: translateX(-350px);
    
  }
}

@media (max-width: 768px) {

  .sm-columns {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 40px 20px;
    position: relative;
  }

  .sm-columns::after {
    left: 24px;
    transform: none;
  }

  .sm-columns .column:first-child {
    justify-content: flex-start;
    padding-left: 0;
  }

  .sm-columns .column:first-child h1 {
    font-size: 30px;
    transform: none;
    margin-bottom: 10px;
    transform: translate(-35px, -40px);
  }

  .sm-columns .column:nth-child(2)::before {
    width: 20px;
    height: 20px;
    transform: translate(0, -10px);
    margin-bottom: 10px;
  }

  .right-column {
    width: auto;
    transform: none;
  }

  .sm-columns .column:last-child {
    text-align: left;
    align-items: flex-start;
    padding-left: 36px;
    margin-bottom: -90px;
  }

  .sm-columns .column:last-child h4 {
    font-size: 18px;
    font-weight: 600;
  }

  .sm-columns .column:last-child p {
    font-size: 16px;
  }

  .sm-columns .column:last-child .content-wrapper {
    max-width: 27%;
    transform: translate(10px, -130px);
    
  }

  .history-list::before {
    left: 24px;
    all:unset
  }
}

#starter-body{
  display: flex;
      justify-content: center; 
      padding: 20px;
}


.scroll-list {
  max-height: calc(3.5em * 5); /* Hiển thị 5 dòng, mỗi dòng cao ~1.2em */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.scroll-list a {
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  line-height: 1.2em;
  text-decoration: none;
  font-size: 1em;
}

.flag-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ccc;
  background-color: white;
  cursor: pointer;
  margin: 4px;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flag-icon-btn .fi {
  width: 100%;
  height: 100%;
  background-size: cover;
  border-radius: 50%;
}

.flag-icon-btn:hover {
  transform: scale(1.1);
  border-color: #888;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

.flag-icon-btn:active {
  transform: scale(0.95);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.4);
}

#language-switcher {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 20px;
}

.hover-image-wt {
  position: relative;
  width: 48px;
  height: 48px;
}

.hover-image-wt img {
  position: absolute;
  top: 50%;       /* đặt ảnh cách từ trên 50% khung */
  left: 50%;      /* đặt ảnh cách từ trái 50% khung */
  width: 70%;     /* ảnh nhỏ 70% kích thước khung */
  height: 70%;
  object-fit: contain;
  transform: translate(-50%, -50%); /* dịch ảnh lên chính giữa */
  transition: opacity 0.3s ease;
  margin: 0;
  padding: 0;
  display: block;
}


.hover-image-wt .hover-img {
  opacity: 0;
}

.service-item:hover .hover-image-wt .hover-img {
  opacity: 1;
}

.service-item:hover .hover-image-wt .default-img {
  opacity: 0;
}

p{
  text-align: justify;
}

.stats-ip{
  text-align:start;
}

