/* ============================================
   WHITE BACKGROUND FORM DESIGN
   Based on Shutterstock-style reference
   ============================================ */

/* Hero Banner - Clean Background */
.hero-banner {
   /* background: #f8f9fa;
    position: relative;
    padding: 60px 0;*/
}

/* Ensure hero banner is visible on all devices */
.hero-banner .container-fluid {
    display: block !important;
    width: 100%;
}

.hero-banner .row {
    display: flex !important;
    flex-wrap: wrap;
}

.hero-banner .row > * {
    display: block !important;
    visibility: visible !important;
}

/* Left Banner Box - White Background */
.banner-tagline .banner-box {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.banner-tagline h3 {
    color: #1e3238;
    font-size: 1.75rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Enhanced Button - Blue Style */
.btn-blue {
    background: linear-gradient(135deg, #144362 0%, #0a4d68 100%);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(20, 67, 98, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.btn-blue:hover {
    background: linear-gradient(135deg, #0a4d68 0%, #144362 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(20, 67, 98, 0.4);
    color: #ffffff;
}

/* Right Form Box - White Background */
.banner-box.white-form {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.banner-box.white-form-force {
    background-color: white;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* Form Title - Dark Text */
.banner-box.white-form h6 , .banner-box.white-form-force h6 {
    color: #1e3238;
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
}

/* Form Group Styling */
.contact-form-style-03 .form-group {
    position: relative;
    margin-bottom: 25px;
}

/* Form Icons - Dark Color */
.contact-form-style-03 .form-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #6c757d;
    z-index: 2;
}

.contact-form-style-03 .form-textarea .form-icon {
    top: 15px;
    transform: none;
}

/* Input Fields - Bottom Border Only */
.contact-form-style-03 .form-control {
    background: transparent;
    border: none;
    border-bottom: 2px solid #aaaaaa;
    border-radius: 0;
    padding: 12px 0 12px 12px;
    color: #7a7a7a;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form-style-03 .form-control:focus {
    background: transparent;
    border-bottom-color: #144362;
    box-shadow: none;
    outline: none;
}

/* Placeholder Text - Gray */
.contact-form-style-03 .form-control::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

/* Textarea Specific */
.contact-form-style-03 textarea.form-control {
    min-height: 80px;
    resize: vertical;
    padding-top: 12px;
}

/* Privacy Text - Dark Gray */
.contact-form-style-03 p {
    color: #000000;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Submit Button - Red/Pink Style (matching reference) */
.contact-form-style-03 .btn-white {
    background: linear-gradient(135deg, #0a4d68 0%, #144362 100%);
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form-style-03 .btn-white:hover {
    background: linear-gradient(135deg, #d62828 0%, #e63946 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.4);
    color: #ffffff;
}

.contact-form-style-03 .btn-white:active {
    transform: translateY(0);
}

/* Form Results Messages */
.form-results {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-results.alert-success {
    background: #d1f2eb;
    color: #0a6e4d;
    border: 1px solid #0a6e4d;
}

.form-results.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #721c24;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Ensure form is visible on mobile */
.col-lg-3.offset-lg-4 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-top-bar {
	display:block;
}

.banner-text-mg{
	margin-top:300px;
}

.cover-background .last-paragraph-no-margin { 
 display:block;
 
}
.cover-background .last-paragraph-no-margin p{ 
 display:none !important;
}

.m-b-text{ 
	  display:block;
	}

/* Mobile-specific layout adjustments */
@media (max-width: 1199px) {
    .banner-box.white-form {
        padding: 30px 25px;
    }

    .banner-box.white-form h6 {
        font-size: 1.2rem;
    }

    .banner-tagline h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 991px) {
    /* Remove offset on tablets and mobile */
    .col-lg-3.offset-lg-4 {
        margin-left: 0 !important;
        max-width: 100%;
    }

    .banner-tagline .banner-box,
    .banner-box.white-form {
        margin-bottom: 30px;
        padding: 30px 25px;
        display: block !important;
    }

    .banner-box.white-form h6 {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }

    /* Ensure both sections stack properly */
    .hero-banner .row {
        display: flex;
        flex-direction: column;
    }

    .hero-banner .col-lg-5,
    .hero-banner .col-lg-3 {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 767px) {
    .banner-box.white-form {
        padding: 25px 20px;
        margin-bottom: 20px;
        display: block !important;
        visibility: visible !important;
    }

    .banner-box.white-form h6 {
        font-size: 1.1rem;
    }

    .contact-form-style-03 .form-control {
        font-size: 0.9rem;
        padding: 10px 0 10px 32px;
    }

    .contact-form-style-03 .form-icon {
        font-size: 1rem;
    }

    .banner-tagline .banner-box {
        padding: 25px 20px;
        margin-bottom: 20px;
        display: block !important;
    }

    .banner-tagline h3 {
        font-size: 1.3rem;
    }

    /* Ensure proper stacking order */
    .hero-banner .col-md-12 {
        display: block !important;
        visibility: visible !important;
        margin-bottom: 20px;
    }

    /* Force visibility */
    .hero-banner .position-relative {
        display: block !important;
        position: relative !important;
		z-index:9;
    }
	
	.header-top-bar {
		display:none;
	}
	
	.page-title {
        margin-top: 90px !important; 
    }
	
	.hero-banner {
		margin-top: 90px;
	}
	
	.cover-background {
		height: 300vh;
	}
	
	.banner-text-mg{
		margin-top:40px;
	}

	.cover-background .last-paragraph-no-margin { 
	 display:none;
	}
	
	.page-title-large h1 {
        font-size: 30px;
    }
	
	.m-b-text{ 
	  display:none !important;
	}
}

@media (max-width: 575px) {
    .contact-form-style-03 .btn-white {
        padding: 12px 30px;
        font-size: 0.85rem;
    }

    .contact-form-style-03 p {
        font-size: 0.8rem;
    }

    .banner-box.white-form,
    .banner-tagline .banner-box {
        padding: 20px 15px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .banner-box.white-form h6 {
        font-size: 1rem;
    }

    .banner-tagline h3 {
        font-size: 1.2rem;
    }

    /* Extra small devices - ensure everything is visible */
    .hero-banner * {
        display: block !important;
    }

    .hero-banner input,
    .hero-banner textarea,
    .hero-banner button {
        display: block !important;
    }
	
	.header-top-bar {
		display:none;
	}
	
	.page-title {
        margin-top: 90px !important; 
    }
	
	.hero-banner {
		margin-top: 90px;
	}
	
	.cover-background {
		height: 300vh;
	}
	.banner-text-mg{
		margin-top:40px;
	}

	.cover-background .last-paragraph-no-margin { 
	 display:none;
	}
	
	.page-title-large h1 {
        font-size: 30px;
    }
	.m-b-text{ 
	  display:none !important;
	}
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.contact-form-style-03 .form-control:focus-visible {
    outline: 2px solid rgba(20, 67, 98, 0.3);
    outline-offset: 2px;
}

.contact-form-style-03 .btn-white:focus-visible {
    outline: 3px solid rgba(230, 57, 70, 0.5);
    outline-offset: 3px;
}

/* Loading State */
.contact-form-style-03 .btn-white.loading {
    pointer-events: none;
    opacity: 0.8;
}

.contact-form-style-03 .btn-white.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   INDEX.PHP SPECIFIC RESPONSIVE FIXES
   ============================================ */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Hero Banner Section - Responsive Heights */
.hero-banner {
    min-height: auto !important;
    height: auto !important;
    padding: 80px 0 !important;
    overflow: visible !important;
}

.hero-banner .container-fluid {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.hero-banner .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Banner Title Responsiveness */
.txt-45 {
    font-size: 45px !important;
    line-height: 1.2 !important;
}

.banner-box h4.txt-45 {
    font-size: 40px !important;
    line-height: 1.3 !important;
}

/* Prevent scrolling in banner sections */
.banner-tagline,
.banner-box {
    overflow: visible !important;
    height: auto !important;
}

/* Logo Responsive Sizing */
.navbar-brand img {
    max-width: 180px !important;
    height: auto !important;
}

@media (max-width: 1199px) {
    .hero-banner {
        padding: 60px 0 !important;
    }

    .txt-45 {
        font-size: 38px !important;
    }

    .banner-box h4.txt-45 {
        font-size: 35px !important;
    }

    .navbar-brand img {
        max-width: 160px !important;
    }
}

@media (max-width: 991px) {
    .hero-banner {
        padding: 50px 0 !important;
        height: auto !important;
    }

    .txt-45 {
        font-size: 32px !important;
    }

    .banner-box h4.txt-45 {
        font-size: 28px !important;
        line-height: 1.4 !important;
    }

    .navbar-brand img {
        max-width: 150px !important;
    }

    /* Stack banner sections vertically */
    .hero-banner .col-lg-5,
    .hero-banner .col-lg-3 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 30px;
    }

    .hero-banner .offset-lg-4 {
        margin-left: 0 !important;
    }

    /* Remove any fixed heights */
    .hero-banner,
    .hero-banner .row,
    .hero-banner [class*="col-"] {
        height: auto !important;
        min-height: auto !important;
    }
}

@media (max-width: 767px) {
    .hero-banner {
        padding: 40px 0 !important;
    }

    .txt-45 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    .banner-box h4.txt-45 {
        font-size: 24px !important;
        line-height: 1.4 !important;
    }

    .navbar-brand img {
        max-width: 140px !important;
    }

    /* Banner boxes full width on mobile */
    .banner-box.white-form,
    .banner-box.white-form-force,
    .banner-tagline .banner-box {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Ensure no scrolling */
    .hero-banner {
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }

    .hero-banner .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Form elements mobile friendly */
    .contact-form-style-03 .form-group {
        margin-bottom: 18px;
    }

     
	.contact-form-style-03 .form-control {
        padding: 1px 0 5px 5px !important;
		font-size: 14px !important;
		border-bottom: 1px solid #aaaaaa;
    }
	.contact-form-style-03 textarea.form-control {
		height: 52px;
	}
	
	.btn-next, .btn-complete, .btn-back, .btn-skip { 
		padding: 8px 8px; 
	}
		
	.btn.btn-rounded.btn-medium {
        padding: 10px 20px !important; 
    }
	.footer-top .col-md-4 { 
        margin-top: 2px  !important;
		margin-bottom: 2px;
    }
	
	.footer-dark ul li, .footer-dark span.fs-18 {		
		text-align:left !important;
	}
	
	.footer-dark .mt-15px {
        margin-top: 5px !important;
    }
	
	.sm-mb-20px {
        margin-bottom: 5px !important;
    }
	
	footer {
         padding-bottom: 0px;
    }
	
	.footer-navbar {
		flex-wrap: nowrap !important;
	}
	
	.footer-adjust {
		padding: 0px 12px;
	}
	
	header .navbar [class*=col-] {
		padding: 0 2px !important; 
	}
	
	.footer-dark .col-6.col-md-4 a, .footer-dark .col-6.col-md-4 span {
         margin-bottom: 7px !important;
    }
	
	.hero-banner select {
		padding: 8px 2px !important;
		font-size: 14px !important;
 	}
	
}

@media (max-width: 575px) {
    .hero-banner {
        padding: 30px 0 !important;
    }

    .txt-45 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .banner-box h4.txt-45 {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    .navbar-brand img {
        max-width: 120px !important;
    }

    .hero-banner .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .banner-box.white-form,
    .banner-box.white-form-force {
        padding: 18px 15px !important;
    }

    .banner-box.white-form h6 {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
	
	.contact-form-style-03 .form-control {
        padding: 1px 0 5px 5px !important;
		font-size: 14px !important;
		border-bottom: 1px solid #aaaaaa;
    }
	
	.contact-form-style-03 textarea.form-control {
		height: 52px;
	}
	
	.btn-next, .btn-complete, .btn-back, .btn-skip { 
		padding: 8px 8px; 
	}
	
	.btn.btn-rounded.btn-medium {
        padding: 10px 20px !important;
    }
	
	.footer-top .col-md-4 { 
        margin-top: 2px !important;
		margin-bottom: 2px;
    }
	
	.footer-dark ul li, .footer-dark span.fs-18 {		
		text-align:left !important;
	}
	
	.footer-dark .mt-15px {
        margin-top: 5px !important;
    }
	.sm-mb-20px {
        margin-bottom: 5px !important;
    }
	
	footer {
         padding-bottom: 0px;
    }
	
	.footer-navbar {
		flex-wrap: nowrap !important;
	} 
	
	.footer-adjust {
		padding: 0px 12px;
	}
	
	header .navbar [class*=col-] {
		padding: 0 2px !important; 
	}
	
	.footer-dark .col-6.col-md-4 a, .footer-dark .col-6.col-md-4 span {
         margin-bottom: 7px !important;
    }
	
	.hero-banner select {
		padding: 8px 2px !important;
		font-size: 14px !important;
 	}
}

/* Prevent any element from causing horizontal scroll */
* {
    max-width: 100%;
}

/* Container adjustments */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 767px) {
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Ensure rows don't overflow */
    .row {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .row > * {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Mobile Menu Fixes */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        border-radius: 8px;
        padding: 20px;
        margin-top: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Header Top Bar Mobile */
@media (max-width: 767px) {
    .header-top-bar {
        padding: 8px 0;
    }

    .header-top-bar .widget {
        font-size: 13px;
        margin-bottom: 0;
    }
}

/* Ensure banner background doesn't cause scroll */
.hero-banner {
    position: relative;
    overflow-x: hidden !important;
}

/* Fix any potential overflow from animations */
[data-anime],
.position-relative {
   /* overflow-x: hidden !important;*/
}


/* ============================================
   MOBILE VIEW: MOVE FORM ABOVE "CUSTOMER FRIENDLY" SECTION
   ============================================ */

/* On desktop, keep the form in the banner */
@media (min-width: 992px) {
    .hero-banner .row {
        display: flex;
        flex-direction: row;
    }
}

/* On mobile and tablet, reorder to show form after banner title */
@media (max-width: 991px) {
    /* Make banner row use flexbox column */
    .hero-banner .row {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Banner title comes first (order 1) */
    .hero-banner .col-lg-5 {
        order: 1 !important;
        margin-bottom: 0 !important;
    }
    
    /* Form comes second (order 2) - after banner, before Customer Friendly */
    .hero-banner .col-lg-3 {
        order: 2 !important;
        margin-top: 30px !important;
        margin-bottom: 0 !important;
    }
    
    /* Remove absolute positioning on mobile */
    .hero-banner .position-relative {
        position: relative !important;
    }
    
    /* Ensure banner section has proper spacing */
    .hero-banner {
        padding-bottom: 40px !important;
    }
    
    /* Form styling on mobile - not over banner */
    .banner-box.white-form-force {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        background: #ffffff !important;
    }
}

@media (max-width: 767px) {
    .hero-banner .col-lg-3 {
        margin-top: 380px !important;
    }
    
    .hero-banner {
        padding-bottom: 30px !important;
    }
}

@media (max-width: 575px) {
    .hero-banner .col-lg-3 {
        margin-top: 380px !important;
    }
    
    .hero-banner {
        padding-bottom: 25px !important;
    }
}

/* Ensure "Customer Friendly" section appears after the form */
.bg-gradient-very-light-gray {
    position: relative;
    z-index: 1;
}

/* Make sure banner image is fully visible on mobile without form obstruction */
@media (max-width: 991px) {
    .hero-banner {
        background-size: cover;
        background-position: center;
    }
    
    /* Banner title box - ensure it's visible but doesn't obstruct */
    .banner-tagline .banner-box,
    .banner-box.white-form {
        position: relative; 
        z-index: 10;
    }
    
    /* Form appears below, not overlaying */
    .hero-banner .col-lg-3.offset-lg-4 {
        position: relative;
        z-index: 10;
    }
}



/* ============================================
   INNER PAGES BANNER TEXT POSITIONING
   Move banner text to bottom-right on mobile
   ============================================ */

/* Desktop: Keep original layout */
@media (min-width: 992px) {
    .page-title .row.banner-text-mg {
        justify-content: flex-end;
        align-items: flex-end;
    }
}

/* Mobile: Position text to bottom-right corner */
@media (max-width: 991px) {
    /* Banner section adjustments */
    .page-title.page-title-separate-breadcrumbs {
        min-height: 400px;
        display: flex;
        align-items: flex-end;
        padding-bottom: 30px;
    }
    
    .page-title .container {
        width: 100%;
    }
    
    /* Position row to bottom-right */
    .page-title .row.banner-text-mg {
        justify-content: flex-end !important;
        align-items: flex-end !important;
        text-align: right !important;
        margin: 0 !important;
    }
    
    /* Columns positioning */
    .page-title .row.banner-text-mg .col-lg-6,
    .page-title .row.banner-text-mg .col-md-10,
    .page-title .row.banner-text-mg .col-md-6 {
        text-align: right !important;
        padding-right: 20px !important;
        /*padding-left: 0 !important;*/
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Title styling */
    .page-title .page-title-large h1 {
        text-align: left !important;
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    
    /* Description text */
    .page-title .last-paragraph-no-margin p {
        text-align: right !important;
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 0 !important;
    }
}
 
@media (max-width: 767px) {
    .page-title.page-title-separate-breadcrumbs {
        min-height: 350px;
        padding-bottom: 25px;
    }
    
    /* Smaller text on mobile */
    .page-title .page-title-large h1 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }
    
    .page-title .last-paragraph-no-margin p {
        font-size: 14px !important;
    }
    
    /* Adjust padding for smaller screens */
    .page-title .row.banner-text-mg .col-lg-6,
    .page-title .row.banner-text-mg .col-md-10,
    .page-title .row.banner-text-mg .col-md-6 {
        padding-right: 15px !important;
    }
}

@media (max-width: 575px) {
    .page-title.page-title-separate-breadcrumbs {
        min-height: 300px;
        padding-bottom: 20px;
    }
    
    /* Even smaller text on small mobile */
    .page-title .page-title-large h1 {
        font-size: 20px !important;
        margin-bottom: 6px !important;
    }
    
    .page-title .last-paragraph-no-margin p {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
    
    /* Adjust padding for very small screens */
    .page-title .row.banner-text-mg .col-lg-6,
    .page-title .row.banner-text-mg .col-md-10,
    .page-title .row.banner-text-mg .col-md-6 {
        padding-right: 14px !important;
    }
}

/* Ensure text doesn't overflow */
.page-title .row.banner-text-mg {
    overflow: hidden;
}

.page-title .row.banner-text-mg h1,
.page-title .row.banner-text-mg p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure proper contrast and readability */
@media (max-width: 991px) {
    .page-title .opacity-full-dark {
        opacity: 0.6;
    }

    .page-title .text-white {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
}

/* ============================================
   FOOTER RESPONSIVE DESIGN
   Optimize footer for mobile devices
   ============================================ */

/* Mobile and Tablet - Reduce padding and spacing */
@media (max-width: 991px) {
    /* Footer top section - CTA */
    .footer-top {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .footer-top .cta-head {
        font-size: 20px !important;
        margin-bottom: 5px !important;
    }

    .footer-top .widget-text {
        font-size: 16px !important;
    }

    /* Center align CTA button on mobile */
    .footer-top .col-md-4 {
        text-align: center !important;
        margin-top: 15px;
    }

    /* Footer main section */
    .footer-dark .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

     

    /* Footer columns - 2 column layout */
    .footer-dark .col-6 {
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-bottom: 0px !important;
    }

    /* Footer headings */
    .footer-dark .fs-18 {
        font-size: 16px !important;
        margin-bottom: 0px !important;
    }

    /* Footer lists - Display 2 items per row */
    .footer-dark ul {
        display: flex !important;
        flex-wrap: wrap;
        padding-left: 0 !important;
        margin: 0 !important;
    }

    .footer-dark ul li {
        width: 100% !important;
        margin-bottom: 8px !important;
        padding-right: 5px !important;
    }

    .footer-dark ul li a {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* Contact section adjustments */
    .footer-dark .col-6.col-md-4 a,
    .footer-dark .col-6.col-md-4 span {
        font-size: 14px !important;
     }

    .footer-dark .col-6.col-md-4 .fs-14 {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* Logo section */
    .footer-dark .col-6.col-md-3.last-paragraph-no-margin {
        /*text-align: center !important;*/
    }

    .footer-dark .col-6.col-md-3.last-paragraph-no-margin img {
        max-width: 120px !important;
    }

    .footer-dark .col-6.col-md-3.last-paragraph-no-margin p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* Social icons */
    .elements-social {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }

    /* Footer bottom section */
    .footer-dark .fs-12 {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .footer-dark .fs-12 p {
        font-size: 14px !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }

    .footer-navbar {
        display: flex !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-navbar li {
        margin: 0 8px !important;
    }

    .footer-navbar li a {
        font-size: 14px !important;
    }
}

/* Smaller mobile devices - Further optimizations */
@media (max-width: 767px) {
    /* CTA section */
    .footer-top .cta-head {
        font-size: 18px !important;
    }

    .footer-top .widget-text {
        font-size: 14px !important;
    }

    /* Reduce column padding */
    .footer-dark .col-6 {
        padding-left: 8px !important;
        padding-right: 8px !important;
        margin-bottom: 0px !important;
    }

    /* Footer headings */
    .footer-dark .fs-18 {
        font-size: 15px !important;
        margin-bottom: 0px !important;
    }

    /* List items spacing */
    .footer-dark ul li {
        margin-bottom: 0px !important;
    }

    .footer-dark ul li a {
        font-size: 14px !important;
    }

    /* Logo */
    .footer-dark .col-6.col-md-3.last-paragraph-no-margin img {
        max-width: 100px !important;
    }
	 
	.footer-navbar {
		flex-wrap: nowrap !important;
	} 
	
	section {
        padding: 15px 0;
    }
}

/* Very small mobile devices */
@media (max-width: 575px) {
    /* CTA section */
    .footer-top {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .footer-top .cta-head {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .footer-top .widget-text {
        font-size: 14px !important;
    }

    .footer-top .btn {
        font-size: 14px !important;
        padding: 10px 20px !important;
    }

    /* Footer columns */
    .footer-dark .col-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-bottom: 0px !important;
    }

    /* Footer headings */
    .footer-dark .fs-18 {
        font-size: 14px !important;
        margin-bottom: 0px !important;
    }

    /* List items */
    .footer-dark ul li {
        margin-bottom: 0px !important;
    }

    .footer-dark ul li a {
        font-size: 14px !important;
    }

    /* Contact info */
    .footer-dark .col-6.col-md-4 a,
    .footer-dark .col-6.col-md-4 span,
    .footer-dark .col-6.col-md-4 .fs-14 {
        font-size: 14px !important;
    }

    /* Logo and description */
    .footer-dark .col-6.col-md-3.last-paragraph-no-margin img {
        max-width: 90px !important;
    }

    .footer-dark .col-6.col-md-3.last-paragraph-no-margin p {
        font-size: 14px !important;
    }

    /* Social icons smaller */
    .elements-social ul.small-icon li {
        margin: 0 5px !important;
    }

    .elements-social ul.small-icon li a {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    /* Footer bottom */
    .footer-dark .fs-12 p,
    .footer-navbar li a {
        font-size: 10px !important;
    }

    .footer-navbar li {
        margin: 0 5px !important;
    }

	.footer-navbar {
		flex-wrap: nowrap !important;
	}

	section {
        padding: 15px 0;
    }
	
	.facebook{
	  background: #005eff; 
	  border-radius: 50%;
	}
}

/* ============================================
   HOME PAGE BANNER IMAGE ALIGNMENT FOR MOBILE
   Ensure faces are visible and centered
   ============================================ */

/* Mobile and Tablet - Center the banner image to show faces clearly */
@media (max-width: 991px) {
    .hero-banner {
        background-position: center center !important;
        background-size: cover !important;
        min-height: 500px !important;
    }
}

/* Smaller mobile - Adjust position to show faces better */
@media (max-width: 767px) {
    .hero-banner {
        /*background-position: 50% 40% !important;
        background-size: cover !important;
        min-height: 450px !important;*/
		
		background-position: 62% 40% !important;
        background-size: cover !important;
        height: 700px !important;
    }
	.grid.gutter-extra-large {
		margin: 0px 0px;
	}
	.facebook{
	  background: #005eff; 
	  border-radius: 50%;
	}
}

/* Very small mobile - Optimize for small screens */
@media (max-width: 575px) {
    .hero-banner {
       /* background-position: 50% 35% !important;
        background-size: cover !important;
        min-height: 400px !important;*/
		
		background-position: 62% 40% !important;
        background-size: cover !important;
        height: 700px !important;
    }
	
	.grid.gutter-extra-large {
		margin: 0px 0px;
	}
}

.fa-check-circle, .fa-circle-check {
     color: green !important; 
}

.benefits-heading { 
	font-size: 1.813rem;
    color: black;
}

#formContainer {
	border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
	background:#eeeeee;
}

.calculatorSection {
	border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
}



#dynamicSteps input[type="button"],
#formContainer input[type="button"], .btn-next {
    width: auto !important;
    max-width: fit-content !important;
    display: inline-block !important; 
}

.button-group button { 
	margin-right:5px;
}

