/* Services page styles - aligned with main.css theme */

/* Theme variables (match main.css for consistent typography/colors) */
:root {
	--primary-color: #1e3a8a;
	--secondary-color: #3b82f6;
	--dark-bg: #0f172a;
	--light-bg: #f8fafc;
	--text-dark: #1e293b;
	--text-light: #64748b;
	--white: #ffffff;
}

body.services-page{
	background: var(--light-bg);
	color: var(--text-dark);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	line-height: 1.6;
}

/* Hero / Intro */
.services-hero{
	/* Match main hero: large, bold, with gradient background */
	position: relative;
	min-height: 70vh;
	display: flex;
	align-items: center;
	padding: 80px 0 120px;
	text-align: center;
	color: white;
	/* background image from image/services.png with a dark overlay for readability */
	background: linear-gradient(135deg, rgba(15,23,42,0.7) 0%, rgba(30,41,59,0.7) 100%), url('../image/services.png') center/cover no-repeat;
	overflow: visible;
}
.services-hero .label{
	color: rgba(59,130,246,0.9);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	margin-bottom: 12px;
}
.services-hero h1{
	font-size: 2.8rem;
	margin-bottom: 18px;
	line-height: 1.1;
}
.services-hero p.lead{
	color: rgba(219,234,254,0.95);
	font-size: 1.05rem;
	max-width: 920px;
	margin: 0 auto;
}

/* Use main-style hero typography inside services hero */
.services-hero .section-title {
	font-size: 3.5em;
	font-weight: 700;
	margin-bottom: 20px;
	color: white;
	line-height: 1.05;
}

.services-hero .section-subtitle {
	font-size: 1.2em;
	color: #cbd5e1;
	max-width: 800px;
	margin: 0 auto;
}

.services-hero .section-label {
	color: rgba(147,197,253,0.95);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 12px;
}

/* Services grid */
.services-section{
	padding: 80px 20px;
}
.services-container{
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.services-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 28px;
}

/* Align .services section with main layout spacing */
.services{
	background: white;
	padding: 80px 0 60px;
	margin-top: 0;
	position: relative;
	z-index: 2;
}

/* Typography alignment with main page */
.section-title {
	font-size: 2.8em;
	margin-bottom: 20px;
	color: var(--text-dark);
	font-weight: 700;
	text-align: center;
}

.section-subtitle {
	font-size: 1.2em;
	color: var(--text-light);
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.service-card{
	background: #fff;
	padding: 30px;
	border-radius: 14px;
	border: 1px solid var(--card-border);
	box-shadow: 0 6px 20px rgba(2,6,23,0.04);
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover{
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(2,6,23,0.12);
	border-color: var(--primary-1);
}
.service-card .num{
	display: inline-block;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: linear-gradient(135deg,var(--primary-1),var(--primary-2));
	color: white;
	font-weight: 700;
	display:flex;
	align-items:center;
	justify-content:center;
	margin-bottom: 18px;
	font-size: 1.25rem;
}
.service-card h3{
	margin: 0 0 12px 0;
	color: var(--navy-1);
	font-size: 1.25rem;
}
.service-card p{
	color: var(--muted);
	line-height: 1.7;
}

/* Feature list inside a service */
.service-list{
	list-style: none;
	padding: 0;
	margin-top: 18px;
}
.service-list li{
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	color: var(--muted);
}
.service-list li::before{
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--primary-1);
}

/* CTA / Contact prompt */
.services-cta{
	margin-top: 50px;
	text-align: center;
	padding: 40px 20px;
	background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(37,99,235,0.04));
	border-radius: 12px;
	border: 1px solid rgba(59,130,246,0.08);
}
.services-cta h3{ color: var(--navy-1); margin-bottom: 12px; }
.services-cta p{ color: var(--muted); margin-bottom: 18px; }
.services-cta .btn{
	display: inline-block;
	padding: 12px 28px;
	background: linear-gradient(135deg,var(--primary-1),var(--primary-2));
	color: white;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
}

/* Small helpers */
.meta{ color: var(--primary-1); font-weight:600; text-transform:uppercase; letter-spacing:1px; }

/* Responsive tweaks */
@media (max-width: 768px){
	.services-hero{ padding: 80px 16px 40px; }
	.services-hero h1{ font-size: 1.9rem; }
	.services-grid{ gap: 18px; }
	.service-card{ padding: 22px; }
}

/* Small print/Footer area on services page */
.services-footer-note{
	margin-top: 40px;
	color: var(--muted);
	font-size: 0.95rem;
	text-align:center;
}

/* Styles matching services.html structure */
.page-header{
	padding: 100px 20px 60px;
	background: linear-gradient(180deg, rgba(2,6,23,0.03), transparent 60%);
	text-align: center;
}
.page-header h1{ font-size: 2.6rem; color: var(--navy-1); margin-bottom: 12px; }
.page-header p{ color: var(--muted); max-width: 900px; margin: 0 auto; }

.services-intro{ padding: 60px 20px; }
.intro-content h2{ font-size: 1.8rem; color: var(--navy-1); margin-bottom: 12px; }
.intro-content p{ color: var(--muted); line-height:1.8; }

.service-detail{ padding: 50px 0; border-top: 1px solid rgba(2,6,23,0.03); }
.service-content{ display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.service-text{ padding: 10px 20px; }
.service-image img{ width:100%; border-radius:12px; display:block; }
.service-number{
	font-size: 2.4rem;
	font-weight: 700;
	color: #c7d2fe;
	margin-bottom: 14px;
	line-height: 1;
}
.service-lead{ color: var(--primary-1); font-weight:600; margin-bottom:12px; }
.service-description h4{ margin-top:18px; color: var(--navy-1); }
.service-description ul{ margin-left: 20px; color: var(--muted); }
.service-description ul li{ margin-bottom:10px; }

.service-detail.alternate .service-content{ grid-template-columns: 1fr 1fr; }
.service-detail.alternate .service-image{ order: -1; }

.overview-content,
.service-content{ grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.benefits-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 28px; }
.benefit-card{ background: #fff; padding:24px; border-radius:12px; box-shadow: 0 6px 20px rgba(2,6,23,0.04); border:1px solid var(--card-border); text-align:center; }
.benefit-icon{ color: var(--primary-1); margin-bottom:12px; display:flex; align-items:center; justify-content:center; }
.benefit-card h3{ margin-bottom:8px; color: var(--navy-1); }
.benefit-card p{ color: var(--muted); font-size:0.95rem; }

.cta-section{ padding: 60px 20px; text-align:center; }
.cta-section h2{ font-size:1.9rem; color: var(--navy-1); margin-bottom:12px; }
.cta-section p{ color: var(--muted); margin-bottom:18px; }
.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: #1e3a8a;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Apply About Us card & VM styles to services page */
.overview-image,
.service-image{ border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.overview-image img,
.service-image img{ width:100%; height:360px; object-fit:cover; display:block; }

.vm-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.vm-card{ background: white; padding: 30px; border-radius: 16px; box-shadow: 0 6px 24px rgba(2,6,23,0.06); }
.vm-card h3{ font-size: 1.6rem; color: var(--primary-color); margin-bottom: 12px; font-weight:700; }
.vm-card p, .vm-card ul li{ color: var(--text-light); line-height:1.7; }

/* Values (benefits) styled like About Us value-cards */
.benefit-card{ background: var(--light-bg); padding: 28px; border-radius: 16px; transition: all .3s ease; border:2px solid transparent; }
.benefit-card:hover{ transform: translateY(-8px); border-color: var(--secondary-color); box-shadow: 0 15px 40px rgba(59,130,246,0.12); }
.benefit-icon{ width:80px; height:80px; margin:0 auto 14px; background: linear-gradient(135deg,var(--secondary-color),var(--primary-color)); border-radius:50%; display:flex; align-items:center; justify-content:center; color:white; box-shadow: 0 6px 20px rgba(59,130,246,0.12); }
.benefit-icon svg{ width:36px; height:36px; stroke:white; }

@media (max-width: 900px){
	.overview-content, .service-content, .vm-grid{ grid-template-columns: 1fr; }
	.overview-image img, .service-image img{ height: 260px; }
}
@media (max-width: 900px){
	.service-content{ grid-template-columns: 1fr; }
	.service-detail.alternate .service-image{ order: 0; }
}


