/* GENERAL */
body {
    margin: 0;
    font-family: Inter,Arial, Helvetica, sans-serif !important;
    background: #0d0d0d;
    color: #fff !important;
}
@font-face {
	font-family: "Bai_Jamjuree";
	src: url('../fonts/Bai_Jamjuree/BaiJamjuree-Regular.ttf') format('truetype');
}

h1,h2,h3,h4,h5{
	font-family: "Bai_Jamjuree";
}

.hero-section {
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	overflow: hidden;
	margin-top: 63px;
}


.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background-image: url('../../resources/product/tqm360/images/tqm-banner.png'); */
	background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 20%,
		rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.1) 60%),
		url("../../resources/product/tqm360/images/tqm-banner.png");
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
	z-index: 1;
}

.container {
	z-index: 1;
}

.content-wrapper {
	max-width: 60%;
}

.hero-title {
	font-size: 35px;
	color: #ffffff;
	margin-bottom: 1.5rem;
	line-height: 1.2;
	margin-top: 0px;
	font-family: "Bai_Jamjuree";
}

.hero-title .highlight {
	/* color: #00d084; */
	display: block;
}

.text-gradient {
	background: linear-gradient(90deg, #3aad50 0%, #40b25d 40%, #4ab56c 70%, #6fb8a5
		100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
}

.hero-description {
	font-size: 17px;
	margin-bottom: 2.5rem;
	line-height: 1.6;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.tqm-h-btn {
	padding: 1rem 2rem;
	font-size: 15px;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tqm-ex-btn {
	padding: 0.6rem 2rem;
	font-size: 1.4rem;
	font-weight: 600;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.btn-tq-blue {
	background: linear-gradient(70deg, #082583 -10%, #0f5bb7);
	color: #ffffff;
	box-shadow: 0 4px 15px rgba(12, 193 29, 0.3);
	border-image: linear-gradient(70deg, #082583 -10%, #0f5bb7) 1;
}

.btn-tq-blue:hover,.btn-primary:focus {
	background: linear-gradient(70deg, #082583 -10%, #0f5bb7);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(12, 193 29, 0.4);
	color: #ffffff;
}

.btn-tq-secondary {
	background: transparent;
	box-shadow: 0 4px 15px rgba(12, 193 29, 0.3);
	border: 1px solid white;
	color: #ffffff;
}

.btn-tq-secondary:hover {
	background: linear-gradient(70deg, #082583 -10%, #0f5bb7);
	transform: translateY(-2px);
	color: #ffffff;
	border: 1px solid #0f5bb7;
	box-shadow: 0 6px 20px rgba(12, 193 29, 0.4);
}

/* Decorative elements */
.floating-element {
	position: absolute;
	border-radius: 50%;
	background: rgba(12, 193 29, 0.1);
	animation: float 6s ease-in-out infinite;
}

.element-1 {
	width: 100px;
	height: 100px;
	top: 10%;
	right: 15%;
	animation-delay: 0s;
}

.element-2 {
	width: 150px;
	height: 150px;
	bottom: 15%;
	right: 10%;
	animation-delay: 2s;
}
@keyframes float {
	0%, 100% {transform: translateY(0px);}
	50% {transform: translateY(-20px);}
}
/* SECTION */
.categories-section {
  /* min-height: 100vh; */
  padding: 30px 20px;
  background: radial-gradient(circle at top, #111, #000);
  color: #fff;
}

/* TITLE */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}


.categories-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;

  /* Height of approx 2 cards */
  max-height: 56vh;
  overflow-y: auto;
  padding: 10px;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-wrapper::-webkit-scrollbar {
  display: none;
}

/* SCROLL ARROW */
.scroll-down {
  margin-top: 25px;
  text-align: center;
  cursor: pointer;
  animation: bounce 1.5s infinite;
}

.scroll-down i {
  font-size: 28px;
  color: #2ecc71;
}

/* BOUNCE EFFECT */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* CARD */
.category-card {
  background: linear-gradient(145deg, #1c1c1c, #2a2a2a);
  border-radius: 14px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  /* box-shadow: 0 8px 15px rgba(12, 193, 29, 0.3); */
  box-shadow: 0 8px 15px rgba(15, 91, 183, 0.35);
  
}

/* ICON */
.cat-qtm-icon i {
  font-size: 32px;
  margin-bottom: 15px;
  filter: brightness(0) saturate(100%) invert(22%) sepia(95%) saturate(5200%) hue-rotate(260deg) brightness(95%) contrast(105%); 
  /* filter: brightness(0) saturate(100%)
        invert(18%) sepia(50%) saturate(2300%)
        hue-rotate(230deg) brightness(92%) contrast(105%); */
  /* filter: brightness(0) saturate(100%) invert(54%) sepia(86%) saturate(447%) hue-rotate(86deg); */
}

/* TEXT */
.category-card .cat-qtm-title {
  font-size: 2rem;
  margin-bottom: 20px;
  margin-left:10px;
  font-weight: 500;
}

/* BUTTON */
.cat-btn {
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  border: none;
  color: #000;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cat-btn:hover {
  background: linear-gradient(90deg, #27ae60, #2ecc71);
}

/* SCROLLBAR */
.categories-wrapper::-webkit-scrollbar {
  width: 6px;
}

.categories-wrapper::-webkit-scrollbar-thumb {
  background: #2ecc71;
  border-radius: 10px;
}

/* Chrome, Safari */
.categories-wrapper::-webkit-scrollbar {
  display: none;
}

/* SECTION */
.featured-section {
	padding: 30px 20px;
	background-image: url('../../resources/product/skillelabs/rectangle1195271-qmlp-1100h.png');
	background-size: cover;
	background-position: center;
	background-repeat: repeat;
	color: #fff;
}

/* TITLE */

/* GRID */
.featured-grid {
  max-width: 1200px;
  margin: auto;
  /* display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 25px; */
  padding: 30px;
}

/* CARD BASE */
.featured-card {
  background: #fff;
  color: #000;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  padding: 10px;
}

.featured-card:hover {
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 10px 15px rgba(201, 204, 203, 0.45);
}

/* LARGE CARD */
.featured-card.large {
  display: flex;
  flex-direction: column;
}

.card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-body {
  padding: 10px;
}

.card-body h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.card-body p {
  font-size: 0.85rem;
  color: #555;
}

/* SMALL CARDS */
.small-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height : fit-content;
}

.featured-card.small {
  padding: 10px;
  text-align: center;
}

.circle-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
}

/* BUTTONS */
.fc-btn {
  margin-top: 0px;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.fc-btn.small {
  font-size: 0.75rem;
}

.fc-sm-tit {
	height: 30px;
	overflow: hidden;
	line-height: 15px;
	margin-bottom: 5px;
}

/* ABOUT SECTION */
.about-section {
    background: #0e1c12;
    padding: 40px 40px;
    text-align: center;
}

img {
  max-width: 100%;
  height: auto;
}
.tq-ab-p{
	margin: 2% 20%;
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-background {
        width: 100%;
    }
}

@media ( max-width : 992px) {
	.hero-description {
		font-size: 18px;
	}
	.featured-grid {
		grid-template-columns: 1fr;
	}
	.small-cards {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
	.category-card .cat-qtm-title {
		font-size: 1.6rem;
	}
	.tq-ab-p{
		margin : 10px auto;
		font-size:12px;
	}
}

@media ( max-width : 768px) {
	.hero-section {
		min-height: 42vh;
	}
	.hero-section::before {
		background: rgba(0, 0, 0, 0.7);
	}
	.content-wrapper {
		max-width: 100%;
	}
	
	.floating-element {
		display: none;
	}
	.hero-description {
		font-size: 15px;
	}
	.tqm-h-btn,.tqm-ex-btn {
		padding: 0.5rem 1rem;
		font-size: 0.8rem;
	}
	.tq-ab-p{
		margin : 10px auto;
		font-size:12px;
	}
	.circle-img {
    width: 100%;
    height: 120px;
    border-radius: 0;
    object-fit: cover;
    margin-bottom: 5px;
}
.card-img {
    width : 100%;
    height: 120px;
    object-fit: cover;
}
}
/* MOBILE */
@media (max-width: 600px) {
  /* .section-title {
    font-size: 1.6rem;
  } */

  .categories-wrapper {
    max-height: none;
    overflow: visible;
  }
  .scroll-down {
		display: none;
	}
	
}

        @media ( max-width : 480px) {
	.container {
		padding: 1.5rem 1rem;
	}
	.hero-title {
		margin-bottom: 1rem;
		font-size: 25px;
	}
	.hero-description {
		margin-bottom: 2rem;
	}
	
	.tqm-h-btn,.tqm-ex-btn {
		padding: 0.5rem 1rem;
		font-size: 0.8rem;
	}
	.category-card .cat-qtm-title {
		font-size: 1rem;
	}
	.cat-qtm-icon i {
		font-size: 20px;
	}
	/* .section-title {
		font-size: 1.8rem;
	} */
	.scroll-down {
		display: none;
	}
	.tq-ab-p{
		margin : 10px auto;
		font-size:12px;
	}
}

/* Additional animations */
.content-wrapper {
	animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




