.tf-content-block,
.tf-intro-modern,
.tf-subsection-divider {
	position: relative;
	overflow: hidden
}

.tf-modern-section {
	padding: 40px 0;
	background: linear-gradient(135deg, #f8f9fa 0, #fff 100%)
}

.tf-intro-modern {
	background: linear-gradient(135deg, var(--secondary-color) 0, #0a5e8a 100%);
	border-radius: 20px;
	padding: 60px;
	margin-bottom: 50px;
	box-shadow: 0 20px 60px rgba(11, 140, 249, .2)
}

.tf-intro-modern::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 600px;
	height: 600px;
	background: rgba(255, 255, 255, .05);
	border-radius: 50%;
	animation: 6s ease-in-out infinite float
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0)
	}

	50% {
		transform: translateY(-20px)
	}
}

.tf-intro-modern h2 {
	color: #fff;
	font-size: 36px;
	font-weight: 800;
	margin-bottom: 30px;
	position: relative;
	z-index: 2;
	animation: .8s fadeInUp
}

.tf-intro-list {
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
	z-index: 2
}

.tf-intro-list li {
	color: rgba(255, 255, 255, .95);
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 15px;
	padding-left: 35px;
	position: relative;
	animation: .8s both fadeInLeft;
	text-align: justify
}

.tf-contact-item:first-child,
.tf-intro-list li:first-child {
	animation-delay: .1s
}

.tf-contact-item:nth-child(2),
.tf-intro-list li:nth-child(2) {
	animation-delay: .2s
}

.tf-contact-item:nth-child(3),
.tf-intro-list li:nth-child(3) {
	animation-delay: .3s
}

.tf-contact-item:nth-child(4),
.tf-intro-list li:nth-child(4) {
	animation-delay: .4s
}

.tf-intro-list li::before {
	content: '\f00c';
	font-family: 'Font Awesome 5 Pro';
	position: absolute;
	left: 0;
	top: 2px;
	color: #fff;
	font-weight: 700;
	font-size: 18px
}

.tf-contact-modern {
	background: linear-gradient(135deg, #fff3cd 0, #ffeaa7 100%);
	border-left: 5px solid #ffc107;
	border-radius: 16px;
	padding: 40px;
	margin-bottom: 50px;
	animation: 1s fadeIn;
	box-shadow: 0 10px 30px rgba(255, 193, 7, .15)
}

.tf-contact-modern h4 {
	color: #856404;
	font-size: 22px;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 12px
}

.tf-contact-modern h4 i {
	color: #ffc107;
	font-size: 24px
}

.tf-contact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1200px) {
    .tf-contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .tf-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tf-contact-item {
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	transition: .3s;
	animation: .8s both fadeInUp
}

.tf-contact-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, .1)
}

.tf-contact-item strong {
	display: block;
	color: var(--title-color);
	font-size: 14px;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: .5px
}

.tf-contact-item a,
.tf-contact-item span {
	color: var(--text-color);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: color .3s
}

.tf-contact-item a:hover {
	color: var(--secondary-color)
}

.tf-section-modern {
	margin-bottom: 60px;
	animation: .8s fadeInUp
}

.tf-section-header-modern {
	background: linear-gradient(135deg, var(--secondary-color) 0, #0a5e8a 100%);
	color: #fff;
	padding: 25px 35px;
	border-radius: 16px 16px 0 0;
	display: flex;
	align-items: center;
	gap: 15px;
	box-shadow: 0 5px 20px rgba(11, 140, 249, .2)
}

.tf-section-header-modern i {
	font-size: 28px;
	animation: 2s infinite pulse
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(1)
	}

	50% {
		transform: scale(1.1)
	}
}

.tf-section-header-modern h3 {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	margin: 0
}

.tf-content-block {
	background: #fff;
	padding: 35px;
	border-left: 4px solid var(--dark-blue-color);
	margin-bottom: 20px;
	transition: .4s
}

.tf-content-block::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 4px;
	background: var(--orange-color);
	transform: scaleY(0);
	transition: transform .4s
}

.tf-content-block:hover {
	background: linear-gradient(135deg, #fff 0, #f8f9fa 100%);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	transform: translateX(10px)
}

.tf-content-block:hover::before {
	transform: scaleY(1)
}

.tf-content-block h4 {
	color: var(--title-color);
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px
}

.tf-content-block h4::before {
	content: '';
	width: 8px;
	height: 8px;
	background: var(--orange-color);
	border-radius: 50%;
	animation: 2s infinite blink
}

@keyframes blink {

	0%,
	100% {
		opacity: 1
	}

	50% {
		opacity: .3
	}
}

.tf-content-block p,
.tf-content-block ul {
	color: var(--text-color);
	font-size: 15px;
	line-height: 1.8;
	margin: 0;
	text-align: justify
}

.tf-content-block ul {
	padding-left: 25px;
	margin-top: 10px
}

.tf-content-block ul li {
	margin-bottom: 8px
}

.tf-numbered-list {
	list-style: none;
	padding: 0;
	margin: 20px 0 0
}

.tf-numbered-list li {
	padding: 20px 20px 20px 60px;
	background: #f8f9fa;
	margin-bottom: 15px;
	border-radius: 12px;
	border-left: 4px solid var(--secondary-color);
	transition: .3s;
	position: relative
}

.tf-numbered-list li::before {
	content: attr(data-number);
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	background: var(--secondary-color);
	color: #fff;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px
}

.tf-numbered-list li:hover {
	background: #fff;
	box-shadow: 0 8px 20px rgba(11, 140, 249, .15);
	transform: translateX(10px)
}

.tf-numbered-list strong {
	color: var(--title-color);
	display: block;
	margin-bottom: 8px;
	font-size: 16px
}

.tf-subsection-divider {
	height: 2px;
	background: linear-gradient(90deg, var(--secondary-color) 0, var(--theme-color) 100%);
	margin: 40px 0;
	border-radius: 2px
}

.tf-subsection-divider::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
	animation: 2s infinite shimmer
}

@keyframes shimmer {
	0% {
		left: -100%
	}

	100% {
		left: 100%
	}
}

@keyframes fadeIn {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px)
	}

	to {
		opacity: 1;
		transform: translateX(0)
	}
}

@media (max-width:768px) {
	.tf-intro-modern {
		padding: 40px 30px
	}

	.tf-intro-modern h2 {
		font-size: 28px
	}

	.tf-section-header-modern {
		padding: 20px 25px
	}

	.tf-section-header-modern h3 {
		font-size: 20px
	}

	.tf-content-block {
		padding: 25px 20px
	}

	.tf-contact-modern {
		padding: 30px 20px
	}

	.tf-numbered-list li {
		padding-left: 50px
	}

	.tf-numbered-list li::before {
		left: 10px;
		width: 28px;
		height: 28px;
		font-size: 12px
	}
}
/* Page Title Backgrounds */
#tf-page-title .bg-layer {
	background-image: url(../images/background/innerbanner06.webp);
}

#tf-page-title .pattern-1 {
	background-image: url(../images/shape/shape-18.png);
}

#tf-page-title .pattern-2 {
	background-image: url(../images/shape/shape-17.png);
}