/* Custom CSS for Altitude - Personal Development Website */

/* ========== Root Variables ========== */
:root {
	--primary-color: #211ee9;
	--primary-dark: #1837c2;
	--primary-light: #8988d4;
	--secondary-color: #673ab7;
	--secondary-dark: #512da8;
	--secondary-light: #d1c4e9;
	--accent-color: #ff5722;
	--accent-light: #ffccbc;
	--success-color: #4caf50;
	--warning-color: #ff9800;
	--error-color: #f44336;
	--dark-color: #263238;
	--light-color: #f5f5f5;
	--white-color: #ffffff;
	--gray-100: #f8f9fa;
	--gray-200: #e9ecef;
	--gray-300: #dee2e6;
	--gray-400: #ced4da;
	--gray-500: #adb5bd;
	--gray-600: #6c757d;
	--gray-700: #495057;
	--gray-800: #343a40;
	--gray-900: #212529;

	/* Typography */
	--font-family-primary: 'Poppins', sans-serif;
	--font-weight-light: 300;
	--font-weight-normal: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--font-weight-bold: 700;

	/* Spacing */
	--section-padding: 80px 0;
	--border-radius: 8px;
	--border-radius-lg: 12px;
	--box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	--box-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);

	/* Transitions */
	--transition-fast: 0.2s ease;
	--transition-normal: 0.3s ease;
	--transition-slow: 0.5s ease;
}

/* ========== Global Styles ========== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-family-primary);
	font-weight: var(--font-weight-normal);
	line-height: 1.6;
	color: var(--gray-700);
	background-color: var(--white-color);
	overflow-x: hidden;
}

.section-padding {
	padding: var(--section-padding);
}

.container {
	max-width: 1200px;
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-family-primary);
	font-weight: var(--font-weight-semibold);
	line-height: 1.2;
	margin-bottom: 1rem;
	color: var(--dark-color);
}

h1 {
	font-size: 3rem;
	font-weight: var(--font-weight-bold);
}

h2 {
	font-size: 2.5rem;
}

h3 {
	font-size: 2rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

p {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	line-height: 1.7;
}

.lead {
	font-size: 1.25rem;
	font-weight: var(--font-weight-light);
	color: var(--gray-600);
}

/* ========== Custom Bootstrap Overrides ========== */
.btn {
	border-radius: var(--border-radius);
	font-weight: var(--font-weight-medium);
	text-transform: none;
	padding: 12px 30px;
	transition: all var(--transition-normal);
	border: none;
	text-decoration: none;
	display: inline-block;
}

.btn-primary {
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	color: var(--white-color);
	box-shadow: var(--box-shadow);
}

.btn-primary:hover {
	background: linear-gradient(
		135deg,
		var(--primary-dark),
		var(--secondary-dark)
	);
	transform: translateY(-2px);
	box-shadow: var(--box-shadow-lg);
	color: var(--white-color);
}

.btn-outline-primary {
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
	background: transparent;
}

.btn-outline-primary:hover {
	background: var(--primary-color);
	color: var(--white-color);
	transform: translateY(-2px);
}

.btn-outline-light {
	border: 2px solid var(--white-color);
	color: var(--white-color);
	background: transparent;
}

.btn-outline-light:hover {
	background: var(--white-color);
	color: var(--primary-color);
}

.btn-lg {
	padding: 15px 40px;
	font-size: 1.1rem;
}

.btn-sm {
	padding: 8px 20px;
	font-size: 0.9rem;
}

.text-primary {
	color: var(--primary-color) !important;
}

.bg-light {
	background-color: var(--gray-100) !important;
}

/* ========== Header Styles ========== */
.navbar {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
	padding: 15px 0;
	transition: all var(--transition-normal);
}

.navbar-brand {
	display: flex;
	align-items: center;
	font-weight: var(--font-weight-bold);
	font-size: 1.5rem;
	color: var(--dark-color) !important;
	text-decoration: none;
}

.navbar-brand img {
	margin-right: 10px;
}

.brand-text {
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.navbar-nav .nav-link {
	color: var(--gray-700);
	font-weight: var(--font-weight-medium);
	margin: 0 10px;
	padding: 8px 16px !important;
	border-radius: var(--border-radius);
	transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover {
	color: var(--primary-color);
	background: var(--primary-light);
}

/* ========== Hero Section ========== */
.hero-section {
	min-height: 100vh;
	background: linear-gradient(
		135deg,
		rgba(233, 30, 99, 0.8),
		rgba(103, 58, 183, 0.8)
	);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	display: flex;
	align-items: center;
	position: relative;
	color: var(--white-color);
	text-align: center;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 1;
}

.hero-section .container {
	position: relative;
	z-index: 2;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: var(--font-weight-bold);
	margin-bottom: 1.5rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
	font-size: 1.3rem;
	font-weight: var(--font-weight-light);
	margin-bottom: 2rem;
	opacity: 0.9;
}

.hero-buttons {
	margin-top: 2rem;
}

/* ========== Section Titles ========== */
.section-title {
	font-size: 2.5rem;
	font-weight: var(--font-weight-bold);
	text-align: center;
	margin-bottom: 1rem;
}

.section-description {
	text-align: center;
	font-size: 1.2rem;
	color: var(--gray-600);
	max-width: 600px;
	margin: 0 auto 3rem auto;
}

/* ========== Approach Section ========== */
.approach-content {
	padding: 2rem 0;
}

.approach-features {
	margin-top: 2rem;
}

.feature-item {
	margin-bottom: 2rem;
	padding: 1.5rem;
	border-radius: var(--border-radius-lg);
	transition: all var(--transition-normal);
}

.feature-item:hover {
	background: var(--gray-100);
	transform: translateY(-5px);
}

.feature-item i {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	display: block;
}

.feature-item h4 {
	margin-bottom: 0.5rem;
	color: var(--dark-color);
}

/* ========== About Section ========== */
.about-card {
	background: var(--white-color);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	box-shadow: var(--box-shadow);
	transition: all var(--transition-normal);
	height: 100%;
}

.about-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--box-shadow-lg);
}

.about-card h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
}

/* ========== Development Section ========== */
.development-card {
	background: var(--white-color);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	box-shadow: var(--box-shadow);
	transition: all var(--transition-normal);
	text-align: center;
	height: 100%;
}

.development-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--box-shadow-lg);
}

.development-icon {
	margin-bottom: 1.5rem;
}

.development-icon i {
	font-size: 3rem;
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.development-card h3 {
	margin-bottom: 1rem;
	color: var(--dark-color);
}

.approach-type {
	background: var(--gray-100);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	margin-bottom: 1rem;
	min-height: 220px;
}

.approach-type h4 {
	color: var(--primary-color);
	margin-bottom: 1rem;
}

/* ========== Testimonials ========== */
.testimonial-card {
	background: var(--white-color);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	box-shadow: var(--box-shadow);
	transition: all var(--transition-normal);
	height: 100%;
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--box-shadow-lg);
}

.testimonial-content {
	margin-bottom: 1.5rem;
}

.testimonial-content i {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	display: block;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.testimonial-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 1rem;
	border: 3px solid var(--primary-light);
}

.author-info h5 {
	margin-bottom: 0.25rem;
	color: var(--dark-color);
}

.author-info span {
	color: var(--gray-600);
	font-size: 0.9rem;
}

/* ========== Pricing Section ========== */
.pricing-card {
	background: var(--white-color);
	border-radius: var(--border-radius-lg);
	box-shadow: var(--box-shadow);
	transition: all var(--transition-normal);
	position: relative;
	overflow: hidden;
	height: 100%;
}

.pricing-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--box-shadow-lg);
}

.pricing-card.featured {
	border: 3px solid var(--primary-color);
	transform: scale(1.05);
}

.pricing-badge {
	position: absolute;
	top: 20px;
	right: -30px;
	background: var(--accent-color);
	color: var(--white-color);
	padding: 5px 40px;
	font-size: 0.8rem;
	font-weight: var(--font-weight-semibold);
	transform: rotate(45deg);
}

.pricing-header {
	text-align: center;
	padding: 2rem 1.5rem 1rem;
}

.pricing-header h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: var(--dark-color);
}

.price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	margin-bottom: 1rem;
}

.currency {
	font-size: 1.5rem;
	font-weight: var(--font-weight-semibold);
	color: var(--primary-color);
}

.amount {
	font-size: 3rem;
	font-weight: var(--font-weight-bold);
	color: var(--primary-color);
	margin-left: 0.25rem;
}

.pricing-body {
	padding: 1.5rem;
}

.pricing-features {
	list-style: none;
	margin-bottom: 2rem;
}

.pricing-features li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--gray-200);
}

.pricing-features li:last-child {
	border-bottom: none;
}

.pricing-features i {
	margin-right: 0.5rem;
}

.btn-block {
	width: 100%;
}

/* ========== FAQ Section ========== */
.accordion-item {
	border: none;
	margin-bottom: 1rem;
	border-radius: var(--border-radius-lg) !important;
	overflow: hidden;
	box-shadow: var(--box-shadow);
}

.accordion-button {
	background: var(--white-color);
	color: var(--dark-color);
	font-weight: var(--font-weight-semibold);
	font-size: 1.1rem;
	padding: 1.5rem;
	border: none !important;
	box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
	background: var(--primary-light);
	color: var(--primary-color);
}

.accordion-body {
	padding: 1.5rem;
	background: var(--white-color);
	color: var(--gray-700);
	line-height: 1.7;
}

/* ========== Contact Section ========== */
.contact-info {
	background: var(--gray-100);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	height: 100%;
}

.contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 1.5rem;
}

.contact-item i {
	font-size: 2rem;
	margin-right: 1rem;
	color: var(--primary-color);
}

.contact-form {
	background: var(--white-color);
	padding: 2rem;
	border-radius: var(--border-radius-lg);
	box-shadow: var(--box-shadow);
}

.form-control {
	border: 2px solid var(--gray-200);
	border-radius: var(--border-radius);
	padding: 12px 15px;
	font-size: 1rem;
	transition: all var(--transition-fast);
}

.form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25);
}

.form-label {
	font-weight: var(--font-weight-medium);
	color: var(--dark-color);
	margin-bottom: 0.5rem;
}

.invalid-feedback {
	display: block;
	color: var(--error-color);
	font-size: 0.875rem;
	margin-top: 0.25rem;
}

/* ========== Footer ========== */
.footer {
	background: var(--dark-color) !important;
	color: var(--gray-300) !important;
	padding: 3rem 0 1rem;
}

.footer h4,
.footer h5 {
	color: var(--white-color);
	margin-bottom: 1rem;
}

.footer-brand h4 {
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.footer-links {
	list-style: none;
	padding: 0;
}

.footer-links li {
	margin-bottom: 0.5rem;
}

.footer-links a {
	color: var(--gray-400);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.footer-links a:hover {
	color: var(--primary-color);
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--primary-color);
	color: var(--white-color);
	border-radius: 50%;
	transition: all var(--transition-normal);
	text-decoration: none;
}

.social-links a:hover {
	background: var(--secondary-color);
	transform: translateY(-3px);
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: var(--primary-color);
	color: var(--white-color);
	border-radius: 50%;
	margin: 0 0.5rem;
	transition: all var(--transition-normal);
	text-decoration: none;
	font-size: 1.2rem;
}

.social-link:hover {
	background: var(--secondary-color);
	transform: translateY(-3px);
	color: var(--white-color);
}

/* ========== Cookie Popup ========== */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background: var(--dark-color);
	color: var(--white-color);
	padding: 1.5rem;
	border-radius: var(--border-radius-lg);
	box-shadow: var(--box-shadow-lg);
	z-index: 9999;
	max-width: 500px;
	margin: 0 auto;
}

.cookie-content h5 {
	color: var(--white-color);
	margin-bottom: 0.5rem;
}

.cookie-content p {
	margin-bottom: 1rem;
	font-size: 0.95rem;
}

.cookie-buttons {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

/* ========== Thank You Page ========== */
.thank-you-page {
	min-height: 80vh;
	display: flex;
	align-items: center;
	padding: var(--section-padding);
}

.thank-you-content {
	text-align: center;
}

.thank-you-icon {
	margin-bottom: 2rem;
}

.thank-you-icon i {
	font-size: 5rem;
	color: var(--success-color);
}

.thank-you-title {
	font-size: 3rem;
	color: var(--dark-color);
	margin-bottom: 1rem;
}

.thank-you-subtitle {
	font-size: 1.3rem;
	color: var(--gray-600);
	margin-bottom: 3rem;
}

.next-step {
	text-align: center;
	padding: 1.5rem;
	background: var(--gray-100);
	border-radius: var(--border-radius-lg);
	height: 100%;
}

.step-icon {
	margin-bottom: 1rem;
}

.step-icon i {
	font-size: 2.5rem;
}

.next-step h5 {
	margin-bottom: 0.5rem;
	color: var(--dark-color);
}

.nav-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ========== Legal Pages ========== */
.main-content {
	padding-top: 100px;
	padding-bottom: 3rem;
}

.legal-content {
	background: var(--white-color);
	padding: 3rem;
	border-radius: var(--border-radius-lg);
	box-shadow: var(--box-shadow);
}

.legal-content h1 {
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.legal-content h2 {
	color: var(--dark-color);
	margin-top: 2rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--gray-200);
}

.legal-content h3 {
	color: var(--primary-color);
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
	margin-bottom: 1.5rem;
	padding-left: 2rem;
}

.legal-content li {
	margin-bottom: 0.5rem;
	line-height: 1.6;
}

.browser-links ul {
	list-style: none;
	padding-left: 0;
}

.browser-links li {
	margin-bottom: 0.5rem;
}

.browser-links a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: var(--font-weight-medium);
}

.browser-links a:hover {
	text-decoration: underline;
}

/* ========== Responsive Design ========== */
@media (max-width: 991.98px) {
	.hero-title {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1.1rem;
	}

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

	.cookie-popup {
		left: 10px;
		right: 10px;
	}

	.nav-buttons {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 767.98px) {
	.hero-title {
		font-size: 2rem;
	}

	.section-title {
		font-size: 1.75rem;
	}

	.hero-buttons .btn {
		display: block;
		width: 100%;
		margin-bottom: 1rem;
	}

	.legal-content {
		padding: 1.5rem;
	}

	.thank-you-title {
		font-size: 2rem;
	}
}

@media (max-width: 575.98px) {
	.section-padding {
		padding: 60px 0;
	}

	.cookie-popup {
		left: 10px;
		right: 10px;
		bottom: 10px;
	}

	.pricing-card.featured {
		transform: none;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	.hero-section {
		background-attachment: scroll;
	}
}

/* ========== Utility Classes ========== */
.text-gradient {
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.bg-gradient {
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
}

.shadow-custom {
	box-shadow: var(--box-shadow);
}

.shadow-custom-lg {
	box-shadow: var(--box-shadow-lg);
}

.border-radius-custom {
	border-radius: var(--border-radius-lg);
}

/* ========== Animation Classes ========== */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.scale-on-hover {
	transition: transform var(--transition-normal);
}

.scale-on-hover:hover {
	transform: scale(1.05);
}

/* ========== Print Styles ========== */
@media print {
	.navbar,
	.cookie-popup,
	.footer {
		display: none !important;
	}

	.main-content {
		padding-top: 0;
	}

	body {
		font-size: 12pt;
		line-height: 1.4;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		page-break-after: avoid;
	}

	img {
		max-width: 100% !important;
	}
}
