﻿/* ===========================
   CSS Variables
   =========================== */
:root {
	/* Color Palette */
	--primary-color: #2563eb;
	--primary-dark: #1e40af;
	--primary-light: #3b82f6;
	--secondary-color: #0f172a;
	--accent-color: #f59e0b;

	/* Neutral Colors */
	--white: #ffffff;
	--gray-50: #f9fafb;
	--gray-100: #f3f4f6;
	--gray-200: #e5e7eb;
	--gray-300: #d1d5db;
	--gray-600: #4b5563;
	--gray-700: #374151;
	--gray-800: #1f2937;
	--gray-900: #111827;
	--black: #000000;

	/* Typography */
	--font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	--font-heading: "Poppins", sans-serif;

	/* Spacing */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 1.5rem;
	--spacing-lg: 2rem;
	--spacing-xl: 3rem;
	--spacing-2xl: 4rem;
	--spacing-3xl: 6rem;

	/* Effects */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

	/* Transitions */
	--transition-fast: 0.15s ease;
	--transition-base: 0.3s ease;
	--transition-slow: 0.5s ease;

	/* Border Radius */
	--radius-sm: 0.25rem;
	--radius-md: 0.5rem;
	--radius-lg: 0.75rem;
	--radius-xl: 1rem;
	--radius-full: 9999px;
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-primary);
	color: var(--gray-800);
	line-height: 1.6;
	overflow-x: hidden;
	background-color: var(--white);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

button {
	font-family: inherit;
	border: none;
	cursor: pointer;
	background: none;
}

/* ===========================
   Utility Classes
   =========================== */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 500;
	border-radius: var(--radius-md);
	transition: all var(--transition-base);
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
}

.btn-primary {
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--primary-dark) 100%
	);
	color: var(--white);
	box-shadow: var(--shadow-md);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-login {
	background: transparent;
	color: var(--white);
	border: 2px solid var(--white);
	padding: 0.5rem 1.5rem;
}

.btn-login:hover {
	background: var(--white);
	color: var(--primary-color);
}

/* ===========================
   Header & Navigation
   =========================== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	transition: all var(--transition-base);
	background: transparent;
}

.header.scrolled {
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow-md);
}

.navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem var(--spacing-md);
}

.logo h1 {
	font-family: var(--font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--white);
	letter-spacing: -0.5px;
}

.logo-img {
	height: 80px;
	width: auto;
	display: block;
	
}

.nav-menu {
	display: flex;
	gap: var(--spacing-lg);
	align-items: center;
}

.nav-link {
	color: var(--white);
	font-weight: 500;
	font-size: 0.95rem;
	position: relative;
	transition: color var(--transition-fast);
	padding: 0.5rem 0;
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent-color);
	transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
	color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
	width: 100%;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 0.35rem;
	cursor: pointer;
	z-index: 1001;
}

.nav-toggle span {
	width: 25px;
	height: 2px;
	background: var(--white);
	transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* ===========================
   Hero Section & Carousel
   =========================== */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	overflow: hidden;
}

.carousel {
	position: relative;
	width: 100%;
	height: 100%;
}

.carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: none;
}

.carousel-slide:first-child {
	opacity: 1 !important;
}

.carousel.loaded .carousel-slide {
	transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
	opacity: 1;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.carousel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(15, 23, 42, 0.8) 0%,
		rgba(37, 99, 235, 0.6) 100%
	);
	z-index: 1;
}

.hero-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: var(--white);
	z-index: 2;
	max-width: 900px;
	padding: 0 var(--spacing-md);
	animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translate(-50%, -40%);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.hero-title {
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: var(--spacing-md);
	letter-spacing: -1px;
}

.hero-subtitle {
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	font-weight: 300;
	margin-bottom: var(--spacing-xl);
	opacity: 0.95;
}

.carousel-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	color: var(--white);
	width: 50px;
	height: 50px;
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	transition: all var(--transition-base);
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-control:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
	left: var(--spacing-lg);
}

.carousel-control.next {
	right: var(--spacing-lg);
}

.carousel-indicators {
	position: absolute;
	bottom: var(--spacing-xl);
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: var(--spacing-sm);
	z-index: 3;
}

.carousel-indicator {
	width: 12px;
	height: 12px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: all var(--transition-base);
	border: 2px solid transparent;
}

.carousel-indicator.active {
	background: var(--white);
	width: 40px;
	border-color: var(--white);
}

/* ===========================
   Section Styles
   =========================== */
.section-header {
	text-align: center;
	margin-bottom: var(--spacing-2xl);
}

.section-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: var(--spacing-sm);
	letter-spacing: -0.5px;
}

.section-subtitle {
	font-size: 1.15rem;
	color: var(--gray-600);
	font-weight: 400;
}

/* ===========================
   About Section
   =========================== */
.about {
	padding: var(--spacing-3xl) 0;
	background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.about-description {
	text-align: center;
	max-width: 800px;
	margin: 0 auto var(--spacing-2xl);
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--gray-700);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--spacing-lg);
}

.feature-card {
	background: var(--white);
	padding: var(--spacing-xl);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-base);
	border: 1px solid var(--gray-200);
}

.feature-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
	border-color: var(--primary-light);
}

.feature-icon {
	width: 64px;
	height: 64px;
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--primary-light) 100%
	);
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--spacing-md);
	color: var(--white);
}

.feature-title {
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: var(--spacing-sm);
}

.feature-description {
	color: var(--gray-600);
	line-height: 1.7;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials {
	padding: var(--spacing-3xl) 0;
	background: var(--white);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: var(--spacing-lg);
}

.testimonial-card {
	background: var(--gray-50);
	padding: var(--spacing-xl);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-base);
	border: 1px solid var(--gray-200);
	display: flex;
	flex-direction: column;
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	background: var(--white);
}

.testimonial-rating {
	margin-bottom: var(--spacing-md);
}

.star {
	color: var(--accent-color);
	font-size: 1.25rem;
}

.testimonial-text {
	color: var(--gray-700);
	line-height: 1.8;
	margin-bottom: var(--spacing-lg);
	flex-grow: 1;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
}

.author-avatar {
	width: 50px;
	height: 50px;
	border-radius: var(--radius-full);
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--accent-color) 100%
	);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-weight: 600;
	font-size: 1rem;
	flex-shrink: 0;
}

.author-name {
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: 0.25rem;
}

.author-role {
	font-size: 0.9rem;
	color: var(--gray-600);
}

/* ===========================
   Footer
   =========================== */
.footer {
	background: var(--secondary-color);
	color: var(--white);
	padding: var(--spacing-xl) 0;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--spacing-lg);
}

.footer-brand h3 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	margin-bottom: var(--spacing-xs);
}

.footer-brand p {
	color: var(--gray-300);
	font-size: 0.95rem;
}

.footer-copyright p {
	color: var(--gray-300);
	font-size: 0.9rem;
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablets */
@media (max-width: 768px) {
	.navbar {
		padding: 1rem var(--spacing-md);
	}

	.nav-toggle {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		max-width: 300px;
		height: 100vh;
		background: rgba(15, 23, 42, 0.98);
		backdrop-filter: blur(10px);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: var(--spacing-xl);
		transition: right var(--transition-base);
		box-shadow: var(--shadow-xl);
	}

	.nav-menu.active {
		right: 0;
	}

	.btn-login {
		margin-top: var(--spacing-md);
	}

	.carousel-control {
		width: 40px;
		height: 40px;
	}

	.carousel-control.prev {
		left: var(--spacing-sm);
	}

	.carousel-control.next {
		right: var(--spacing-sm);
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
	}
}

/* Mobile */
@media (max-width: 480px) {
	:root {
		--spacing-xl: 2rem;
		--spacing-2xl: 3rem;
		--spacing-3xl: 4rem;
	}

	.hero {
		min-height: 500px;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	.section-title {
		font-size: 1.75rem;
	}

	.feature-card,
	.testimonial-card {
		padding: var(--spacing-lg);
	}

	.carousel-indicators {
		bottom: var(--spacing-lg);
	}
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Scroll animations */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
	opacity: 1;
	transform: translateY(0);
}

/* ===========================
   New Hero Styles
   =========================== */
.hero-badge {
	display: inline-block;
	background: rgba(245, 158, 11, 0.15);
	color: var(--accent-color);
	padding: 0.5rem 1.25rem;
	border-radius: var(--radius-full);
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: var(--spacing-md);
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero-title {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	margin-bottom: var(--spacing-md);
}

.hero-subtitle {
	max-width: 700px;
	margin: 0 auto var(--spacing-xl);
	line-height: 1.7;
	font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-cta {
	display: flex;
	gap: var(--spacing-md);
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: var(--spacing-xl);
}

.btn-large {
	padding: 1rem 2rem;
	font-size: 1.1rem;
}

.btn-secondary {
	background: transparent;
	color: var(--white);
	border: 2px solid var(--white);
	box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
	background: var(--white);
	color: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.hero-features {
	display: flex;
	gap: var(--spacing-xl);
	justify-content: center;
	flex-wrap: wrap;
	margin-top: var(--spacing-lg);
}

.hero-feature-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--white);
	font-size: 0.95rem;
	font-weight: 500;
}

.hero-feature-item svg {
	flex-shrink: 0;
}

/* ===========================
   New About Section Styles
   =========================== */
.about-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-3xl);
	align-items: start;
}

.about-left {
	position: sticky;
	top: 100px;
}

.about-label {
	display: inline-block;
	color: var(--primary-color);
	font-weight: 600;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: var(--spacing-sm);
}

.about-main-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--gray-900);
	line-height: 1.3;
	margin-bottom: var(--spacing-md);
	letter-spacing: -0.5px;
}

.about-intro {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--gray-600);
	margin-bottom: var(--spacing-xl);
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--spacing-md);
	margin-bottom: var(--spacing-xl);
	padding: var(--spacing-lg) 0;
	border-top: 1px solid var(--gray-200);
	border-bottom: 1px solid var(--gray-200);
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.stat-label {
	font-size: 0.9rem;
	color: var(--gray-600);
	font-weight: 500;
}

.about-highlights {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.highlight-item {
	display: flex;
	gap: var(--spacing-md);
	align-items: flex-start;
}

.highlight-item svg {
	flex-shrink: 0;
	color: var(--primary-color);
	margin-top: 0.25rem;
}

.highlight-item h4 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: 0.25rem;
}

.highlight-item p {
	font-size: 0.95rem;
	color: var(--gray-600);
	line-height: 1.6;
}

.tools-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-lg);
}

.tool-category {
	background: var(--white);
	padding: var(--spacing-xl);
	border-radius: var(--radius-xl);
	border: 2px solid var(--gray-200);
	transition: all var(--transition-base);
}

.tool-category:hover {
	border-color: var(--primary-color);
	box-shadow: var(--shadow-lg);
	transform: translateX(8px);
}

.tool-icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--primary-light) 100%
	);
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--spacing-md);
	color: var(--white);
}

.tool-category h3 {
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: var(--spacing-md);
}

.tool-category ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tool-category ul li {
	padding: 0.5rem 0;
	padding-left: 1.5rem;
	color: var(--gray-700);
	position: relative;
	font-size: 0.95rem;
}

.tool-category ul li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--primary-color);
	font-weight: 600;
}

/* ===========================
   Responsive Updates
   =========================== */
@media (max-width: 1024px) {
	.about-layout {
		grid-template-columns: 1fr;
		gap: var(--spacing-xl);
	}

	.about-left {
		position: static;
	}

	.about-stats {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.hero-cta {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-features {
		flex-direction: column;
		align-items: center;
		gap: var(--spacing-md);
	}

	.about-stats {
		grid-template-columns: 1fr;
		gap: var(--spacing-lg);
	}

	.btn-large {
		padding: 0.875rem 1.75rem;
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.hero-badge {
		font-size: 0.8rem;
		padding: 0.4rem 1rem;
	}
}
