/**
 * About Me Page Styles
 * Story-driven layout with animations, timeline, tabs, and interactive elements
 */

/* =====================
   CSS Variables
   ===================== */
:root {
	--primary-blue: #2563eb;
	--dark-blue: #1e40af;
	--success-green: #28a745;
	--warning-yellow: #ffc107;
	--text-dark: #212529;
	--text-muted: #6c757d;
	--bg-light: #f8f9fa;
	--border-light: #e9ecef;
}

/* =====================
   Hero Section
   ===================== */
.about-me-page .hero-section {
	background: radial-gradient(80rem 80rem at 90% -10%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%),
		linear-gradient(180deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
	padding: 4rem 0;
	position: relative;
	overflow: hidden;
	color: #fff;
}

.about-me-page .hero-animated-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.1;
	overflow: hidden;
	pointer-events: none;
}

.about-me-page .floating-number {
	position: absolute;
	font-size: 2rem;
	font-weight: 700;
	opacity: 0.3;
	animation: float-up 15s infinite ease-in-out;
}

@keyframes float-up {
	0%, 100% { transform: translateY(0) translateX(0); opacity: 0.1; }
	50% { transform: translateY(-100px) translateX(30px); opacity: 0.3; }
}

.about-me-page .hero-content h1 {
	font-size: 2.5rem;
	line-height: 1.2;
	margin-bottom: 1rem;
	color: #fff !important;
}

.about-me-page .hero-tagline {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: rgba(255,255,255,0.95);
}

.about-me-page .hero-description {
	font-size: 1.1rem;
	line-height: 1.6;
	color: rgba(255,255,255,0.9);
	margin-bottom: 2rem;
}

.about-me-page .hero-cta .btn-primary-hero {
	background: var(--warning-yellow);
	color: var(--text-dark);
	border: none;
	padding: 0.875rem 2rem;
	font-size: 1.1rem;
	font-weight: 700;
	transition: all 0.3s ease;
}

.about-me-page .hero-cta .btn-primary-hero:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255,193,7,0.4);
}

.about-me-page .hero-cta .btn-secondary-outline {
	color: #fff;
	border: 2px solid rgba(255,255,255,0.5);
	background: transparent;
	padding: 0.875rem 2rem;
	font-size: 1.1rem;
	font-weight: 600;
	transition: all 0.3s ease;
}

.about-me-page .hero-cta .btn-secondary-outline:hover {
	border-color: #fff;
	background: rgba(255,255,255,0.1);
	transform: translateY(-2px);
}

.about-me-page .hero-headshot {
	width: 280px;
	height: 280px;
	border-radius: 50%;
	overflow: hidden;
	border: 5px solid rgba(255,255,255,0.3);
	box-shadow: 0 15px 35px rgba(0,0,0,0.3);
	margin: 0 auto;
}

.about-me-page .hero-headshot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* =====================
   Timeline Section - Vertical Alternating Layout
   ===================== */
.about-me-page .timeline-section {
	padding: 5rem 0;
	background: #fff;
}

.about-me-page .timeline-container {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	padding: 2rem 0;
}

/* Vertical Timeline Line (Desktop & Mobile) */
.about-me-page .timeline-line {
	position: absolute;
	width: 4px;
	background: linear-gradient(180deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
	z-index: 1;
}

/* Desktop: Vertical Alternating with Overlapping Grid Layout */
@media (min-width: 992px) {
	.about-me-page .timeline-line {
		position: absolute;
		left: 50%;
		top: 0;
		bottom: 0;
		transform: translateX(-50%);
	}

	.about-me-page .timeline-items {
		position: relative;
		z-index: 2;
		display: grid;
		grid-template-columns: 1fr 4px 1fr;
		grid-auto-rows: minmax(80px, auto);
		gap: 0;
		padding: 2rem 0;
	}

	.about-me-page .timeline-item {
		position: relative;
		display: flex;
		align-items: center;
		padding: 1rem 0;
	}

	/* Odd items (left side) - Column 1 */
	.about-me-page .timeline-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
	.about-me-page .timeline-item:nth-child(3) { grid-column: 1; grid-row: 3 / span 2; }
	.about-me-page .timeline-item:nth-child(5) { grid-column: 1; grid-row: 5 / span 2; }
	.about-me-page .timeline-item:nth-child(7) { grid-column: 1; grid-row: 7 / span 2; }
	.about-me-page .timeline-item:nth-child(9) { grid-column: 1; grid-row: 9 / span 2; }

	/* Even items (right side) - Column 3 */
	.about-me-page .timeline-item:nth-child(2) { grid-column: 3; grid-row: 2 / span 2; }
	.about-me-page .timeline-item:nth-child(4) { grid-column: 3; grid-row: 4 / span 2; }
	.about-me-page .timeline-item:nth-child(6) { grid-column: 3; grid-row: 6 / span 2; }
	.about-me-page .timeline-item:nth-child(8) { grid-column: 3; grid-row: 8 / span 2; }

	/* Odd items (left side) - Alignment */
	.about-me-page .timeline-item:nth-child(odd) {
		justify-content: flex-end;
		padding-right: 50px;
	}

	.about-me-page .timeline-item:nth-child(odd) .timeline-content {
		text-align: center;
	}

	.about-me-page .timeline-item:nth-child(odd) .timeline-logo {
		margin-left: auto;
		margin-right: auto;
	}

	/* Even items (right side) - Alignment */
	.about-me-page .timeline-item:nth-child(even) {
		justify-content: flex-start;
		padding-left: 50px;
	}

	.about-me-page .timeline-item:nth-child(even) .timeline-content {
		text-align: center;
	}

	.about-me-page .timeline-item:nth-child(even) .timeline-logo {
		margin-right: auto;
		margin-left: auto;
	}

	/* Timeline dot positioning */
	.about-me-page .timeline-dot {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		z-index: 10;
	}

	.about-me-page .timeline-item:nth-child(odd) .timeline-dot {
		right: -10px;
	}

	.about-me-page .timeline-item:nth-child(even) .timeline-dot {
		left: -10px;
	}
}

/* Tablet & Mobile: Single Column */
@media (max-width: 991px) {
	.about-me-page .timeline-line {
		left: 30px;
		top: 0;
		bottom: 0;
	}

	.about-me-page .timeline-items {
		position: relative;
		z-index: 2;
		padding-left: 0;
	}

	.about-me-page .timeline-item {
		position: relative;
		margin-bottom: 2rem;
		padding-left: 80px;
		min-height: 120px;
		display: flex;
		align-items: center;
	}

	.about-me-page .timeline-item:last-child {
		margin-bottom: 0;
	}

	.about-me-page .timeline-content {
		text-align: left !important;
	}

	.about-me-page .timeline-logo {
		margin-left: 0 !important;
		margin-right: auto !important;
	}

	/* Timeline dot positioning for mobile */
	.about-me-page .timeline-dot {
		position: absolute;
		left: 22px;
		top: 50%;
		transform: translateY(-50%);
	}
}

/* Timeline Dot Styling */
.about-me-page .timeline-dot {
	width: 20px;
	height: 20px;
	background: var(--primary-blue);
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--primary-blue);
	z-index: 3;
	transition: all 0.3s ease;
}

@media (min-width: 992px) {
	.about-me-page .timeline-item:hover .timeline-dot {
		transform: translateY(-50%) scale(1.4);
		box-shadow: 0 0 0 8px rgba(37,99,235,0.3);
	}
}

@media (max-width: 991px) {
	.about-me-page .timeline-item:hover .timeline-dot {
		transform: translateY(-50%) scale(1.4);
		box-shadow: 0 0 0 8px rgba(37,99,235,0.3);
	}
}

/* Timeline Card Styling */
.about-me-page .timeline-content {
	background: #fff;
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	transition: all 0.4s ease;
	cursor: pointer;
	width: 260px;
	max-width: 100%;
	position: relative;
}

.about-me-page .timeline-content:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 35px rgba(0,0,0,0.15);
	border: 2px solid var(--primary-blue);
}

@media (max-width: 991px) {
	.about-me-page .timeline-content {
		width: 100%;
	}
}

/* Circular Logo Container */
.about-me-page .timeline-logo {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background: var(--bg-light);
	border: 3px solid #e9ecef;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	padding: 18px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.about-me-page .timeline-content:hover .timeline-logo {
	background: #fff;
	border-color: var(--primary-blue);
	transform: scale(1.05);
}

.about-me-page .timeline-logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(20%) opacity(0.9);
	transition: filter 0.3s ease;
}

.about-me-page .timeline-content:hover .timeline-logo img {
	filter: grayscale(0%) opacity(1);
}

/* Timeline Text Styling */
.about-me-page .timeline-date {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--primary-blue);
	margin-bottom: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.about-me-page .timeline-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-dark);
	line-height: 1.4;
	margin-bottom: 0.5rem;
}

.about-me-page .timeline-detail {
	font-size: 0.85rem;
	color: var(--text-muted);
	font-weight: 500;
	line-height: 1.5;
	display: block;
}

/* Timeline Badge for Context */
.about-me-page .timeline-badge {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	background: rgba(37,99,235,0.1);
	color: var(--primary-blue);
	border-radius: 14px;
	font-size: 0.75rem;
	font-weight: 600;
	margin-top: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.about-me-page .timeline-badge.graduated {
	background: rgba(40,167,69,0.1);
	color: var(--success-green);
}

.about-me-page .timeline-badge.certified {
	background: rgba(255,193,7,0.15);
	color: #d39e00;
}

/* =====================
   Statistics Section
   ===================== */
.about-me-page .stats-section {
	padding: 4rem 0;
	background: var(--bg-light);
}

.about-me-page .stat-item {
	text-align: center;
	padding: 2rem 1rem;
	transition: all 0.3s ease;
}

.about-me-page .stat-item:hover {
	transform: translateY(-5px);
}

.about-me-page .stat-icon {
	font-size: 3rem;
	color: var(--primary-blue);
	margin-bottom: 1rem;
}

.about-me-page .stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.about-me-page .stat-label {
	font-size: 1rem;
	color: var(--text-muted);
	font-weight: 500;
}

/* =====================
   Service Cards Section
   ===================== */
.about-me-page .service-cards-section {
	padding: 5rem 0;
	background: var(--bg-light);
}

.about-me-page .service-card {
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	height: 100%;
	border: 2px solid var(--border-light);
	transition: all 0.3s ease;
	cursor: pointer;
}

.about-me-page .service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.15);
	border-color: var(--primary-blue);
}

.about-me-page .service-card-icon {
	font-size: 3rem;
	color: var(--primary-blue);
	margin-bottom: 1.5rem;
}

.about-me-page .service-card-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.about-me-page .service-card-description {
	color: var(--text-muted);
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.about-me-page .service-card-price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary-blue);
	margin-bottom: 1.5rem;
}

.about-me-page .service-card .btn-primary {
	width: 100%;
	background: var(--primary-blue);
	border: none;
	padding: 0.875rem;
	font-weight: 600;
	color: #fff !important;
	transition: all 0.3s ease;
}

.about-me-page .service-card .btn-primary:hover {
	background: var(--dark-blue);
	transform: translateY(-2px);
}

/* =====================
   Tools Showcase Section
   ===================== */
.about-me-page .tools-showcase-section {
	padding: 5rem 0;
	background: #fff;
}

.about-me-page .tools-swiper-container {
	position: relative;
	padding: 0 50px 60px;
}

.about-me-page .toolsSwiper .swiper-slide {
	height: auto;
	display: flex;
}

.about-me-page .tool-card {
	background: #fff;
	border: 2px solid var(--border-light);
	border-radius: 12px;
	padding: 2rem;
	height: 100%;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.about-me-page .tool-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	border-color: var(--primary-blue);
}

.about-me-page .tool-icon {
	width: 70px;
	height: 70px;
	background: var(--bg-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Tool Icon Pop-Out on Card Hover */
.about-me-page .tool-card:hover .tool-icon {
	transform: scale(1.1);
	box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
	background: rgba(37, 99, 235, 0.1);
}

.about-me-page .tool-icon i {
	font-size: 2rem;
	color: var(--primary-blue);
	transition: transform 0.3s ease;
}

.about-me-page .tool-card:hover .tool-icon i {
	transform: scale(1.1);
}

.about-me-page .tool-card h4 {
	text-align: center;
	margin-bottom: 1rem;
	color: var(--text-dark);
}

.about-me-page .tool-card p {
	text-align: center;
	color: var(--text-muted);
	flex-grow: 1;
	margin-bottom: 1.5rem;
}

.about-me-page .tool-card .btn-outline-primary {
	width: 100%;
	border: 2px solid var(--primary-blue);
	color: var(--primary-blue);
	font-weight: 600;
	transition: all 0.3s ease;
}

.about-me-page .tool-card .btn-outline-primary:hover {
	background: var(--primary-blue);
	color: #fff;
}

/* Swiper Navigation */
.about-me-page .toolsSwiper .swiper-button-next,
.about-me-page .toolsSwiper .swiper-button-prev {
	background: var(--primary-blue);
	color: white;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	transition: all 0.3s ease;
}

.about-me-page .toolsSwiper .swiper-button-next:hover,
.about-me-page .toolsSwiper .swiper-button-prev:hover {
	background: var(--dark-blue);
	transform: scale(1.1);
}

.about-me-page .toolsSwiper .swiper-button-next::after,
.about-me-page .toolsSwiper .swiper-button-prev::after {
	font-size: 18px;
	font-weight: 700;
}

.about-me-page .toolsSwiper .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: var(--border-light);
	opacity: 1;
}

.about-me-page .toolsSwiper .swiper-pagination-bullet-active {
	background: var(--primary-blue);
	width: 32px;
	border-radius: 6px;
}

/* =====================
   Final CTA Section
   ===================== */
.about-me-page .final-cta-section {
	padding: 5rem 0;
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
	color: #fff;
	text-align: center;
}

.about-me-page .final-cta-content h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	color: #fff !important;
}

.about-me-page .final-cta-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	opacity: 0.95;
}

.about-me-page .final-cta-buttons .btn-light {
	background: #fff;
	color: var(--primary-blue);
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	border: none;
	margin: 0.5rem;
	transition: all 0.3s ease;
}

.about-me-page .final-cta-buttons .btn-light:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 991px) {
	.about-me-page .hero-section {
		padding: 3rem 0;
	}

	.about-me-page .hero-content h1 {
		font-size: 2rem;
	}

	.about-me-page .hero-tagline {
		font-size: 1.25rem;
	}

	.about-me-page .timeline-section,
	.about-me-page .stats-section,
	.about-me-page .service-cards-section,
	.about-me-page .tools-showcase-section {
		padding: 3rem 0;
	}

	.about-me-page .service-card {
		margin-bottom: 2rem;
	}
}

@media (max-width: 767px) {
	.about-me-page .hero-headshot {
		width: 200px;
		height: 200px;
		margin-bottom: 2rem;
	}

	.about-me-page .stat-number {
		font-size: 2rem;
	}

	.about-me-page .tools-swiper-container {
		padding: 0 20px 60px;
	}

	.about-me-page .toolsSwiper .swiper-button-next,
	.about-me-page .toolsSwiper .swiper-button-prev {
		display: none;
	}

	.about-me-page .final-cta-content h2 {
		font-size: 1.75rem;
	}

	.about-me-page .final-cta-buttons .btn-light {
		width: 100%;
		margin: 0.5rem 0;
	}
}
