
/* Header styles */
.navbar-brand {
	font-size: 1.5rem;
	font-weight: bold;
	color: #0066cc !important;
}

.navbar-brand i {
	color: #00cc66;
	margin-right: 8px;
}

.nav-link {
	color: #495057 !important;
	font-weight: 500;
	margin: 0 10px;
	transition: color 0.3s;
}

.nav-link:hover {
	color: #0066cc !important;
}

.language-selector {
	position: relative;
}

.language-selector .dropdown-toggle {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	color: #495057;
	padding: 5px 15px;
	border-radius: 6px;
	font-size: 0.9rem;
}

.language-selector .dropdown-toggle:hover {
	background: #e9ecef;
	border-color: #0066cc;
}

.header-cta {
	background: linear-gradient(135deg, #0066cc 0%, #00cc66 100%);
	color: white !important;
	padding: 8px 20px;
	border-radius: 6px;
	font-weight: 600;
	transition: transform 0.3s;
}

.header-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

@media (max-width: 768px) {
	.navbar-brand {
		font-size: 1.2rem;
	}
	
	.nav-link {
		margin: 5px 0;
	}
}
	
/* Hero section */
.hero-section {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 80px 0 60px;
	margin-bottom: 60px;
}

.hero-title {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
	font-size: 1.3rem;
	margin-bottom: 30px;
	opacity: 0.95;
}

.hero-features {
	display: flex;
	gap: 30px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 30px;
}

.hero-feature {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.1rem;
}

.hero-feature i {
	font-size: 1.5rem;
	color: #00ff88;
}

/* Upload area */
.upload-container {
	background: white;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.1);
	padding: 50px;
	max-width: 800px;
	margin: -80px auto 60px;
	position: relative;
	z-index: 10;
}

.upload-area {
	border: 3px dashed #667eea;
	border-radius: 15px;
	padding: 60px 30px;
	text-align: center;
	background: #f8f9ff;
	transition: all 0.3s;
	cursor: pointer;
}

.upload-area:hover,
.upload-area.drag-over {
	border-color: #00ff88;
	background: #f0fff8;
	transform: scale(1.02);
}

.upload-icon {
	font-size: 4rem;
	color: #667eea;
	margin-bottom: 20px;
}

.upload-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: #2d3748;
}

.upload-subtitle {
	color: #718096;
	margin-bottom: 20px;
}

.file-input {
	display: none;
}

.btn-upload {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 15px 40px;
	border-radius: 10px;
	border: none;
	font-weight: 600;
	font-size: 1.1rem;
	cursor: pointer;
	transition: transform 0.3s;
}

.btn-upload:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.supported-formats {
	margin-top: 20px;
	color: #718096;
	font-size: 0.9rem;
}

.format-badge {
	display: inline-block;
	background: white;
	padding: 5px 12px;
	border-radius: 20px;
	margin: 5px;
	font-weight: 600;
	color: #667eea;
	border: 2px solid #667eea;
}

/* Options */
.conversion-options {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 2px solid #e2e8f0;
}

.option-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 15px 0;
}

.option-checkbox input[type="checkbox"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.option-checkbox label {
	cursor: pointer;
	font-weight: 500;
	margin: 0;
}

/* Benefits section */
.benefits-section {
	padding: 60px 0;
	background: #f7fafc;
}

.benefit-card {
	background: white;
	border-radius: 15px;
	padding: 40px 30px;
	text-align: center;
	box-shadow: 0 5px 20px rgba(0,0,0,0.08);
	height: 100%;
	transition: transform 0.3s;
}

.benefit-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.benefit-icon {
	font-size: 3rem;
	color: #667eea;
	margin-bottom: 20px;
}

.benefit-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 15px;
	color: #2d3748;
}

.benefit-description {
	color: #718096;
	line-height: 1.6;
}

/* Converters grid */
.converters-section {
	padding: 60px 0;
}

.converter-card {
	background: white;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 30px;
	text-align: center;
	transition: all 0.3s;
	height: 100%;
}

.converter-card:hover {
	border-color: #667eea;
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
	transform: translateY(-3px);
}

.converter-arrow {
	font-size: 2rem;
	color: #667eea;
	margin: 10px 0;
}

.converter-formats {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin: 20px 0;
}

.format-label {
	font-weight: 700;
	font-size: 1.2rem;
	color: #2d3748;
}

.converter-link {
	color: #667eea;
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 15px;
}

.converter-link:hover {
	color: #764ba2;
	text-decoration: underline;
}

/* CTA Section */
.cta-section {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 80px 0;
	text-align: center;
	margin: 60px 0 0;
}

.cta-title {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 20px;
}

.cta-subtitle {
	font-size: 1.2rem;
	margin-bottom: 30px;
	opacity: 0.9;
}

.btn-cta-white {
	background: white;
	color: #667eea;
	padding: 15px 40px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 1.1rem;
	border: none;
	cursor: pointer;
	transition: transform 0.3s;
}

.btn-cta-white:hover {
	transform: scale(1.05);
	box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
	.hero-title {
		font-size: 2rem;
	}
	
	.hero-subtitle {
		font-size: 1.1rem;
	}
	
	.upload-container {
		padding: 30px 20px;
		margin: -60px 20px 40px;
	}
	
	.hero-features {
		gap: 15px;
	}
}


.faq-section {
	padding: 60px 0;
}

.faq-header {
	text-align: center;
	margin-bottom: 50px;
}

.faq-category {
	margin-bottom: 40px;
}

.faq-category-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #2d3748;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 3px solid #667eea;
}

.faq-item {
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 15px;
	overflow: hidden;
	transition: all 0.3s;
}

.faq-item:hover {
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
	border-color: #667eea;
}

.faq-question {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 20px 25px;
	font-size: 1.1rem;
	font-weight: 600;
	color: #2d3748;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background 0.3s;
}

.faq-question:hover {
	background: #f7fafc;
}

.faq-question i {
	color: #667eea;
	transition: transform 0.3s;
	font-size: 1.2rem;
}

.faq-item.active .faq-question i {
	transform: rotate(180deg);
}

.faq-answer {
	padding: 0 25px;
	max-height: 0;
	overflow: hidden;
	transition: all 0.3s ease-out;
}

.faq-item.active .faq-answer {
	padding: 0 25px 20px;
	max-height: 2000px;
}

.faq-answer p {
	color: #4a5568;
	line-height: 1.8;
	margin-bottom: 15px;
}

.faq-answer ul, .faq-answer ol {
	color: #4a5568;
	line-height: 1.8;
	margin-bottom: 15px;
	padding-left: 20px;
}

.faq-answer code {
	background: #f7fafc;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
	color: #667eea;
}

.faq-answer .alert {
	margin-top: 15px;
}

.quick-links {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 40px;
	border-radius: 15px;
	margin-bottom: 40px;
}

.quick-links h3 {
	color: white;
	margin-bottom: 20px;
}

.quick-link-btn {
	background: rgba(255,255,255,0.2);
	color: white;
	border: 2px solid white;
	padding: 12px 25px;
	border-radius: 8px;
	text-decoration: none;
	display: inline-block;
	margin: 5px;
	transition: all 0.3s;
	font-weight: 600;
}

.quick-link-btn:hover {
	background: white;
	color: #667eea;
}

.search-faq {
	margin-bottom: 40px;
}

.search-faq input {
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	padding: 15px 20px;
	font-size: 1.1rem;
	width: 100%;
	transition: border-color 0.3s;
}

.search-faq input:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}


.about-hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 80px 0 60px;
	margin-bottom: -50px;
}

.about-container {
	background: white;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.1);
	padding: 60px;
	max-width: 1000px;
	margin: 0 auto 60px;
	position: relative;
	z-index: 10;
}

.section-title {
	font-size: 2rem;
	font-weight: 700;
	color: #2d3748;
	margin: 50px 0 25px;
	padding-bottom: 15px;
	border-bottom: 3px solid #667eea;
}

.section-title:first-of-type {
	margin-top: 0;
}

.source-citation {
	background: #f7fafc;
	border-left: 4px solid #667eea;
	padding: 15px 20px;
	margin: 20px 0;
	font-size: 0.9em;
	color: #4a5568;
}

.source-citation a {
	color: #667eea;
	text-decoration: none;
	font-weight: 600;
}

.source-citation a:hover {
	text-decoration: underline;
}

.tech-specs-table {
	margin: 30px 0;
}

.tech-specs-table th {
	background: #667eea;
	color: white;
	font-weight: 600;
}

.comparison-table {
	margin: 30px 0;
}

.comparison-table .winner {
	background: #c6f6d5;
	font-weight: 600;
}

.timeline {
	position: relative;
	padding-left: 40px;
	margin: 30px 0;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: #667eea;
}

.timeline-item {
	position: relative;
	margin-bottom: 30px;
}

.timeline-item::before {
	content: '';
	position: absolute;
	left: -47px;
	top: 5px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #667eea;
	border: 3px solid white;
	box-shadow: 0 0 0 3px #667eea;
}

.timeline-year {
	font-weight: 700;
	color: #667eea;
	font-size: 1.2em;
}

.stat-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 30px;
	border-radius: 15px;
	text-align: center;
	height: 100%;
}

.stat-number {
	font-size: 3rem;
	font-weight: 800;
	display: block;
	margin-bottom: 10px;
}

.stat-label {
	font-size: 1.1rem;
	opacity: 0.9;
}

.feature-box {
	background: #f7fafc;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 20px;
	transition: all 0.3s;
}

.feature-box:hover {
	border-color: #667eea;
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.feature-icon {
	font-size: 2.5rem;
	color: #667eea;
	margin-bottom: 15px;
}

@media (max-width: 768px) {
	.about-container {
		padding: 30px 20px;
	}
	
	.timeline {
		padding-left: 30px;
	}
}

/* Internal Link Box (about-avif.tpl) */
.internal-link-box {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: white;
	padding: 30px;
	border-radius: 15px;
	margin: 40px 0;
	text-align: center;
}

.internal-link-box h3 {
	color: white;
	margin-bottom: 15px;
}

.internal-link-box .btn {
	background: white;
	color: #f5576c;
	font-weight: 700;
	padding: 12px 30px;
	border-radius: 8px;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s;
}

.internal-link-box .btn:hover {
	transform: scale(1.05);
	box-shadow: 0 5px 20px rgba(255,255,255,0.3);
}