@charset "utf-8";
body.inside_pages {
    /*background: linear-gradient( to right, rgb(50, 66, 73) 5%, rgb(50, 66, 73) 23%, rgb(53, 70, 77) 29%, rgb(68, 88, 98) 70%, rgb(69, 89, 99) 100% );*/
    background: transparent;
}
body {
    /*background: linear-gradient( to right, rgb(68, 88, 98), rgb(69, 89, 99) 29%, rgb(68, 88, 98) 70%, rgb(69, 89, 99) 100% );
	
	background: linear-gradient(to right, #05163b, #445862);*/
    position: relative;
    overflow-x: hidden;
    display: block;
    background: #05163b;
}
html,
body {
    margin: 0;
    padding: 0;
}

/* Prevent white space at bottom during scroll */
body,
html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
}

.xyz-homepage {
    position: relative;
    min-height: 100vh;
    overflow: visible; /* Allow content to flow naturally */
    /* Remove any extra height that creates gaps */
    height: auto; /* Allow natural height expansion */
    /* Add this to prevent extending beyond content */

    /* Add this to prevent extending beyond footer */
    display: block;
}

/* Ensure sections maintain proper stacking */
.hero-section,
.esvghomepage-section1,
.footer-section {
    position: relative;
    will-change: transform;
}

/* Prevent excessive transform values */
/* Replace with this instead: */
.bottom-curve,
.esvghomepage-section,
.xyx-bg-home {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* First Section - Hero with Background Image */
.hero-section {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 999;

    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Image behaves like background */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* 👈 important */
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: 0% 25%;
    display: block;
    animation: bgZoomIn 1.5s ease-in-out forwards;
}

@keyframes bgZoomIn {
    0% {
        transform: scale(1.4); /* start zoomed in */
    }
    70% {
        transform: scale(1); /* go slightly inside */
    }
    100% {
        transform: scale(1.05); /* settle to natural */
    }
}
.hero-section.scroll-up {
    transform: translateY(-50px);
}
.hero-content {
    color: #333;
    z-index: 20; /* Much higher than canvas and svg-container */
    position: absolute; /* Ensure proper positioning */

    padding: 0;
    border-radius: 0;
    /*  box-shadow: 4px 4px 12px rgba(44, 44, 45, 0.25);*/

    /*height: 800px;*/
    display: flex;
    flex-direction: column;
    /* animation: slideDownContent 1.5s ease-out 0.1s forwards;  Slower animation - start after canvas completes */
    /* opacity: 0;  Start invisible */
    /* transform: translateY(-100px);  Start higher up for more dramatic effect */
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    top: 0px;
    left: 0;
    right: 0;
    width: 100%;

    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Header with Logo and Navigation */
.header {
    width: 100%;
    padding: 20px 40px 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}
.header .row {
    width: 100%;
}
.logo img {
    height: 175px;
    width: auto;
    margin-bottom: 20px;
}

.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav li {
    margin: 0;
}

.nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #667eea;
}
.first_secs .navbar-nav {
    margin-top: -20px;
    margin-right: 0px;
    justify-content: space-between;
    width: 100%;
}
.homepage-content-sec .navbar-nav {
    justify-content: space-between;
    width: 100%;
}
.navbar-expand-lg {
    width: 100%;
    padding-right: 0px;
}
.navbar-light .navbar-nav .nav-link {
    color: #2c2c2d;
    padding-top: 0;
    /* Body */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 133.333% */
    transition: all 0.2s;
    text-decoration-color: transparent;
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 0px;
    padding-right: 0px;
}
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #2c2c2d;
    text-decoration: underline;
    text-decoration-color: #a97d3d;
    text-decoration-thickness: 2px;
    text-underline-position: under;
}
/* Main Content Area */
.TitleStyle1 {
    color: #2c2d2d;
    font-family: Inter;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: clamp(30px, 1.5vw, 36px);
    line-height: clamp(32px, 1.7vw, 44px);
}
.TitleStyle2 {
    color: #2c2d2d;
    font-family: Inter;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 30px;
    font-size: clamp(20px, 1.5vw, 28px);
    line-height: clamp(28px, 1.7vw, 36px);
}
.TitleStyle3 {
    color: #2c2d2d;

    /* H2 */
    font-family: Inter;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: clamp(24px, 1.7vw, 30px);
}
.main-content .TitleStyle2 {
    font-family: Inter;
    font-size: clamp(18px, 3vw, 24px);
    line-height: clamp(20px, 1vw, 30px);
    font-style: italic;
    font-weight: 800;
    color: #2c2d2d;
    margin: 70px 0 10px 0;
}
p,
ul li {
    color: #434345;

    /* Body */
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 133.333% */
}

.privacy-terms-content ul li {
    margin-bottom: 5px;
}

.main-content {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    padding: 10px 40px 10px 25px;
    text-align: left;
    width: 100%;
    margin-left: 0;
    height: calc(100vh - 550px);
    min-height: 240px;
    max-height: 460px;
    justify-content: center;
    max-width: 45vw;
}

.main-content .lead {
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: clamp(20px, 1.7vw, 20px);
}
.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-shadow: none;
}

.hero-section p {
    font-family: Inter;
    font-size: 22px;
    font-style: italic;
    font-weight: 600;
    line-height: 36px;
    color: #2c2c2d;
}

.btn-custom {
    background: #071f54;
    border: none;
    width: 100%;
    max-width: 200px;
    height: 40px;

    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25);
    font-family: Urbanist;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin-top: 10px;
}

.btn-custom:hover, .btn-custom:focus {
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25);

    color: #fff;
    text-decoration: none;
    background: #05163b;
}
.first-slide-top-curve {
    --canvas-shadow-color: rgba(44, 44, 45, 0.65);
    --canvas-gradient-start: white;
    --canvas-gradient-mid: #fbfaf9;
    --canvas-gradient-end: #ebe8e3;
}
/* Quote Form Styles */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: 280px;
}
.quote-form.inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 300px;
}
.form-group {
    width: 100%;
	margin-bottom: 10px;
}

.form-control {
    width: 100%;

    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 16px;
    background: #fff;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Bottom Curve Styling */

/* Fix the bottom-curve animation conflict */
.bottom-curve {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 288px;
    z-index: 3;
    overflow: hidden;
    will-change: transform;
    /* Remove the initial transform that conflicts with scroll */
    /* transform: translateY(100%); */
    animation: slideUpCurve 1.5s ease-out forwards;
}

/* Remove animation completely after it finishes */
.bottom-curve.animation-done {
    animation: none !important;
}

/* Update the keyframes to work with scroll transforms */
@keyframes slideUpCurve {
    0% {
        transform: translateY(100%);
        opacity: 1;
    }
    60% {
        transform: translateY(-5px);
        opacity: 1;
    }
    80% {
        transform: translateY(5px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@media screen and (max-width: 767px) {
    @keyframes slideUpCurve {
        0% {
            transform: translateY(10%); /* way down */
            opacity: 1;
        }
        60% {
            transform: translateY(-5px); /* slight overshoot */
            opacity: 1;
        }
        80% {
            transform: translateY(5px); /* bounce down */
        }
        100% {
            transform: translateY(0); /* settle */
        }
    }
}

@-moz-document url-prefix() {
    .bottom-curve {
        animation: slideUpCurveFirefox 1.5s ease-out forwards;
    }

    @keyframes slideUpCurveFirefox {
        0% {
            transform: translateY(100%);
            opacity: 0;
        }
        60% {
            transform: translateY(0); /* Skip overshoot for smoother motion */
            opacity: 1;
        }
        100% {
            transform: translateY(0);
        }
    }
}

.bottom-curve .desktop-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.bottom-curve-content {
    position: absolute;
    top: 55%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 6; /* Higher than canvas to keep content visible */
    color: #fff;
}
.bottom-curve-content .social-media {
    float: right;
}

/* Intersection effect */
.bottom-curve.intersecting {
    z-index: 2; /* Even lower during intersection for better inside effect */
    opacity: 1; /* Slight transparency for blending effect */
}

/* container aligned to the right */
.contact-info-homepage {
    display: block;
    text-align: right;
}
.contact-info-homepage a:hover,
.contact-info-homepage a:focus {
    color: #e5c18a;
    text-decoration: none;
}

/* reset list */
.contact-info-homepage ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* each link keeps icon + text inline */
.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

/* optional sizing */
.contact-item i {
    font-size: 16px;
    line-height: 1;
    color: #a97d3d;
}
.contact-info-homepage ul li {
    list-style-type: none;
    color: #fff;

    /* Button */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 133.333% */
    margin-bottom: 5px;
}

.section-contact-info .footer-social-icons {
    float: right;
    display: block !important;
    margin-top: 7px;
}
.section-contact-info .footer-social-icons li {
    float: left;
    margin-left: 15px;
}

/* Second Section - SVG Background */
.black-section {
    /*! background: transparent; */
    /*! min-height: auto; */ /* Remove fixed height to let content determine height */
    /*! position: relative; */
    /*! overflow: hidden; */
    /*! will-change: transform; */
    /*! z-index: 15; */ /* Much higher to ensure it's above everything in hero-section */
    /*! transition: transform 0.1s ease-out; */ /* Smooth scroll animation */
    /*! transform: translateZ(0); */ /* Create new stacking context */
    /* margin-top: -100px;  Larger negative margin to eliminate gap completely */
    /*! padding-top: 142px; */ /* Reduced from 190px to reduce excessive spacing */
    /*! padding-bottom: 40px; */ /* Add some bottom padding for proper spacing */
}

.black-section svg,
.black-section-inner svg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120%;
    display: block;
}

.black-section-inner svg {
    width: 100%;
    height: 100%;

    /*! top: -300px; */
    left: 0;
    z-index: -1;
    object-fit: cover;
    transform: translateZ(0) translateY(0);
    transition: transform 0.8s ease-out;

    display: block;

    position: absolute;
    padding-bottom: 0px;
}

.black-section .container,
.black-section-inner .container {
    position: relative;
    z-index: 2;
}

.content-section {
    background: #fff;
    border-radius: 60px;
    padding: 80px 60px;
    margin: 30px 20px 40px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10; /* Ensure content is above everything */

    transition: transform 10s ease-out;
}
.content-section.move-up {
    transform: translateY(210px);
}

/* Section Header Styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.section-header.first_inner_secs .row {
    dipslay: flex;
    align-items: center;
}
.section-header .row {
    width: 100%;
}

.section-logo img {
    height: 150px;
    width: auto;
}

.section-nav-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.section-contact-info {
    display: flex;
    gap: 8px;
}
.homepage-content-sec .section-contact-info span {
    color: #2c2c2d;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.homepage-content-sec .section-contact-info .section-social-media {
    margin-top: -14px;
}
.homepage-content-sec nav.section-nav ul li a {
    color: #2c2c2d;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}
.section-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
    color: #2c2c2d;
    font-weight: 400;
}

.section-contact-item:hover {
    color: #666;
    text-decoration: none;
}

.section-contact-item i,
.section-contact-info i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #a97d3d;
}
.section-social-media {
    display: flex;
    gap: 10px;
}

.section-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.section-social-icon:hover {
    background: #667eea;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.section-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.section-nav a:hover {
    color: #667eea;
    text-decoration: none;
}
.black-section .homepage-content-sec {
    padding: 60px 40px;
    transition: transform 0.8s ease-out;
    transform: translateY(0);
    will-change: transform;
    position: relative;
    z-index: 15;
}

/* Animation for homepage-content-sec when triggered */
.black-section .homepage-content-sec.animate-up {
    transform: translateY(-180px) !important;
}

/* Animation for SVG background when triggered - slower animation */
.black-section svg {
    transition: transform 0.5s ease-out;
    transform: translateY(0);
    will-change: transform;
}

.black-section svg.animate-up {
    transform: translateY(-50px) !important;
}
.black-section h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    /*  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;*/
}

.black-section p.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: #555;
}

.feature-card {
    background: rgba(102, 126, 234, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    height: 100%;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
}
.grad_fix {
    /*background: linear-gradient( to right, rgb(50, 66, 73) 5%, rgb(50, 66, 73) 23%, rgb(53, 70, 77) 29%, rgb(68, 88, 98) 70%, rgb(69, 89, 99) 100% );
	
	background: linear-gradient(to right, #05163b, #445862);*/
}

/* Footer Section Styles */
.footer-section {
    /*background: linear-gradient( to right, rgb(50, 66, 73) 5%, rgb(50, 66, 73) 23%, rgb(53, 70, 77) 29%, rgb(68, 88, 98) 70%, rgb(69, 89, 99) 100% );

background: linear-gradient( to right, rgb(50, 66, 73) 5%, rgb(50, 66, 73) 23%, rgb(53, 70, 77) 29%, rgb(68, 88, 98) 70%, rgb(69, 89, 99) 100% );*/
    /* W3C, IE10+, 
 
background: linear-gradient(to right, #05163b, #445862),
            linear-gradient(to right, #00000010, #ffffff10);
background-blend-mode: overlay;
*/
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    will-change: transform;
    margin-top: -50px;
    padding-top: 80px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    z-index: 20;
    height: auto;
    overflow: hidden;
}

.footer-animate {
    animation: slideUpBounceF 2s ease forwards;
}
@keyframes slideUpBounceF {
    0% {
        transform: translateY(20%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
    }
}
.svg-container,
.bottom-curve,
.black-section,
.homepage-content-sec,
.inside-pages-content {
    will-change: transform;
}

.animate-up {
    transform: translateY(-100px);
    transition: transform 0.5s ease-out;
}

.black-section::after {
    /*! content: ""; */
    /*! position: absolute; */
    /*! top: 0; */
    left: 0;
    /*! width: 100%; */ /*! height: 100%; */
    /*! pointer-events: none; */

    /*! background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 1.2%, rgba(0,0,0,0) 99.1%, rgba(0,0,0,0.2) 100% ); */
}
body.inside_pages::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;

    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0) 1.2%,
        rgba(0, 0, 0, 0) 99.1%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.footer-section .container {
    position: relative;
    z-index: 2;
}
.footer-section {
    margin-top: -120px;
}
.footer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-navigation {
    width: 100%;

    padding-bottom: 10px;
}

.footer-navigation .footer-navbar {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-navigation ul.footer-navbar li {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-navigation .footer-navbar a {
    font-family: Inter;
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    transition: all 0.2s;
    text-decoration-color: transparent;
}
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
}
.footer-navigation .footer-navbar a:hover,
.footer-navigation .footer-navbar a:focus,
.footer-navigation .footer-navbar a.active {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #a97d3d;
    text-decoration-thickness: 2px;
    text-underline-position: under;
}

.footer-contact {
    text-align: center;
}

.footer-contact address {
    font-style: normal;
    margin-bottom: 0;
}

.footer-contact #agency-address {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-contact #agency-address a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact #agency-address a:hover {
    color: #e5c18a;
    text-decoration: none;
}

.footer-contact .insur-agency {
    color: #fff;
    font-family: Inter;
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
    line-height: 36px;
}

#agency-address li::before {
    font-family: "font awesome 5 free";
    content: "\00b7";
    font-size: 17px;
    color: #a97d3d;
    margin-right: 5px;
    font-weight: 900;
    vertical-align: middle;
}
#agency-address li.agcyname:before {
    content: "";
}
#agency-address li.cont-address:before {
    content: "\f041";
}
#agency-address li.cont-phone:before {
    content: "\f095";
}
#agency-address li.cont-text:before {
    content: "\f086";
}
#agency-address li.cont-fax:before {
    content: "\f1ac";
}
#agency-address li.cont-email:before {
    content: "\f0e0";
}
#agency-address li a {
    color: #fff;

    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

.foot-social-icon {
    text-align: center;
}

.footer-social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

#agency-address li,
#agency-address li a {
    color: #fff;
}
.footer-navbar li a,
.footer-bottom.site-info ul li a,
.footer-bottom.site-info ul li {
    color: #fff;
}
div.foot-social-icon ul.footer-social-icons {
    width: 230px;
    justify-content: space-between;
}
div.foot-social-icon ul.footer-social-icons li,
.section-social-media ul.footer-social-icons li,
.section-contact-info ul.footer-social-icons li {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    border-radius: 15px;
}

div.foot-social-icon ul.footer-social-icons li:nth-child(1),
.section-social-media ul.footer-social-icons li:nth-child(1),
.section-contact-info ul.footer-social-icons li:nth-child(1) {
    background: #1877f2;
}
div.foot-social-icon ul.footer-social-icons li:nth-child(2),
.section-social-media ul.footer-social-icons li:nth-child(2),
.section-contact-info ul.footer-social-icons li:nth-child(2) {
    background: #000000;
}
div.foot-social-icon ul.footer-social-icons li:nth-child(3),
.section-social-media ul.footer-social-icons li:nth-child(3),
.section-contact-info ul.footer-social-icons li:nth-child(3) {
    background: #006192;
}
div.foot-social-icon ul.footer-social-icons li:nth-child(4),
.section-social-media ul.footer-social-icons li:nth-child(4),
.section-contact-info ul.footer-social-icons li:nth-child(4) {
    background: #e1306c;
}
div.foot-social-icon ul.footer-social-icons li:nth-child(5),
.section-social-media ul.footer-social-icons li:nth-child(5),
.section-contact-info ul.footer-social-icons li:nth-child(5) {
    background: #ff0050;
}
div.foot-social-icon ul.footer-social-icons li i,
.section-social-media ul.footer-social-icons li i,
.section-contact-info ul.footer-social-icons li i {
    font-size: 16px;
    color: #fff;
    line-height: 30px !important;
}
div.foot-social-icon ul.footer-social-icons li:nth-child(1) i {
    font-size: 18px;
}
div.foot-social-icon ul.footer-social-icons a {
    display: flex;
    align-items: center;
}
.footer-social-icons a:hover {
    opacity: 0.6;
    text-decoration: none;
}

.foot-logo-section {
    width: 100%;
    max-width: 250px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 20px;
}

.foot-logo-section img {
    width: 100%;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    /*! margin: 20px 0 0 0; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #999;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-bottom.site-info {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
}
.footer-bottom.site-info::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}
.footer-bottom a:hover {
    color: #667eea;
    text-decoration: none;
}
.footer-bottom.site-info ul li {
    color: #fff;

    text-align: center;

    font-family: Urbanist;
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    line-height: 30px;
}
.visuallyhidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Additional utility styles */

/*
.my-svg {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleY(1.5); 
  transform-origin: top;  
  width: 120%;   
  height: auto;
  transform: translateX(-10%); 
}*/

.inner_pages {
    padding: 40px 0;
    /* animation */
    animation: slideUpBounce 2s ease forwards;
}
.inside-pages-footer {
    margin-top: 0px;
    opacity: 1; /* hidden initially */
    transform: translateY(50px); /* moved down initially */
    /* visibility: hidden;    */
}
/* Override footer animation for inside pages */
.inside-pages-footer.footer-animate {
    visibility: visible;
    animation: slideUpBounceInsidef 2.5s ease-out forwards;
}

@keyframes slideUpBounceInsidef {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(5px);
    }
    100% {
        opacity: 1; /*  keep visible */
        transform: translateY(0); /*  final position */
    }
}

/* Animation for inside pages content when triggered */
.inside-pages-content {
    transition: transform 0.6s ease-out;
    transform: translateY(0);
    will-change: transform;
}

.inside-pages-content.animate-up {
    transform: translateY(-60px) !important;
}

/* Keyframes for slide + bounce */
@keyframes slideUpBounce {
    0% {
        transform: translateY(100%); /* start off-screen bottom */
        opacity: 0;
    }
    60% {
        transform: translateY(-15px); /* overshoot upward */
        opacity: 1;
    }
    80% {
        transform: translateY(10px); /* bounce down */
    }
    100% {
        transform: translateY(0); /* settle in place */
    }
}

.inner-page-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 101vw;
    height: 100vh;
}
.inner-page-section .inner_svg {
    /*background: linear-gradient( to right, rgb(50, 66, 73) 5%, rgb(50, 66, 73) 23%, rgb(53, 70, 77) 29%, rgb(68, 88, 98) 70%, rgb(69, 89, 99) 100% );*/
    display: block;
    width: 100%;
    height: auto; /* keeps proportions */
    max-width: 100%;
    position: absolute;
}
.inner_pages .content-section {
    padding: 50px 40px 80px 40px;
    /*! visibility: hidden; */
}
.inner_pages .section-contact-info {
    display: flex;
    gap: 8px;
}
.inner_pages .section-contact-info span {
    color: #2c2c2d;

    /* Button */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    line-height: 20px; /* 133.333% */
}
.inner_pages .section-contact-info span i {
    color: #a97d3d;
}
.section-nav-area .navbar-nav {
    margin-top: -10px;
    justify-content: space-between;
    width: 100%;
}
.inner_pages .section-contact-info .section-social-media {
    margin-top: -14px;
}
.inner_pages h1 {
    color: #000;

    /* H1 */
    font-family: Inter;
    font-size: 36px;
    font-style: italic;
    font-weight: 600;
    line-height: 48px;
}

.inner_quote_box {
    border-radius: 40px;
    background: linear-gradient(237deg, #fbfaf9 8.56%, #ebe8e3 94.62%);

    /* Custom Drop */
    box-shadow: 4px 4px 4px 0 rgba(44, 44, 45, 0.25);
    display: flex;
    padding: 40px 20px;
    flex-direction: column;

    gap: 20px;
}
.inner_quote_box h2 {
    text-align: center;

    color: #2c2c2d;
    text-align: center;
    margin-bottom: 10px;

    /* H2 */
    font-family: Inter;
    font-size: 28px;
    font-style: italic;
    font-weight: 600;
    line-height: 36px; /* 150% */
}
.inner_quote_box .btn-custom {
    width: 100%;
    max-width: 100%;
}
.inner_quote_box .form-control {
    color: #2c2c2d;

    /* Btn Text */
    font-family: Urbanist;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 133.333% */
}
.inner_quote_box .form-control::placeholder {
    color: #2c2c2d;

    /* Btn Text */
    font-family: Urbanist;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 133.333% */
}

.ccframe,
#cpIframe {
    height: 1600px;
    width: 100%;
    border: none;
}
.gmap {
    height: 300px;
    border: none;
    width: 100%;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
.contactpage-footer {
    padding-bottom: 200px;
}

.contact-info-left ul {
    padding-left: 0px;
}
.contact-info-left ul li,
.contact-info-left ul li a {
    list-style-type: none;
    color: #1f1b1b;

    /* Body */
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 133.333% */
    margin-bottom: 10px;
}

.svg-container {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 21; /* Lower than hero-content so content shows on top */

    animation: slideDownFromTop 0.8s ease-out 0.55s forwards; /* Very fast slide down animation on page load */
    transition: none; /* Disable default transitions for scroll animations */
    overflow: hidden;
    backface-visibility: hidden;
    will-change: transform, opacity;
    transform: translateY(-100%) translateZ(0);
}

.contact-info ul li {
    list-style-type: none;
    display: flex;
}

/* Scroll-triggered background animation */
/* Scroll animation styles */
.hero-section {
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.black-section {
    overflow: visible;
    position: relative;
    min-height: 100vh;
}

/* Removed duplicate svg-container rule - consolidated above */

/* Scroll trigger animations */

.black-section.scroll-up {
    transform: translateY(-30px);
}

.svg-container.parallax {
    transform: translateY(-25px);
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove any default margins that might cause gaps */
.homepage_wrapper_bg {
    margin: 0;
    padding: 0;
}

section {
    margin: 0;
}

/* Ensure SVG positioning works correctly */
.my-svg {
    transition: all 0.3s ease;
}

canvas {
    display: block;
    width: 100vw; /* full viewport width */
    height: auto; /* dynamic height */
    /* transition: transform 0.4s ease-out;  Faster, smoother scroll animation */
    will-change: transform; /* Optimize for animations */
    z-index: 3; /* Lower than hero-content so content shows on top */
    position: relative;
    backface-visibility: hidden; /* Prevent flickering */
    transform: translateZ(0); /* Force hardware acceleration */

    transform: translateY(-180px);
    animation: slideDownFromTop 0.5s ease-out 0.55s forwards;
}

/* Canvas scroll-up animation when reaching middle of first screen */
.canvas-scroll-up {
    animation: canvasScrollUp 0.8s ease-out forwards;
    transform-origin: center bottom; /* Animation starts from bottom center */
}

/* Canvas slide down animation on page load */
@keyframes slideDownFromTop {
    0% {
        transform: translateY(-100vh) translateZ(0);
        opacity: 0;
    }
    80% {
        transform: translateY(0) translateZ(0);
        opacity: 1;
    }
    90% {
        transform: translateY(-6px) translateZ(0); /* bounce UP a bit */
    }
    100% {
        transform: translateY(0) translateZ(0);
        opacity: 1;
    }
}

/* Hero content slide down animation - starts after canvas completes */
@keyframes slideDownContent {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    70% {
        transform: translateY(5px);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Container scroll-up animation when reaching middle of first screen */
.container-scroll-up {
    animation: containerScrollUp 1.2s ease-in-out forwards !important;
    transform-origin: center center;
}

@keyframes containerScrollUp {
    0% {
        transform: translateY(0) translateZ(0) !important;
    }
    100% {
        transform: translateY(-100vh) translateZ(0) !important; /* Move entire container completely up off screen */
    }
}

/* Container scroll-down animation when going back up */
.container-scroll-down {
    animation: containerScrollDown 1.2s ease-in-out forwards !important;
    transform-origin: center center;
}

@keyframes containerScrollDown {
    0% {
        transform: translateY(-100vh) translateZ(0) !important;
    }
    100% {
        transform: translateY(0) translateZ(0) !important;
    }
}

.first_secs .col-md-4 {
    padding-left: 0px;
}
.width-mod .container {
    max-width: 95%;
}

.desktop-svg {
    display: block;
}
.mobile-svg {
    display: none;
}
.homepage_wrapper_bg {
    /*! position: relative; */
    /*! height: calc(200vh + 430px); */ /* two screens of scroll */
    /*! overflow: hidden; */
    /*! background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 1.2%, rgba(0,0,0,0) 99.1%, rgba(0,0,0,0.2) 100% ); */
}

.inside_pages,
.inner-page-section::after {
    position: relative;
    /*height: 200vh;
	background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 1.2%, rgba(0,0,0,0) 99.1%, rgba(0,0,0,0.4) 100% ); */
}
/*.inner-page-section .inner_svg::after{
	background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 1.2%, rgba(0,0,0,0) 99.1%, rgba(0,0,0,0.4) 100% );  
}*/

/* Top base curve - where secial contact is */
.bottom-curve .bottomCurveLeft {
    stop-color: #071f54;
}
.bottom-curve .bottomCurveRight {
    stop-color: #071f54;
}
/* Top body curve uses vertical gradient*/
.second_slide_bg_rightFirstCurve {
    stop-color: #071f54;
}
.second_slide_bg_leftFirstCurve {
    stop-color: #05163b;
}
/* Last body curve before foot */
.second_slide_bg_rightSecondCurve {
    stop-color: #05163b;
}
.second_slide_bg_leftSecondCurve {
    stop-color: #05163b;
}

/* Unused */
.second_slide_bg_rightThirdCurve {
    stop-color: #05163b;
}
.second_slide_bg_leftThirdCurve {
    stop-color: #05163b;
}
.second_slide_bg_rightFourthCurve {
    stop-color: #05163b;
}
.second_slide_bg_leftFourthCurve {
    stop-color: #05163b;
}
/*Stop unused*/

/* 2nd body curve*/
.second_slide_bg_rightFifthCurve {
    stop-color: #05163b;
}
.second_slide_bg_leftFifthCurve {
    stop-color: #05163b;
}
/* 3rd body curve*/
.second_slide_bg_rightSixthCurve {
    stop-color: #05163b;
}
.second_slide_bg_leftSixthCurve {
    stop-color: #05163b;
}
/* 4th body curve*/
.second_slide_bg_rightSeventhCurve {
    stop-color: #05163b;
}
.second_slide_bg_leftSeventhCurve {
    stop-color: #05163b;
}
.inside_bg_firstRCurve {
    stop-color: #05163b;
}
.inside_bg_firstLCurve {
    stop-color: #05163b;
}
.inside_bg_secondRCurve {
    stop-color: #05163b;
}
.inside_bg_secondLCurve {
    stop-color: #05163b;
}
.inside_bg_thirdRCurve {
    stop-color: #05163b;
}
.inside_bg_thirdLCurve {
    stop-color: #05163b;
}
.inside_bg_fourthRCurve {
    stop-color: #05163b;
}
.inside_bg_fourthLCurve {
    stop-color: #05163b;
}
.inside_bg_fifthRCurve {
    stop-color: #05163b;
}
.inside_bg_fifthLCurve {
    stop-color: #05163b;
}
.inside_bg_sixthRCurve {
    stop-color: #05163b;
}
.inside_bg_sixthLCurve {
    stop-color: #05163b;
}
.inside_bg_sevenRCurve {
    stop-color: #05163b;
}
.inside_bg_sevenLCurve {
    stop-color: #05163b;
}

/* Mobile SVG color */

.m_firstRcurve {
    stop-color: #05163b;
}
.m_firstLcurve {
    stop-color: #05163b;
}
.m_secondRcurve {
    stop-color: #05163b;
}
.m_secondLcurve {
    stop-color: #05163b;
}
/* top curve where contact was*/
.m_thirdRcurve {
    stop-color: #071f54;
}
.m_thirdLcurve {
    stop-color: #071f54;
}
/* 2nd curve */
.m_fourthRcurve {
    stop-color: #071f54;
}
.m_fourthLcurve {
    stop-color: #071f54;
}
.m_fifthRcurve {
    stop-color: #071f54;
}
.m_fifthLcurve {
    stop-color: #071f54;
}

.navbar-toggle.pad span:nth-child(1),
.navbar-toggle.pad span:nth-child(4) {
    opacity: 0;
    top: 24px;
}
.navbar-toggle.pad span:nth-child(2) {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transition-delay: 0.25s;
    -webkit-transition-delay: 0.25s;
}
.navbar-toggle.pad span:nth-child(3) {
    opacity: 1;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transition-delay: 0.25s;
    -webkit-transition-delay: 0.25s;
}
.navbar-toggle {
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    float: right;
    position: fixed;
    z-index: 99;
    right: 10px;
    top: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    background: #05163b;
    padding: 10px;
    color: #fff;
    border-radius: 8px;
}
.navbar-toggle span:nth-child(1) {
    top: 7px;
}
.navbar-toggle span:nth-child(2) {
    top: 17px;
}
.navbar-toggle span:nth-child(3) {
    top: 18px;
    opacity: 0;
}
.navbar-toggle span:nth-child(4) {
    top: 28px;
    transition: all 0.25s ease-in-out 0s;
    -webkit-transition: all 0.25s ease-in-out 0s;
}
.navbar-toggle span {
    background: #fff;
    display: block;
    height: 3px;
    left: 6px;
    position: absolute;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transition: all 0.25s ease-in-out 0s;
    -webkit-transition: all 0.25s ease-in-out 0s;
    width: 28px;
}
.navbar-nav li a {
    color: rgba(19, 32, 38, 1);
    font-family: Urbanist;
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    text-align: center;
    margin: 15px 0 5px;
}
.navbar-collapse .container,
.navbar-collapse .row {
    height: 100%;
}
#myCanvas {
    min-height: 650px;
}

.xyx-bg-home {
    background: #05163b;
    margin-top: -80px; /* Increase to connect with esvghomepage-section */
    min-height: 0 !important;
    height: auto !important;
    /* max-height: calc(100vh + 200px) !important;  Limit to prevent excessive extension */
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden !important;
    display: block;
    z-index: 1;
}

.xyx-bg {
    margin-top: -52px;
}
.xyx-cq {
    margin-top: -52px;
}
.svg-bg-section {
    position: relative;
    /*width: 100%;*/
    min-height: 900px; /* based on content height */
    overflow: hidden;
}
/* SVG as background */
.svg-bg-section .inner_svg3 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Content above SVG */
.svg-bg-section .inner_pages {
    position: relative;
    z-index: 2;
    padding-bottom: 160px; /* space before curve */
}
.cq-section {
    height: 1600px;
}
.cq-section svg {
    height: 1300px;
}

.first_inner_secs {
    will-change: transform;
}

/* Main wrapper */
.esvghomepage-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 2;
    /*margin-top: -20px;*/
    margin-top: 0px;
    margin-bottom: 0; /* prevent footer break */
}

/* SVG background */
.esvghomepage-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Main wrapper */
.esvghomepage-section1 {
    position: relative;
    width: 100%;
    margin-top: -20px;
    overflow: hidden;
    z-index: 2;
    will-change: transform;
    margin-bottom: -80px; /* Increase to connect with footer */
    padding-bottom: 0;
    min-height: auto;
    height: auto;
}

/* SVG background */
.esvghomepage-bg-svg1 {
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 0;

    pointer-events: none;
}

/* Content */
.esvghomepage-content {
    position: relative;
    z-index: 2;

    /* YOU CAN ADD MARGIN/PADDING HERE SAFELY */
    padding-top: 80px;
}
.black-section,
.black-section-inner {
    position: relative;
    min-height: 100vh; /* Keep minimum height */
    height: auto; /* Allow expansion */
    margin-bottom: 0;
    padding-bottom: 0px;
    overflow: hidden;
}

.footer-sentinel {
    height: 0;
    margin: -1px 0 0 0;
    padding: 0;
    display: block;
}

.black-section,
.black-section-inner {
    padding-bottom: clamp(56px, 10vw, 130px);
}

/*.esvghomepage-bg-svg {
    height: 145% !important;
    top: -20% !important;
	min-height: 100% !important;
  }*/

.bottom-curve .desktop-svg {
    width: 100%;
    height: 100%;
    display: block;
}
/*.cq-svg-mod{
	height: 150% !important;
	min-height: 150% !important;
	top:-32% !important;
}*/
.cq-body-mb {
}

a.sms-txt {
    cursor: none;
    pointer-events: none;
    color: inherit;
}

.is-cms .section-contact-info span{
	display:inline-block;
}

.content-link {
	color: #061e54;
	text-decoration: none;
}

.content-link:hover, .content-link:focus {
	color: #103484;
	text-decoration: none;
}

.pp-links .pp-divider {
    margin-left: 8px;
    margin-right: 2px;
    color: #fff;
}

.footer-bottom.site-info .pp-links li {
  font-size: 20px;
}

.pp-links {
	padding-left: 0px;
	margin-top: 25px;
	margin-bottom: 25px;
}

.pp-links a:hover, .pp-links a:focus, .pp-links a.active {
  color: #a97d3d !important;
}

.consent-head {
	font-size: 11px;
	margin-bottom: 5px;
    line-height: 20px;
}


.consent-text {
	font-size: 10px;
	margin-bottom: 4px;
    line-height: 14px;
}

.consent-head .required {
	color: #a97d3d;
}

.consent-text a {
	color: #071f54 !important;
}

.consent-text a:hover, .consent-text a:focus {
	color: #0c2d77 !important;
	text-decoration: none;
}
.form-group label {
  font-size: 9px;
  margin-bottom: 4px;
  line-height: 1.4;
}