/* =========================================
           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: #0f172a;
}
.bg-primary-soft {
	background-color: #f1f5f9;
}

/* --- Section Titles --- */
.section-title {
	font-weight: 800;
	color: #0f172a;
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 0;
	font-size: clamp(2rem, 5vw, 2.5rem);
	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: #2563eb;
	border-radius: 2px;
}

/* --- Buttons --- */
.btn-premium {
	background: #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: #1d4ed8 !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
	color: white !important;
}

.btn-premium-outline {
	color: #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: #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: #0f172a !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: 100vw !important;
	max-width: 100vw !important;
	margin: 0 !important;
	margin-left: calc(
		-50vw + 50%
	) !important; /* Forces edge-to-edge background */
	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-image-wrapper {
	position: relative;
	z-index: 2;
}

.hero-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	height: 400px;
	background: #2563eb;
	filter: blur(100px);
	opacity: 0.4;
	z-index: -1;
}

/* =========================================
           WHAT WE DO (FLOATING QUOTE)
           ========================================= */
.mt-n5 {
	margin-top: -60px !important;
}

.premium-quote-card {
	background: #ffffff;
	border-radius: 24px;
	border: 1px solid #e2e8f0;
	max-width: 900px;
}

/* =========================================
           3D FLIP CARDS
           ========================================= */
.services-section {
	flex-grow: 1; /* Pushes footer down */
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.premium-flip-card {
	background-color: transparent;
	height: 420px;
	perspective: 1000px;
}

.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	transform-style: preserve-3d;
}

.premium-flip-card:hover .flip-card-inner {
	transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	border-radius: 24px;
	padding: 30px;
}

.flip-card-front {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-top: 5px solid #2563eb;
	box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.flip-card-back {
	background: linear-gradient(135deg, #1e3a8a, #2563eb);
	color: white;
	transform: rotateY(180deg);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.service-icon-wrapper {
	width: 90px;
	height: 90px;
	background: #f1f5f9;
	border-radius: 20px;
	padding: 15px;
	margin-bottom: 20px;
}

.service-icon-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.service-title {
	color: #0f172a;
	font-weight: 800;
	font-size: 1.4rem;
	margin-bottom: 5px;
}

.service-badge {
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 50px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 15px;
}

.service-desc {
	color: #64748b;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 0;
}

.flip-hint {
	margin-top: auto;
	font-size: 0.85rem;
	color: #94a3b8;
	font-weight: 600;
}

.service-features {
	list-style: none;
	padding: 0;
	margin: 0;
}

.service-features li {
	font-size: 0.95rem;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.9);
}
.service-features li:last-child {
	border-bottom: none;
}

/* =========================================
           HOW IT WORKS
           ========================================= */
.process-step-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	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: #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: #0f172a;
	font-size: 1.15rem;
	margin-bottom: 5px;
}

.step-info p {
	color: #64748b;
	margin: 0;
	font-size: 0.95rem;
}

/* =========================================
           GALLERY
           ========================================= */
.gallery-img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
	border: 1px solid #e2e8f0;
	transition: transform 0.4s ease;
}

.gallery-img:hover {
	transform: scale(1.03);
}

/* =========================================
           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: 20px;
	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: #0f172a;
	font-weight: 800;
	margin-bottom: 10px;
}

.core-value-card p {
	color: #64748b;
	font-size: 0.85rem;
	margin: 0;
}

 
           /* MOBILE RESPONSIVENESS */
 
@media (max-width: 991px) {
    .premium-hero {
        padding: 120px 0 60px !important; /* Slightly reduced bottom padding */
        text-align: center;
    }
    .hero-content {
        margin-bottom: 10px !important; /* Reduced from 40px to 10px */
    }
}

@media (max-width: 768px) {
	.premium-flip-card {
		height: 450px;
	}

	.process-step-card {
		flex-direction: column;
		text-align: center;
		padding: 30px 20px;
	}

	.process-step-card:hover {
		transform: translateY(-5px);
	}

	.mt-n5 {
		margin-top: -30px !important;
	}

	.premium-mission-card {
		border-radius: 16px;
	}
}
