/* ========================================
   SEATECH - MAIN CLIENTS PAGE
   Estilos específicos para a página de principais clientes
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */
.main-clients-hero {
	position: relative;
	height: 45vh;
	min-height: 450px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: linear-gradient(135deg, #004574 0%, #0066a3 100%);
}

.main-clients-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.main-clients-hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.3;
}

.main-clients-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0, 69, 116, 0.8) 0%, rgba(0, 102, 163, 0.6) 100%);
}

.main-clients-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: white;
	padding: 0 20px;
}

.main-clients-title {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-clients-description {
	font-size: 1.3rem;
	font-weight: 300;
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
	opacity: 0.95;
	color: white;
}

/* ========================================
   MAIN CLIENTS HEADER
   ======================================== */
.main-clients-header {
	text-align: center;
	padding: 60px 20px 40px;
}

.main-clients-section-title {
	font-size: 2.5rem;
	color: #004574;
	margin-bottom: 20px;
	font-weight: 600;
}

.main-clients-section-description {
	font-size: 1.1rem;
	color: #666;
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.7;
}

/* ========================================
   LAYOUT DE GRID DE CLIENTES
   ======================================== */
/* Main clients page specific grid - higher specificity */
.main-clients .clients-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 30px;
	padding: 80px 40px;
	max-width: 1400px;
	margin: 0 auto;
}

.client-card {
	background: #fff;
	padding: 40px 30px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	position: relative;
	overflow: hidden;
}

/* Removed hover effects since cards are not clickable */

/* ========================================
   LOGOS DOS CLIENTES
   ======================================== */
.client-logo {
	max-width: 100%;
	max-height: 140px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(0%) opacity(1);
}

/* ========================================
   CLIENTES ESPECÍFICOS - ESTILOS CUSTOMIZADOS
   ======================================== */

/* Cargill */
.client-card.cargill:hover {
	border-color: #005030;
}

/* Norden */
.client-card.norden:hover {
	border-color: #1e3a8a;
}

/* Pennant */
.client-card.pennant:hover {
	border-color: #fbbf24;
}

/* Oldendorff */
.client-card.oldendorff:hover {
	border-color: #1f2937;
}

/* CMA CGM */
.client-card.cma-cgm:hover {
	border-color: #dc2626;
}

/* Wilson Sons */
.client-card.wilson-sons:hover {
	border-color: #2563eb;
}

/* Uniport */
.client-card.uniport:hover {
	border-color: #059669;
}

/* Portocel */
.client-card.portocel:hover {
	border-color: #7c3aed;
}

/* Atlantic Shipping */
.client-card.atlantic:hover {
	border-color: #1e40af;
}

/* Brazil P&I */
.client-card.brazil-pi:hover {
	border-color: #dc2626;
}

/* Bunge */
.client-card.bunge:hover {
	border-color: #f59e0b;
}

/* Clipper */
.client-card.clipper:hover {
	border-color: #0891b2;
}

/* ========================================
   SEÇÃO DE INTRODUÇÃO
   ======================================== */
.clients-intro {
	text-align: center;
	padding: 60px 20px 40px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.clients-intro h2 {
	margin-bottom: 30px;
	color: #004574;
}

.clients-intro p {
	font-size: 18px;
	line-height: 1.8;
	max-width: 800px;
	margin: 0 auto;
	color: #666;
}

/* ========================================
   ESTATÍSTICAS DE CLIENTES
   ======================================== */
.clients-stats {
	background: #004574;
	color: #fff;
	padding: 80px 40px;
	margin: 0;
}

.clients-stats .container {
	max-width: 1200px;
	margin: 0 auto;
}

.stats-grid {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 60px;
}

.stat-item {
	text-align: center;
	flex: 1;
	padding: 40px 20px;
	position: relative;
}

.stat-item::after {
	content: '';
	position: absolute;
	right: -30px;
	top: 50%;
	transform: translateY(-50%);
	width: 2px;
	height: 60px;
	background: rgba(254, 185, 138, 0.3);
}

.stat-item:last-child::after {
	display: none;
}

.stat-number {
	font-size: 64px;
	font-weight: 700;
	color: #feb98a;
	display: block;
	margin-bottom: 15px;
	line-height: 1;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.stat-label {
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.95;
	line-height: 1.3;
}

/* Hover effect for stats */
.stat-item:hover .stat-number {
	transform: scale(1.1);
	color: #fda85a;
}

/* ========================================
   SEÇÕES DE CLIENTES E CORRESPONDENTES
   ======================================== */
.clients-section {
	background: #fff;
	padding: 80px 0;
}

.correspondents-section {
	background: #f8f9fa;
	padding: 80px 0;
}

.correspondents-section .main-clients-section-title {
	font-size: 2.2rem;
	line-height: 1.3;
	margin-bottom: 40px;
	color: #004574;
	font-weight: 600;
}

.correspondent-card .client-type-badge {
	display: none;
}

.correspondent-card .client-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* ========================================
   CALL TO ACTION
   ======================================== */
.clients-cta {
	background: linear-gradient(135deg, #004574 0%, #0066a3 100%);
	color: white;
	padding: 80px 20px;
	text-align: center;
}

.cta-content h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
	font-weight: 600;
	color: #ffffff;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-content p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
	color: #f8f9fa;
	opacity: 1;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button {
	display: inline-block;
	padding: 15px 40px;
	background: #feb98a;
	color: #004574;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(254, 185, 138, 0.3);
}

.cta-button:hover {
	background: #fda85a;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(254, 185, 138, 0.4);
	color: #004574;
}

/* ========================================
   CLIENT PLACEHOLDER
   ======================================== */
.client-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 2px dashed #ddd;
}

.client-name {
	font-weight: 600;
	color: #666;
	font-size: 14px;
	text-align: center;
}

/* ========================================
   CLIENT TYPE BADGES
   ======================================== */
.client-type-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #004574;
	color: white;
	padding: 5px 10px;
	border-radius: 15px;
	font-size: 11px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 5px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.client-card:hover .client-type-badge {
	opacity: 1;
}

.client-type-badge.correspondent {
	background: #0066a3;
}

.badge-icon {
	font-size: 12px;
}

/* ========================================
   NO CLIENTS STATE
   ======================================== */
.no-clients {
	text-align: center;
	padding: 80px 20px;
	color: #666;
}

.no-clients h2 {
	color: #004574;
	margin-bottom: 20px;
}

.back-home-btn {
	display: inline-block;
	padding: 12px 30px;
	background: #004574;
	color: white;
	text-decoration: none;
	border-radius: 25px;
	margin-top: 20px;
	transition: background 0.3s ease;
}

.back-home-btn:hover {
	background: #0066a3;
}

/* ========================================
   SEÇÃO DE TESTEMUNHOS (OPCIONAL)
   ======================================== */
.testimonials {
	padding: 80px 40px;
	background: #f8f9fa;
}

.testimonials h2 {
	text-align: center;
	margin-bottom: 60px;
}

.testimonial-card {
	background: #fff;
	padding: 40px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	margin-bottom: 30px;
	position: relative;
}

.testimonial-card::before {
	content: '"';
	font-size: 60px;
	color: #feb98a;
	position: absolute;
	top: 10px;
	left: 20px;
	font-family: serif;
}

.testimonial-text {
	font-style: italic;
	font-size: 18px;
	line-height: 1.7;
	margin-bottom: 20px;
	padding-left: 40px;
}

.testimonial-author {
	font-weight: bold;
	color: #004574;
	text-align: right;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 1024px) {
	.main-clients .clients-grid {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 25px;
		padding: 60px 30px;
	}

	.client-card {
		padding: 35px 25px;
		min-height: 160px;
	}

	.client-logo {
		max-height: 120px;
	}
}

.clients-stats {
	padding: 60px 30px;
}

.stats-grid {
	gap: 40px;
}

.stat-item {
	padding: 30px 15px;
}

.stat-item::after {
	right: -20px;
	height: 50px;
}
}

@media (max-width: 768px) {
	.main-clients-title {
		font-size: 2.5rem;
	}

	.main-clients-description {
		font-size: 1.1rem;
	}

	.main-clients-section-title {
		font-size: 2rem;
	}

	.main-clients .clients-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 20px;
		padding: 40px 20px;
	}

	.client-card {
		padding: 30px 20px;
		min-height: 140px;
	}

	.client-logo {
		max-height: 100px;
	}

	.clients-intro {
		padding: 40px 20px 30px;
	}

	.clients-intro h2 {
		font-size: 36px;
	}

	.clients-stats {
		padding: 50px 20px;
	}

	.stats-grid {
		flex-direction: column;
		gap: 30px;
	}

	.stat-item {
		padding: 25px 15px;
	}

	.stat-item::after {
		display: none;
	}

	.stat-number {
		font-size: 48px;
	}

	.stat-label {
		font-size: 16px;
	}

	.clients-section,
	.correspondents-section {
		padding: 60px 0;
	}

	.correspondents-section .main-clients-section-title {
		font-size: 1.8rem;
	}

	.cta-content h2 {
		font-size: 2rem;
	}

	.cta-content p {
		font-size: 1.1rem;
	}

	.testimonials {
		padding: 60px 20px;
	}

	.testimonial-card {
		padding: 30px 20px;
	}

	.testimonial-text {
		font-size: 16px;
		padding-left: 30px;
	}
}

@media (max-width: 480px) {
	.main-clients-title {
		font-size: 2rem;
	}

	.main-clients-description {
		font-size: 1rem;
	}

	.main-clients-section-title {
		font-size: 1.8rem;
	}

	.clients-section,
	.correspondents-section {
		padding: 50px 0;
	}

	.correspondents-section .main-clients-section-title {
		font-size: 1.6rem;
		line-height: 1.4;
	}

	.main-clients .clients-grid {
		grid-template-columns: 1fr !important;
		gap: 15px;
		padding: 30px 15px;
	}

	.client-card {
		padding: 25px 15px;
		min-height: 120px;
	}

	.client-logo {
		max-height: 80px;
	}

	.cta-content h2 {
		font-size: 1.8rem;
	}

	.cta-content p {
		font-size: 1rem;
	}

	.cta-button {
		padding: 12px 30px;
		font-size: 1rem;
	}
}

/* ========================================
   ANIMAÇÕES ESPECÍFICAS
   ======================================== */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.client-card {
	animation: slideInUp 0.6s ease forwards;
}

.client-card:nth-child(1) {
	animation-delay: 0.1s;
}

.client-card:nth-child(2) {
	animation-delay: 0.15s;
}

.client-card:nth-child(3) {
	animation-delay: 0.2s;
}

.client-card:nth-child(4) {
	animation-delay: 0.25s;
}

.client-card:nth-child(5) {
	animation-delay: 0.3s;
}

.client-card:nth-child(6) {
	animation-delay: 0.35s;
}

.client-card:nth-child(7) {
	animation-delay: 0.4s;
}

.client-card:nth-child(8) {
	animation-delay: 0.45s;
}

.stat-item {
	animation: slideInUp 0.8s ease forwards;
}

/* Stats animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.stat-item {
	opacity: 0;
	animation: fadeInUp 0.8s ease forwards;
}

.stat-item:nth-child(1) {
	animation-delay: 0.2s;
}

.stat-item:nth-child(2) {
	animation-delay: 0.4s;
}

.stat-item:nth-child(3) {
	animation-delay: 0.6s;
}

/* Pulse effect for numbers during counting */
@keyframes numberPulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}
}

.stat-number.counting {
	animation: numberPulse 0.5s ease-in-out infinite;
}