/* ============================================
CORRESPONDENT BANKING - COMPLETE REDESIGN
============================================ */
.correspondent-banking-section {
	padding: 40px 0;
	background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
	position: relative;
	overflow: hidden;
}
/* Animated Background Pattern */
.correspondent-banking-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		radial-gradient(circle at 20% 50%, rgba(11, 140, 249, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(254, 214, 77, 0.05) 0%, transparent 50%);
	animation: bgPulse 8s ease-in-out infinite;
}
@keyframes bgPulse {
	0%, 100% { opacity: 0.5; }
	50% { opacity: 1; }
}
/* Hero Section with Flip Animation */
.cb-hero {
	background: linear-gradient(135deg, var(--secondary-color) 0%, #1a4a5a 100%);
	padding: 30px 0 130px;
	margin-bottom: -70px;
	position: relative;
	overflow: hidden;
	border-radius: 0 0 50px 50px;
	box-shadow: 0 20px 60px rgba(11, 140, 249, 0.3);
}
.cb-hero::before {
	content: '';
	position: absolute;
	top: -100px;
	right: -100px;
	width: 400px;
	height: 400px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	animation: floatRotate 15s linear infinite;
}
.cb-hero::after {
	content: '';
	position: absolute;
	bottom: -150px;
	left: -150px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
	border-radius: 50%;
	animation: scalePulse 4s ease-in-out infinite;
}
@keyframes floatRotate {
	0% { transform: rotate(0deg) translateY(0); }
	50% { transform: rotate(180deg) translateY(-30px); }
	100% { transform: rotate(360deg) translateY(0); }
}
@keyframes scalePulse {
	0%, 100% { transform: scale(1); opacity: 0.5; }
	50% { transform: scale(1.2); opacity: 0.8; }
}
.cb-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}
.cb-hero-icon {
	width: 100px;
	height: 100px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border-radius: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 35px;
	animation: iconFlip 2s ease-in-out infinite;
	box-shadow: 0 15px 40px rgba(0,0,0,0.3);
	border: 3px solid rgba(255,255,255,0.3);
}
@keyframes iconFlip {
	0%, 100% { transform: rotateY(0deg); }
	50% { transform: rotateY(180deg); }
}
.cb-hero-icon i {
	font-size: 48px;
	color: #fff;
}
.cb-hero h1 {
	font-size: 30px;
	font-weight: 900;
	color: #fff;
	margin-bottom: 5px;
	line-height: 1.2;
	text-shadow: 0 5px 20px rgba(0,0,0,0.3);
	background: linear-gradient(135deg, #fff 0%, #fed64d 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.cb-hero p {
	font-size: 19px;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.9;
	font-weight: 500;
}
/* Intro Card */
.cb-intro-card {
	background: #fff;
	border-radius: 24px;
	padding: 55px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.1);
	margin-bottom: 70px;
	position: relative;
	z-index: 3;
	border: 1px solid rgba(0,0,0,0.05);
}
.cb-intro-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--theme-color), var(--secondary-color), var(--orange-color));
	border-radius: 24px 24px 0 0;
	animation: gradientFlow 3s ease infinite;
	background-size: 200% auto;
}
@keyframes gradientFlow {
	0% { background-position: 0% center; }
	50% { background-position: 100% center; }
	100% { background-position: 0% center; }
}
.cb-intro-card p {
	font-size: 18px;
	line-height: 2;
	color: var(--text-color);
	margin: 0;
	font-weight: 500;
}
/* Services Section */
.cb-section-title {
	font-size: 30px;
	font-weight: 800;
	color: var(--title-color);
	margin-bottom: 40px;
	text-align: center;
	position: relative;
}
.cb-section-title::after {
	content: '';
	display: block;
	width: 100px;
	height: 6px;
	background: linear-gradient(90deg, var(--theme-color), var(--secondary-color));
	margin: 25px auto 0;
	border-radius: 4px;
	animation: expandWidth 1.5s ease forwards, bounceWidth 2s ease-in-out 2.5s infinite;
	transform: scaleX(0);
	transform-origin: center;
}
@keyframes expandWidth {
	to { transform: scaleX(1); }
}
@keyframes bounceWidth {
	0%, 100% { width: 100px; }
	50% { width: 140px; }
}
/* Service Cards Grid */
.cb-services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}
.cb-service-card {
	background: #fff;
	border-radius: 20px;
	padding: 20px 30px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
	border: 2px solid rgba(0, 0, 0, 0.04);
}
.cb-service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--theme-color) 0%, var(--secondary-color) 100%);
	transition: left 0.5s ease;
	opacity: 0.05;
}
.cb-service-card::after {
	content: '';
	position: absolute;
	bottom: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(11,140,249,0.08) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.5s ease;
}
.cb-service-card:hover {
	transform: translateY(-15px) rotateX(0deg) scale(1.03);
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}
.cb-service-card:hover::before {
	left: 0;
}
.cb-service-card:hover::after {
	opacity: 1;
}
/* --- HEADER LAYOUT FOR ICON + TITLE --- */
.cb-card-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 18px;
}
.cb-card-header .cb-service-number {
	margin-bottom: 0;
	flex-shrink: 0;
}
.cb-card-header h4 {
	margin-bottom: 0;
	flex: 1;
	line-height: 1.3;
}
.cb-service-number {
	width: 60px;
	height: 60px;
	background: var(--secondary-color);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 22px;
	font-weight: 900;
	position: relative;
	z-index: 1;
	animation: numberBounce 0.6s ease forwards;
	transform: rotate(-10deg) scale(0);
	box-shadow: 0 8px 25px rgba(254, 214, 77, 0.4);
}
@keyframes numberBounce {
	0% { transform: rotate(-10deg) scale(0); }
	60% { transform: rotate(-10deg) scale(1.2); }
	100% { transform: rotate(-10deg) scale(1); }
}
.cb-service-card:hover .cb-service-number {
	animation: numberSpin 0.6s ease;
	transform: rotate(0deg) scale(1.1);
}
@keyframes numberSpin {
	0% { transform: rotate(-10deg) scale(1); }
	50% { transform: rotate(180deg) scale(1.2); }
	100% { transform: rotate(350deg) scale(1.1); }
}
.cb-service-card h4 {
	font-size: 20px;
	font-weight: 800;
	color: var(--title-color);
	line-height: 1.4;
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}
.cb-service-card:hover h4 {
	color: var(--secondary-color);
	transform: translateX(8px);
}
.cb-service-card p {
	font-size: 16px;
	color: var(--text-color);
	line-height: 1.8;
	margin: 0;
	position: relative;
	z-index: 1;
	opacity: 0.85;
	transition: all 0.3s ease;
}
.cb-service-card:hover p {
	opacity: 1;
	transform: translateX(8px);
}
/* Featured Service Card with Pulse Animation */
.cb-service-card.featured {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	animation: featuredPulse 3s ease-in-out infinite;
	border: 3px solid rgba(11, 140, 249, 0.2);
}
@keyframes featuredPulse {
	0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
	50% { box-shadow: 0 20px 60px rgba(11, 140, 249, 0.2); }
}
.cb-service-card.featured::before {
	background: linear-gradient(135deg, var(--secondary-color) 0%, #1a4a5a 100%);
}
/* Conclusion Section */
.cb-conclusion {
	background: #fff;
	border-radius: 24px;
	padding: 20px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.1);
	border-left: 8px solid var(--theme-color);
	position: relative;
	overflow: hidden;
}
.cb-conclusion::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(254,214,77,0.1) 0%, transparent 70%);
	border-radius: 50%;
	animation: circlePulse 3s ease-in-out infinite;
}
@keyframes circlePulse {
	0%, 100% { transform: scale(1); opacity: 0.5; }
	50% { transform: scale(1.3); opacity: 0.8; }
}
.cb-conclusion p {
	font-size: 16px;
	line-height: 2;
	color: var(--text-color);
	position: relative;
	z-index: 1;
	font-weight: 500;
}
/* Responsive */
@media (max-width: 991px) {
	.cb-hero {
		padding: 60px 0 110px;
		margin-bottom: -50px;
	}
	.cb-hero h1 {
		font-size: 42px;
	}
	.cb-hero p {
		font-size: 17px;
	}
	.cb-intro-card,
	.cb-conclusion {
		padding: 40px;
	}
	.cb-section-title {
		font-size: 34px;
	}
	.cb-services-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 768px) {
	.correspondent-banking-section {
		padding: 40px 0 80px;
	}
	.cb-hero {
		padding: 10px 0 60px;
		margin-bottom: -40px;
	}
	.cb-hero h1 {
		font-size: 36px;
	}
	.cb-hero p {
		font-size: 16px;
	}
	.cb-intro-card,
	.cb-conclusion {
		padding: 30px 20px;
		text-align: justify;
	}
	.cb-section-title {
		font-size: 16px;
		margin-bottom: 20px;
	}
	.cb-service-card {
		padding: 35px 30px;
	}
	.cb-service-number {
		width: 55px;
		height: 55px;
		font-size: 20px;
	}
	.cb-service-card h4 {
		font-size: 20px;
	}
	.cb-service-card p {
		font-size: 16px;
	}
}
@media (max-width: 480px) {
	.cb-hero h1 {
		font-size: 30px;
	}
	.cb-intro-card p,
	.cb-conclusion p {
		font-size: 16px;
	}
	.cb-service-card {
		padding: 30px 25px;
	}
	.cb-card-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
}
/* === Forms Page Title Backgrounds === */
#tf-page-title .bg-layer {
	background-image: url(../images/background/innerbanner04.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);
}