/*--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
/* Reset Code */
body {
    padding: 0;
    margin: 0;
    background: #FFF;
    font-family: 'Quicksand', sans-serif;
}

body a,
body button {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    text-decoration: none;
}

body a:hover,
body button:hover {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    text-decoration: none;
}

body a:focus,
a:hover {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-family: 'Mukta', sans-serif;
}

p {
    margin: 0;
    padding: 0;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1.9;
    color: #999;
    font-family: 'Quicksand', sans-serif;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

a:focus,
a:hover {
    text-decoration: none;
    outline: none
}

/* //Reset Code */

/* colors code */
.text-bl {
    color: #343a40;
}

.text-wh {
    color: #fff;
}

.text-li {
    color: #f8f9fa;
}

.bg-li {
    background: #f8f9fa;
}

.bg-wh {
    background: #fff;
}

.let {
    letter-spacing: 1px;
}

/* //colors code */

/* move top icon */
a.move-top {
    width: 34px;
    height: 34px;
    background: url(../images/move-top.png) no-repeat;
    display: inline-block;
    position: fixed;
    bottom: 4%;
    right: 2%;
    z-index: 0;
}

/* //move top icon */

/* header */
/* top header */
.header-top_w3layouts {
    padding: 0 .5em;
}

/* social icons */
.top-right-info li {
    display: inline-block;
}

.top-right-info li span {
    color: #343a40;
    font-size: 14px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    -ms-transition: 0.5s all;
	opacity:0.7;
}

.top-right-info li span:hover,
a.login-button-2:hover {
    color: #343a40;
	opacity:1;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

/* //social icons */

.header-top_w3layouts p,
.header-w3layouts p,
.top-w3layouts p {
    font-size: 14px;
}

.top-w3layouts p a:hover,
.w3l-footer ul li a:hover {
    opacity: .7;
}

a.login-button-2 {
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 500;
    opacity: .7;
}

/* //top header */

/* second header */
#home {
    position: relative;
}

.main-top {
    position: absolute;
    z-index: 999;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* navigation */
/* CSS Document */
.toggle-2,
.toggle,
[id^=drop] {
    display: none;
}

/* Giving a background-color to the nav container. */
nav {
    margin: 0;
    padding: 0;
}

/* logo */
#logo a {
    float: left;
    display: initial;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    text-shadow: 2px 5px 3px rgba(0, 0, 0, 0.06);
    padding: 0;
}

span.logo-sp {
    font-weight: 100;
}

/* //logo */

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
    content: "";
    display: table;
    clear: both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
    float: right;
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
}

/* Positioning the navigation items inline */
nav ul li {
    margin: 0px;
    display: inline-block;
    float: left;
}

/* Styling the links */
nav a {
    padding: 0;
    color: #fff;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

nav ul li ul li:hover {
    color: #000;
    background: #f8f9fa;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

/* Background color change on Hover */

.menu li a.active,
.menu li a:hover {
    color: #2196f3;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    color: #d84315;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
    display: none;
    position: absolute;
    top: 25px;
    background: #000;
    padding: 10px;
    border-radius: 4px;
    z-index: 9;
}

/* Display Dropdowns on Hover */
nav ul li:hover>ul {
    display: inherit;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
    width: 170px;
    float: none;
    display: list-item;
    position: relative;
    margin-bottom: 10px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

nav ul ul li:nth-child(4) {
    margin-bottom: 5px;
}

nav ul ul li a {
    color: #fff;
    padding: 5px 10px;
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
    position: relative;
    top: -60px;
    /* has to be the same number as the "width" of "nav ul ul li" */
    left: 170px;
}


/* Change ' +' in order to change the Dropdown symbol */
li>a:only-child:after {
    content: '';
}

a.reqe-button {
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

/* Media Queries
--------------------------------------------- */
@media(max-width: 800px) {
    nav a {
        font-size: 12px;
    }
}

@media all and (max-width : 736px) {
    #logo {
        display: block;
        padding: 0;
        width: 100%;
        text-align: center;
        float: none;
    }

    nav {
        margin: 0;
    }

    /* Hide the navigation menu by default */
    /* Also hide the  */
    .toggle+a,
    .menu {
        display: none;
    }

    /* Stylinf the toggle lable */
    .toggle {
        display: block;
        padding: 8px 14px;
        font-size: 15px;
        text-decoration: none;
        border: none;
        float: right;
        background-color: #fff;
        color: #000;
        border-radius: 4px;
        letter-spacing: 1px;
        cursor: pointer;
        transition: 0.5s all;
        -webkit-transition: 0.5s all;
        -moz-transition: 0.5s all;
        -o-transition: 0.5s all;
        -ms-transition: 0.5s all;
    }

    .menu .toggle {
        float: none;
        text-align: center;
        margin: auto;
        max-width: 128px;
        padding: 5px;
        font-weight: normal;
        font-size: 14px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #000;
        font-weight: 500;
    }

    .toggle:hover {
        color: #d84315;
        transition: 0.5s all;
        -webkit-transition: 0.5s all;
        -moz-transition: 0.5s all;
        -o-transition: 0.5s all;
        -ms-transition: 0.5s all;
    }

    /* Display Dropdown when clicked on Parent Lable */
    [id^=drop]:checked+ul {
        display: block;
        background: #fff;
        padding: 15px 0;
        text-align: center;
        width: 100%;
    }

    /* Change menu item's width to 100% */
    nav ul li {
        display: block;
        width: 100%;
        padding: 5px 0;
    }

    nav ul ul .toggle,
    nav ul ul a {
        padding: 0 40px;
    }

    nav ul ul ul a {
        padding: 0 80px;
    }

    nav a:hover,
    nav ul ul ul a {
        background-color: transparent;
    }

    nav ul li ul li .toggle,
    nav ul ul a,
    nav ul ul ul a {
        padding: 14px 20px;
        color: #FFF;
        font-size: 17px;
    }

    /* 
    nav ul li ul li .toggle,
    nav ul ul a {
        background-color: #212121;
    } */

    /* Hide Dropdowns by Default */
    nav ul ul {
        float: none;
        position: static;
        color: #fff;
        /* has to be the same number as the "line-height" of "nav a" */
    }

    /* Hide menus on hover */
    nav ul ul li:hover>ul,
    nav ul li:hover>ul {
        display: none;
    }

    /* Fisrt Tier Dropdown */
    nav ul ul li {
        display: block;
        width: 100%;
        padding: 0;
    }

    nav ul ul ul li {
        position: static;
        /* has to be the same number as the "width" of "nav ul ul li" */

    }

    nav a {
        color: #000;
        font-size: 14px;
        padding: 0;
    }

    nav ul ul li a {
        color: #000;
    }

    nav ul ul li a {
        font-size: 14px;
    }

    .menu li a.active,
    .menu li a:hover {
        color: #d84315;
        background: transparent;
    }
}

@media all and (max-width : 375px) {

    nav a,
    .menu .toggle {
        font-size: 14px;
    }

    .toggle {
        padding: 7px 12px;
        font-size: 14px;
    }
}

/* dropdown */
#demo {
    margin: 10px 0 0px 0;
}

#demo .wrapper {
    display: inline-block;
    position: relative;
}

#demo .parent {
    height: 100%;
    width: 100%;
    display: block;
    cursor: pointer;
    line-height: 30px;
    height: 30px;
    color: #fff;
    z-index: 2;
    position: relative;
    -webkit-transition: border-radius .1s linear, background .1s linear, z-index 0s linear;
    -webkit-transition-delay: .8s;
    text-align: center;
    color: #fff;
    text-transform: capitalize;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    padding-left: 0;
    padding-right: 0;
}

#demo .parent:hover,
#demo .content:hover~.parent {
    -webkit-transition-delay: 0s, 0s, 0s;
}

#demo .content:hover~.parent {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 0;
}

#demo .content {
    position: absolute;
    top: 0;
    display: block;
    z-index: 1;
    height: 0;
    width: 150px;
    padding-top: 30px;
    -webkit-transition: height .5s ease;
    -webkit-transition-delay: .4s;
}

#demo .wrapper:active .content {
    height: 150px;
    z-index: 3;
    -webkit-transition-delay: 0s;
}

#demo .content:hover {
    height: 150px;
    z-index: 3;
    -webkit-transition-delay: 0s;
}


#demo .content ul {
    background: #fff;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#demo .content ul a {
    text-decoration: none;
    padding: 0;
}

#demo .content li:hover {
    background: #f8f9fa;
}

#demo .content li {
    list-style: none;
    text-align: left;
    color: #999;
    font-size: 16px;
    line-height: 30px;
    height: 40px;
    line-height: 40px;
    padding-left: 10px;
    border-top: 1px solid #eee;
}

#demo .content li:last-of-type {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* //dropdown */
/* //navigation */
/* //second header */

/* banner */
.banner-top1,
.banner-top2,
.banner-top3 {
    min-height: 730px;
}

.banner-top1 {
    background: url(../images/1.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    animation-duration:  5s;
}

.banner-top2 {
    background: url(../images/2.jpg) no-repeat bottom;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
}

.banner-top3 {
    background: url(../images/3.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
}

.banner-info_agile_w3ls {
    padding-top: 16em;
    max-width: 800px;
}

.banner-info_agile_w3ls h2,
.banner-info_agile_w3ls h3 {
    font-size: 60px;
}

a.button-w3ls {
    color: #fff;
    letter-spacing: 1px;
    font-size: 14px;
    padding: 14px 18px;
    background: #d84315;
    display: inline-block;
    border-radius: 0px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

a.button-w3ls:hover {
	letter-spacing: 1.5px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

/* //banner */

/* banner bottom */
.triple-sec:nth-child(2) {
    background: #2196f3;
}

.triple-sec:nth-child(1) {
    background: url(../images/bg1.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
}

.triple-sec:nth-child(3) {
    background: url(../images/bg.jpg) no-repeat top;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
}

li.style-bottom-w3 h4 {
    font-size: 40px;
}

.triple-sec h5 {
    font-size: 32px;
    letter-spacing: 1px;
}

h4.down-list-w3 {
    font-size: 35px;
}

a.some-small-btn {
    padding: 12px 26px;
    letter-spacing: 1px;
    font-size: 14px;
    display: inline-block;
}

a.some-small-btn:hover {
}

/* //banner bottom */

/* blog */
h3.w3ls-title {
    font-size: 40px;
}

h6.w3ls-title-sub {
    letter-spacing: 1px;
    font-weight: 100;
}

h5.card-title a,
h5.card-title {
    color: #000;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
}

.blog_w3icon span {
    color: #777;
    text-transform: uppercase;
    font-size: 12px;
    word-spacing: 3px;
    letter-spacing: 1px;
}

a.blog-btn {
    font-size: 14px;
    letter-spacing: 1px;
    background: #2196f3;
    color: #fff;
    padding: 11px 18px;
    border-radius: 0px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

a.blog-btn:hover {
    letter-spacing:1.5px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

/* //blog */

/* doctor form */
section.loan_w3ls {
    background: url(../images/4.jpg) center no-repeat fixed;
    width: 100%;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
}

.loan-form-w3ls input.form-control,
select.form-control {
    background: #fff;
    border: none;
    color: #000;
    letter-spacing: 1px;
    font-size: 15px;
    padding: 12px 15px;
}

select.form-control {
    height: 47px !important;
}

.loan-form-w3ls .form-group label {
    font-size: 15px;
    letter-spacing: 1px;
    color: #000;
    text-align: left;
    font-weight: 500;
}

button.btn_apt {
    background: #d84315;
    color: #fff;
    padding: 12px 40px;
    border: none;
    outline: none;
    letter-spacing: 1px;
    font-size: 15px;
    width: 100%;
    border-radius: 0px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

button.btn_apt:hover {
    letter-spacing: 2px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

/* date  */
[type="date"] {
    background: #fff url(../../../../../../../../cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/96843.png) 97% 50% no-repeat;
	padding-right: 0!important;
}

[type="date"]::-webkit-inner-spin-button {
    display: none;
}

[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.date-plu input {
    border: none;
    color: #000;
    letter-spacing: 1px;
    font-size: 15px;
    padding: 12px 15px;
    width: 100%;
}

/* //date  */
/* //doctor form */

/* services */
.services-box span {
    background: #d84315;
    width: 90px;
    height: 60px;
    border-radius: 4px;
    color: #fff;
    font-size: 32px;
    line-height: 60px;
    text-align: center;
}

.service-content h3 {
    font-size: 23px;
}

a.butn-w3pvt {
    color: #2196f3;
    letter-spacing: 1px;
    font-size: 14px;
}

.services-w3ls {
    background: url(../images/bg2.jpg) no-repeat center fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
}

/* //services */

/* team */
.box16 {
    text-align: center;
    color: #fff;
    position: relative
}

.box16 .box-content,
.box16:after {
    width: 100%;
    position: absolute;
    left: 0
}

.box16:after {
    content: "";
    height: 50%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.6) 69%, rgba(0, 0, 0, 0.79) 100%);
    bottom: 0;
    transition: all .5s ease 0s;
}

.box16 .post,
.box16 .title {
    transform: translateY(145px);
    transition: all .4s cubic-bezier(.13, .62, .81, .91) 0s
}

.box16:hover:after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .01) 0, rgba(0, 0, 0, .09) 11%, rgba(0, 0, 0, .12) 13%, rgba(0, 0, 0, .19) 20%, rgba(0, 0, 0, .29) 28%, rgba(0, 0, 0, .29) 29%, rgba(0, 0, 0, .42) 38%, rgba(0, 0, 0, .46) 43%, rgba(0, 0, 0, .53) 47%, rgba(0, 0, 0, .75) 69%, rgba(0, 0, 0, .87) 84%, rgba(0, 0, 0, .98) 99%, rgba(0, 0, 0, .94) 100%)
}

.box16 .box-content {
    padding: 20px;
    margin-bottom: 1.5em;
    bottom: 15%;
    z-index: 1
}

.box16 .title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.box16 .post {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    letter-spacing: 1px;
}

.box16 .social li a {
    border-radius: 50%;
    font-size: 20px;
    color: #fff
}

.box16:hover .post,
.box16:hover .title {
    transform: translateY(0)
}

.box16 .social {
    list-style: none;
    margin-top: 1.2em;
    opacity: 0;
    position: relative;
    transform: perspective(500px) rotateX(-90deg) rotateY(0) rotateZ(0);
    transition: all .6s cubic-bezier(0, 0, .58, 1) 0s;
}

.box16:hover .social {
    opacity: 1;
    transform: perspective(500px) rotateX(0) rotateY(0) rotateZ(0)
}

.box16 .social li {
    display: inline-block
}

.box16 .social li a span {
    display: block;
    width: 38px;
    font-size: 15px;
    height: 38px;
    line-height: 40px;
    background: #2196f3;
    border-radius: 50%;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.box16 .social li a span:hover {
    background: #fff;
    color: #2196f3;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.box16 .social li:nth-child(2) {
    margin: 0 6px;
}

@media only screen and (max-width:990px) {
    .box16 {
        margin-bottom: 30px
    }
}

/* //team */

/* footer */
footer {
    background: url(../images/bg3.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
}

.logo2 a {
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    text-shadow: 2px 5px 3px rgba(0, 0, 0, 0.06);
}

.w3l-footer h3 {
    font-size: 24px;
    letter-spacing: 1px;
}

ul.list-styles a {
    letter-spacing: 1px;
    font-size: 15px;
}

ul.list-styles a:hover {
    color: #ffffff !important;
}

ul.list-part li span {
    font-size: 46px;
}

/* footer newletter */
.n-right-w3ls input[type="email"] {
    padding: 15px;
    border: none;
    letter-spacing: 1px;
    font-size: 15px;
}

.n-right-w3ls button {
    background: #d84315;
    border: none;
    color: #fff;
    font-size: 15px;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 15px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.n-right-w3ls button:hover {
    letter-spacing:1.5px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

/* //footer newletter */
/* //footer */

/* footer bottom */
/* footer social icons */
.w3ls_footer_grid_left1_pos ul li,
ul.list-part li {
    display: inline-block;
}

.w3ls_footer_grid_left1_pos ul li a {
    color: #000;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 15px;
}

.w3ls_footer_grid_left1_pos ul li a:hover {
    color: #2196f3;
}

/* //footer social icons */

/* copyright */
.w3ls_footer_grid1_left p {
    color: #484848;
    font-weight: 500;
}

.w3ls_footer_grid1_left p a {
    color: #d84315;
    text-decoration: none;
}

.w3ls_footer_grid1_left p a:hover {
    color: #000;
}

/* //copyright */
/* //footer bottom */

/* inner pages */
.main-banner-2 {
    background: url(../images/1.jpg) no-repeat top;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    min-height: 300px;
}

/* page details */
.breadcrumb-agile {
    background: #e9ecef;
    box-shadow: 2px 3px 12px 1px rgba(0, 0, 0, 0.15);
}

.breadcrumb li a {
    color: #2196f3;
    font-weight: bold;
}

.breadcrumb li {
    letter-spacing: 1px;
    color: #000;
    font-size: 15px;
}

/* //page details */

/* about page */
/* about */
h6.subheading-w3ls {
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px rgba(41, 40, 40, 0.25);
}

.wthree-bottom {
    max-width: 400px;
}

/* //about */
/* //about page */

/* gallery page */
/* popup */
.popup-effect {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(7, 18, 41, 0.78);
    transition: opacity 300ms ease-in-out;
    visibility: hidden;
    opacity: 0;
    z-index: 99;
    overflow-y: auto;
    padding: 20px 0;
    backdrop-filter: blur(6px);
}

.popup-effect:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    background: #fff;
    border-radius: 24px;
    max-width: 860px;
    position: relative;
    margin: 2.5rem auto;
    padding: 2.4rem 2.2rem;
    z-index: 999;
    text-align: left;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: popupSlideIn 0.3s ease-out;
    border: 1px solid rgba(31, 95, 191, 0.1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup .close {
    position: absolute;
    top: 18px;
    right: 18px;
    transition: all 200ms;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: #173c6d;
    cursor: pointer;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf4fb;
}

.popup .close:hover {
    color: #fff;
    background: #1f5fbf;
}

h4.text-name-pop.mt-2 {
    font-weight: bold;
    font-size: 32px;
    letter-spacing: 1px;
    color: #17243d;
}

h5.text-name-pop.mt-4 {
    font-weight: bold;
    font-size: 25px;
    letter-spacing: 1px;
    color: #d84315;
}

.popup-meta {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #1f5fbf;
    text-transform: uppercase;
    margin-top: 24px !important;
}

.popup-image-wrapper {
    width: 100%;
    max-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
    border-radius: 20px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #e1ebf7;
}

.popup-image-wrapper img {
    max-width: 100%;
    max-height: 284px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.popup-content-wrapper {
    text-align: left;
    margin-top: 22px;
    padding: 0;
}

.popup-content-wrapper p {
    font-size: 15.5px;
    line-height: 1.85;
    color: #5c6675;
    margin-bottom: 15px;
}

.popup-description {
    margin-bottom: 1.5rem !important;
}

.popup-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 1.5rem 0;
}

.popup-detail-card {
    background: #f7fbff;
    border: 1px solid #dce9f8;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(24, 60, 109, 0.05);
}

.popup-detail-label {
    display: block;
    margin-bottom: 6px;
    color: #6280a3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.popup-detail-value {
    display: block;
    color: #1d2738;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.popup-highlight-block {
    margin: 1.5rem 0 0;
    padding: 1.2rem 1.25rem;
    border-radius: 18px;
    border: 1px solid #e7eef8;
    border-left: 4px solid #1f5fbf;
    background: #fff;
    box-shadow: 0 14px 32px rgba(16, 38, 69, 0.06);
}

.popup-highlight-block h5 {
    color: #17243d;
    font-size: 20px;
    margin-bottom: 0.85rem;
    letter-spacing: 0.4px;
}

.popup-feature-list {
    padding-left: 18px;
}

.popup-feature-list li {
    color: #5c6675;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.popup-disclaimer {
    font-size: 13px !important;
    color: #778295 !important;
    margin-top: 0.9rem !important;
    margin-bottom: 0 !important;
}

.popup-actions {
    display: flex;
    gap: 10px;
    margin-top: 1.8rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.popup-actions a,
.popup-actions button {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    text-align: center;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 1px;
}

.popup-inquiry-btn {
    background: #d84315;
    color: #fff;
}

.popup-inquiry-btn:hover {
    background: #bf360c;
    box-shadow: 0 4px 12px rgba(216, 67, 21, 0.3);
    transform: translateY(-2px);
}

.popup-contact-btn {
    background: #2196f3;
    color: #fff;
}

.popup-contact-btn:hover {
    background: #1976d2;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    transform: translateY(-2px);
}

/* Product card enhancements */
.product-card {
    transition: all 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card a {
    display: block;
    text-decoration: none;
}

.product-card img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-summary {
    padding: 15px;
    background: #f9fbff;
}

@media(max-width: 767px) {
    .popup {
        padding: 2rem 1.2rem;
        margin: 1.25rem 12px;
        max-height: calc(100vh - 24px);
    }

    .popup-detail-grid {
        grid-template-columns: 1fr;
    }

    .popup .close {
        top: 12px;
        right: 12px;
    }

    h4.text-name-pop.mt-2 {
        font-size: 28px;
        padding-right: 3rem;
    }

    .popup-actions a,
    .popup-actions button {
        flex: 1 1 100%;
    }
}

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(31, 95, 191, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(31, 95, 191, 0.6);
    }
}

/* Apply animations to elements */
.title-section {
    animation: fadeInUp 0.8s ease-out;
}

.med-blog {
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.3s ease;
}

.med-blog:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.services-box {
    animation: fadeInLeft 0.8s ease-out;
    transition: all 0.3s ease;
}

.services-box:hover {
    transform: translateX(10px);
}

.services-box .fa {
    transition: all 0.3s ease;
}

.services-box:hover .fa {
    color: #fff;
    transform: scale(1.2);
}

.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

/* Header animations */
header {
    animation: slideInDown 0.6s ease-out;
}

/* Hero section animations */
.banner-info_agile_w3ls h2 {
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.banner-info_agile_w3ls p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.banner-info_agile_w3ls .btn {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Trust badges animation */
.trust-badge {
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.05);
}

/* Testimonial cards */
.testimonial-card {
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Value panels */
.value-panel {
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.3s ease;
    border-radius: 8px;
    border-left: 4px solid #1f5fbf;
}

.value-panel:hover {
    box-shadow: 0 8px 20px rgba(31, 95, 191, 0.15);
    transform: translateX(5px);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    animation: fadeInUp 0.5s ease-out;
}

/* Link hover effects */
a {
    position: relative;
}

a.text-bl::after,
a.text-wh::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

a.text-bl:hover::after,
a.text-wh:hover::after {
    width: 100%;
}

/* Section animations on scroll */
.blog_w3ls,
.services,
.team,
.services-w3ls,
.loan_w3ls,
.gallery {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out;
}

/* Premium shadows */
.card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Smooth focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #1f5fbf;
    box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.1);
}

/* Premium form styling */
.form-control {
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:hover {
    border-color: #1f5fbf;
}

.form-control:focus {
    border-color: #1f5fbf;
    box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.1);
}

/* Icon animations */
.fa {
    transition: all 0.3s ease;
}

.services-box:hover .fa {
    animation: bounce 0.6s ease-out;
}

/* Top bar hover effect */
.top-bar a:hover {
    animation: pulse 0.6s ease-out;
}

/* Smooth scroll behavior for all elements */
html {
    scroll-behavior: smooth;
}

/* //popup */
/* //gallery page */

/* contact */
.contact-agileits-w3layouts h5 {
    color: #424242;
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 1.8;
}

.midd-contact h6 {
    font-size: 22px;
    letter-spacing: 1px;
}

.midd-contact {
    border-left: 2px solid #d84315 !important;
}

p.para-agileits-w3layouts i {
    color: #d84315;
}

p.para-agileits-w3layouts a {
    color: #999;
}

p.para-agileits-w3layouts a:hover,
.w3l-footer ul li a:hover,
p.copy-right-grids a:hover {
}

h4.contact-title {
    letter-spacing: 1px;
}

.map iframe {
    outline: none;
    border: none;
    width: 100%;
    height: 400px;
    display: block;
}

.form-bg-w3ls input[type="text"],
.form-bg-w3ls input[type="email"],
.form-control,
.form-bg-w3ls textarea {
    padding: 12px 10px;
    border-radius: 0;
    letter-spacing: 1px;
    font-size: 15px;
    outline: none;
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.11);
}

.form-bg-w3ls textarea {
    resize: none;
    height: 10em;
}

.form-bg-w3ls button {
    background: #2196f3;
    color: #fff;
    font-size: 15px;
    width: 100%;
    outline: none;
    letter-spacing: 1px;
    padding: 12px 0;
    border-radius: 0px;
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.11);
    transition: .5s ease-in;
    -webkit-transition: .5s ease-in;
    -moz-transition: .5s ease-in;
    -o-transition: .5s ease-in;
    -ms-transition: .5s ease-in;
}

.form-bg-w3ls button:hover {
    letter-spacing: 2px;
    transition: .5s ease-in;
    -webkit-transition: .5s ease-in;
    -moz-transition: .5s ease-in;
    -o-transition: .5s ease-in;
    -ms-transition: .5s ease-in;
}

/* //contact */

/* login page */
form.login-wrapper {
    margin: 0 auto;
    max-width: 500px;
}

.login label {
    font-size: 15px;
    color: #4e4f50;
    font-weight: 600;
    letter-spacing: 1px;
}

.login button {
    background: #d84315;
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 15px;
    padding: 10px 30px;
    text-transform: uppercase;
    border-radius: 0px;
}

.login button:hover {
    letter-spacing:3px;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;	
}

.login p a {
    font-size: 14px;
    color: #002d28;
}

/* //login page */

/* responsive */
@media(max-width: 1440px) {
    .popup {
        margin: 3em auto;
    }

    .banner-info_agile_w3ls {
        padding-top: 15em;
    }

    li.style-bottom-w3 h4 {
        font-size: 36px;
    }

    .triple-sec h5 {
        font-size: 28px;
    }

    .callbacks_tabs {
        bottom: 12%;
        left: 47.5%;
    }

    .main-banner-2 {
        min-height: 260px;
    }
}

@media(max-width: 1366px) {
    .banner-info_agile_w3ls h2,
    .banner-info_agile_w3ls h3 {
        font-size: 56px;
    }

    .banner-info_agile_w3ls {
        padding-top: 14em;
    }

    .triple-sec h5 {
        font-size: 26px;
    }

    li.style-bottom-w3 h4 {
        font-size: 32px;
    }

    li.style-bottom-w3 p {
        font-size: 13px;
    }

    h4.down-list-w3 {
        font-size: 32px;
    }
}

@media(max-width: 1280px) {
    .banner-info_agile_w3ls {
        padding-top: 13em;
    }

    .banner-top1,
    .banner-top2,
    .banner-top3 {
        min-height: 650px;
    }
}

@media(max-width: 1080px) {
    .banner-info_agile_w3ls h2,
    .banner-info_agile_w3ls h3 {
        font-size: 55px;
    }

    .banner-info_agile_w3ls {
        padding-top: 11em;
    }

    .callbacks_tabs {
        bottom: 7%;
        left: 47%;
    }

    .triple-sec:nth-child(2):before {
        left: 0;
    }

    .loan-form-w3ls .form-group label {
        font-size: 14px;
    }

    h3.w3ls-title {
        font-size: 34px;
    }

    .banner-top1,
    .banner-top2,
    .banner-top3 {
        min-height: 580px;
    }

    .box16 .title {
        font-size: 22px;
    }

    .main-banner-2 {
        min-height: 220px;
    }
}

@media(max-width: 1050px) {}

@media(max-width: 1024px) {}

@media(max-width: 991px) {
    .header-w3layouts {
        padding: 0;
    }

    .navbar-light .navbar-toggler {
        border-color: #fff;
        background: #fff;
        border-radius: 0px;
    }

    .banner-info_agile_w3ls h2,
    .banner-info_agile_w3ls h3 {
        font-size: 48px;
    }

    a.button-w3ls {
        font-size: 14px;
        padding: 14px 22px;
    }

    .banner-top1,
    .banner-top2,
    .banner-top3 {
        min-height: 530px;
    }

    .wthree-bottom {
        max-width: 700px;
    }

    .agileits_works-grid1 {
        text-align: center;
    }

    h6.subheading-w3ls {
        font-size: 28px;
    }

    .map iframe {
        height: 350px;
    }
}

@media(max-width: 900px) {}

@media(max-width: 800px) {}

@media(max-width: 768px) {}

@media(max-width: 736px) {
    .header-w3layouts {
        padding: 0 1em;
    }

    .banner-info_agile_w3ls h2,
    .banner-info_agile_w3ls h3 {
        font-size: 40px;
    }

    a.button-w3ls {
        font-size: 13px;
        padding: 13px 22px;
    }

    .banner-top1,
    .banner-top2,
    .banner-top3 {
        min-height: 490px;
    }

    .banner-info_agile_w3ls {
        padding-top: 10em;
    }

    .box16 .box-content {
        bottom: 20%;
    }

    .main-banner-2 {
        min-height: 200px;
    }

    h6.subheading-w3ls {
        font-size: 26px;
    }

    .contact-agileits-w3layouts h5 {
        font-size: 18px;
    }

    .map iframe {
        height: 300px;
    }

    h4.contact-title {
        font-size: 22px;
    }

    .midd-contact h6 {
        font-size: 20px;
    }
}

@media(max-width: 667px) {}

@media(max-width: 640px) {
    h3.w3ls-title {
        font-size: 28px;
    }

    h6.subheading-w3ls {
        font-size: 22px;
    }
}

@media(max-width: 568px) {
    .banner-info_agile_w3ls {
        padding-top: 9em;
    }

    .box16 .box-content {
        margin-bottom: 40px;
    }

    .banner-top1,
    .banner-top2,
    .banner-top3 {
        min-height: 470px;
    }

    ul.list-part li span {
        font-size: 40px;
    }

    .box16 .box-content,
    .box16:after {
        width: 67%;
        right: 0;
        margin: 0 auto;
    }

    .header {
        padding: 8px 0 !important;
    }

    #logo a {
        font-size: 30px;
    }

    .toggle {
        padding: 6px 10px;
        font-size: 14px;
    }

    .main-banner-2 {
        min-height: 160px;
    }
}

@media(max-width: 480px) {
    p {
        font-size: 14px;
    }

    .banner-info_agile_w3ls h2,
    .banner-info_agile_w3ls h3 {
        font-size: 34px;
    }

    .box16 .box-content,
    .box16:after {
        width: 81%;
    }

    nav a,
    .menu .toggle,
    nav ul ul li a {
        font-size: 13px;
    }

    .popup {
        margin: 4em 1em;
    }

    .contact-agileits-w3layouts h5 {
        font-size: 17px;
    }
}

@media(max-width: 440px) {
    .header-top_w3layouts {
        padding: 0;
    }

    .header-top_w3layouts p,
    .header-w3layouts p,
    .top-w3layouts p {
        font-size: 13px;
    }

    a.login-button-2 {
        font-size: 13px;
    }

    .banner-info_agile_w3ls h2,
    .banner-info_agile_w3ls h3 {
        font-size: 32px;
    }

    .banner-info_agile_w3ls {
        padding-top: 8em;
    }

    .banner-top1,
    .banner-top2,
    .banner-top3 {
        min-height: 430px;
    }

    .callbacks_tabs {
        left: 42%;
    }

    .triple-sec h5 {
        font-size: 22px;
    }

    .triple-sec {
        padding: 2em !important;
    }

    li.style-bottom-w3 h4 {
        font-size: 28px;
    }

    h4.down-list-w3 {
        font-size: 28px;
    }

    a.some-small-btn {
        padding: 9px 26px;
    }

    .box16 .box-content,
    .box16:after {
        width: 90%;
    }

    a.button-w3ls {
        padding: 12px 14px;
    }
}

@media(max-width: 414px) {
    .top-right-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .header-top_w3layouts {
        padding: 0 .5em;
        flex: 0 0 50%;
        max-width: 50%;
    }

    a.navbar-brand {
        font-size: 30px;
    }

    .navbar-light .navbar-toggler {
        padding: 2px 8px;
    }

    .box16 .box-content,
    .box16:after {
        width: 95%;
    }
}

@media(max-width: 384px) {
    .w3ls_footer_grid_left1_pos ul li a {
        font-size: 13px;
    }

    .n-right-w3ls input[type="submit"],
    .n-right-w3ls input[type="email"] {
        font-size: 13px;
    }

    ul.list-part li i {
        font-size: 36px;
    }

    .box16 .box-content,
    .box16:after {
        width: 100%;
    }

    .box16 .box-content {
        bottom: 24%;
    }

    .n-right-w3ls button {
        font-size: 14px;
        padding: 15px 10px;
    }

    .main-banner-2 {
        min-height: 140px;
    }

    .popup {
        padding: 3em 1em 1.5em;
        margin: 2em 15px;
    }

    .popup-image-wrapper {
        max-height: 250px;
        padding: 10px;
    }

    .popup-image-wrapper img {
        max-height: 230px;
    }

    .popup-actions {
        gap: 8px;
    }

    .popup-actions a,
    .popup-actions button {
        min-width: 100px;
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media(max-width: 375px) {
    .triple-sec h5 {
        font-size: 20px;
    }

    h3.w3ls-title {
        font-size: 24px;
    }

    h6.subheading-w3ls {
        font-size: 20px;
    }

    .popup {
        padding: 2em 1em;
        margin: 1em 10px;
    }

    .popup-actions a,
    .popup-actions button {
        display: block;
        width: 100%;
        margin: 8px 0;
    }
}

@media(max-width: 320px) {
    h3.w3ls-title {
        font-size: 24px;
    }

    .banner-info_agile_w3ls h2,
    .banner-info_agile_w3ls h3 {
        font-size: 25px;
    }

    .banner-info_agile_w3ls {
        padding-top: 7em;
    }

    .banner-top1,
    .banner-top2,
    .banner-top3 {
        min-height: 360px;
    }

    .callbacks_tabs {
        left: 38%;
    }

    ul.list-part li i {
        font-size: 30px;
    }

    .n-right-w3ls input[type="submit"] {
        padding: 13px 5px;
    }

    .n-right-w3ls input[type="submit"],
    .n-right-w3ls input[type="email"] {
        font-size: 11px;
    }

    .n-right-w3ls input[type="email"] {
        padding: 13px;
    }

    p {
        font-size: 13px;
    }

    .box16 .box-content {
        bottom: 26%;
    }

    .n-right-w3ls button {
        font-size: 13px;
        padding: 13px 10px;
        letter-spacing: 1px;
    }

    ul.list-part li span {
        font-size: 32px;
    }

    .contact-agileits-w3layouts h5 {
        font-size: 16px;
    }

    h4.contact-title {
        font-size: 20px;
    }

    .form-bg-w3ls input[type="text"],
    .form-bg-w3ls input[type="email"],
    .form-control,
    .form-bg-w3ls textarea {
        padding: 11px 10px;
        font-size: 14px;
    }

    .form-bg-w3ls button {
        font-size: 14px;
    }
}

/* //responsive */

/* KC Biotech site polish */
.brand-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 6px;
    vertical-align: middle;
}

.hero-copy {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

.banner-info_agile_w3ls .text-wh {
    color: #4a4f55;
    text-shadow: none;
}

.about-copy-wide {
    max-width: 100%;
}

.value-panel,
.feedback-panel,
.product-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.value-panel,
.feedback-panel {
    padding: 2rem;
    height: 100%;
}

.value-panel h4,
.product-summary h3 {
    color: #1f1f1f;
    font-size: 24px;
    letter-spacing: 1px;
}

.value-list {
    padding-left: 18px;
}

.value-list li {
    color: #666;
    line-height: 1.9;
    margin-bottom: 0.35rem;
}

.section-note {
    max-width: 880px;
}

.product-card {
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
}

.product-card img,
.article-image {
    width: 100%;
}

.product-summary {
    padding: 1.5rem;
}

.product-summary p {
    margin-top: 0.8rem;
}

.cta-strip {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.cta-strip h3 {
    font-size: 30px;
    color: #1f1f1f;
}

.popup-meta,
.article-meta,
.feedback-meta {
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.popup-open {
    overflow: hidden;
}

.article-panel {
    scroll-margin-top: 100px;
}

.article-image {
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #fff;
    padding: 1rem;
}

.article-list {
    padding-left: 18px;
}

.article-list li {
    margin-bottom: 0.5rem;
    color: #666;
    line-height: 1.8;
}

.feedback-list {
    display: grid;
    gap: 1rem;
}

.feedback-card {
    background: #fff;
    border: 1px solid #ececec;
    border-left: 3px solid #d84315;
    padding: 1.25rem;
}

.feedback-card h4 {
    font-size: 20px;
    color: #1f1f1f;
    margin-bottom: 0.4rem;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #f8f9fa;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: #fff;
}

.quick-contact-links .btn,
.form-status__actions .btn {
    min-width: 150px;
}

.form-status {
    display: none;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    border: 1px solid transparent;
}

.form-status p {
    margin: 0;
    letter-spacing: 0.4px;
}

.form-status--success,
.form-status--error,
.form-status--pending,
.form-status--light {
    display: block;
}

.form-status--success {
    background: #edf8ef;
    border-color: #bddfc4;
}

.form-status--error {
    background: #fff2f0;
    border-color: #f3c3ba;
}

.form-status--pending {
    background: #eef4ff;
    border-color: #c5d6f7;
}

.form-status--light {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
}

.form-status--light p {
    color: #fff;
}

.form-status__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.loan-form-w3ls textarea.form-control {
    background: #fff;
    border: none;
    color: #000;
    letter-spacing: 1px;
    font-size: 15px;
    padding: 12px 15px;
    min-height: 120px;
}

.about-image-polish {
    max-width: 92%;
}

a.move-top {
    z-index: 999;
}

@media(max-width: 991px) {
    .value-panel,
    .feedback-panel {
        padding: 1.75rem;
    }

    .about-image-polish {
        max-width: 80%;
    }
}

@media(max-width: 736px) {
    .hero-copy {
        font-size: 15px;
    }

    .form-status__actions {
        flex-direction: column;
    }

    .quick-contact-links .btn,
    .form-status__actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media(max-width: 568px) {
    .value-panel h4,
    .product-summary h3,
    .cta-strip h3 {
        font-size: 22px;
    }

    .about-image-polish {
        max-width: 100%;
    }
}

/* Animated redesign */
:root {
    --kc-bg: #eef5ff;
    --kc-bg-deep: #081423;
    --kc-surface: rgba(255, 255, 255, 0.78);
    --kc-surface-strong: #ffffff;
    --kc-line: rgba(31, 95, 191, 0.14);
    --kc-line-strong: rgba(31, 95, 191, 0.22);
    --kc-ink: #0f172a;
    --kc-muted: #5f6c80;
    --kc-primary: #1f5fbf;
    --kc-primary-soft: #59a7ff;
    --kc-secondary: #16c7b7;
    --kc-accent: #ff7a59;
    --kc-shadow: 0 24px 60px rgba(8, 20, 35, 0.12);
    --kc-shadow-strong: 0 30px 70px rgba(8, 20, 35, 0.18);
    --kc-radius-lg: 28px;
    --kc-radius-md: 20px;
    --kc-radius-sm: 14px;
}

body {
    background:
        radial-gradient(circle at top left, rgba(89, 167, 255, 0.2), transparent 32%),
        radial-gradient(circle at 85% 12%, rgba(22, 199, 183, 0.14), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #edf4ff 48%, #f7fbff 100%);
    color: var(--kc-ink);
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.45;
    z-index: 0;
    animation: kcOrbFloat 18s ease-in-out infinite;
}

body::before {
    top: -9rem;
    left: -7rem;
    background: rgba(31, 95, 191, 0.22);
}

body::after {
    right: -8rem;
    bottom: -12rem;
    background: rgba(22, 199, 183, 0.2);
    animation-delay: -8s;
}

main,
header,
footer,
.copy-w3pvt,
.breadcrumb-agile,
.site-progress {
    position: relative;
    z-index: 1;
}

p,
.value-list li,
.article-list li,
.popup-detail-value,
.popup-description,
.feedback-card p {
    color: var(--kc-muted);
}

.text-bl {
    color: var(--kc-ink) !important;
}

.text-wh {
    color: #fff !important;
}

.top-bar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(8, 20, 35, 0.08);
    position: relative;
    z-index: 20;
}

.top-bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 95, 191, 0.22), transparent);
}

.top-right-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
}

.top-right-info li {
    display: flex;
}

.top-right-info a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(31, 95, 191, 0.08);
    box-shadow: inset 0 0 0 1px rgba(31, 95, 191, 0.1);
    transform: translateY(0);
}

.top-right-info a:hover {
    background: linear-gradient(135deg, var(--kc-primary), var(--kc-secondary));
    box-shadow: 0 18px 32px rgba(31, 95, 191, 0.18);
    transform: translateY(-4px);
}

.top-right-info li span {
    color: inherit;
    opacity: 1;
}

a.login-button-2 {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    background: rgba(31, 95, 191, 0.06);
    box-shadow: inset 0 0 0 1px rgba(31, 95, 191, 0.08);
    opacity: 1;
}

a.login-button-2:hover {
    background: rgba(31, 95, 191, 0.12);
    transform: translateY(-2px);
}

.main-top {
    background: rgba(8, 20, 35, 0.52);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 45px rgba(8, 20, 35, 0.12);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

body.is-scrolled .main-top {
    background: rgba(8, 20, 35, 0.75);
    box-shadow: 0 22px 54px rgba(8, 20, 35, 0.2);
}

#logo a,
.logo2 a {
    letter-spacing: 0.04em;
}

.brand-logo-img {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.15));
}

nav a {
    position: relative;
    padding: 0.95rem 0;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.15rem;
    height: 2px;
    background: linear-gradient(90deg, var(--kc-secondary), #fff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

nav a:hover::after,
nav a.active::after,
nav ul li:hover > a::after {
    transform: scaleX(1);
}

nav ul ul {
    background: rgba(8, 20, 35, 0.92);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 0.75rem 0.9rem;
    box-shadow: 0 20px 45px rgba(8, 20, 35, 0.24);
}

nav ul ul a {
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
}

nav ul ul a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.banner_w3lspvt,
.main-banner-2,
section.loan_w3ls,
footer {
    position: relative;
    overflow: hidden;
}

.banner_slide_bg > li,
section.loan_w3ls,
footer {
    isolation: isolate;
}

.banner_slide_bg > li::before,
.main-banner-2::before,
section.loan_w3ls::before,
footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}

.banner_slide_bg > li::before {
    background: linear-gradient(120deg, rgba(8, 20, 35, 0.82), rgba(8, 20, 35, 0.44) 52%, rgba(31, 95, 191, 0.24));
}

.banner_slide_bg > li::after {
    content: "";
    position: absolute;
    width: 18rem;
    height: 18rem;
    left: 6%;
    bottom: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 199, 183, 0.34), transparent 70%);
    filter: blur(8px);
    animation: kcHeroPulse 9s ease-in-out infinite;
    z-index: 0;
}

.main-banner-2::before {
    background: linear-gradient(135deg, rgba(8, 20, 35, 0.82), rgba(31, 95, 191, 0.42));
}

section.loan_w3ls::before {
    background: linear-gradient(130deg, rgba(8, 20, 35, 0.72), rgba(31, 95, 191, 0.48));
}

footer::before {
    background: linear-gradient(135deg, rgba(8, 20, 35, 0.94), rgba(16, 42, 78, 0.84));
}

.banner_slide_bg > li .container,
section.loan_w3ls > .container,
footer > .container {
    position: relative;
    z-index: 1;
}

.banner-info_agile_w3ls {
    padding-top: 18em;
    padding-bottom: 7em;
    position: relative;
    z-index: 1;
}

.banner-info_agile_w3ls h2,
.banner-info_agile_w3ls h3 {
    font-size: clamp(2.7rem, 6vw, 4.9rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-shadow: 0 18px 40px rgba(8, 20, 35, 0.28);
}

.banner-info_agile_w3ls .text-wh {
    color: #fff !important;
    text-shadow: 0 18px 40px rgba(8, 20, 35, 0.28);
}

.hero-copy {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
}

.title-section {
    position: relative;
    display: inline-block;
}

.title-section::after {
    content: "";
    display: block;
    width: 92px;
    height: 4px;
    margin-top: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--kc-primary), var(--kc-secondary));
}

h3.w3ls-title,
h2.w3ls-title {
    font-size: clamp(2rem, 3vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

h6.w3ls-title-sub {
    color: var(--kc-primary);
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

a.button-w3ls,
a.blog-btn,
.button-w3layouts,
button.btn_apt,
.n-right-w3ls button,
.popup-actions a,
.popup-actions button {
    position: relative;
    overflow: hidden;
    border-radius: 999px !important;
    border: 1px solid transparent;
    box-shadow: 0 16px 34px rgba(8, 20, 35, 0.16);
    letter-spacing: 0.08em !important;
    font-weight: 700;
    transform: translateY(0);
}

a.button-w3ls::before,
a.blog-btn::before,
.button-w3layouts::before,
button.btn_apt::before,
.n-right-w3ls button::before,
.popup-actions a::before,
.popup-actions button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 45%, rgba(255, 255, 255, 0.26));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

a.button-w3ls:hover::before,
a.blog-btn:hover::before,
.button-w3layouts:hover::before,
button.btn_apt:hover::before,
.n-right-w3ls button:hover::before,
.popup-actions a:hover::before,
.popup-actions button:hover::before {
    transform: translateX(100%);
}

a.button-w3ls,
.popup-contact-btn {
    background: linear-gradient(135deg, var(--kc-accent), #ff956f);
}

a.blog-btn,
.button-w3layouts,
button.btn_apt,
.n-right-w3ls button,
.popup-inquiry-btn {
    background: linear-gradient(135deg, var(--kc-primary), var(--kc-primary-soft));
}

a.button-w3ls:hover,
a.blog-btn:hover,
.button-w3layouts:hover,
button.btn_apt:hover,
.n-right-w3ls button:hover,
.popup-actions a:hover,
.popup-actions button:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(8, 20, 35, 0.22);
}

.button-w3layouts[disabled],
button.btn_apt[disabled],
.n-right-w3ls button[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.button-w3layouts[disabled]::before,
button.btn_apt[disabled]::before,
.n-right-w3ls button[disabled]::before {
    opacity: 0;
}

main section,
.map,
.copy-w3pvt {
    position: relative;
}

main section {
    scroll-margin-top: 110px;
}

.med-blog,
.value-panel,
.feedback-panel,
.product-card,
.cta-strip,
.form-bg-w3ls,
.popup,
.article-image,
.map iframe {
    border-radius: var(--kc-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.88));
    box-shadow: var(--kc-shadow);
}

.med-blog,
.value-panel,
.feedback-panel,
.product-card,
.cta-strip,
.feedback-card,
.popup-detail-card,
.article-image,
.map iframe,
.form-bg-w3ls {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

.med-blog:hover,
.value-panel:hover,
.feedback-panel:hover,
.product-card:hover,
.cta-strip:hover,
.feedback-card:hover,
.popup-detail-card:hover,
.article-image:hover,
.map iframe:hover,
.form-bg-w3ls:hover {
    transform: translateY(-10px);
    box-shadow: var(--kc-shadow-strong);
    border-color: var(--kc-line-strong);
}

.med-blog .card-header,
.product-card,
.popup-image-wrapper {
    overflow: hidden;
}

.med-blog img,
.product-card img {
    transition: transform 0.8s ease;
}

.med-blog:hover img,
.product-card:hover img {
    transform: scale(1.06);
}

.card-body,
.product-summary,
.feedback-panel,
.value-panel,
.cta-strip {
    padding: 1.8rem;
}

.blog-title,
.value-panel h4,
.feedback-card h4,
.product-summary h3,
.cta-strip h3,
h4.contact-title,
h6.subheading-w3ls {
    color: var(--kc-ink);
}

.feedback-card {
    position: relative;
    border: 1px solid rgba(31, 95, 191, 0.08);
    border-left: none;
    border-radius: var(--kc-radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 34px rgba(8, 20, 35, 0.08);
    overflow: hidden;
}

.feedback-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--kc-primary), var(--kc-secondary));
}

.breadcrumb-agile {
    width: calc(100% - 2rem);
    max-width: 1140px;
    margin: -34px auto 0;
    padding: 0.95rem 1.4rem !important;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 44px rgba(8, 20, 35, 0.1);
    z-index: 8;
}

.breadcrumb li,
.breadcrumb li a {
    color: var(--kc-ink);
}

.breadcrumb li a {
    color: var(--kc-primary);
}

.main-banner-2 {
    min-height: 360px;
}

.form-bg-w3ls input[type="text"],
.form-bg-w3ls input[type="email"],
.form-bg-w3ls textarea,
.loan-form-w3ls input.form-control,
.loan-form-w3ls textarea.form-control,
select.form-control,
.n-right-w3ls input[type="email"] {
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(31, 95, 191, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.form-bg-w3ls textarea,
.loan-form-w3ls textarea.form-control {
    min-height: 140px;
}

.form-control:focus,
.form-bg-w3ls textarea:focus,
select.form-control:focus {
    border-color: rgba(31, 95, 191, 0.4);
    box-shadow: 0 0 0 4px rgba(31, 95, 191, 0.14);
}

.map {
    padding: 1.25rem !important;
}

.map iframe {
    width: 100%;
    min-height: 460px;
    border: 0;
}

.popup-effect {
    background: rgba(6, 12, 25, 0.72);
    backdrop-filter: blur(14px);
    padding: 2rem 1rem;
}

.popup {
    max-width: 1120px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2rem;
}

.popup-image-wrapper {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(238, 245, 255, 0.96), rgba(255, 255, 255, 0.88));
}

.popup .close {
    width: 48px;
    height: 48px;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(8, 20, 35, 0.78);
    color: #fff;
    box-shadow: 0 14px 28px rgba(8, 20, 35, 0.18);
}

.popup .close:hover {
    background: linear-gradient(135deg, var(--kc-primary), var(--kc-secondary));
    color: #fff;
}

.popup-detail-card {
    border-radius: 18px;
    border: 1px solid rgba(31, 95, 191, 0.1);
    background: rgba(244, 248, 255, 0.86);
}

.popup-detail-label {
    color: var(--kc-primary);
    font-weight: 700;
}

.popup-highlight-block {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 255, 0.86));
    border: 1px solid rgba(31, 95, 191, 0.08);
}

footer p.text-li,
footer a.text-wh,
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover,
footer a.text-wh:hover {
    color: #fff;
}

.copy-w3pvt {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
}

.w3ls_footer_grid1_left p,
.w3ls_footer_grid_left1_pos ul li a {
    color: var(--kc-ink);
}

.w3ls_footer_grid_left1_pos ul li a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(31, 95, 191, 0.08);
}

.w3ls_footer_grid_left1_pos ul li a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--kc-primary), var(--kc-secondary));
}

a.move-top {
    width: 54px;
    height: 54px;
    right: 1.4rem;
    bottom: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kc-primary), var(--kc-secondary));
    box-shadow: 0 18px 34px rgba(31, 95, 191, 0.26);
}

a.move-top::before {
    content: "\f106";
    font-family: FontAwesome;
    font-size: 1.1rem;
    color: #fff;
}

.site-progress {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    transform-origin: left;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--kc-secondary), var(--kc-primary), var(--kc-accent));
    box-shadow: 0 0 18px rgba(31, 95, 191, 0.4);
    z-index: 2000;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

body.is-ready .banner-info_agile_w3ls > * {
    animation: kcLiftIn 0.9s both;
}

body.is-ready .banner-info_agile_w3ls h2,
body.is-ready .banner-info_agile_w3ls h3 {
    animation-delay: 0.08s;
}

body.is-ready .banner-info_agile_w3ls p {
    animation-delay: 0.22s;
}

body.is-ready .banner-info_agile_w3ls .btn {
    animation-delay: 0.34s;
}

@keyframes kcLiftIn {
    from {
        opacity: 0;
        transform: translateY(36px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kcOrbFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(1.25rem, -1.5rem, 0) scale(1.06);
    }
}

@keyframes kcHeroPulse {
    0%,
    100% {
        transform: scale(1) translate3d(0, 0, 0);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.08) translate3d(1rem, -0.75rem, 0);
        opacity: 0.95;
    }
}

@media(max-width: 991px) {
    .top-right-info {
        justify-content: center;
        margin-top: 0.75rem;
    }

    .main-top {
        background: rgba(8, 20, 35, 0.76);
    }

    .breadcrumb-agile {
        margin-top: -24px;
    }

    .popup {
        padding: 1.5rem;
    }
}

@media(max-width: 736px) {
    .banner-info_agile_w3ls {
        padding-top: 14em;
        padding-bottom: 5em;
    }

    .top-right-info {
        gap: 0.6rem;
        flex-wrap: wrap;
    }

    .card-body,
    .product-summary,
    .feedback-panel,
    .value-panel,
    .cta-strip,
    .form-bg-w3ls {
        padding: 1.4rem;
    }

    .map {
        padding: 0.75rem !important;
    }
}

@media(max-width: 568px) {
    .breadcrumb-agile {
        width: calc(100% - 1rem);
        padding: 0.85rem 1rem !important;
    }

    .map iframe {
        min-height: 320px;
    }

    .popup {
        padding: 1.15rem;
        border-radius: 24px;
    }

    a.move-top {
        width: 48px;
        height: 48px;
        right: 1rem;
        bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Product frame polish */
.gallery .product-card,
#featured-products .med-blog {
    border-radius: 32px;
}

.gallery .product-card > a,
#featured-products .med-blog .card-header,
.popup-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(89, 167, 255, 0.16), transparent 62%),
        linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(237, 245, 255, 0.95));
}

.gallery .product-card > a,
#featured-products .med-blog .card-header {
    min-height: 320px;
    aspect-ratio: 5 / 4;
    padding: 1.7rem;
}

.popup-image-wrapper {
    min-height: 420px;
    padding: 2rem;
    border-radius: 28px;
}

.gallery .product-card > a::before,
#featured-products .med-blog .card-header::before,
.popup-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94));
    box-shadow:
        inset 0 0 0 1px rgba(31, 95, 191, 0.08),
        inset 0 16px 28px rgba(89, 167, 255, 0.06);
}

.gallery .product-card > a img,
#featured-products .med-blog .card-header .card-img-bottom,
.popup-image-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.12));
}

.gallery .product-card > a img,
#featured-products .med-blog .card-header .card-img-bottom {
    max-height: 248px;
}

.popup-image-wrapper img {
    max-height: 360px;
}

.gallery .product-card:hover > a img,
#featured-products .med-blog:hover .card-header .card-img-bottom,
.popup:hover .popup-image-wrapper img {
    transform: scale(1.04);
}

.gallery .product-summary,
#featured-products .med-blog .card-body {
    border-top: 1px solid rgba(31, 95, 191, 0.08) !important;
    border-radius: 0 0 32px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92));
}

#featured-products .med-blog .card-body {
    border-left-color: rgba(31, 95, 191, 0.08) !important;
    border-right-color: rgba(31, 95, 191, 0.08) !important;
    border-bottom-color: rgba(31, 95, 191, 0.08) !important;
}

.gallery .product-summary {
    padding: 1.5rem 1.5rem 1.65rem;
}

.gallery .product-summary h3,
#featured-products .med-blog .blog-title {
    letter-spacing: -0.01em;
}

.gallery .product-summary p,
#featured-products .med-blog .card-body p {
    min-height: 3.4em;
}

@media(max-width: 991px) {
    .gallery .product-card > a,
    #featured-products .med-blog .card-header {
        min-height: 290px;
    }

    .gallery .product-card > a img,
    #featured-products .med-blog .card-header .card-img-bottom {
        max-height: 220px;
    }

    .popup-image-wrapper {
        min-height: 360px;
    }
}

@media(max-width: 736px) {
    .gallery .product-card,
    #featured-products .med-blog,
    .gallery .product-summary,
    #featured-products .med-blog .card-body {
        border-radius: 26px;
    }

    .gallery .product-card > a,
    #featured-products .med-blog .card-header {
        min-height: 260px;
        padding: 1.35rem;
    }

    .gallery .product-card > a::before,
    #featured-products .med-blog .card-header::before,
    .popup-image-wrapper::before {
        inset: 10px;
        border-radius: 20px;
    }

    .gallery .product-card > a img,
    #featured-products .med-blog .card-header .card-img-bottom {
        max-height: 195px;
    }

    .popup-image-wrapper {
        min-height: 300px;
        padding: 1.35rem;
    }

    .popup-image-wrapper img {
        max-height: 250px;
    }
}

/* Home page sizing and anchor polish */
.home-page #why .med-blog,
.home-page #featured-products .med-blog,
.home-page #blog .med-blog {
    border-radius: 34px;
}

.home-page #why .med-blog .card-header,
.home-page #blog .med-blog .card-header {
    min-height: 260px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.home-page #why .med-blog .card-header .card-img-bottom,
.home-page #blog .med-blog .card-header .card-img-bottom {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.home-page #why .med-blog .card-body,
.home-page #featured-products .med-blog .card-body,
.home-page #blog .med-blog .card-body {
    padding: 2rem 1.9rem 2.1rem;
}

.home-page #featured-products .med-blog .card-header {
    min-height: 340px;
    padding: 1.95rem;
}

.home-page #featured-products .med-blog .card-header .card-img-bottom {
    max-height: 260px;
}

.about-image-polish {
    display: block;
    width: 100%;
    max-width: 92%;
    margin: 0 auto;
    padding: 0.85rem;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 245, 255, 0.95));
    border: 1px solid rgba(31, 95, 191, 0.1);
    box-shadow: 0 24px 52px rgba(8, 20, 35, 0.12);
}

#featured-products,
#contact-form,
#feedback,
#insights,
#digestive-enzymes,
#immunity-boosters,
#liver-health,
#stomach-care,
#veterinary-awareness,
#services,
#blog {
    scroll-margin-top: 7.5rem;
}

@media(max-width: 991px) {
    .home-page #why .med-blog .card-header,
    .home-page #blog .med-blog .card-header {
        min-height: 236px;
    }

    .home-page #why .med-blog .card-header .card-img-bottom,
    .home-page #blog .med-blog .card-header .card-img-bottom {
        height: 236px;
    }

    .home-page #featured-products .med-blog .card-header {
        min-height: 305px;
        padding: 1.65rem;
    }

    .home-page #featured-products .med-blog .card-header .card-img-bottom {
        max-height: 228px;
    }

    .about-image-polish {
        max-width: 86%;
        padding: 0.75rem;
        border-radius: 28px;
    }
}

@media(max-width: 736px) {
    .home-page #why .med-blog,
    .home-page #featured-products .med-blog,
    .home-page #blog .med-blog {
        border-radius: 26px;
    }

    .home-page #why .med-blog .card-header,
    .home-page #blog .med-blog .card-header {
        min-height: 220px;
    }

    .home-page #why .med-blog .card-header .card-img-bottom,
    .home-page #blog .med-blog .card-header .card-img-bottom {
        height: 220px;
    }

    .home-page #why .med-blog .card-body,
    .home-page #featured-products .med-blog .card-body,
    .home-page #blog .med-blog .card-body {
        padding: 1.6rem 1.45rem 1.8rem;
    }

    .about-image-polish {
        max-width: 100%;
        padding: 0.6rem;
        border-radius: 24px;
    }
}

/* Font Awesome 4 to 6 fallback for any cached or legacy markup. */
.fa-file-text-o::before {
    content: "\f15c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
