:root {
    --pink: #ff2d75;
    --dark: #0a0a0b;
    --darkLight: #3b3b3b;
    --white: #ffffff;
    --text-gray: #b0b0b0;
    --darkBg: #100315;

    /* Font Weights */
    --fw-thin: 100;
    --fw-extralight: 200;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semi-bold: 600;
    --fw-bold: 700;
    --fw-extra-bold: 600;
	
	/* AUG 2026 Training */
	--primary-color: #6366f1;
	--secondary-color: #4f46e5;
	--dark-bg: #0f172a;
}

.kanit-black {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.roboto-extralight-normal {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.roboto-extralight-italic {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: italic;
}

/* 
.roboto-<uniquifier> {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.kanit-black {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.kanit-thin-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.kanit-extralight-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.kanit-light-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.kanit-regular-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.kanit-medium-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.kanit-semibold-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.kanit-bold-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.kanit-extrabold-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.kanit-black-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-style: italic;
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: "Roboto", sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.navs a {
    color: var(--white);
    padding: 0.5em 1.5em;
    transition: transform 0.5s ease;
}

.active-nav {
    background: linear-gradient(135deg, purple 50%, #ff2d75 100%);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.navs a:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, purple 50%, #ff2d75 100%);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.btns {
    /* background-color: var(--pink);
    color: var(--white); */
    padding: 12px 30px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btns:hover {
    transform: scale(1.05);
}

.textLight {
    color: var(--darkLight);
}

.textDark {
    color: var(--dark);
}

.mainColor {
    color: var(--pink);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 70% 50%, #1a2a44 0%, var(--darkBg) 70%);
    color: var(--white);
    height: 95vh;
    padding-top: 13%;
}

/* V-Shape Transition */
.trusted {
    background-color: var(--white);
    color: #333;
    text-align: center;
    position: relative;
}

.v-shape-top {
    position: absolute;
    top: -199px;
    /* Important */
    left: 0;
    width: 100%;
    height: 200px;
    /* Important */
    background-color: var(--white);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.v-shape-top2 {
    top: -220px;
    width: 90%;
    right: 5%;
    left: 5%;
}

.v-icon {
    background: var(--white);
    color: var(--pink);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.icons {
    width: 1.1em;
    height: 1em;
}

.icons-hover:hover,
.icons-hover:hover .icons {
    background-color: var(--white);
    color: var(--pink);
    transition: background-color 0.7s ease, color 0.7s ease;
}

.links {
    display: inline-block;
    /* Crucial for width: 100% to mean 'text-width' */
    text-decoration: none;
}

.links::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--pink);
    transition: width 0.3s ease;
}

.links:hover::after {
    width: 100%;
}

.gradient-text {
    /* Step 1: Apply the gradient as a background */
    background: linear-gradient(135deg, purple 50%, #ff2d75 100%);

    /* Step 2: Clip the background to the text boundaries */
    -webkit-background-clip: text;
    background-clip: text;

    /* Step 3: Make the original font color transparent so the background shows through */
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gradient-bg {
    background: linear-gradient(135deg, purple 50%, #ff2d75 100%);
    color: var(--white);
}

.darkBg {
    background-color: var(--darkBg);
    border-top: 5px solid;
    border-image: linear-gradient(135deg, purple 50%, #ff2d75 100%) 1;
}

.aboutInfo {
    background: rgba(248, 249, 250, 1);
    transition: transform 0.3s ease;
    min-height: 270px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.aboutInfo:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.testimonialInfo.active-center {
    background: linear-gradient(135deg, purple 50%, #ff2d75 100%);
    color: var(--white);
    transition: transform 1s ease;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.whatWeDoTabs {
    position: relative;
    /* Needed to anchor the hidden gradient border layer */
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    background-color: #fff;
    /* Requires a solid background color so the gradient doesn't bleed through */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Create the gradient border container layer */
.whatWeDoTabs::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Stretches to the exact size of your card */

    /* Mirror your parent border-radius properties exactly */
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;

    /* Set up the 1px gradient border using a padding trick */
    padding: 2px;
    background: linear-gradient(135deg, purple 0%, var(--pink) 100%);

    /* Clip the background to reveal only the 1px frame padding */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    /* Hide the border layer by default */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* Prevents the invisible layer from blocking clicks */
}

/* Hover State triggers */
.whatWeDoTabs:hover {
    transform: scale(1.05);
}

.whatWeDoTabs:hover::before {
    opacity: 1;
    /* Smoothly fades in the rounded gradient border */
}

.overlapping-images-container {
    /* Ensures the container stays clean on smaller viewport breakpoints */
    display: block;
}

.img-left {
    display: block;
    width: 40%;
    /* Restricts width so there is room for the second image to sit right */
    height: auto;
    border-radius: 20px;
    /* Optional: adds smooth card corners */

    border-style: solid;
    border-width: 10px;
    border-color: rgba(255, 255, 255, 0.8);

    position: relative;
    z-index: 2;
}

.img-right {
    position: absolute;
    top: 5%;
    left: 1%;
    width: 115%;
    height: auto;
    border-radius: 12px;

    border-style: solid;
    border-width: 10px;
    border-color: rgba(255, 255, 255, 0.8);

    /* Forces this image to sit over the top of the left image */
    z-index: 1;
}


/* Floating Shape Styling */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.floating-shape {
    width: 250px;
    height: 150px;
    background: linear-gradient(135deg, #ff2d75 0%, #ff5e95 100%);
    clip-path: polygon(20% 0%, 100% 40%, 70% 100%, 0% 80%);
    /* Roughly matches the shape in your image */
    box-shadow: 0 0 50px rgba(255, 45, 117, 0.5);
    animation: float 4s ease-in-out infinite;
}

/* The Animation Loop */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Container sizing */
.custom-carousel {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: max-content;
    /* Critical: allows clones to stay in one line */
    will-change: transform;
}

/* Base card styling (Side items) */
.testimonial-card {
    min-width: 293px;
    /* Precise width for 1000px container minus 60px padding */
    flex: 0 0 293px;
    opacity: 0.5;
    transform: scale(0.85);
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
    box-sizing: border-box;
}

/* Ensure images/content inside cards don't break the width */
.testimonial-card p {
    max-width: 100%;
    word-wrap: break-word;
}

/* Center item styling */
.testimonial-card.active-center {
    opacity: 1;
    transform: scale(1.1);
    pointer-events: auto;
    z-index: 2;
}

/* Custom dark icons for buttons */
.btn-dark-icon {
    filter: invert(1) grayscale(100%) brightness(0);
}

/* Base state */
.transition-nav {
    transition: all 0.4s ease-in-out;
    background-color: transparent;
    /* Or your initial color */
}

.nav-logo {
    transition: width 0.4s ease-in-out;
    width: 30%;
}

.nav-link-custom {
    text-decoration: none;
    color: #ffffff;
    /* Initial text color (e.g., white for transparent bg) */
    transition: color 0.4s ease-in-out;
}

.navbar-toggler-icon {
    filter: invert(1) brightness(2);
    transition: filter 0.3s ease;
}

/* Scrolled state */
.nav-scrolled {
    background-color: #ffffff !important;
    /* The color you want when scrolling */
    padding-top: 1rem !important;
    /* Optional: shrink height on scroll */
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Shrink logo on scroll */
.nav-scrolled .nav-logo {
    width: 20%;
}

/* Change text color on scroll */
.nav-scrolled .nav-link-custom {
    color: #333333 !important;
    /* Changes to dark grey/black */
}

.nav-scrolled .nav-link-custom.active-nav {
    color: #fff !important;
    /* Changes to dark grey/black */
}

.nav-scrolled .navbar-toggler-icon {
    filter: none;
}

/***************************
*** FADE IN SCROLL 
****************************/
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ticker Container Setup */
.logo-ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Flex Track */
.logo-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 4rem;
    /* Generous clean gap spacing for centered layouts */
    width: 100%;
    will-change: transform;
}

/* Equal Height & Uniform Logo Bounds */
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    flex-shrink: 0;
}

/* Core Image States & Hover Filter Transitions */
.logo-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%) opacity(1);
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        min-width: 100vw;
        flex: 0 0 100vw;
        transform: scale(0.95);
    }

    .testimonial-card p {
        max-width: 55%;
    }

    /* .testimonial-card.active-center {
        border-top-right-radius: 30px !important;
        border-bottom-left-radius: 30px !important;
    } */
    #navbarMobileMenu {
        background-color: var(--white);
        padding-left: 1em;
    }

    .nav-link-custom {
        color: #333333 !important;
        /* Dark text for mobile menu */
    }

    .nav-link-custom.active-nav {
        color: #fff !important;
        /* Changes to dark grey/black */
    }

    .hero {
        padding-top: 30%;
    }

    .v-shape-top {
        top: -149px;
        /* Important */
        height: 150px;
        /* Important */
    }

    .v-shape-top2 {
        top: -166px;
    }
}


/*********************************************
***** AUG 2026 TRAINING STYLES ************
**********************************************/
.hero-section {
	background: radial-gradient(circle at 70% 50%, #1a2a44 0%, var(--darkBg) 70%);
	color: white;
	padding: 100px 0;
}
.track-card {
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	transition: all 0.3s ease;
}
.track-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
	border-color: var(--primary-color);
}
.icon-box {
	width: 50px;
	height: 50px;
	background-color: #e0e7ff;
	color: var(--primary-color);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin-bottom: 15px;
}
/* .tier-card {
	border-radius: 16px;
	border: 2px solid transparent;
} */
.tier-card.active {
	border-color: var(--primary-color);
	background-color: white;
	box-shadow: 0 15px 30px rgba(99, 102, 241, 0.1);
}