.services-section {
    background-color: #f9f9f9;
}

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card h4 {
    color: #00a2d3;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 1rem;
    color: #444;
}

.section-divider {
    width: 200px;
    height: 4px;
    background-color: #00a2d3;
    margin: 15px auto 30px;
    /*animation: growBorder 1s forwards;*/
}

@keyframes growBorder {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 200px;
        opacity: 1;
    }
}


/* Menu Link Style */

.track-section {
    color: #fff;
    position: relative;
    margin-top: 3em;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    margin-top: 6em;
}

.track-content {
    background-color: #fff;
    color: #000;
    padding: 4em;
    text-align: left;
    box-shadow: 0 0 17px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: -80px;
}

.fian-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-top: 1em;
    color: #fff;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-top: 1em;
    color: #000;
}

.fian-subtitle {
    margin-bottom: 4em !important;
}

.track-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.track-subtitle {
    font-size: 18px;
    color: #000;
    line-height: 30px;
}

.btn-track {
    font-family: 'Montserrat', sans-serif;
    background: #00a2d3;
    color: #fff;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: block;
    width: 330px;
    text-align: center;
}

.btn-track:hover {
    background: #00a2d3;
    color: #fff;
    box-shadow: 0 23px 28px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

.nav li {
    display: inline-block;
    margin-left: 20px;
}

.nav a {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    text-decoration: none;
    color: #081c54;
    font-weight: 600;
    transition: color 0.3s ease;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
    background-color: #fff;
    padding: 0.5em 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.mgrow-slider {
    margin-top: 6.4em;
}

section.mgrow-info {
    padding: 0em 0;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black overlay */
    pointer-events: none;
}

section.mgrow-info {
    padding: 0em 0;
}


/* Bottom Border Hover Effect */

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #00a2d3;
    /* Change to match your theme */
    transition: width 0.3s ease;
}


/* On Hover */

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: #00a2d3;
}

.head-menu ul {
    padding: 0;
    margin: 0;
    text-align: right;
}

.copyright p {
    color: #fff;
    margin: 0;
}


/* Optional: change text color on hover */


/* Owl Carousel dots container */

.mgrow-slider .owl-dots {
    text-align: center;
    margin-top: 20px;
    position: absolute;
    bottom: 40px;
    width: 100%;
    left: 0;
    right: 0;
}


/* Default dot style */

.mgrow-slider .owl-dot span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    margin: 5px;
    transition: all 0.4s ease-in-out;
    position: relative;
    background: #fff !important;
}


/* On hover */

.mgrow-slider .owl-dot:hover span {
    background: #00a2d3 !important;
    width: 30px;
    border-radius: 20px;
    transition: all 0.4s ease-in-out;
}

.mgrow-slider .owl-dot:focus {
    outline: 0;
    border: 0;
}


/* When active */

.mgrow-slider .owl-dot.active span {
    background: #00a2d3 !important;
    width: 30px;
    border-radius: 20px;
    transition: all 0.4s ease-in-out;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: auto;
}

.slider-content {
    width: 60%;
    position: absolute;
    left: 0;
    z-index: 9;
    background-color: rgb(0 0 0 / 50%);
    top: 100px;
    border-radius: 40px;
    border-top-right-radius: 0;
    padding: 2em;
}

.mgrow-slider .item {
    background-size: cover;
    height: 600px;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
}

.slider-content {
    width: 70%;
    position: absolute;
    left: 0;
    z-index: 9;
    background-color: rgb(0 0 0 / 50%);
    top: 100px;
    border-radius: 40px;
    border-top-right-radius: 0;
    padding: 4em
}

.slider-content h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    text-transform: capitalize;
}

.slider-content h3 {
    color: #fff;
    font-size: 23px;
    font-weight: 400;
    line-height: 35px;
    margin-top: 1em;
}

.head-logo img {
    width: 100%;
    height: auto;
}

.head-logo h2 {
    margin: 0;
    font-weight: 700;
}


/* Banner slider */

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.carousel-caption h5 {
    font-size: 2rem;
    color: #fff;
}


/* Company Info Section */

.fian-sec {
    background-image: linear-gradient(to bottom, #dde5e7, #1d516b);
}

section.text-center .counter {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background-color: #fff;
    width: 115px;
    height: 115px;
    color: #384044;
    /* padding: 20px; */
    border-radius: 61px;
    border: 6px solid #2d90c3;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 40px;
    font-weight: 600;
    margin: 0 auto;
    margin-bottom: 20px;
}

.abt-content {
    text-align: center;
}

.abt-content h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.fian-sec {
    background-image: url(http://mgrowgroupinvest.com/wp-content/uploads/2025/07/casual-businessman.jpg);
    height: 540px;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

section.text-center p {
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 2em;
}

.stats-section .counter {
    font-size: 2.8rem;
    font-weight: 700;
    color: #081c54;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
}

.stats-section p {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.repyment-form {
    width: 100%;
    padding: 2em;
    display: block;
    justify-content: center;
}

.loan-repayment-form input {
    height: 50px;
}

.loan-payment-history-part {
    display: block;
    width: 100%;
    clear: both;
}

.repyment-form .loan-repayment-form {
    display: block;
    gap: 20px;
    width: 100%;
    margin: 0;
    justify-content: center;
    text-align: center;
    padding: 16px 20px;
}

.form-etc-btns {
    display: inline-flex;
    justify-content: flex-end;
    gap: 20px;
}

.back-to-home-btn {
    background: #fff;
    color: #fff;
    padding: 10px 10px;
    font-size: 25px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
    text-transform: uppercase;
    width: 55px;
    height: 55px;
    text-align: center;
    background-image: linear-gradient(92.88deg, #181e53 9.16%, #1e5c88 43.89%, #3d669c 64.72%);
}

.back-to-home-btn:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}


/* Footer CSS */

footer {
    background-color: #3b464d;
    color: #fff;
}

.copyright {
    border-top: 1px solid #737070;
    padding-top: 2em;
}

footer p {
    margin-bottom: 0;
}

.foot-divider {
    height: 2px;
    background-color: #fff;
    width: 100px;
    margin-bottom: 1em;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #00a2d3;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: #fff;
}

#preloader .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#preloader .spinner img {
    width: 60px;
    height: 60px;
    border: 0;
}

.hero-banner {
    height: 100vh;
    background: linear-gradient(135deg, #081c54, #26386e);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    z-index: 2;
    position: relative;
}

.orbit-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: auto;
    z-index: 9;
    margin-left: 7%;
    margin-top: 12%;
}

.orbit-border {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dotted white;
    border-radius: 50%;
    z-index: 0;
}


/* Main rotating wrapper */

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    animation: rotateOrbit 8s linear infinite;
}

.icon {
    width: 80px;
    height: 80px;
    background: white;
    color: #007baf;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 29px;
    position: absolute;
    top: -157px;
    left: -47px;
}


/* Offsets for timing */

.icon-2 {
    animation-delay: 2.66s;
}

.icon-3 {
    animation-delay: 5.33s;
}

@keyframes rotateOrbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.ltp-forgot-token-form {
    width: 700px !important;
    margin: 0 auto;
}

.ltp-forgot-token {
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 20px;
}

form.ltp-forgot-token-form h3 {
    font-weight: 600 !important;
    text-transform: uppercase;
    margin: 0.5em 0;
    color: #000 !important;
    padding-bottom: 0;
    font-size: 24px;
}

.ltp-forgot-token .back-to-home-btn {
    width: 85px;
}

form.ltp-forgot-token-form p {
    text-align: center;
}

.loan-payment-user-form {
    background-image: url('http://mgrowgroupinvest.com/wp-content/uploads/2025/07/back-invest.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    height: 100vh;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px;
}

.loan-payment-user-form form {
    background-color: #fff;
    width: 100%;
    margin: 0 auto;
    padding: 1em;
}

.loan-payment-user-form form input {
    width: 300px;
    border: 1px solid #000;
    font-size: 15px;
    padding: 10px;
}

.loan-payment-user-form form button {
    width: 200px;
    border: 1px solid #000;
    font-size: 15px;
    padding: 10px;
}

.forgot-token-success {
    color: green;
    text-align: center;
    border: 1px solid green;
    width: 700px;
    margin: 0 auto;
    background-color: #fff;
    margin-top: 20px;
    padding: 0.5em;
}

.forgot-token-error {
    color: red;
    text-align: center;
    border: 1px solid red;
    width: 700px;
    margin: 0 auto;
    background-color: #fff;
    margin-top: 20px;
    padding: 0.5em;
}

.forgot-token {
    text-align: center;
    display: inline-flex;
    line-height: 50px;
    margin: 0;
}

.forgot-token a:hover {
    color: #fff;
    text-decoration: none;
}

.loan-payment-user-form {
    background-image: url('http://mgrowgroupinvest.com/wp-content/uploads/2025/07/back-invest.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    height: 100vh;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px;
}

.loan-payment-user-form form {
    background-color: #fff;
    width: 100%;
    margin: 0 auto;
    padding: 1em;
}

.loan-payment-user-form form input {
    width: 300px;
    border: 1px solid #000;
    font-size: 15px;
    padding: 10px;
}

.loan-payment-user-form form button {
    width: 200px;
    border: 1px solid #000;
    font-size: 15px;
    padding: 10px;
}

section.loan-payment-user-form table {
    background-color: #fff;
    padding: 10px;
}

section.loan-payment-user-form h3 {
    font-size: 20px;
    padding: 1em 0;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
}

.loan-payment-user-form ul {
    padding: 0;
    margin: 0;
    margin-bottom: 2em;
    display: inline-flex;
    gap: 57px;
    list-style-type: none;
    color: #fff;
}

.loan-form h2 {
    margin: 0;
    padding-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.loan-create-form {
    background-image: url('http://mgrowgroupinvest.com/wp-content/uploads/2025/07/back-invest.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    min-height: 100vh;
    overflow: hidden;
    padding: 1em;
}

.loan-form input,
.loan-form textarea {
    width: 100%;
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
}

.loan-form select {
    width: 100%;
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #757575;
}

.loan-form input {
    height: 40px;
}

.loan-form textarea {
    height: 80px;
}

.loan-form {
    text-align: center;
    width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
}

.loan-alert-message {
    font-size: 18px;
    color: #000;
    border: 2px solid green;
    margin-top: 10px;
    padding: 5px;
}

@media only screen and (max-width: 991px) {
    .loan-payment-user-form form {
        width: 80%;
        text-align: center;
        align-items: center;
    }
    .forgot-token {
        float: none;
        margin: 0;
    }
    .forgot-token a {
        display: block;
        margin-top: 20px;
        width: 230px;
        margin: 0 auto;
        margin-top: 1em;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 992px) {
    .mgrow-slider .item {
        height: 500px;
    }
    .repyment-form {
        display: block;
    }
    .repyment-form .loan-repayment-form {
        display: block;
        width: 100%;
    }
    .form-etc-btns {
        display: block;
        width: 100%;
        text-align: center;
    }
    .slider-content h1 {
        font-size: 30px;
        line-height: 40px;
    }
    .slider-content h3 {
        font-size: 20px;
        line-height: 30px;
    }
    .slider-content {
        width: 80%;
        top: 80px;
        padding: 3em;
    }
    .track-title {
        font-size: 28px;
    }
    .head-logo {
        text-align: center;
    }
    .head-logo img {
        width: auto;
        height: 127px;
    }
    .head-menu {
        display: none;
    }
    .orbit-container {
        width: 200px;
        height: 200px;
        margin-left: 7%;
        margin-top: 15%
    }
    .icon {
        top: -133px;
        left: -47px;
    }
}

@media only screen and (max-width: 768px) {
    .stats-section .counter {
        font-size: 2rem;
    }
    .loan-create-form {
        height: auto;
        padding: 1em 0;
    }
    .loan-form {
        width: 100%;
        padding: 40px 20px;
    }
    .head-logo img {
        width: auto;
        height: 100px;
    }
    .slider-content h1 {
        font-size: 31px;
        line-height: 40px;
    }
    .slider-content h1 {
        font-size: 31px;
        line-height: 40px;
    }
    .head-menu {
        display: none;
    }
    .slider-content {
        width: 101%;
        top: 44px;
        padding: 2em 3em;
    }
    .mgrow-slider .item {
        height: 450px;
    }
    .fian-sec {
        height: auto;
        background-position: center right;
    }
    .fian-subtitle {
        margin-bottom: 2em!important;
    }
    .section-title {
        padding-top: 0em;
    }
    .services-section .row {
        gap: 20px;
    }
    .track-content a.btn-track {
        display: block;
        margin: 0 auto;
    }
    .track-content {
        width: 80%;
        padding: 2em 2em;
    }
    .why-text {
        padding-top: 3em;
    }
    .track-section {
        margin-top: 3em;
        height: 452px;
        margin-top: 6em;
    }
    .track-content {
        padding: 4em;
        top: 50px;
    }
    .ltp-forgot-token-form {
        width: 100% !important;
    }
    .forgot-token-success {
        width: 100%;
    }
    .forgot-token-error {
        width: 100%;
    }
    .loan-payment-user-form form input {
        width: 100%;
        margin-bottom: 1em;
    }
    .loan-payment-user-form ul {
        display: block !important;
    }
    .table-responsive {
        overflow: auto;
    }
    .loan-payment-user-form {
        overflow: visible;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .loan-payment-user-form form {
        text-align: center;
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .mgrow-slider {
        margin-top: 7.4em;
    }
    .mgrow-slider .item {
        height: 400px;
    }
    .ltp-forgot-token {
        margin: 0 auto;
        display: block;
    }
    .ltp-forgot-token button.blue-btn {
        margin: 0 auto;
        display: inline-flex;
    }
    form.ltp-forgot-token-form h3 {
        font-size: 23px;
        padding: 0;
    }
    .ltp-forgot-token .back-to-home-btn {
        text-align: center;
        padding: 8px;
        margin: 0 auto;
        vertical-align: middle;
        display: inline-block;
        width: 55px;
    }
    .orbit-container {
        width: 150px;
        height: 150px;
        margin: 0 auto;
        z-index: 99999;
        margin-top: 119PX;
    }
    .icon {
        width: 60px;
        height: 60px;
        top: -106px;
        left: -47px;
    }
    .slider-content {
        width: 90%;
        top: 44px;
        left: 0;
        margin: 0 auto;
        right: 0;
    }
    .slider-content h1 {
        font-size: 25px;
        line-height: 35px;
    }
    .slider-content h3 {
        font-size: 16px;
        line-height: 25px;
    }
    .section-title {
        font-size: 30px;
    }
    .track-content {
        width: 100%;
        padding: 2em 2em;
        position: static;
        margin-top: 4em;
    }
    .btn-track {
        font-size: 15px;
        width: 100%;
    }
    .track-section {
        margin-top: 3em;
    }
    .loan-payment-user-form form input {
        width: 100%;
        margin-bottom: 1em;
    }
    .loan-payment-user-form form {
        text-align: center;
    }
    section.loan-payment-user-form table {
        background-color: #fff;
        padding: 10px;
        width: 800px !important;
    }
}

@media only screen and (max-width: 460px) {}


/* Preloader container */

#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /* or #081c54 for dark */
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Spinner animation */

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #081c54;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


/* Animation keyframes */

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 768px) {
    .abt-content h2 {
        font-size: 30px;
    }
    .fian-title {
        font-size: 30px;
    }
    .track-title {
        font-size: 30px;
    }
    .counter-div {
        display: block;
        height: 100%;
        align-items: center;
        justify-content: center;
        text-align: left;
        margin: 0.5em 0;
    }
    section.text-center .counter {
        margin-bottom: 0;
        margin: 0;
        display: inline-flex;
        margin-right: 1em;
        font-size: 30px;
        width: 100px;
        height: 100px;
    }
    section.text-center p {
        margin-bottom: 0;
        margin: 0;
        display: inline-flex;
    }
}

@media screen and (max-width: 600px) {
    .head-logo {
        text-align: center;
    }
    .head-logo img {
        width: 300px;
        height: auto;
        margin: 0 auto;
        text-align: center;
    }
    section.mgrow-info {
        padding: 0em 0;
    }
    div#financial {
        padding-bottom: 50px !important;
    }
    .back-to-home-btn {
        padding: 5px 10px;
        width: 50px;
        height: 50px;
        display: inline-block;
        vertical-align: middle;
    }
    .counter-div {
        width: 82%;
        margin: 0 auto;
        margin-bottom: 1em;
    }
    .head-menu {
        display: none;
    }
    .abt-content h2 {
        font-size: 25px;
    }
    .fian-title {
        font-size: 25px;
    }
    .track-title {
        font-size: 25px;
    }
    .track-subtitle {
        font-size: 18px !important;
    }
}