/********** Template CSS **********/


:root {
    --primary: #0B49D3;
    --secondary: #17BC0A;
    --tertiary: #555555;
    --light: #DFE4FD;
    --dark: #011A41;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/* Logo */
.responsive-logo {
    max-width: 200px;
    height: auto;
    display: block;
  }
  

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;

    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/tools-header.png) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Facts ***/
.facts {
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    padding: 4rem 0;
}

.team-item img {
    position: relative;
    z-index: 2;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}

.team-item .team-text h4 {
    transition: .5s;
}

.team-item:hover .team-text h4 {
    color: #FFFFFF;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #FFFFFF transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}

/* Finance Calculator CSS newly added */
.finance-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}
.finance-calculator {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.finance-input, .finance-button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}
.finance-button {
    background-color: #0B49D3;
    color: white;
    cursor: pointer;
}
.finance-button:hover {
    background-color: #0B49D3;
}
.finance-progress {
    width: 100%;
    height: 10px;
    background: #ccc;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}
.finance-progress-bar {
    height: 100%;
    background: #0B49D3;
    width: 0%;
    transition: width 0.5s;
}
/* Finance Calculator CSS newly added */

/* About us new comp css */
.unique-mission-values-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 60px;
    /* background: #f9f9f9; */
    border-radius: 12px;
}
.unique-mission, .unique-core-values {
    /* background: #ffffff; */
    padding: 20px;
    /* border-radius: 8px; */
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
}
.unique-icon {
    font-size: 24px;
    margin-right: 10px;
}
.unique-value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}
.unique-value-item p {
    margin: 0;
}
@media (max-width: 768px) {
    .unique-mission-values-container {
        grid-template-columns: 1fr;
    }
}
/* About us new comp css end */

/* Meet founder comp css */

.unique-founder-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
    text-align: center;
    justify-content: center;
}
.unique-founder-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}
.unique-founder-info {
    flex: 1;
    text-align: center;
}
.unique-linkedin-link {
    display: inline-block;
    margin-top: 10px;
    color: #0077b5;
    text-decoration: none;
    font-weight: bold;
}
.unique-linkedin-link:hover {
    text-decoration: underline;
}

.unique-contact-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    justify-content: center;
}
.unique-contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0077b5;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
}
.unique-contact-icon:hover {
    background: #005f8b;
}

.unique-call {
    background: #ff9800;
}
.unique-email {
    background: #d32f2f;
}
.unique-whatsapp {
    background: #25d366;
}
.unique-contact-icon:hover {
    opacity: 0.8;
}
/* Meet founder comp css end */

/* Tools page css */
.unique-financial-hero {
    display: flex;

    /* flex-wrap: wrap;  */

    align-items: center;
    justify-content: space-evenly;
    text-align: left;
    /* background: linear-gradient(135deg, #1e3c72, #2a5298); */
    /* color: white; */
    padding: 80px 40px;
    /* border-radius: 10px; */
    gap: 40px;

    overflow-x: hidden;
    
}
.unique-hero-content {
    max-width: 600px;
}
.unique-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.unique-hero-content p {
    font-size: 1.5rem;
    margin-bottom: 25px;
    line-height: 1.6;
}
.unique-hero-button {
    display: inline-block;
    padding: 14px 28px;
    background: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
}
.unique-hero-button:hover {
    background: #e68900;
}
.unique-hero-image {
    width: 400px;
    height: auto;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .unique-financial-hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    .unique-hero-content {
        text-align: center;
    }
}

.unique-financial-benefits {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    /* background: #f4f4f4; */
    border-radius: 10px;
}
.unique-benefit {
    max-width: 300px;
}
.unique-benefit-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}
.unique-benefit h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.unique-benefit p {
    font-size: 1.2rem;
    color: #555;
}
@media (max-width: 768px) {
    .unique-financial-benefits {
        flex-direction: column;
        gap: 20px;
    }
}

/* Tools page css end */

/* Service page css */

.unique-services-overview {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
}

.unique-services-overview h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.unique-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.unique-service {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.unique-service:hover {
    transform: translateY(-5px);
}

.unique-service-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
    color: #007bff;
}


/* Service page css end */

/* Login page css */

.unique-login-page {
    font-family: Arial, sans-serif;
    /* background-color: #f4f4f4; */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.unique-login-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    /* width: 80%; */
    max-width: 900px;
}
.unique-login-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}
.unique-login-description {
    font-size: 20px;
    color: #555;
    margin-bottom: 30px;
}
.unique-login-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.unique-login-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    flex: 1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    text-align: center;
}
.unique-login-card h3 {
    margin: 0;
    font-size: 22px;
    color: #222;
    font-weight: bold;
}
.unique-login-card p {
    font-size: 18px;
    color: #555;
    margin: 15px 0;
}
.unique-login-btn {
    display: inline-block;
    padding: 14px 22px;
    text-decoration: none;
    color: white;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}
.unique-btn-new-account {
    background: #28a745;
}
.unique-btn-new-account:hover {
    background: #218838;
}
.unique-btn-login {
    background: #007bff;
}
.unique-btn-login:hover {
    background: #0056b3;
}
@media (max-width: 768px) {
    .unique-login-cards {
        flex-direction: column;
    }
}

/* Login page css end */

/* Gallery Styles */
/* Responsive Grid Gallery */
.custom-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Styling for each image container */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

/* Hover effect */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* ✅ Mobile: Show Only One Image Per Row */
@media (max-width: 768px) {
    .custom-gallery {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}
/*  */

.tax-planning-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background: #f8f9fa; */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    max-width: 1500px;
    margin: 30px auto;
    gap: 40px;
}

.tax-info {
    flex: 1;
    max-width: 50%;
}

.tax-info h2 {
    font-size: 26px;
    color: #00274d;
    margin-bottom: 12px;
}

.tax-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.tax-planning-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.download-pdf, .contact-tax-expert {
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.download-pdf {
    background: #ffcc00;
    color: #00274d;
}

.contact-tax-expert {
    background: #28a745;
    color: #ffffff;
}

.download-pdf:hover, .contact-tax-expert:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.tax-card {
    flex: 1;
    max-width: 50%;
}

.tax-planning-service {
    background: linear-gradient(135deg, #00274d, #004c99);
    color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.tax-planning-service h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #f8f9fa;
    font-weight: bold;
}

.tax-benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    flex: 1 1 calc(50% - 10px);
    text-align: center;
    font-weight: 500;
    min-width: 200px;
}

@media (max-width: 768px) {
    .tax-planning-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .tax-info, .tax-card {
        max-width: 100%;
    }

    .tax-planning-actions {
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        flex: 1 1 100%;
    }
}

/*  */

/* SIP Comp */

/* Container Styling */
.sip-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1300px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

/* Image Section */
.sip-image-section {
    flex: 1;
}

.sip-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Content Section */
.sip-content-section {
    flex: 1;
}

.sip-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.sip-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sip-description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

/* Call-to-Action Button */
.sip-button {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.sip-button:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sip-container {
        flex-direction: column;
        text-align: center;
    }
}


/*  */

/* Marque css */

.responsive-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    /* background-color: #f8f9fa; */
    padding: 10px 0;
    position: relative;
}

.responsive-marquee a {
    display: inline-block;
    color: #007bff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    animation: marquee-scroll 20s linear infinite;
}

@keyframes marquee-scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

.responsive-marquee a:hover {
    text-decoration: underline;
}



 /* Pause animation on hover */
    .responsive-marquee:hover .marquee-link {
        animation-play-state: paused;
}







/* Marque css end */

/* AMC banner */

.amc-marquee {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    padding: 10px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.amc-marquee-content {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: amc-scroll 20s linear infinite;
}

/* Make sure images are properly styled */
.amc-marquee-content img {
    width: 200px; /* Adjust as needed */
    height: auto;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Keyframes for smooth infinite scrolling */
@keyframes amc-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Moves half the duplicated content */
}


/* AMC banner */
