/* Set all parents to full height */
html,
body,
.container,
.cbp-fbscroller,
.cbp-fbscroller section {
	height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Quicksand', serif;
}

/* background-attachment does the trick */
.cbp-fbscroller section {
	position: relative;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	min-height: 500px !important;
}

#section0 {
	background: url('../images/slide-2.jpg') no-repeat;
	background-attachment: fixed;
	background-size: cover;
	transition: 1s ease-in-out;
	opacity: 1;
	background-position: 55% 0px;
}

#about {
	/*background-attachment: fixed;
  background: url('../images/slide-4.jpg') no-repeat;
  background-size: cover;
  transition: 1s ease-in-out;
  background-position: 55% 70%;*/
}

#ahead {
	background: url(../images/portfolio/ahead.png) #151515;
	background-size: 70%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: static;
	transition: 1s ease-in-out;
}

#ahead .info {
	background: rgba(21, 21, 21, 0.9);
}

#hlthx {
	background: url(../images/portfolio/hlthx.png) #1757a2;
	background-size: 70%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: static;
	transition: 1s ease-in-out;
}

#hlthx .info {
	background: rgba(22, 86, 160, 0.9);
}

#delfini {
	background: url(../images/portfolio/delfini.png) #151515;
	background-size: 70%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: static;
	transition: 1s ease-in-out;
}

#delfini .info {
	background: rgba(21, 21, 21, 0.9);
}

#asanja {
	background: url(../images/portfolio/asanja.png) #1757a2;
	background-size: 70%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: static;
	transition: 1s ease-in-out;
}

#asanja .info {
	background: rgba(22, 86, 160, 0.9);
}

#infoTRAK {
	background: url(../images/portfolio/infoTRAK.png) #151515;
	background-size: 70%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: static;
	transition: 1s ease-in-out;
}

#infoTRAK h2 {
	color: #ff6102;
}

#infoTRAK hr,
#prana hr {
	color: #ff6102;
	background: #ff6102;
}

#infoTRAK .info {
	background: rgba(21, 21, 21, 0.9);
}

.hover {
	background: #000;
	background-position: 35% 50% !important;
	transition: 0.2s ease-in-out;
}

#prana {
	background: url(../images/portfolio/prana.png) #1757a2;
	background-size: 70%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: static;
	transition: 1s ease-in-out;
}

#prana .info {
	background: rgba(22, 86, 160, 0.9);
}

#taboophone {
	background: url(../images/portfolio/taboophone.png) #151515;
	background-size: 70%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: relative;
	transition: 1s ease-in-out;
}

#taboophone .info {
	background: rgba(21, 21, 21, 0.9);
}


.tpad-2rem {
	padding-top: 2em;
}

.tpad-3rem {
	padding-top: 3em;
}

.bmar-5per {
	margin-bottom: 5%;
}

.text-center {
	text-align: center;
}

.text-bold {
	font-weight: bold !important;
}

.grey {
	background: rgba(0, 0, 0, 0.99) !important;
}

.grey-text {
	color: rgba(0, 0, 0, 0.99) !important;
}

.grey-text.lighten {
	color: rgba(50, 50, 50, 0.8) !important;
}

.silver {
	background: rgba(150, 150, 150, 0.5) !important;
}

.silver-text {
	color: rgba(150, 150, 150, 0.5) !important;
}

.white-text {
	color: #FFFFFF !important;
}

.orange-text {
	color: #ff6102 !important;
}

.taboo {
	background-color: rgb(1, 0, 1) !important;
}

.hum {
	background-color: rgb(242, 89, 41) !important;
}

.talocity {
	background: rgb(38, 49, 89) !important;
}

.mytask {
	background-color: rgb(78, 27, 96) !important;
}

.red-text {
	color: #ca0729 !important;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding: 20px;
}

.card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 40px 30px;
	text-align: center;
	cursor: pointer;
	position: relative;
	overflow: visible;
	height: 25vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* FINANCE CARD - Money Rain Animation */
.card.finance {
	animation: slideInLeft 0.8s ease-out;
}

.card.finance:hover .icon-wrapper {
	animation: coinFlip 0.6s ease-in-out;
}

.card.finance::before,
.card.finance::after {
	content: '$';
	position: absolute;
	font-size: 20px;
	color: #4ade80;
	opacity: 0;
	font-weight: bold;
}

.card.finance::before {
	animation: moneyRain1 1.5s ease-out infinite;
}

.card.finance::after {
	animation: moneyRain2 1.8s ease-out infinite;
	animation-delay: 0.3s;
}

/* HEALTHCARE CARD - Heartbeat Pulse */
.card.healthcare {
	animation: slideInDown 0.8s ease-out;
}

.card.healthcare::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: 20px;
	opacity: 0;
	/* border: 3px solid #ef4444; */
}

.card.healthcare::before {
	animation: heartbeatPulse 3s ease-out infinite;
}

.card.healthcare .icon-wrapper {
	animation: heartbeat 2.5s ease-in-out infinite;
}

/* EDUCATION CARD - Book Pages Flip */
.card.education {
	animation: slideInRight 4s ease-out;
}

.card.education {
	animation: bookFlip 4s ease-in-out;
}

.card.education .icon-wrapper {
	perspective: 1000px;
}

.card.education .icon-wrapper svg {
	animation: pageFlip 3.6s ease-in-out infinite;
}

/* IOT CARD - Network Connections */
.card.iot {
	animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

.card.iot::before,
.card.iot::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3b82f6;
	opacity: 0;
}

.card.iot::before,
.card.iot::after {
	animation: networkPulse 2s ease-out infinite;
}

.card.iot::after {
	animation-delay: 1s;
}

.card.iot .icon-wrapper {
	animation: dataFlow 2s linear infinite;
}

/* TRAVEL CARD - Flying Animation */
.card.travel .icon-wrapper {
	animation: slideInDown 0.8s ease-out 0.2s backwards;
}

.card.travel .icon-wrapper {
	animation: flying 3s ease-in-out infinite;
}

.card.travel .icon-wrapper svg {
	animation: planeTilt 2s ease-in-out infinite;
}

.card.travel::before {
	content: '✈';
	position: absolute;
	font-size: 16px;
	opacity: 0;
}

.card.travel .icon-wrapper::before {
	animation: cloudDrift 4s linear infinite;
}

/* HOSPITALITY CARD - Welcome Glow */
.card.hospitality {
	animation: slideInRight 0.8s ease-out 0.2s backwards;
}

.card.hospitality::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: 20px;
	background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
	opacity: 0;
}

.card.hospitality::before {
	animation: welcomeGlow 2s ease-in-out infinite;
}

.card.hospitality .icon-wrapper {
	animation: doorOpen 0.6s ease-out;
}

/* Icon Wrapper Styles */
.icon-wrapper {
	width: 100px;
	height: 100px;
	margin: 0 auto 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.icon-wrapper svg {
	width: 60px;
	height: 60px;
	filter: drop-shadow(0 0 10px currentColor);
}

.card.finance .icon-wrapper svg {
	color: #4ade80;
}

.card.healthcare .icon-wrapper svg {
	color: #ef4444;
}

.card.education .icon-wrapper svg {
	color: #8b5cf6;
}

.card.iot .icon-wrapper svg {
	color: #3b82f6;
}

.card.travel .icon-wrapper svg {
	color: #06b6d4;
}

.card.hospitality .icon-wrapper svg {
	color: #fbbf24;
}

.card-title {
	font-size: 28px;
	font-weight: 700;
	color: #fff;
	margin-top: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* KEYFRAME ANIMATIONS */
@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-100px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(100px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInDown {
	from {
		opacity: 0;
		transform: translateY(-100px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes coinFlip {

	0%,
	100% {
		transform: rotateY(0deg);
	}

	50% {
		transform: rotateY(180deg);
	}
}

@keyframes moneyRain1 {
	0% {
		top: -20px;
		left: 20%;
		opacity: 1;
	}

	100% {
		top: 100%;
		left: 30%;
		opacity: 0;
	}
}

@keyframes moneyRain2 {
	0% {
		top: -20px;
		right: 20%;
		opacity: 1;
	}

	100% {
		top: 100%;
		right: 30%;
		opacity: 0;
	}
}

@keyframes heartbeatPulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 0;
	}

	50% {
		transform: scale(1.1);
		opacity: 0.5;
	}
}

@keyframes heartbeat {

	0%,
	100% {
		transform: scale(1);
	}

	10%,
	30% {
		transform: scale(1.1);
	}

	20%,
	40% {
		transform: scale(0.95);
	}
}

@keyframes bookFlip {

	0%,
	100% {
		transform: perspective(1000px) rotateY(0deg);
	}

	50% {
		transform: perspective(1000px) rotateY(15deg);
	}
}

@keyframes pageFlip {

	0%,
	100% {
		transform: rotateY(0deg);
	}

	50% {
		transform: rotateY(180deg);
	}
}

@keyframes networkPulse {
	0% {
		top: 50%;
		left: 50%;
		opacity: 0;
		transform: translate(-50%, -50%) scale(0);
	}

	50% {
		opacity: 1;
	}

	100% {
		top: 10%;
		left: 80%;
		opacity: 0;
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes dataFlow {

	0%,
	100% {
		box-shadow: 0 0 20px #3b82f6, 0 0 40px #3b82f6;
	}

	50% {
		box-shadow: 0 0 40px #3b82f6, 0 0 80px #3b82f6;
	}
}

@keyframes flying {

	0%,
	100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-20px);
	}
}

@keyframes planeTilt {

	0%,
	100% {
		transform: rotate(0deg);
	}

	25% {
		transform: rotate(-10deg);
	}

	75% {
		transform: rotate(10deg);
	}
}

@keyframes cloudDrift {
	0% {
		left: -10%;
		top: 30%;
		opacity: 0;
	}

	25%,
	75% {
		opacity: 0.5;
	}

	100% {
		left: 110%;
		top: 60%;
		opacity: 0;
	}
}

@keyframes welcomeGlow {

	0%,
	100% {
		opacity: 0;
		transform: scale(0.8);
	}

	50% {
		opacity: 1;
		transform: scale(1.2);
	}
}

@keyframes doorOpen {
	0% {
		transform: perspective(500px) rotateY(0deg);
	}

	50% {
		transform: perspective(500px) rotateY(-20deg);
	}

	100% {
		transform: perspective(500px) rotateY(0deg);
	}
}

/* Responsive Design */
@media (max-width: 968px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 640px) {
	.card-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.card {
		height: 240px;
	}

	.card-title {
		font-size: 24px;
	}
}