:root {
  --default-font:
    "Roboto", 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";
  --heading-font: "Kanit", sans-serif;
  --nav-font: "Kanit", 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 {
  --dark-gray: #dad9d9;
  /* dark gray */
  --dark-blue: #0e1d2c;
  /* dark blue */
  --light-gray: #ecebeb;
  /* Light gray */
  --blue-color: #0d49c1;
  /* Light Blue */

  --default-color: #0e1d2c;
  /* Default color used for the majority of the text content across the entire website */
  --default-color2: #ffffff;
  --heading-color: #0e1d2c;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #f4c15a;
  /* Accent color that represents your brand on the website*/
  --accent-color2: #d99611;
  --surface-color: #777474;
  /* The surface color is used as a background of boxed elements within sections */
  --contrast-color: #290505;
  /* Contrast color for text */
}

/* Nav Menu Colors */

:root {
  --nav-color: #dad9d9;
  /* 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: #0e1d2c;
  /* Used as the background color for mobile navigation menu */
}

/* Color Presets - These classes override global colors */

.light-background {
  --dark-gray: #1c253b;
  --surface-color: #28334b;
}

.dark-background {
  --dark-gray: #00040d;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0f172a;
  --contrast-color: #ffffff;
}

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

/*--------  deem any img when hover on  */
img:hover {
  filter: brightness(60%) sepia(20%);
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.carousel>div {
  scroll-snap-align: start;
}



/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
/* html {
  background-color: var(--dark-blue);
}

body {
  color: var(--default-color);
  background-color: var(--dark-blue);
  
  font-family: var(--default-font);
} */


html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--dark-blue);


}


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

/* a:hover {
  color: var(--blue-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 21px;
} */

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color2);
  background-color: var(--dark-blue);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  /* border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); */
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 100px;
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

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

/* ----- this the h1 under the profile img  */
/* .header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--default-color2);
  text-decoration: none;
  background-color: #00c875;
} */

/* --------------------------------------------- */

a,
a:visited {
  text-decoration: none;
  color: transparent;
}

/* --------------------------------- */


.header .social-links {
  margin: 0 0 20px 0;
}

.header .my-blog {
  margin-left: 25px;
  /* background-color: #0d6efd; */
}

.header .social-links a.my-blog {
  font-size: 20px;
  text-decoration: underline;

}

.header .social-links a.my-blog:hover {
  font-size: 30px;
  color: var(--accent-color);
  transition: all 0.4s ease-out;

}

.header .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gray);
}

.header .social-links a.linkedin {
  font-size: 24px;
}

.header .social-links a.linkedin:hover {
  font-size: 30px;
  color: var(--accent-color);
  transition: all 0.4s ease-out;
  /* animation: bounce 0.5s infinite; */
  /* Applies the 'bounce' animation infinitely when hovered */
}

/* @keyframes bounce {

  0%,
  100% {
    transform: translateX(0);
     Start and end position 
  }

  50% {
    transform: translateX(-20px);
     Mid-point position (moves up 20px) 
  }
} */

/* .header .social-links a:hover {
  color: var(--contrast-color2);
  background: var(--accent-color);
} */

@media (min-width: 1200px) {

  .header~main,
  .header~#footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color2);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  color: var(--dark-blue);
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: var(--blue-color);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
  /* background-color: var(--dark-blue); */
}

/* nav {
  filter: drop-shadow(0.25rem 0.25rem 0.5rem #0005);
  width: 100%;
  max-width: 14rem;
} */

@keyframes firstShow {

  0%,
  100% {
    transform: perspective(1000px) translate3d(0, 0, 0em);
  }

  50% {
    transform: perspective(1000px) translate3d(0, 0, 3em);
  }
}

@keyframes show {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

nav ul {
  position: relative;
  /* aperspective: 1000px; */
  list-style: none;
  padding: 0 0 40px 0;
  margin: 0;

  /* box-sizing: border-box; */
  border-radius: 1rem;
  transform-style: preserve-3d;
  perspective: 1000px;
  font:
    lighter 1rem Helvetica,
    sans-serif;

  h2,
  a {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 1rem;
    text-decoration: none;
  }

  h2 {
    font-size: 1rem;
    font-weight: 400;
  }

  i {
    margin-right: 0.25em;
    width: 1rem;
  }
}

@media (prefers-reduced-motion) {
  nav * {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

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

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

*/

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--dark-gray);
  font-size: 14px;
  padding: 20px 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #00040d;
  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 0.5s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 60px;
}

.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: 40px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 36px;
  color: var(--default-color);
  line-height: 0;
  z-index: 9999;
}

.scroll-top i:hover {

  color: var(--default-color)
}

@media (max-width: 768px) {
  .scroll-top {
    visibility: visible;
    opacity: 1;
    bottom: 60px;
  }

  .scroll-top i {
    font-size: 28px;
    color: var(--default-color);
    line-height: 0;
    z-index: 9999;
  }

}


/*--------------------------------------------------------------
# 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(--light-gray);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  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 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {

  /* background-color: var(--dark-gray); */
  padding: 30px 0;
  overflow: clip;
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
  display: inline-block;
}

/* ------------------  set line under words --------------- */
.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  /* Matches the width of the H2 */
  height: 4px;
  background: var(--accent-color);
  left: 0px;
  /* specify the horizontal position */
  bottom: 0px;
  /* specify the vertical position */
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# home Section
--------------------------------------------------------------*/

.home {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #00040d;
  /* overflow: hidden; */
}

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

.home:before {
  content: "";
  /* background: color-mix(in srgb, var(--dark-gray), transparent 70%); */
  background-color: #00040d;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.home .container {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding: 10px;
}

.home h2 {
  margin: 0;
  font-size: 46px;
  font-weight: 500;
  padding-bottom: 0px;
  color: var(--accent-color);
}

.home p {
  margin: 5px 0 0 0;
  font-size: 30px;
  color: var(--default-color2);
  /* padding-left: 50px; */
}

.home p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
  /* padding-left: 10px; */
}

.home .typed-cursor {
  color: var(--accent-color);
}

.home .social-links {
  margin-top: 25px;
}

.home .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color2), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

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

@media (max-width: 768px) {
  .home h2 {
    font-size: 32px;
    margin-top: auto;
  }

  .home p {
    font-size: 20px;
  }
}

/* ---------------  This is the ticker --------------- */
/* The Main Bar */
.mission-ticker-bar {
  display: flex;
  align-items: center;
  /* background: rgba(0, 0, 0, 0.8); */
  background-color: transparent;
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  overflow: hidden;
  margin-top: 20px;
}

/* The Fixed "I" with Live Pulse */
.static-prefix {
  /* background: #ff4500; */
  color: var(--accent-color);
  font-size: 40px;
  font-family: 'Times New Roman', Times, serif;
  padding: 0px 25px 0px 45px;
  font-weight: 800;
  white-space: nowrap;
  position: relative;
  z-index: 5;
}

.static-prefix::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 20%;
  transform: translateY(-50%);
  width: 12px;
  /* Slightly larger for impact */
  height: 12px;
  background: #8f4444;
  /* Pure Red Bulb */
  border-radius: 50%;

  /* Layered Glow: Core + Inner Aura + Outer Flare */
  box-shadow:
    0 0 5px #ff0000,
    0 0 15px #ff4500,
    0 0 30px rgba(255, 0, 0, 0.6);

  animation: live-signal 1.2s infinite ease-in-out;
}

/* The Scrolling Track */
.ticker-wrap {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-move {
  display: inline-block;
  animation: ticker-glide 30s linear infinite;
}

.ticker-item {
  padding: 0 30px;
  color: #fff;
  /* text-transform: uppercase; */
  font-size: 30px;
  letter-spacing: 1px;
}

.sep {
  color: #ff4500;
  font-weight: bold;
}

/* Animations */
@keyframes ticker-glide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Slides exactly half-way (the duplicated set) */
}

@keyframes live-signal {
  0% {
    opacity: 1;
    box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
    transform: translateY(-50%) scale(1);
  }

  50% {
    opacity: 0.7;
    /* The 'Flare' expands as the light pulses */
    box-shadow: 0 0 10px #ff0000, 0 0 25px #ff0000, 0 0 40px rgba(255, 0, 0, 0.4);
    transform: translateY(-50%) scale(1.1);
  }

  100% {
    opacity: 1;
    box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
    transform: translateY(-50%) scale(1);
  }
}

/* Pause on Hover */
.mission-ticker-bar:hover .ticker-move {
  animation-play-state: paused;
}



/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  background: var(--light-gray);
  padding-bottom: 0px;
  z-index: 0;
}

.about .container {
  display: block;
  padding-top: 0px;
  padding-bottom: 10px;
  margin-bottom: 0%;
  /* background-color: #28334b; */
}

.about .container p {
  font-size: clamp(0.95rem, 1vw, 1.25rem);
  line-height: 1.6;
  margin: 0;
  padding-bottom: 0px;
}

.about .row {
  display: flex;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Centers vertically */
  margin-top: 0px;
  padding-bottom: 0px;
}

.about h3 {
  font-weight: 600;
  font-size: 22px;
}

.about .row p {
  font-size: clamp(0.95rem, 1vw, 1.25rem);
  line-height: 1.6;
  margin: 0;
  padding-left: 30px;
}

.about .honored p {
  padding: 15px;
  font-weight: 700;
  color: var(--dark-blue);
}

.card {
  /* this is the frame around img */
  /* margin-top: 40px; */
  /* background-color: var(--dark-blue); */
  /* color: #ffffff; */
  padding: 7px;
  /* background: #1c1f2b; */
  /* text-align: center; */
  border-radius: 10px;
  position: relative;
  z-index: 999;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.card::after,
.card::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: conic-gradient(from var(--angle), #615b79, #4a6288, #d8a80b, #042964, #14035a
      /* #ff4545, #00ff99, #006aff, #ff0095, #ff4545); */
    );
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 3px;
  border-radius: 10px;
  animation: 5s spin linear infinite;
}

.card::before {
  filter: blur(1.5rem);
  opacity: 0.5;
}

@keyframes spin {
  from {
    --angle: 0deg;
  }

  to {
    --angle: 360deg;
  }
}


@media (max-width: 768px) {

  .navmenu {

    padding: 0;
    z-index: 10000;
    /* background-color: var(--dark-blue); */
  }

  .card {

    z-index: 100;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
#portfolio {
  background-color: var(--dark-gray);
}

.pcontainer {
  padding-bottom: 0px;
  margin-bottom: 30px;
  /* background-color: #00c875; */
}

.flex-container {
  display: flex;
  /* Makes the child divs flex items and aligns them horizontally */
  justify-content: space-between;
  /* Optional: Adds space between the divs */
  /* gap: 40px; */
}

.pcontainer .row {
  margin-top: 20px;
  /* background-color: #00040d;  */
}

.portfolio-section p.ptop {
  font-size: clamp(0.95rem, 1vw, 1rem);
  line-height: 1;
  /* background-color: #00c875; */
}

/* Makeing bullet point before h4 */
.portfolio-section p.ptop::before {
  display: list-item;
  content: "\2022";
  /* Unicode for a bullet point (•) */
  color: var(--blue-color);
  /* Choose your desired color */
  display: inline-block;
  /* Aligns well with the text */
  width: 1em;
  /* Adjust spacing */
  margin-right: 0px;
  /* Space between the bullet and text */
  /* Further styling for size and position */
  font-size: 24px;
  /* Makes the bullet slightly larger than the text */
  vertical-align: middle;
  /* Vertically aligns the bullet */
}

.pcards-container {
  padding: 0px;
  /* background-color: #00040d; */
}

.section-title p {
  padding: 5px 20px;
  font-size: clamp(0.95rem, 1vw, 1.25rem);
  font-weight: 400;
  /* background-color: #0d6efd; */
}

.slider-viewport {
  /* max-width: 1000px; */
  margin: 0 auto;
  overflow: hidden;
  /* Hides the second page */
  touch-action: pan-y;
  /* Allows vertical scrolling of the page but horizontal sliding of the cards */
}

.slider-track {
  display: flex;
  /* Puts Page 1 and Page 2 side-by-side */
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide-page {
  flex: 0 0 100%;
  /* Each page takes full width of the viewport */
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 2 columns */
  grid-template-rows: auto auto;
  /* 2 rows */
  gap: 50px;
  padding: 15px;
  box-sizing: border-box;
  /* background-color: #00c875; */
}

.pcard {
  background: var(--light-gray);
  margin-bottom: 10px;
  min-height: 150px;
  padding: 20px 20px 0px 20px;
  border-radius: 8px;
  min-height: 200px;
  border: 1px solid #adadae;
  display: inline-block;
  align-items: center;
  justify-content: center;
  /* Base card transition - essential for smoothness when hover on*/
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.3s ease;

  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

/* Hover state */
@media (hover: hover) {
  .pcard:hover {
    /* Lifts the card up by 8 pixels */
    transform: translateY(-8px);

    /* Makes the shadow larger and softer */
    box-shadow: 0 12px 20px rgba(45, 44, 44, 0.3);

    /* Optional: Lighten the background slightly */
    background-color: #d9d7d7;

    border: 1px solid rgba(128, 126, 126, 0.3);
    /* Subtle scale increase */
    transform: scale(1.02) translateY(-5px);
  }
}

.pcard p {
  /* font-size: clamp(0.95rem, 1vw, 1.25rem);
  line-height: 1.2; */
  padding: 0px 0px 0px 15px;
  /* background-color: #00c875; */
}

.pcard h2 {
  display: inline-block;
  /* Crucial: width equals text length */
  position: relative;
  /* Required for absolute positioning of the ::after element */
  font-size: 20px;
  font-weight: 400;
  padding: 0px 0px 5px 10px;
  margin-top: 0px;
  /* color: var(--blue-color); */
}

/* ------------------  set line under h2 --------------- */
.pcard h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  /* Matches the width of the H2 */
  height: 3px;
  background: var(--accent-color);
  left: 0px;
  /* specify the horizontal position */
  bottom: 0px;
  /* specify the vertical position */
}

/* ------------------------- new button ----------------------- */

.controls .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  /* Fixed width */
  height: 35px;
  /* Fixed height */
  border-radius: 50%;
  font-size: 25px;
  /* Controls the size of the icon */
  padding: 0;
  /* Reset padding for better centering */
  transition: all 0.3s ease;
  color: #777778;
}

/* Optional: Make the icon color pop on hover */
.controls .btn:hover i {
  color: var(--blue-color);
  transform: scale(1.2);
}

/* Ensure buttons are still hidden on mobile as per your previous request */
@media (max-width: 600px) {
  .controls {
    display: none !important;
  }
}

/* ---------------------------------------------------------- */
.dot-container {
  text-align: center;
  margin-top: 80px;
  /* background-color: #00c875; */
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
  cursor: pointer;
}

.dot.active {
  background-color: var(--blue-color);
  /* Matches your button color */
  transform: scale(1.2);
}

.controls {
  position: relative;
  z-index: 9999;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 20px;
  margin-top: 30px;
  /* This ensures clicks pass through the container to the buttons */
  /* pointer-events: none; */
  /* background-color: #00c875; */
}

/* But the buttons themselves MUST accept clicks */
.btn,
.dot-container {
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* -------------------------- mobile --------------------------- */

@media (max-width: 600px) {

  /* 1. Hide the navigation entirely */
  .controls,
  .dot-container {
    display: none !important;
  }

  /* 2. Unlock the track so it doesn't hide cards */
  .slider-viewport {
    overflow: visible !important;
    border: none;
  }

  .slider-track {
    display: block !important;
    /* Stack pages vertically */
    transform: none !important;
    /* Force it to stay at the top */
    transition: none !important;
  }

  /* 3. Stack the cards 1x1 */
  .slide-page {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 10px 0 !important;
    height: auto !important;
  }


}

/*--------------------------------------------------------------
# Impact Section
--------------------------------------------------------------*/
#Impact {
  background-color: var(--light-gray);
}

#Impact .impact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  padding-top: 10px;
  gap: 25px;
}

#Impact .impact-item {
  /* background: #ffffff; */
  /* padding: 25px 20px; */
  border-radius: 16px;
  text-align: center;
  width: 200px;
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease; */
}

/* #Impact .group {
  background-color: #00c875;
  margin-top: 80px;
  border: 2px solid #0d6efd;
} */

#Impact .impact-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* Icon Styling */
#Impact .impact-item .icon-wrapper {
  font-size: 28px;
  margin-bottom: 5px;
  color: #0d6efd;
  /* Match active tab color */
}

/* Counter Styling */
#Impact .impact-item span {
  font-size: 42px;
  font-weight: 700;
  color: #3d3c3c;
  display: inline;
}

#Impact .impact-item p {
  margin-top: 0px;
  font-size: 18px;
  font-weight: 500;
  text-wrap: wrap;
  color: #555;
}

#Impact .impact-2col {
  display: flex;
  gap: 25px;
  justify-content: left;
  flex-wrap: wrap;
}

#Impact .header-row {
  background-color: var(--dark-blue);
  /* max-width: 40%; */
  border-radius: 0.3cm;
  border-top-right-radius: 1cm;
  border-bottom-right-radius: 1cm;
}

#Impact .header-row h3 {
  color: var(--accent-color);
  font-size: 20px;
  font-weight: 500;
  padding: 10px 10px;
}

/* ========  RESPONSIVE ======== */

@media (max-width: 768px) {
  #Impact .impact-item {
    width: 100%;
    max-width: 320px;
  }

  #Impact .nav-tabs {
    flex-direction: column;
    align-items: center;
    border: none;
  }

  #Impact .nav-tabs .nav-link {
    width: 100%;
    text-align: center;
  }


  #Impact .mobile-tab-content {
    display: none;
    padding: 10px 0 25px;
    animation: fadeIn 0.3s ease;
  }

  #Impact .nav-link.active+.mobile-tab-content {
    display: block;
  }

  #Impact .tab-content {
    display: none !important;
  }


  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/*--------------------------------------------------------------
# Consulting Services Section
--------------------------------------------------------------*/

.services.section {
  background-color: var(--dark-gray);

}

.read-more-container {
  display: flex;
  justify-content: flex-end;
}

.read-more-container a {
  color: var(--blue-color);
  text-align: right;


}



strong {
  color: var(--blue-color);
  font-weight: normal;
  /* Changes default bold to normal weight */
  font-size: 18px;
}

.services.section .section-title {
  padding-bottom: 20px;

}

.services.section .container h2 {
  margin-bottom: 30px;
}

/* --------------------   main section of services -------------- */
.services .service-item {
  display: flex;
  padding: 15px;
  background: var(--light-gray);
  border: 1px solid #adadae;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  max-width: 630px;
  margin-left: 15px;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}


@media (hover: hover) {

  .services .service-item:hover {

    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
    background-color: #d9d7d7 !important;
    border: 1px solid rgba(128, 126, 126, 0.5) !important;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out !important;
    z-index: 10;
    position: relative;
  }
}



.services .service-item .icon {
  /* the icon color comes from service-cards.js */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 20px;
  transition: 0.5s;
  margin-right: 15px;
  margin-top: -15px;
  font-size: 36px;
  line-height: 0;
  /* padding: 5px; */
}

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

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

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

.services .service-item .title a:hover {
  color: var(--blue-color);

}

/* ---- This is the description for every service item  */
.services .service-item .description {

  /* font-size: 18px; */
  line-height: 1.4;
  margin: 0;
  /* remove space to the top of paragraphs */
  padding: 0 10px 0 0;
  /* top right bottom left */
  /* background-color: #00c875; */

}

@media (max-width: 768px) {
  .services .service-item {
    max-width: 340px;
  }
}


/*--------------------------------------------------------------
# Let's Work Together Section (workwithme)
--------------------------------------------------------------*/

.workwithme.section {
  background-color: var(--light-gray);
}

.workwithme .container {
  margin-top: 0;
  padding-bottom: 0px;
}

.workwithme .container .row {
  padding-top: 0px;
}

.workwithme .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.workwithme p {
  font-size: clamp(0.95rem, 1vw, 1.25rem);
  line-height: 1.6;
  margin: 0;
  /* remove space to the top of paragraphs */
  padding: 0 0 0 0;
  /* top right bottom left */
}

.workwithme span {
  font-size: 22px;
  font-weight: 600;
}

/* .workwithme .my-values {
  padding-top: 100px;
} */

.workwithme .my-values p {
  padding-top: 10px;
}

.workwithme .my-values span {
  border-bottom: 3px solid #f4c15a;
}

.workwithme .my-values2 span {
  border-bottom: 3px solid #f4c15a;
}

/*--------------------------------------------------------------
# Perspectives Section
--------------------------------------------------------------*/

/*------ Main section ---------- */
#perspectives.section {
  background-color: var(--dark-gray);
  /* margin: auto; */
}

.perspectives p {
  font-size: clamp(0.95rem, 1vw, 1.25rem);
  padding: 10px;
  line-height: 1.4;
  /* margin: 5px; */

}

/*------ top section ---------- */
.perspectives .section-title {


  margin-bottom: 0%;
  padding-bottom: 0%;
}

.perspectives .section-title .top-p {
  /* margin: 20px, 50px, 30px, 50px; */

  /* padding: 10px 50px 10px 50px; */
}

/*--------- middle section (3 divs inside) -------- */
/*-------- Main div ------- */
.perspectives .blog-box {}

/*--------- Right div -------*/

.blog-box .right-div {}

/*---------- left div for img --------*/
.blog-box .blog-img {}

.blog-box .blog-img img {

  padding-right: 25px;
}

/*---------- buttom section -------- */
.perspectives .buttom-div {
  /* padding: 0px 50px 0px 50px; */
  /* background-color: #00c875; */

  justify-content: center;
  align-items: center;
  margin: 0%;
  padding-top: 40px;
}

.perspectives .buttom-div p {
  line-height: 1.4;
  justify-content: center;
  align-items: center;
  background-color: #727274;
  border-radius: 15px;
  padding: 22px;
  /* ----- */
  /* Lifts the card up by 8 pixels */
  transform: translateY(-8px);

  /* Makes the shadow larger and softer */
  box-shadow: 0 12px 20px rgba(45, 44, 44, 0.3);

  /* Optional: Lighten the background slightly */
  background-color: #d9d7d7;

  border: 1px solid rgba(128, 126, 126, 0.3);
  /* Subtle scale increase */
  transform: scale(1.02) translateY(-5px);

}

/*--------------- very buttom section -------- */
.perspectives .blog-link {
  display: flex;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Centers vertically */
  /* background-color: #a2a6bb; */
  height: 80px;
  padding-top: 20px;



}

.perspectives .blog-link button {
  background-color: #0e1d2c;
  font-size: 18px;
}

.perspectives .blog-link button:hover {
  background-color: var(--blue-color);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume.section {
  background-color: var(--light-gray);
}

.resume .section-title {
  padding-bottom: 0px;
  ;
}

.resume .section-title h12 {
  font-size: 24px;
  font-weight: 600;
}

.resume .container h3 {
  font-size: 22px;
  font-weight: 700;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 3px solid var(--accent-color);
  position: relative;
}

.resume .resume-item p {
  margin: 0px;
  padding-left: 10px;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  margin-bottom: 0px;
}

.resume .resume-item h6 {
  font-size: 16px;
  padding: 5px 15px;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
  font-size: 16px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
  font-size: 18px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}


.resume button {
  background-color: #0e1d2c;
  font-size: 18px;
}

.resume a {
  margin-left: auto;
}

.resume .resume2 {
  margin: auto;
  padding-top: 20px;
  padding-left: 20px;
}

.resume .rtop {
  font-size: clamp(0.95rem, 1vw, 1.25rem);
  line-height: 1.6;
  padding-left: 60px;
}


/*--------------------------------------------------------------
# Brands Section
--------------------------------------------------------------*/
.brands.section {
  background-color: var(--dark-gray);
  position: relative;
  display: flex;
}

.brands .container.section-title {
  margin-bottom: 0px;
  max-height: 80px;
}

.brands .brand-header {
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: auto;
}

.brands .brand-header p {
  margin-top: 0px;
  font-size: 18px;
  font-weight: 400;
  padding-top: 0px;
  padding-left: 40px;

  padding-top: 0px;
  padding-bottom: 0px;
}

.brand-logo {
  max-width: 150px;
  max-height: 150px;
}

.brands .brand-footer {
  padding-bottom: 0px;
  display: block;
  padding-top: 150px;
  margin-bottom: 0px;
}

.brands .brand-footer p {
  font-size: 12px;
  font-weight: 400;
  margin-top: 150px;
  margin-bottom: 0px;
  display: inline;
  padding-left: 20px;
}

/* .brand-logo {
  max-height: 100px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
} */

@media (min-width: 1200px) {
  .col-xl-1-7 {
    flex: 0 0 14.2857%;
    max-width: 14.2857%;
  }
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;

}

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

.button-bar {
  position: absolute;
  display: block;
  /* background-color: #00c875; */
  z-index: 4;
  margin-top: 5%;
  margin-left: 20%;
}

.contact button.contact-b {
  background-color: #555757;
  color: #ffffff;
  width: 150px;
  height: 40px;
  border-radius: 5px;
  border: 2px solid;
  border-color: #6e7070;
}

.contact button.calendly-b {
  background-color: #0c2fdb;
  color: #ffffff;
  width: 150px;
  height: 40px;
  border-radius: 5px;
  border: 2px solid;
  border-color: #3954dd;
}

/* .contact .container {
  position: relative;
  z-index: 1;
  margin-top: 0px;
  padding: 10px;
} */

.contact.container form {
  position: absolut;
  z-index: 1;
}

.contact .modal-content {
  position: relative;
  border-radius: 14px;
  border: none;
  background-color: var(--dark-gray);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Floating close button */

.contact .btn-close {
  position: absolute;
  top: 15px;
  right: 15px;
  border-radius: 50%;
  padding: 10px;
  opacity: 1;
  color: #00c875;
  transition: all 0.3s ease;
}

.contact .btn-close:hover {
  background-color: #ffffff;
  opacity: 1;
  transform: rotate(90deg);
}

.contact .footer .copyright {
  width: auto;
  position: relative;
  margin-top: 800px;
  /* align-items: end;
  justify-items: auto; */
  background-color: transparent;
}