body {
	font-family: "Inter", Arial, sans-serif;
	background: #f8f9fa;
	color: #222;
}

.site-header {
	background: linear-gradient(90deg, #2255a4 0%, #3d7ade 100%);
	color: #fff;
	border-bottom: 1px solid #20508f;
	padding: 0;
}

.navbar-brand {
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 1.5rem;
	color: #fff !important;
	margin-left: 0.7rem;
}

.navbar-nav .nav-link {
	color: #e8eaf6 !important;
	font-weight: 500;
	padding: 8px 18px;
	border-radius: 0.5rem;
	transition: background 0.2s;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
	background: #416fde;
	color: #fff !important;
}

.hero-section {
	background: linear-gradient(90deg, #2255a4 0%, #3d7ade 100%);
	color: #fff;
	padding: 52px 0 28px 0;
	text-align: center;
	border-radius: 0 0 2rem 2rem;
	margin-bottom: 2rem;
}

.hero-title {
	font-size: 2.6rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.hero-desc {
	font-size: 1.2rem;
	font-weight: 400;
	margin-bottom: 0.6rem;
	color: #dceaff;
}

.tools-section {
	margin-bottom: 3rem;
}

.tools-section .section-title {
	font-size: 1.7rem;
	font-weight: 600;
	color: #2d384d;
	margin-bottom: 1.2rem;
	text-align: center;
	letter-spacing: 0.03em;
}

.tools-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.4rem;
}

.tool-card {
	background: #fff;
	border-radius: 1.2rem;
	box-shadow: 0 2px 12px rgba(40, 70, 130, 0.07);
	padding: 1.45rem 1.3rem 1.13rem 1.3rem;
	min-width: 215px;
	flex: 1 0 210px;
	/* max-width: 270px; */
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: box-shadow 0.2s, transform 0.2s;
	border: 1px solid #e4e9f2;
	position: relative;
}

.tool-card:hover {
	box-shadow: 0 2px 24px rgba(40, 70, 130, 0.15);
	/* transform: translateY(-1px) scale(1.022); */
	z-index: 1;
	border-color: #b8d3ff;
}

.tool-card .tool-icon {
	font-size: 2.3rem;
	margin-bottom: 0.8rem;
	color: #3279df;
	border: 2px solid #dae9fc;
	border-radius: 0.7rem;
	padding: 0.67rem 0.85rem;
	background: #e9f3ff;
}

.tool-card .tool-title {
	font-size: 1.12rem;
	font-weight: 600;
	margin-bottom: 0.32rem;
	color: #244370;
}

.tool-card .tool-desc {
	font-size: 0.98rem;
	color: #395080;
	margin-bottom: 0;
	line-height: 1.3;
}

.tool-card .tool-link {
	margin-top: 0.55rem;
	font-size: 0.85rem;
	color: #fff;
	background: linear-gradient(90deg, #2563eb 0%, #3d7ade 100%);
	border: none;
	border-radius: 2rem;
	padding: 0.44rem 1rem;
	font-weight: 600;
	box-shadow: 0 2px 12px rgba(50, 121, 223, 0.13);
	text-decoration: none;
	transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
	display: inline-block;
	letter-spacing: 0.02em;
	position: relative;
	overflow: hidden;
}

.tool-card .tool-link i {
	margin-left: 0.5rem;
	transition: transform 0.18s;
}

.tool-card .tool-link:hover {
	background: linear-gradient(90deg, #3d7ade 0%, #2255a4 100%);
	color: #fff;
	box-shadow: 0 4px 20px rgba(50, 121, 223, 0.22);
	transform: translateY(-2px) scale(1.04);
	text-decoration: none;
}

.tool-card .tool-link:hover i {
	transform: translateX(4px) scale(1.1);
	text-decoration: underline;
	font-weight: 500;
	transition: color 0.18s;
}

.tool-card .tool-link:hover {
	color: #183c7b;
	text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
	.tools-grid {
		gap: 1rem;
	}

	.tool-card {
		padding: 1.13rem;
		min-width: 170px;
	}
}

@media (max-width: 768px) {
	.hero-title {
		font-size: 2rem;
	}

	.hero-section {
		padding: 36px 0 18px 0;
		border-radius: 0 0 1.3rem 1.3rem;
	}

	.tools-grid {
		flex-direction: column;
		gap: 1.1rem;
		align-items: center;
	}

	.tool-card {
		max-width: 100%;
		width: 95%;
	}
}

@media (max-width: 540px) {
	.section-title {
		font-size: 1.2rem;
	}

	.hero-title {
		font-size: 1.33rem;
	}

	.tool-card {
		padding: 0.89rem;
	}
}

/* Footer */
.site-footer {
	background: linear-gradient(90deg, #234169 0%, #2c5e9c 100%);
	color: #e1eaf7;
	border-top: 1px solid #21508c;
	padding: 2.12rem 0 1.13rem 0;
	text-align: center;
	font-size: 1.02rem;
	border-radius: 2rem 2rem 0 0;
	margin-top: 2.8rem;
}

.site-footer a {
	color: #b1cbfd;
	text-decoration: underline;
	margin: 0 4px;
	transition: color 0.18s;
}

.site-footer a:hover {
	color: #8db5f4;
	text-decoration: none;
}

/* about us css */
.about-hero {
	background: linear-gradient(90deg, #2255a4 0%, #3d7ade 100%);
	color: #fff;
	padding: 48px 0 32px 0;
	text-align: center;
	border-radius: 0 0 2rem 2rem;
}

.about-hero .hero-title {
	font-size: 2.5rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.about-hero .hero-desc {
	font-size: 1.2rem;
	color: #dceaff;
	margin-top: 0.8rem;
}

@media (max-width: 768px) {
	.about-hero {
		padding: 32px 0 18px 0;
		border-radius: 0 0 1.3rem 1.3rem;
	}

	.about-hero .hero-title {
		font-size: 1.5rem;
	}
}

.section-title {
	font-size: 1.7rem;
	font-weight: 600;
	color: #2d384d;
	margin-bottom: 1.2rem;
	letter-spacing: 0.02em;
}

.timeline-dot {
	background: #2563eb;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.timeline-connector {
	width: 3px;
	background: #c9e0fb;
	height: 44px;
	margin: 0 auto;
}

.team-avatar {
	width: 90px;
	height: 90px;
	border-radius: 100%;
	object-fit: cover;
	box-shadow: 0 4px 24px rgba(60, 100, 180, 0.12);
}

.highlight-box {
	background: #e0e7ff;
	border-left: 5px solid #2563eb;
	border-radius: 0.55rem;
	padding: 1.6rem 1.5rem;
	margin-bottom: 2rem;
}

/* contact us css */

.contact-hero {
	background: #fff 0 0 no-repeat padding-box;
	box-shadow: 0 2px 12px 3px rgba(0, 0, 0, 0.03);
	border-radius: 0.7rem;
	margin-bottom: 2rem;
	padding: 2.3rem 1.8rem;
}

.contact-title {
	color: #34495e;
	font-weight: 700;
	font-size: 2.1rem;
}

.contact-section {
	padding: 2.1rem 1.6rem 1.4rem 1.6rem;
	border-radius: 1.1rem;
	background: #fff;
	box-shadow: 0 2px 12px rgba(40, 70, 130, 0.07);
	margin-bottom: 2.2rem;
}

.contact-form label {
	font-weight: 500;
	margin-bottom: 0.35rem;
	color: #2255a4;
}

.contact-form input,
.contact-form textarea {
	border: 1px solid #c8d3e9;
	border-radius: 0.35rem;
	padding: 0.55rem 0.95rem;
	width: 100%;
	background: #f8fafc;
	resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid #2563eb;
	border-color: #2563eb;
}

.contact-form .btn {
	background: #2255a4;
	color: #fff;
	font-weight: 600;
	border-radius: 0.4rem;
	padding: 0.54rem 1.5rem;
	border: none;
	transition: background 0.2s;
}

.contact-form .btn:hover {
	background: #183c7b;
}

.contact-info-box {
	background: #e0e7ff;
	padding: 1.2rem 1.1rem;
	border-radius: 0.7rem;
	margin-top: 1rem;
	font-size: 1.05rem;
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 0.98rem;
	margin-bottom: 0.8rem;
}

.info-item .icon {
	color: #2563eb;
	font-size: 1.7rem;
	min-width: 1.7rem;
}

.info-item .info-text a {
	color: #2563eb;
	text-decoration: underline;
}

.info-item .info-text a:hover {
	color: #183c7b;
}

@media (max-width: 992px) {
	.contact-hero,
	.contact-section {
		padding: 1.3rem 0.7rem;
	}
}

@media (max-width: 540px) {
	.contact-title {
		font-size: 1.42rem;
	}
}

/* image resizer */
.resizer-card {
	background: #fff;
	border-radius: 1.2rem;
	box-shadow: 0 2px 12px rgba(40, 70, 130, 0.07);
	padding: 2rem 1.5rem;
	max-width: 600px;
	margin: 2rem auto;
}
.img-preview {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 0.7rem;
	border: 1px solid #e4e9f2;
	margin-right: 10px;
	margin-bottom: 10px;
}
.img-preview-container {
	display: flex;
	flex-wrap: wrap;
}
.aspect-btn {
	border: none;
	background: #e9f3ff;
	color: #2563eb;
	border-radius: 0.5rem;
	padding: 0.4rem 0.8rem;
	font-size: 1.1rem;
	margin-left: 8px;
	transition: background 0.18s;
}
.aspect-btn.active {
	background: #2563eb;
	color: #fff;
}
.quality-value {
	min-width: 32px;
	display: inline-block;
}
.btn-convert,
.btn-download {
	background: linear-gradient(90deg, #2563eb 0%, #3d7ade 100%);
	color: #fff;
	border: none;
	border-radius: 2rem;
	padding: 0.6rem 1.6rem;
	font-weight: 600;
	box-shadow: 0 2px 12px rgba(50, 121, 223, 0.13);
	transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}
.btn-convert:hover,
.btn-download:hover {
	background: linear-gradient(90deg, #3d7ade 0%, #2255a4 100%);
	transform: translateY(-2px) scale(1.04);
}
.download-link {
	margin: 0 8px 8px 0;
	display: inline-block;
}
.disabled {
	opacity: 0.6;
	pointer-events: none;
}
