/* ================================
   Hero Block
================================ */
.hero-block {
        padding-bottom: 3rem;
    position: relative;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* ================================
   Hero Secondary Block
================================ */
.hero-secondary-block {
    position: relative;
    overflow: hidden;
    background-color: #0a1a2f;
    color: #fff;
}

.hero-secondary-block .hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-secondary-block .hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-secondary-block .hero-image-wrapper img:hover {
    transform: scale(1.05);
}

.hero-secondary-block .hero-overlay {
    background: rgba(10, 26, 47, 0.6);
    z-index: 2;
}

.hero-secondary-block .container {
    position: relative;
    z-index: 3;
}

.hero-secondary-block h1.display-4 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease, opacity 0.5s ease;
}


.hero-secondary-block .btn-primary {
    background: #0070f3;
    border: none;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 112, 243, 0.3);
    transition: all 0.3s ease;
}

.hero-secondary-block .btn-primary:hover {
    background: #0056c1;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 112, 243, 0.5);
}


.hero-secondary-block .breadcrumb {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.hero-secondary-block .breadcrumb-item {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-secondary-block .breadcrumb-item:hover {
    opacity: 1;
    text-decoration: underline;
}

.hero-secondary-block .breadcrumb-item.active {
    font-weight: 600;
    opacity: 1;
}

/* ================================
   Services Card Section
================================ */
.services-card-section {
    position: relative;
    top: -3rem;
}

/* ================================
   Service Card
================================ */
.service-card {
    background-color: #efefef99;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(1rem);
}

/* Hover interaction */
.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

/* Soft gradient accent on hover */
.service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(37, 99, 235, 0.06),
		rgba(14, 165, 233, 0.06)
	);
	opacity: 0;
	transition: opacity 0.35s ease;
	z-index: 0;
}

.service-card:hover::before {
	opacity: 1;
}

/* ================================
   Icon Styling
================================ */
.service-icon {
    width: 10rem;
    height: 10rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5rem;
    background: #eef2ff;
    transition: all 0.35s ease;
    position: relative;
    z-index: 1;
}

.service-icon img {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

/* Icon hover animation */
.service-card:hover .service-icon {
	background: #2563eb;
}

.service-card:hover .service-icon img {
    transform: scale(1.15);
}

/* ================================
   Title Styling
================================ */
.service-card h5 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 0.75rem;
	position: relative;
	z-index: 1;
}

/* ================================
   Text Styling
================================ */
.service-card p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #475569;
	margin: 0;
	position: relative;
	z-index: 1;
}

.service-card a {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #475569;
	margin: 0;
	position: relative;
	z-index: 1;
}

/* ================================
   Responsive Tweaks
================================ */
@media (max-width: 991px) {
	.service-card {
		padding: 2.25rem 1.75rem;
	}

	.service-card h5 {
		font-size: 1.15rem;
	}
}

@media (max-width: 575px) {
	.services-card-section {
		padding: 3rem 0.75rem;
	}

	.service-icon {
		width: 64px;
		height: 64px;
	}

	.service-icon img {
		max-width: 32px;
	}
}



/* ============================
   Header Base
============================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: #ffffff;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

/* ============================
   Navbar Layout
============================ */
.site-header .navbar {
	padding: 0.85rem 0;
}

.site-header .navbar > .container {
	display: flex;
	align-items: center;
}

/* ============================
   Logo
============================ */
.site-logo,
.custom-logo-link {
	display: flex;
	align-items: center;
}

.custom-logo {
	max-height: 52px;
	width: auto;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.custom-logo-link:hover .custom-logo {
	transform: scale(1.03);
}

/* ============================
   Navigation Menu
============================ */
.navbar-nav {
	gap: 1.75rem;
	align-items: center;
}

.navbar-nav .menu-item a {
	position: relative;
	font-weight: 500;
	font-size: 15px;
	color: #1f2937;
	padding: 0.5rem 0;
	text-decoration: none;
	transition: color 0.3s ease;
}

/* Hover underline animation */
.navbar-nav .menu-item a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background-color: #2563eb;
	transition: width 0.3s ease;
}

.navbar-nav .menu-item a:hover {
	color: #2563eb;
}

.navbar-nav .menu-item a:hover::after {
	width: 100%;
}

/* ============================
   CTA Button
============================ */
.site-header .btn-primary {
	background: linear-gradient(135deg, #2563eb, #1e40af);
	border: none;
	padding: 0.65rem 1.4rem;
	font-size: 14px;
	font-weight: 600;
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
	transition: all 0.3s ease;
	white-space: nowrap;
}

.site-header .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(37, 99, 235, 0.35);
}

/* ============================
   Mobile Toggle
============================ */
.navbar-toggler {
	border: none;
	padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
	box-shadow: none;
}

.navbar-toggler-icon {
	filter: contrast(0.9);
}

/* ============================
   Mobile Menu Styling
============================ */
@media (max-width: 991px) {
	.site-header .navbar {
		padding: 0.75rem 0;
	}

	.navbar-collapse {
		background-color: #ffffff;
		margin-top: 1rem;
		padding: 1.25rem;
		border-radius: 16px;
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
	}

	.navbar-nav {
		gap: 1rem;
		align-items: flex-start;
	}

	.navbar-nav .menu-item a {
		font-size: 16px;
		padding: 0.4rem 0;
	}

	.site-header .btn-primary {
		width: 100%;
		margin-top: 1rem;
		text-align: center;
	}
}

/* ============================
   Large Screens Refinement
============================ */
@media (min-width: 1200px) {
	.site-header .navbar {
		padding: 1rem 0;
	}

	.navbar-nav .menu-item a {
		font-size: 15.5px;
	}
}


/* =====================================
   ACP Loan Form Styling
   ===================================== */

.acp-loan-form {
	max-width: 100%;
	font-family: inherit;
}

/* Inputs & Selects */
.acp-loan-form .form-control,
.acp-loan-form .form-select {
	height: 52px;
	padding: 12px 16px;
	font-size: 15px;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	background-color: #fff;
	transition: all 0.25s ease;
}

/* Textarea */
.acp-loan-form textarea.form-control {
	height: auto;
	min-height: 120px;
	resize: vertical;
}

/* Focus state */
.acp-loan-form .form-control:focus,
.acp-loan-form .form-select:focus {
	border-color: #0d6efd; /* Bootstrap primary */
	box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
	outline: none;
}

/* Placeholder */
.acp-loan-form ::placeholder {
	color: #9ca3af;
	font-weight: 400;
}

/* Labels */
.acp-loan-form label {
	font-size: 14px;
	color: #374151;
}

/* Radio Buttons (SMS Consent) */
.acp-loan-form .form-check {
	    padding: 0;
    margin: 0;
}

.acp-loan-form .form-check-input {
    width: auto;
    height: auto;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

.acp-loan-form .form-check-label {
	font-size: 15px;
	cursor: pointer;
}

/* Submit Button */
.acp-loan-form .btn-primary {
	font-size: 16px;
	font-weight: 600;
	border-radius: 10px;
	padding: 14px 24px;
	letter-spacing: 0.3px;
	transition: all 0.3s ease;
}

/* Button Hover */
.acp-loan-form .btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
}

/* Validation Errors (CF7) */
.acp-loan-form .wpcf7-not-valid {
	border-color: #dc3545;
}

.acp-loan-form .wpcf7-not-valid-tip {
	font-size: 13px;
	color: #dc3545;
	margin-top: 4px;
}

/* Response Message */
.acp-loan-form .wpcf7-response-output {
	margin-top: 20px;
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 14px;
}

/* Success Message */
.acp-loan-form .wpcf7-mail-sent-ok {
	background: #ecfdf5;
	border: 1px solid #10b981;
	color: #065f46;
}

/* Error Message */
.acp-loan-form .wpcf7-validation-errors,
.acp-loan-form .wpcf7-mail-sent-ng {
	background: #fef2f2;
	border: 1px solid #ef4444;
	color: #7f1d1d;
}

/* Mobile Optimization */
@media (max-width: 767px) {
	.acp-loan-form .form-control,
	.acp-loan-form .form-select {
		height: 50px;
		font-size: 14px;
	}

	.acp-loan-form .btn-primary {
		font-size: 15px;
	}
}



/* ================================
   Footer Styles
================================ */
.site-footer {
    background: linear-gradient(180deg, #0b0f14 0%, #05070a 100%);
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.7;
    position: relative;
}

.site-footer .custom-logo {
    max-width: 220px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-footer .custom-logo:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.site-footer h6 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
}

.site-footer h6::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: #2563eb;
    margin-top: 6px;
    border-radius: 2px;
}

.site-footer .footer-nav ul {
    padding-left: 0;
    margin-bottom: 0;
}

.site-footer .footer-nav li {
    list-style: none;
}

.site-footer .footer-nav a {
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-footer .footer-nav a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.site-footer .footer-nav a:focus-visible {
    outline: 2px dashed #2563eb;
    outline-offset: 3px;
}

.footer-news li {
    margin-bottom: 0.75rem;
}

.footer-news a {
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.footer-news a:hover {
    color: #60a5fa;
}

.site-footer .row.mt-5 {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
    color: #9ca3af;
    font-size: 13px;
}

@media (max-width: 991px) {
    .site-footer {
        text-align: center;
    }

    .site-footer h6::after {
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer .footer-nav a {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .site-footer {
        font-size: 14px;
    }

    .site-footer .custom-logo {
        max-width: 180px;
        margin-bottom: 1rem;
    }
}


