
/* ========================================
   SAINIK AUTO DEALS - SERVICES CSS
   All service pages: new-car.php, car-insurance.php, car-loan.php
   ======================================== */

/* ========================================
   2. SERVICE SECTION MAIN LAYOUT
   ======================================== */

.sa-service-section {
	padding: 60px 0;
	background-color: #ffffff;
}

/* Service Header */
.sa-service-header {
	text-align: center;
	margin-bottom: 50px;
	animation: fadeIn 0.8s ease-out;
}

.sa-service-title {
	font-size: 42px;
	font-weight: 700;
	color: #333333;
	margin: 0 0 15px 0;
	letter-spacing: 1px;
	line-height: 1.2;
}

.sa-service-title .sa-highlight {
	color: #dc1b22;
	display: inline;
}

.sa-service-subtitle {
	font-size: 16px;
	color: #666666;
	margin: 0;
	max-width: 600px;
	letter-spacing: 1px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

/* ========================================
   3. SERVICE CONTENT LAYOUT (2-COLUMN)
   ======================================== */

.sa-service-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 50px;
	align-items: start;
}

.sa-service-left {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.sa-service-right {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

/* ========================================
   4. SERVICE CARD STYLES
   ======================================== */

.sa-service-card {
	background: #ffffff;
	border: 2px solid #f0f0f0;
	border-radius: 12px;
	padding: 30px;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	position: relative;
	overflow: hidden;
	animation: fadeInUp 0.6s ease-out;
}

.sa-service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 114, 56, 0.1), transparent);
	transition: left 0.5s ease;
	z-index: 0;
}

.sa-service-card:hover::before {
	left: 100%;
}

.sa-service-card:hover {
	border-color: #dc1b22;
	box-shadow: 0 8px 25px rgba(255, 114, 56, 0.15);
	transform: translateY(-5px);
}

.sa-card-icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #dc1b22 0%, #b1151a 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 28px;
	color: #ffffff;
	position: relative;
	z-index: 1;
	box-shadow: 0 4px 15px rgba(255, 114, 56, 0.3);
	animation: scaleIn 0.5s ease-out;
}

.sa-card-title {
	font-size: 20px;
	font-weight: 500;
	color: #333333;
	margin: 0 0 12px 0;
	position: relative;
	z-index: 1;
	letter-spacing: 1px;
}

.sa-card-text {
	font-size: 14px;
	color: #666666;
	margin: 0 0 20px 0;
	line-height: 1.6;
	position: relative;
	letter-spacing: 1px;
	z-index: 1;
}

.sa-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
}

.sa-card-list li {
	font-size: 13px;
	color: #555555;
	margin-bottom: 10px;
	letter-spacing: 1px;
	padding-left: 25px;
	position: relative;
	line-height: 1.5;
	display: flex;
	align-items: center;
}

.sa-card-list li:last-child {
	margin-bottom: 0;
}

.sa-card-list i {
	position: absolute;
	left: 0;
	color: #dc1b22;
	font-size: 12px;
	width: 20px;
	text-align: center;
}

/* ========================================
   5. FEATURES BOX STYLES
   ======================================== */

.sa-features-box {
	background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
	border: 2px solid #f0f0f0;
	border-radius: 12px;
	padding: 30px;
	animation: fadeInUp 0.8s ease-out;
}

.sa-features-title {
	font-size: 22px;
	font-weight: 700;
	color: #333333;
	letter-spacing: 1px;
	margin: 0 0 25px 0;
	padding-bottom: 15px;
	border-bottom: 3px solid #dc1b22;
	display: inline-block;
}

/* ========================================
   6. FEATURE ITEM STYLES (NUMBERED)
   ======================================== */

.sa-feature-item {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
	padding: 20px;
	background: #ffffff;
	border-radius: 10px;
	border-left: 4px solid #dc1b22;
	transition: all 0.3s ease;
}

.sa-feature-item:hover {
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	transform: translateX(5px);
}

.sa-feature-number {
	min-width: 45px;
	width: 45px;
	height: 45px;
	background: linear-gradient(135deg, #dc1b22 0%, #b1151a 100%);
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	box-shadow: 0 4px 10px rgba(255, 114, 56, 0.3);
	flex-shrink: 0;
}

.sa-feature-content {
	flex: 1;
}

.sa-feature-name {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 1px;
	color: #333333;
	margin: 0 0 8px 0;
}

.sa-feature-desc {
	font-size: 14px;
	color: #666666;
	margin: 0;
	line-height: 1.5;
	letter-spacing: 1px;
}

/* ========================================
   7. CTA BOX STYLES
   ======================================== */

.sa-cta-box {
	background: linear-gradient(135deg, #dc1b22 0%, #b1151a 100%);
	border-radius: 12px;
	padding: 30px;
	color: #ffffff;
	animation: fadeInUp 1s ease-out;
	position: relative;
	overflow: hidden;
	margin-top: unset;
}

.sa-cta-box::before {
	content: '';
	position: absolute;
	top: 0;
	right: -50%;
	width: 100%;
	height: 100%;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="30" fill="rgba(255,255,255,0.1)"/></svg>');
	z-index: 0;
}

.sa-cta-title {
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 10px 0;
	letter-spacing: 1px;
	position: relative;
	z-index: 2;
}

.sa-cta-text {
	font-size: 14px;
	color: rgba(255,255,255,0.95);
	margin: 0;
	line-height: 1.5;
	letter-spacing: 1px;
	position: relative;
	z-index: 2;
}

.sa-cta-button {
	display: inline-block;
	background: rgba(255,255,255,0.25);
	color: #ffffff;
	padding: 12px 25px;
	border-radius: 6px;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight: 600;
	font-size: 13px;
	margin-top: 15px;
	border: 2px solid rgba(255,255,255,0.5);
	transition: all 0.3s ease;
	position: relative;
	z-index: 2;
}

.sa-cta-button:hover {
	background: rgba(255,255,255,0.4);
	border-color: #ffffff;
	color: #ffffff;
}

.sa-cta-content{
	background: #f8f8f8; 
	padding: 15px; 
	border-radius: 8px; 
	margin-top: 15px;
}

.sa-cta-content p{
	font-size: 13px; 
	color: #666; 
	margin-bottom: 10px;
	letter-spacing: 1px;
}
/* ========================================
   8. INFO SECTION STYLES
   ======================================== */

.sa-info-section {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 60px;
	padding-top: 40px;
	border-top: 2px solid #f0f0f0;
}

.sa-info-column {
	animation: fadeInUp 1s ease-out;
}

.sa-info-item-box {
	background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
	border: 2px solid #f0f0f0;
	border-radius: 12px;
	padding: 30px;
	transition: all 0.4s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.sa-info-item-box:hover {
	border-color: #dc1b22;
	box-shadow: 0 8px 25px rgba(255, 114, 56, 0.15);
	transform: translateY(-5px);
}

.sa-info-box-title {
	font-size: 18px;
	font-weight: 700;
	color: #333333;
	margin: 0 0 20px 0;
	display: flex;
	letter-spacing: 1px;
	align-items: center;
	gap: 10px;
}

.sa-info-box-title i {
	color: #dc1b22;
	font-size: 22px;
}

.sa-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
}

.sa-info-list li {
	font-size: 13px;
	color: #666666;
	margin-bottom: 12px;
	padding-left: 20px;
	position: relative;
	line-height: 1.5;
	letter-spacing: 1px;
}

.sa-info-list li:last-child {
	margin-bottom: 0;
}

.sa-info-list li::before {
	content: '\f00c';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	left: 0;
	color: #dc1b22;
}

.sa-info-box-text {
	font-size: 13px;
	color: #666666;
	margin: 0 0 15px 0;
	line-height: 1.6;
	flex: 1;
	display: flex;
	letter-spacing: 1px;
	align-items: center;
}

.sa-help-button {
	display: inline-block;
	background: linear-gradient(135deg, #dc1b22 0%, #b1151a 100%);
	color: #ffffff;
	padding: 12px 25px;
	border-radius: 6px;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight: 600;
	font-size: 13px;
	border: 2px solid transparent;
	transition: all 0.3s ease;
	text-align: center;
	align-self: flex-start;
}

.sa-help-button:hover {
	box-shadow: 0 6px 20px rgba(255, 114, 56, 0.3);
	transform: translateY(-2px);
	color: #ffffff;
}

/* ========================================
   9. ANIMATIONS
   ======================================== */

@keyframes slideInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.5);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* ========================================
   10. RESPONSIVE DESIGN
   ======================================== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
	.sa-service-section {
		padding: 40px 0;
	}

	.sa-service-title {
		font-size: 32px;
		margin-bottom: 12px;
	}

	.sa-service-subtitle {
		font-size: 14px;
	}

	.sa-service-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.sa-service-card {
		padding: 25px;
		animation-name: fadeInUp;
	}

	.sa-card-title {
		font-size: 18px;
	}

	.sa-card-text {
		font-size: 13px;
		margin-bottom: 15px;
	}

	.sa-card-list li {
		font-size: 12px;
		margin-bottom: 8px;
	}

	.sa-features-box {
		padding: 25px;
		position: static;
		top: auto;
	}

	.sa-features-title {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.sa-feature-item {
		padding: 18px;
		margin-bottom: 20px;
		gap: 15px;
	}

	.sa-feature-number {
		min-width: 40px;
		width: 40px;
		height: 40px;
		font-size: 14px;
	}

	.sa-feature-name {
		font-size: 14px;
		margin-bottom: 6px;
	}

	.sa-feature-desc {
		font-size: 12px;
	}

	.sa-cta-box {
		padding: 25px;
	}

	.sa-cta-title {
		font-size: 16px;
	}

	.sa-cta-text {
		font-size: 13px;
	}

	.sa-info-section {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-top: 40px;
		padding-top: 30px;
	}

	.sa-info-item-box {
		padding: 25px;
	}

	.sa-info-box-title {
		font-size: 16px;
		margin-bottom: 15px;
	}

	.sa-info-box-title i {
		font-size: 20px;
	}

	.sa-info-list li {
		font-size: 12px;
		margin-bottom: 10px;
	}

	.sa-info-box-text {
		font-size: 12px;
		margin-bottom: 12px;
	}
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
	.sa-service-section {
		padding: 30px 0;
	}

	.sa-service-header {
		margin-bottom: 30px;
	}

	.sa-service-title {
		font-size: 24px;
		margin-bottom: 10px;
	}

	.sa-service-subtitle {
		font-size: 13px;
	}

	.sa-service-card {
		padding: 20px;
		border-radius: 8px;
	}

	.sa-card-icon {
		width: 50px;
		height: 50px;
		font-size: 24px;
		margin-bottom: 15px;
	}

	.sa-card-title {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.sa-card-text {
		font-size: 12px;
		margin-bottom: 12px;
		line-height: 1.5;
	}

	.sa-card-list li {
		font-size: 11px;
		margin-bottom: 7px;
		padding-left: 22px;
	}

	.sa-features-box {
		padding: 20px;
		border-radius: 8px;
	}

	.sa-features-title {
		font-size: 18px;
		margin-bottom: 18px;
	}

	.sa-feature-item {
		padding: 15px;
		margin-bottom: 15px;
		gap: 12px;
		border-radius: 8px;
	}

	.sa-feature-number {
		min-width: 35px;
		width: 35px;
		height: 35px;
		font-size: 12px;
	}

	.sa-feature-name {
		font-size: 13px;
		margin-bottom: 5px;
	}

	.sa-feature-desc {
		font-size: 11px;
	}

	.sa-cta-box {
		padding: 20px;
		border-radius: 8px;
	}

	.sa-cta-title {
		font-size: 15px;
		margin-bottom: 8px;
	}

	.sa-cta-text {
		font-size: 12px;
	}

	.sa-cta-button {
		padding: 10px 20px;
		font-size: 12px;
		margin-top: 12px;
	}

	.sa-info-section {
		margin-top: 30px;
		padding-top: 25px;
		gap: 15px;
		border-top: 1px solid #f0f0f0;
	}

	.sa-info-item-box {
		padding: 20px;
		border-radius: 8px;
	}

	.sa-info-box-title {
		font-size: 15px;
		margin-bottom: 12px;
		gap: 8px;
	}

	.sa-info-box-title i {
		font-size: 18px;
	}

	.sa-info-list li {
		font-size: 11px;
		margin-bottom: 8px;
		padding-left: 18px;
	}

	.sa-info-box-text {
		font-size: 11px;
		margin-bottom: 10px;
		line-height: 1.5;
	}

	.sa-help-button {
		padding: 10px 20px;
		font-size: 12px;
		width: 100%;
		text-align: center;
	}
}

/* Extra small devices (360px and below) */
@media (max-width: 360px) {
	.sa-service-title {
		font-size: 20px;
	}

	.sa-service-subtitle {
		font-size: 12px;
	}

	.sa-card-title {
		font-size: 15px;
	}

	.sa-card-text {
		font-size: 11px;
	}

	.sa-features-title {
		font-size: 16px;
	}

	.sa-feature-item {
		flex-direction: column;
	}

	.sa-feature-number {
		width: 100%;
		margin-bottom: 10px;
	}
}

/* ========================================
   11. UTILITY CLASSES
   ======================================== */

.sa-highlight {
	color: #dc1b22;
	font-weight: 700;
}

.sa-text-center {
	text-align: center;
}

.sa-text-orange {
	color: #dc1b22;
}

.sa-mb-20 {
	margin-bottom: 20px;
}

.sa-mt-20 {
	margin-top: 20px;
}

.sa-mt-40 {
	margin-top: 40px;
}

/* ========================================
   12. BUTTON STYLES
   ======================================== */

.sa-btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	border: 2px solid transparent;
	transition: all 0.3s ease;
	cursor: pointer;
	text-align: center;
}

.sa-btn-primary {
	background: linear-gradient(135deg, #dc1b22 0%, #b1151a 100%);
	color: #ffffff;
}

.sa-btn-primary:hover {
	box-shadow: 0 6px 20px rgba(255, 114, 56, 0.3);
	transform: translateY(-2px);
	color: #ffffff;
}

.sa-btn-secondary {
	background: #ffffff;
	color: #dc1b22;
	border-color: #dc1b22;
}

.sa-btn-secondary:hover {
	background: #dc1b22;
	color: #ffffff;
}

/* ========================================
   13. SMOOTH SCROLL
   ======================================== */

html {
	scroll-behavior: smooth;
}

/* Print Styles */
@media print {
	.sa-help-button,
	.sa-cta-button {
		display: none;
	}
}
