/* =========================================
           GLOBAL FIXES (Overrides Header.css)
           ========================================= */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
.row {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

/* Locks horizontal scroll & forces content to slide under navbar */
body {
	font-family: "Inter", sans-serif !important;
	background-color: #f8fafc !important;
	color: #475569 !important;
	padding-top: 0px !important; /* Kills the white gap under navbar */
	overflow-x: hidden !important; /* Kills horizontal scrolling */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.bg-light-soft {
	background-color: #f8fafc;
}
.bg-dark-slate {
	background-color: var(--se-dark, #0f172a);
}
.bg-primary-soft {
	background-color: #f1f5f9;
}

/* --- Section Titles --- */
.section-title {
	font-weight: 800;
	color: var(--se-dark, #0f172a);
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 0;
	font-size: clamp(1.7rem, 3.2vw, 2.3rem);
	letter-spacing: -0.5px;
	display: inline-block;
}

.section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: var(--se-primary, #2563eb);
	border-radius: 2px;
}

/* --- Buttons --- */
.btn-premium {
	background: var(--se-primary, #2563eb) !important;
	color: #ffffff !important;
	border: none;
	border-radius: 12px;
	padding: 12px 30px;
	font-weight: 700;
	font-size: 1.05rem;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.btn-premium:hover {
	background: var(--se-primary-hover, #1d4ed8) !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
	color: white !important;
}

.btn-premium-outline {
	color: var(--se-primary, #2563eb);
	border: 2px solid #2563eb;
	border-radius: 12px;
	padding: 12px 30px;
	font-weight: 700;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.btn-premium-outline:hover {
	background: var(--se-primary, #2563eb);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* =========================================
           HERO BANNER (Full Bleed Deep Navy)
           ========================================= */
.premium-hero {
	background: var(--se-hero-bg, #060552) !important;
	padding: 140px 0 100px !important; /* Top padding pushes text safely below navbar */
	position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	overflow: hidden;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

.premium-hero-badge {
	display: inline-block;
	background: rgba(37, 99, 235, 0.2);
	color: #60a5fa;
	border: 1px solid rgba(59, 130, 246, 0.3);
	padding: 8px 20px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.hero-title {
	color: #ffffff !important;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1.2;
	margin-bottom: 15px;
}

.hero-subtitle {
    color: #94a3b8 !important;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 0 !important; /* Removes space below text since button is gone */
}

.hero-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	height: 400px;
	background: var(--se-primary, #2563eb);
	filter: blur(100px);
	opacity: 0.4;
	z-index: -1;
}

/* =========================================
   FLOATING METRICS & IMPACT BAR
   ========================================= */

.metric-item {
	padding: 10px 14px;
	transition: transform 0.25s ease;
}

.metric-item:hover {
	transform: translateY(-3px);
}

.metric-icon {
	width: 44px;
	height: 44px;
	margin: 0 auto 10px;
	border-radius: 12px;
	background: #eff6ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
}

.metric-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #64748b;
	line-height: 1.35;
}

/* =========================================
   TABBED INTERACTIVE SERVICES SHOWCASE
   ========================================= */
.services-section {
	flex-grow: 1; /* Pushes footer down */
}

.services-tab-hub {
	margin-top: 15px;
}

/* =========================================
   BOTTOM SHEET SERVICE SELECTOR (MOBILE & TABLET)
   ========================================= */

/* Backdrop Overlay */

/* Bottom Sheet Drawer */

.service-tab-nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.service-tab-btn {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 16px;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	text-align: left;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
	position: relative;
	width: 100%;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.service-tab-btn:hover {
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.08);
}

.service-tab-btn.active {
	background: var(--se-dark, #0f172a);
	border-color: var(--se-dark, #0f172a);
	box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.35);
	transform: translateY(-2px);
}

.tab-btn-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #f1f5f9;
	padding: 6px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.25s ease;
}

.tab-btn-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.service-tab-btn.active .tab-btn-icon {
	background: rgba(255, 255, 255, 0.12);
}

.tab-btn-text {
	flex-grow: 1;
	min-width: 0;
}

.tab-btn-category {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.75px;
	color: var(--se-primary, #2563eb);
	margin-bottom: 2px;
	transition: color 0.25s ease;
}

.service-tab-btn.active .tab-btn-category {
	color: #60a5fa;
}

.tab-btn-title {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--se-dark, #0f172a);
	margin: 0;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.25s ease;
}

.service-tab-btn.active .tab-btn-title {
	color: #ffffff;
}

.tab-btn-arrow {
	color: #94a3b8;
	font-size: 0.9rem;
	transition: all 0.25s ease;
	flex-shrink: 0;
}

.service-tab-btn:hover .tab-btn-arrow {
	color: var(--se-primary, #2563eb);
	transform: translateX(3px);
}

.service-tab-btn.active .tab-btn-arrow {
	color: #38bdf8;
	transform: translateX(4px);
}

/* --- Showcase Display Pane --- */
.service-showcase-wrapper {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 24px;
	padding: 36px 32px;
	box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
	min-height: 480px;
	position: relative;
}

.service-showcase-pane {
	display: none;
	animation: fadeInPane 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-showcase-pane.active {
	display: block;
}

@keyframes fadeInPane {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.showcase-header {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 20px;
}

.showcase-icon-box {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: #f1f5f9;
	padding: 8px;
	flex-shrink: 0;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.showcase-icon-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.showcase-header-content {
	flex-grow: 1;
}

.showcase-badge {
	background: rgba(37, 99, 235, 0.1);
	color: var(--se-primary, #2563eb);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 3px 12px;
	border-radius: 50px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.showcase-badge-verified {
	background: #ecfdf5;
	color: #065f46;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 3px 12px;
	border-radius: 50px;
	border: 1px solid #a7f3d0;
}

.showcase-title {
	font-size: clamp(1.4rem, 3vw, 1.75rem);
	font-weight: 800;
	color: var(--se-dark, #0f172a);
	margin: 0;
	line-height: 1.25;
}

.showcase-desc {
	margin-bottom: 20px;
}

.showcase-desc p {
	color: #475569;
	font-size: 1.02rem;
	line-height: 1.75;
	margin-bottom: 0;
}

.showcase-pills-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
	padding: 12px 16px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 12px;
}

.pill-item {
	font-size: 0.84rem;
	font-weight: 600;
	color: #334155;
	display: inline-flex;
	align-items: center;
}

.showcase-features-section {
	margin-bottom: 26px;
}

.features-title {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--se-dark, #0f172a);
	margin-bottom: 14px;
}

.showcase-features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 18px;
}

.feature-checklist-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	padding: 12px 16px;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.feature-checklist-item:hover {
	background: #ffffff;
	border-color: #cbd5e1;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.checklist-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #dbeafe;
	color: var(--se-primary, #2563eb);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.checklist-text {
	font-size: 0.92rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.45;
}

.showcase-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding-top: 18px;
	border-top: 1px solid #f1f5f9;
}

.btn-showcase-primary {
	background: var(--se-primary, #2563eb);
	color: #ffffff !important;
	border-radius: 12px;
	padding: 12px 26px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
	transition: all 0.25s ease;
}

.btn-showcase-primary:hover {
	background: var(--se-primary-hover, #1d4ed8);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
}

.btn-showcase-secondary {
	background: #f1f5f9;
	color: var(--se-dark, #0f172a) !important;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px 22px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: all 0.25s ease;
}

.btn-showcase-secondary:hover {
	background: #e2e8f0;
	color: var(--se-dark, #0f172a) !important;
	transform: translateY(-2px);
}

/* =========================================
           HOW IT WORKS
           ========================================= */
.process-step-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 20px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.process-step-card:hover {
	transform: translateX(10px);
	border-color: var(--se-primary, #2563eb);
	box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15);
}

.step-icon {
	width: 70px;
	height: 70px;
	border-radius: 16px;
	overflow: hidden;
	flex-shrink: 0;
}

.step-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.step-info h4 {
	font-weight: 800;
	color: var(--se-dark, #0f172a);
	font-size: 1.15rem;
	margin-bottom: 5px;
}

.step-info p {
	color: #64748b;
	margin: 0;
	font-size: 0.95rem;
}

/* =========================================
           GALLERY
           ========================================= */

/* =========================================
           MISSION SECTION
           ========================================= */
.premium-mission-card {
	border-radius: 32px;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
	border: 1px solid #e2e8f0;
}

.core-value-card {
	background: #ffffff;
	padding: 25px;
	border-radius: 16px;
	text-align: center;
	height: 100%;
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
	transition: all 0.3s ease;
}

.core-value-card:hover {
	transform: translateY(-5px);
	border-color: rgba(37, 99, 235, 0.3);
}

.core-value-card img {
	width: 50px;
	height: 50px;
	margin-bottom: 15px;
}

.core-value-card h5 {
	color: var(--se-dark, #0f172a);
	font-weight: 800;
	margin-bottom: 10px;
}

.core-value-card p {
	color: #64748b;
	font-size: 0.85rem;
	margin: 0;
}

 
/* =========================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================= */
@media (max-width: 991.98px) {
    .premium-hero {
        padding: 115px 0 50px !important;
        text-align: center;
    }
    .hero-content {
        margin-bottom: 20px !important;
    }
    .hero-title {
        font-size: clamp(2rem, 5vw, 2.75rem);
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    
    /* Tab Buttons in Tablet (2-column layout) */
    .service-tab-nav {
        gap: 8px;
    }
    .service-tab-btn {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 16px;
    }
    .tab-btn-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        padding: 4px;
    }
    .tab-btn-category {
        font-size: 0.68rem;
    }
    .tab-btn-title {
        font-size: 0.95rem;
    }
    .tab-btn-arrow {
        font-size: 0.8rem;
    }
    
    /* Showcase in Tablet */
    .service-showcase-wrapper {
        padding: 24px 20px;
        min-height: auto;
        border-radius: 16px;
    }
    .showcase-header {
        padding-bottom: 16px;
        margin-bottom: 16px;
        gap: 14px;
    }
    .showcase-icon-box {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }
    .showcase-title {
        font-size: 1.45rem;
    }
    .showcase-desc p {
        font-size: 0.96rem;
        line-height: 1.65;
    }
    .showcase-pills-strip {
        padding: 10px 14px;
        margin-bottom: 20px;
    }
    .showcase-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .feature-checklist-item {
        padding: 10px 12px;
    }
    .checklist-text {
        font-size: 0.86rem;
    }
    
    /* Process steps & gallery in Tablet */
    .process-step-card {
        padding: 16px 18px;
        gap: 16px;
    }
    
}

@media (max-width: 767.98px) {
	.premium-hero {
		padding: 100px 0 35px !important;
	}
	.hero-title {
		font-size: clamp(1.65rem, 5.5vw, 2.15rem);
	}
	.hero-subtitle {
		font-size: 0.95rem !important;
        line-height: 1.6;
	}
    
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 1.85rem);
        padding-bottom: 14px;
    }
    
    /* Horizontal Swipeable Tab Navigation on Mobile */
	.service-tab-nav {
		flex-direction: row;
		overflow-x: auto;
		padding: 4px 2px 12px;
		gap: 10px;
		scrollbar-width: none; /* Hide default scrollbar */
		-webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
	}
    .service-tab-nav::-webkit-scrollbar {
        display: none;
    }
	.service-tab-btn {
		flex: 0 0 215px;
        min-width: 200px;
        max-width: 240px;
		padding: 11px 13px;
		gap: 10px;
		border-radius: 16px;
        scroll-snap-align: start;
	}
	.tab-btn-icon {
		width: 38px;
		height: 38px;
		border-radius: 10px;
		padding: 4px;
	}
    .tab-btn-category {
        font-size: 0.66rem;
    }
	.tab-btn-title {
		font-size: 0.90rem;
	}
	.tab-btn-arrow {
		display: none;
	}
    
    /* Mobile Showcase Display Pane */
	.service-showcase-wrapper {
		padding: 18px 14px;
		border-radius: 16px;
        box-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.08);
	}
	.showcase-header {
		flex-direction: row;
		align-items: center;
		gap: 12px;
		padding-bottom: 14px;
		margin-bottom: 14px;
	}
	.showcase-icon-box {
		width: 48px;
		height: 48px;
		border-radius: 12px;
        padding: 6px;
	}
    .showcase-badge,
    .showcase-badge-verified {
        font-size: 0.68rem;
        padding: 2px 8px;
    }
    .showcase-title {
        font-size: 1.25rem;
    }
	.showcase-desc p {
		font-size: 0.90rem;
		line-height: 1.6;
	}
    .showcase-pills-strip {
        padding: 8px 10px;
        gap: 6px 10px;
        margin-bottom: 16px;
        border-radius: 10px;
    }
    .pill-item {
        font-size: 0.76rem;
    }
    .features-title {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
	.showcase-features-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.feature-checklist-item {
		padding: 9px 12px;
		gap: 8px;
        border-radius: 10px;
	}
    .checklist-icon {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
	.checklist-text {
		font-size: 0.84rem;
        line-height: 1.4;
	}
	.showcase-actions {
		flex-direction: column;
		width: 100%;
		gap: 8px;
        padding-top: 14px;
	}
	.btn-showcase-primary,
	.btn-showcase-secondary {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding: 11px 16px;
        font-size: 0.90rem;
        border-radius: 10px;
	}
    
    /* Other sections on mobile */
	.process-step-card {
		flex-direction: column;
		text-align: center;
		padding: 20px 16px;
		gap: 12px;
	}
	.process-step-card:hover {
		transform: translateY(-4px);
	}
	.step-icon {
		margin: 0 auto;
        width: 60px;
        height: 60px;
	}
    .step-info h4 {
        font-size: 1.05rem;
    }
    .step-info p {
        font-size: 0.88rem;
    }
	.premium-mission-card {
		border-radius: 16px;
	}
	
    /* Mobile Signature Service Cards */
    .mobile-services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 4px;
    }

    .mobile-service-card {
        background: #FFFFFF;
        border-radius: 16px;
        box-shadow: 0 8px 25px -8px rgba(15, 23, 42, 0.08);
        border: 1px solid #E2E8F0;
        border-top: 4px solid #2563eb; /* Signature Brand Top Accent */
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding: 20px 18px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .mobile-service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px -6px rgba(37, 99, 235, 0.15);
    }

    

    

    

    

    

    .mobile-service-title {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--se-dark, #0f172a);
        margin: 0;
        line-height: 1.3;
    }

    .mobile-service-title a {
        color: var(--se-dark, #0f172a);
        text-decoration: none;
    }

    .mobile-service-desc {
        color: #64748B;
        font-size: 0.88rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .mobile-features-list {
        list-style: none;
        padding: 0;
        margin: 0 0 16px 0;
        border-top: 1px solid #F1F5F9;
        padding-top: 10px;
    }

    .mobile-features-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 0;
        color: #475569;
        font-weight: 500;
        font-size: 0.85rem;
        border-bottom: 1px solid #F8FAFC;
    }

    .mobile-features-list li:last-child {
        border-bottom: none;
    }

    .mobile-features-list i {
        color: #10B981; /* Emerald Green check */
        font-size: 0.88rem;
        flex-shrink: 0;
    }

    .btn-mobile-learn {
        background: var(--se-primary, #2563eb) !important;
        color: #FFFFFF !important;
        border-radius: 12px;
        padding: 12px 20px;
        font-weight: 700;
        font-size: 0.92rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
        text-decoration: none;
        margin-top: auto;
    }
}

@media (max-width: 480px) {
    .service-tab-btn {
        flex: 0 0 190px;
        min-width: 180px;
        padding: 9px 11px;
    }
    .tab-btn-title {
        font-size: 0.86rem;
    }
    .showcase-title {
        font-size: 1.15rem;
    }
    
}

/* ==========================================================================
   TECHNICAL LEADERSHIP & ENGINEERING TEAM
   ========================================================================== */
.bg-soft-slate {
    background-color: #f8fafc !important;
}

.section-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
    color: var(--se-primary, #2563eb);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    backdrop-filter: blur(6px);
}

.pulse-dot-blue {
    width: 7px;
    height: 7px;
    background: var(--se-primary, #2563eb);
    border-radius: 50%;
    box-shadow: 0 0 8px #2563eb;
    animation: bluePulse 2s infinite ease-in-out;
}

@keyframes bluePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.section-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 660px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.btn-profile-link {
    background: transparent;
    color: var(--se-primary, #2563eb) !important;
    border: 1.5px solid #2563eb;
    border-radius: 8px;
    padding: 7px 14px;
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.btn-profile-link:hover {
    background: var(--se-primary, #2563eb);
    color: #ffffff !important;
    transform: translateX(3px);
}

/* ==========================================================================
   MODERN INTERACTIVE SERVICES SYSTEM (V2 Production)
   ========================================================================== */

/* Modern Hero Section */
.services-hero-modern {
    background: var(--se-hero-bg, #060552);
    padding: 130px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-pill-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
    animation: bluePulse 2s infinite;
}

.hero-modern-title {
    color: #ffffff;
    font-size: clamp(2.3rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-modern-subtitle {
    color: #94a3b8;
    font-size: 1.12rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 620px;
}

/* Hero Quick Search */
.hero-quick-search {
    background: #ffffff;
    border-radius: 16px;
    padding: 6px 8px 6px 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.35);
    max-width: 580px;
}

.hero-quick-search input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.98rem;
    color: var(--se-dark, #0f172a);
    font-weight: 500;
    background: transparent;
    padding: 8px 0;
}

.hero-quick-search input::placeholder {
    color: #94a3b8;
}

.hero-quick-search button {
    background: var(--se-primary, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-quick-search button:hover {
    background: var(--se-primary-hover, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Category Filter Tags */
.filter-tags-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.filter-tag-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-tag-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--se-dark, #0f172a);
    transform: translateY(-2px);
}

.filter-tag-btn.active {
    background: var(--se-dark, #0f172a);
    border-color: var(--se-dark, #0f172a);
    color: #ffffff;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.3);
}

/* Nav Item Left Column */

/* Right Detail Modern Showcase Pane */

/* Mobile Responsiveness for Interactive Services */
@media (max-width: 991.98px) {
    .services-hero-modern {
        padding: 110px 0 60px;
    }
    
}

@media (max-width: 767.98px) {
    .services-hero-modern {
        padding: 95px 0 45px;
    }
    .hero-quick-search {
        flex-direction: column;
        padding: 10px;
        gap: 8px;
    }
    .hero-quick-search input {
        width: 100%;
        padding: 8px 10px;
    }
    .hero-quick-search button {
        width: 100%;
    }
    
    
    
}

/* =========================================
   SERVICES GRID + ENGAGEMENT (servicesView)
   ========================================= */
.svc-grid-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px -16px rgba(15, 23, 42, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.svc-grid-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 20px 40px -18px rgba(37, 99, 235, 0.35);
}

.svc-grid-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
}

/* Absolutely positioned so images of any shape fill the same 16:9 box */
.svc-grid-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-grid-icon {
    position: absolute;
    left: 20px;
    bottom: -22px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--se-primary, #2563eb);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.7);
    border: 3px solid #ffffff;
}

.svc-grid-body {
    padding: 34px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.svc-grid-cat {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--se-primary, #2563eb);
}

.svc-grid-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 6px 0 10px;
}

.svc-grid-title a {
    color: var(--se-dark, #0f172a);
    text-decoration: none;
}

.svc-grid-title a:hover {
    color: var(--se-primary, #2563eb);
}

.svc-grid-summary {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.svc-grid-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 6px;
}

.svc-grid-list li {
    font-size: 0.9rem;
    color: #334155;
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.svc-grid-list i {
    color: #10b981;
    font-size: 0.8rem;
}

.svc-grid-link {
    margin-top: auto;
    display: inline-block;
    padding: 8px 0; /* taller tap target */
    font-weight: 700;
    color: var(--se-primary, #2563eb);
    text-decoration: none;
}

.svc-grid-link:hover {
    color: var(--se-primary-hover, #1d4ed8);
}

.svc-engage-card {
    height: 100%;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.svc-engage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.35);
}

.svc-engage-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--se-primary, #2563eb);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.svc-engage-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--se-dark, #0f172a);
    margin-bottom: 8px;
}

.svc-engage-card p {
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* =========================================
   SERVICES PAGE ON PHONES
   A compact list instead of twelve full-height cards
   ========================================= */
@media (max-width: 575.98px) {
    .services-hero-modern {
        padding: 88px 0 32px;
    }

    /* Search: icon, field and button on one line */
    .hero-quick-search {
        flex-direction: row;
        align-items: center;
        padding: 6px 6px 6px 14px;
        gap: 6px;
    }
    .hero-quick-search input {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        padding: 8px 4px;
    }
    .hero-quick-search button {
        width: auto;
        flex: none;
        padding-left: 18px;
        padding-right: 18px;
    }

    #servicesCatalog {
        padding-top: 32px !important;
    }

    /* Category filters: one row you swipe sideways */
    .filter-tags-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -12px;
        margin-right: -12px;
        padding: 4px 12px 10px;
    }
    .filter-tags-bar::-webkit-scrollbar {
        display: none;
    }
    .filter-tag-btn {
        flex: none;
        white-space: nowrap;
    }

    /* Service cards: thumbnail on the left, text on the right */
    #serviceGrid {
        --bs-gutter-y: 12px;
    }
    .svc-grid-card {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        align-items: stretch;
    }
    .svc-grid-media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 132px;
    }
    .svc-grid-icon {
        display: none;
    }
    .svc-grid-body {
        padding: 12px 14px;
    }
    .svc-grid-title {
        font-size: 1.02rem;
        margin-bottom: 4px;
    }
    .svc-grid-summary {
        font-size: 0.88rem;
        line-height: 1.45;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .svc-grid-list {
        display: none;
    }
    .svc-grid-link {
        padding: 6px 0 2px;
        font-size: 0.92rem;
    }
}
