/********** Template CSS **********/
:root {
    --primary: #003f8c;
    --secondary: #24A148;
    --tertiary: #555555;
    --light: #f4f4f4;
    --dark: #003f8c;
}

body {
    font-family: 'Roboto', sans-serif; /* Apply the 'Roboto' font */
    background-color: #f4f4f4 !important; /* Set the background color to #f4f4f4 */
  }

  h1,h5,h4,h2,h3,p {
    font-family: 'Roboto', sans-serif;
    color: black;
  }

  p {
      text-align: justify;
  text-justify: inter-word;
  }

.primary {
    color: #003f8c;
}

.text-light {
    color: #f4f4f4 !important;
}
.a{
    color: var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}


.calculator-container{
    background-color: white;
    border-radius: 8px;
}



.downn {
    text-align: center;
}


/* market blinker */
/* Only text blinks with color pulse */
.blink {
    color:  #24A148!important;
    font-weight: bold;
    /* text-shadow: 0 0 2px #24A148, 0 0 2px #003f8c; */
    text-shadow: 0 0 1px #24A148;
    padding: .25rem 1rem;
    display: inline-block;
    width: 100%; /* Fixed width */
    text-align: inherit;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    animation: text-blink 1s ease-in-out infinite; /* text-only animation */
}

@keyframes text-blink {
    0%, 100% {
        color: #003f8c;
        opacity: 1;
    }
    50% {
        color: #24A148;
        opacity: 0.4;
    }
}

/* .blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
} */




/* market blinker ends */



.list-group-item {
    color: black; /* Default (non-active) text color */
    background-color: #fff; /* Optional: ensure background stays white */
    border: 1px solid #ddd; /* Optional: light border */
    font-size: larger
}

.list-group-item:hover {
    color: #000; /* Hover text color */
}

.list-group-item.active {
    background-color: #003f8c; /* Bootstrap default active bg color */
    color: white !important;   /* Force white text for active */
    border-color: #003f8c;     /* Match the border with background */
}

.padd{
    padding: 4rem 0rem 2rem 1px;

}





button:focus,
button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.form-control {
    outline: none !important;
    box-shadow: none !important;
}
  
.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  
 
  .tab-buttons button {
    margin: 0 10px;
    font-weight: 600;
  }
  
  .card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  
  .hidden {
    display: none;
  }
  
  .result {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
  }
  
  .profit {
    color: green;
    font-weight: bold;
  }
  
  .loss {
    color: red;
    font-weight: bold;
  }
  


.btn-light {
background-color: #f4f4f4;
}

.text-light {
    color: #f4f4f4;
}

.form-floating>.form-select {
    padding-top: 0.75rem;
}


.back-to-top {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 30px;
    z-index: 99;
}


.good-alignment{
    text-align: justify;
}

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;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.up-arrow {
    background-color:#003f8c; /* Change this to your desired background color */
    color: #F4F4F4; /* Optional: Change the arrow color if needed */
    transition: background-color 0.3s ease; /* Optional: Smooth transition for background color */
}
  
.up-arrow:hover {
background-color: #003f8c; /* Optional: Change background color on hover */
color: #F4F4F4;
}



.btn-success {
    background: var(--primary);
    border-color: var(--primary);
    color: #F4F4F4;
}


.btn-success:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #F4F4F4;
}


.btn-primary{
    background: var(--primary);
    border-color: var(--primary);
    color: #F4F4F4;
}
.btn-primary:hover{
    background: var(--secondary);
    border-color: var(--secondary);
    color: #F4F4F4;
}

.btn-outline-secondary {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #F4F4F4;
    transition: .5s;
}


.btn-outline-secondary.active {
    background-color:var(--secondary);
    border-color: var(--secondary);
    color: #F4F4F4;


}


.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-check:checked+.btn-outline-primary, .btn-check:active+.btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #F4F4F4;
}

.btn-outline-primary:hover{
    background-color: var(--primary);
    border-color: var(--primary);
    color: #F4F4F4;
}




.btn-secondary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #F4F4F4;
}


.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;
}

/* Styling for the top-bar content */
.top-bar .col-lg-6 small {
    font-size: 0.8rem; /* Default font size for larger screens */
}

/* Adjust font size for larger screens */
@media (max-width: 1440) {
    .top-bar .col-lg-6 larger {
        font-size: 1rem; /* Adjust font size further for lager screens */
    }
}
@media (max-width: 1236px) {
    .top-bar .col-lg-6 large {
        font-size: 0.9rem; /* Adjust font size further for large screens */
    }
}

@media (min-width: 1201px) {
    .top-bar .col-lg-6 medium {
        font-size: 0.8rem; /* Smaller font size for tablets and medium-sized screens */
    }
}


@media (max-width: 1200px) {
    .top-bar .col-lg-6 medium {
        font-size: 0.75rem; /* Smaller font size for tablets and medium-sized screens */
    }
}

@media (max-width: 1100px) {
    .top-bar .col-lg-6 small {
        font-size: 0.75rem; /* Smaller font size for tablets and medium-sized screens */
    }
}

/* Adjust font size for tablets and smaller laptops */
@media (max-width: 1064px) {
    .top-bar .col-lg-6 small {
        font-size: 0.68rem; /* Adjust font size further for smaller screens */
    }
}

/* Adjust font size for tablets and smaller laptops */
@media (max-width: 1024px) {
    .top-bar .col-lg-6 small {
        font-size: 0.66rem; /* Adjust font size further for smaller screens */
    }
}

@media (min-width: 1001px) and (max-width: 1007px) {
    .top-bar .col-lg-6 small {
        font-size: 0.65rem; /* Smaller font size for tablets and medium-sized screens */
    }
}
/* @media (min-width: 601px) and (max-width: 999px) { */

@media (min-width: 990px) and (max-width: 1000px) {
    .top-bar .col-lg-6 small {
        font-size: 0.63rem; /* Smaller font size for tablets and medium-sized screens */
    }
}

/* Adjust font size for mobile screens */
@media (max-width: 768px) {
    .top-bar .col-lg-6 small {
        font-size: 0.8rem; /* Smaller font size for mobile screens */
    }
}

/* Even smaller font size for very small screens */
@media (max-width: 576px) {
    .top-bar .col-lg-6 small {
        font-size: 0.7rem; /* Further reduce font size for very small screens */
    }
}

/* For screens smaller than 400px */
@media (max-width: 400px) {
    .top-bar .col-lg-6 small {
        font-size: 0.6rem; /* Reduce font size to fit very small screens */
    }
}

/* For screens smaller than 200px (extremely small screens, like feature phones) */
@media (max-width: 200px) {
    .top-bar .col-lg-6 small {
        font-size: 0.5rem; /* Further reduce font size for extremely small screens */
    }
}

/* for the text index */
/* Default size (big screens) */
.carousel-caption p {
    font-size: 1rem;
}

.carousel-caption h1 {
    font-size: 4rem;
}

/* Medium screens (like tablets) */
@media (max-width: 1200px) {
    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption h1 {
        font-size: 2.25rem;
    }
}

/* Small screens (like phones) */
@media (max-width: 576px) {
    .carousel-caption p {
        font-size: 0.875rem;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }
}






.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
}

.navbar .navbar-nav .nav-link {
    padding: 15px 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: #F4F4F4;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}


.dropdown-menu a:hover {
    background-color: #003f8c;
    color: #F4F4F4;
    font-weight: bolder; /* Make text bold on hover */
    border-radius: 10px;

}

.dropdown-menu a:active {
    font-weight: bold; /* Make text bold when active (selected) */
}





@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;
        border: none; /* Removes the border */
        padding: 0px;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
        border: none; /* Removes the border */
        padding: 0px;
    }
}


/*** 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%;
        
    }
}
.btn-icon {
    width: 30px;  /* Adjust the width of the logo */
    height: auto; /* Auto height to maintain aspect ratio */
    margin-right: 10px;  /* Adds space between the logo and text */
}


/* .page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
} */

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) center center no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .page-header {
        padding-top: 6rem;
        padding-bottom: 5rem;
        background-position: center top;
        background-image: none;
    }
}

/* 425px and below */
@media (max-width: 426px) {
    .page-header {
        padding-top: 6rem;
        padding-bottom: 3rem;
        background-position: center top;
        background-image: none;
    }
}

/* 425px and below */
@media (max-width: 376px) {
    .page-header {
        padding-top: 6rem;
        padding-bottom: 3rem;
        background-position: center top;
        background-image: none;
    }
}


.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;

}


.breadcrumb-item a{
color: var(--primary);
}



.bg-primary {
    background-color: var(--primary) !important;
}






.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
        
}

.sup{
    font-size: small;
}


/*** Facts ***/
/* .facts {
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg1.png);
} */

.facts {
    background: linear-gradient(rgba(0, 63, 140, 0.95), rgba(0, 63, 140, 0.95)), url(../img/bg1.png);
}

.factt {
    background: linear-gradient(rgba(0, 63, 140, 0.95), rgba(0, 63, 140, 0.95)), url(../img/bg2.png);
}

/* Gradient color for the .fact class */
.fact {
    background: linear-gradient(rgba(0, 63, 140, 0.95), rgba(0, 63, 140, 0.95));
    -webkit-background-clip: text; /* Ensures gradient applies to text */
    background-clip: text; /* Standard property for compatibility */
    color: transparent; /* Text color transparent to show the gradient */
    font-weight: bold;
    font-size: 2.5rem; /* Default font size for large screens */
}

/* .carousel-indicators{
       background-color: #ffffff;

} */


/* Adjust font size for medium screens */
@media (max-width: 1440px) {
    .fact {
        font-size: 3rem; /* Smaller font size for tablets and medium-sized screens */
    }
}

@media (max-width: 1300px) {
    .fact {
        font-size: 2.5rem; /* Smaller font size for tablets and medium-sized screens */
    }
}



@media (max-width: 1200px) {
    .fact {
        font-size: 2rem; /* Smaller font size for tablets and medium-sized screens */
    }
}

@media (max-width: 1100px) {
    .fact {
        font-size: 1.7rem; /* Smaller font size for tablets and medium-sized screens */
    }
}

/* Adjust font size for tablets and smaller laptops */
@media (max-width: 1024px) {
    .fact {
        font-size: 1.3rem; /* Adjust font size further for smaller screens */
    }
}
@media (max-width: 1024px) {
    .fact-img {
        max-width: 4rem !important; /* Adjust as needed */
    }
}


/* Adjust font size for mobile screens */
@media (max-width: 767px) {
    .fact {
        font-size: 1.6rem; /* Smaller font size for mobile screens */
    }
}

/* Even smaller font size for very small screens */
@media (max-width: 576px) {
    .fact {
        font-size: 1.3rem; /* Further reduce font size for very small screens */
    }
}

/* For screens smaller than 400px */
@media (max-width: 400px) {
    .fact {
        font-size: 1.2rem; /* Reduce font size to fit very small screens */
    }
}

/* For screens smaller than 400px */
@media (max-width: 320px) {
    .fact {
        font-size: 1.1rem; /* Reduce font size to fit very small screens */
    }
}


/* For screens smaller than 400px */
@media (max-width: 283px) {
    .fact {
        font-size: 0.8rem; /* Reduce font size to fit very small screens */
    }
}

@media (max-width: 324px) {
    .fact-img {
        max-width: 3rem !important; /* Adjust as needed */
    }
}


/* For screens smaller than 200px (extremely small screens, like feature phones) */
@media (max-width: 302px) {
    .fact {
        font-size: 1rem; /* Further reduce font size for extremely small screens */
    }
}

@media (max-width: 308px) {
    .fact-img {
        max-width: 2.5rem !important; /* Adjust as needed */
    }
}

@media (max-width: 260px) {
    .fact-img {
        max-width: 2rem !important; /* Adjust as needed */
    }
}

/* For screens smaller than 400px */
@media (max-width: 259px) {
    .fact {
        font-size: 0.9rem; /* Reduce font size to fit very small screens */
    }
}

/* For screens smaller than 400px */
@media (max-width: 245px) {
    .fact {
        font-size: 0.8rem; /* Reduce font size to fit very small screens */
    }
}


/* bugger dropdown */
@media (max-width: 283px) {
    .navbar-toggler {
        font-size: 1rem;
        }
    }

    @media (max-width: 320px) {
        .navbar-toggler {
            font-size: 1rem;
            }
        }    

      
    






.fon{
    color: #4174cf;
}

.ex{
        width: 24%;
        margin-top: -4px;
}

.exp1{
    margin-top: -4px;
}


.curve{
   border: solid 2px #0e1012;
    border-radius: 20px;

}

/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(0, 63, 140, 0.95), rgba(0, 63, 140, 0.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: #F4F4F4 !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: #F4F4F4 !important;
}

.service .nav .nav-link.active h5 i {
    color: #F4F4F4 !important;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--primary) !important;
    border-radius: 10px;

}


/*** 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(53, 94, 252, .95);
    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: #F4F4F4;
}

.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: #F4F4F4;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #F4F4F4;
}

.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: #F4F4F4 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(--secondary);
    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(--primary);
    transition: .5s;
}


.owl-dot{
    background: white;
}


.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}


/*** Footer ***/
footer {
    background-color: #F4F4F4 !important;
}


.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-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

footer {
    font-size: 1rem; /* Default size */
}
@media (max-width: 876px) {
    footer {
        font-size: 0.9rem;
    }
}

@media (max-width: 795px) {
    footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 767px) {
    footer {
        font-size: 0.9rem;
    }
}


.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}


/* image section gallery */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Gallery Container */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    background-color: #e0e0e0;
    color: #333;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.filter-btn:hover {
    background-color: #003f8c;
    color: #fff;
    transform: scale(1.05);
}

.filter-btn.active {
    background-color: #003f8c;
    color: #fff;
}

/* Image Grid */

.gallery-item img {
    width: 100%;
    height: 200px; /* You can adjust this based on the desired size */
    object-fit: cover; /* This ensures the aspect ratio is maintained and the image fills the space */
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Makes the grid responsive */
    gap: 20px;
}




.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #adacac;

}

.gallery-item:hover {
    transform: translateY(-5px);
}



.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(90%);
}



/* pagination button */
#pagination button {
    background-color: #ffffff;
    color: #003f8c;
    border: 2px solid #003f8c;
    padding: 8px 14px;
    margin: 5px 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 16px;
}

#pagination button:hover {
    background-color: #003f8c;
    color: #ffffff;
}

#pagination .active-page {
    background-color: #003f8c;
    color: #ffffff;
    font-weight: bold;
}


/* pagination disable */
#pagination .disabled {
display: none;
}


/* pagination button */
.page-link {
    background-color: #ffffff;
    color: #003f8c;
    border: 2px solid #003f8c;
    padding: 8px 14px;
    margin: 0 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 16px;
}

/* hover effect */
.page-link:hover {
    background-color: #003f8c;
    color: #ffffff;
}

/* active page */
.page-item.active .page-link {
    background-color: #003f8c;
    color: #ffffff;
    font-weight: bold;
    border-color: #003f8c;
}

/* disabled button */
.page-item.disabled .page-link {
    color: #999;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}



/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.lightbox-controls {
    margin-top: 20px;
}

.lightbox-controls button {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* gallery end */
  




/* learn and login style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-blue: #003f8c;
  --hover-blue: #0056b3;
  --dark-bg: #343a40;
  --hover-dark: #495057;
  --glow-color: #24A148;
  --white: #f4f4f4;
  --icon-size: 80px;
  --sub-icon-size: 40px;
}

/* Base Floating Icon */
/* Specific Icon Positions */
.floating-icon.learn {
  top:25%;
  animation-delay: 0.1s;
  position: fixed;
  right: 2vw;
  background: var(--primary);
  color: var(--white);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  font-size: 27px;
  text-align: center;
  line-height: 60px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: all 0.4s ease;

}


.floating-icon.pay {
  top:46%;
    animation: popIn 0.6s ease-out, blink 1.5s infinite, float 3s ease-in-out infinite;
  position: fixed;
  left: 93%;
  background: var(--primary);
  color: var(--white);
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  font-size: 18px;
  text-align: center;
  line-height: var(--icon-size);
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: all 0.4s ease;
}

.floating-icon.login {
  top: 28%;
  animation: popIn 0.6s ease-out, blink 1.5s infinite, float 3s ease-in-out infinite;
  position: fixed;
  left: 93%;
  background: var(--primary);
  color: var(--white);
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  font-size: 22px;
  text-align: center;
  line-height: var(--icon-size);
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: all 0.4s ease;
}

/* Hover */
.floating-icon.learn:hover {
  background: var(--primary);

}


/* Hover */
.floating-icon.pay:hover {
    background: var(--primary);
    box-shadow: 0 0 15px var(--glow-color), 0 0 30px var(--glow-color);
    transform: scale(1.2) rotate(5deg);
}

.floating-icon.login:hover {
    background: var(--primary);
    box-shadow: 0 0 15px var(--glow-color), 0 0 30px var(--glow-color);
    transform: scale(1.2) rotate(5deg);
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
/* Labels */
.icon-label {
  padding: 6px 12px;
  font-size: 12px;
  color: white;
  background-color: rgba(0, 63, 140, 0.85);
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  transition: background-color 0.3s ease;

}



.sub-icon-wrapper:hover .icon-label {
  background-color: rgba(0, 86, 179, 0.9);
}

/* Sub Icons */
.sub-icons {
  position: fixed;
  bottom: 30%;
  left: 9.5rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

.sub-icons.active {
  top:27%;
  left: 74.5%;
  opacity: 1;
  pointer-events: auto;
}

/* Sub Icon Button */
.sub-icon {
  background: white;
  color: white;
  width: var(--sub-icon-size);
  height: var(--sub-icon-size);
  border-radius: 50%;
  text-align: center;
  line-height: var(--sub-icon-size);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.35s ease;
  animation: popIn 0.5s ease-out;
}

.sub-icon:hover {
  /* transform: scale(1.15) rotate(-5deg); */
  background: var(--primary);
  box-shadow: 0 0 12px var(--glow-color), 0 0 25px var(--glow-color);
}

/* Sub Icon Wrapper */
.sub-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  left:80%;
  /* transform: translateX(1000px); */
  opacity: 0;
  transition: all 0.4s ease;
  text-decoration: none;
}

.sub-icons.active .sub-icon-wrapper {
  left : 502%;
  opacity: 1;
}

/* Close Button */
.sub-icon-close {
  font-size: 16px;
  cursor: pointer;
  color: white;
  background-color: var(--primary);
  text-align: center;
  border-radius: 45px;
  margin-right: 90%;
  transition: color 0.2s ease;
}

.sub-icon-close:hover {
  color: white;
}

/* Animations */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px var(--glow-color);
  }
  50% {
    box-shadow: 0 0 20px var(--glow-color), 0 0 40px var(--glow-color);
  }
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

 /* Large Desktop (Above 1340px) */
@media (min-width: 1371px) {

  .floating-icon {
    width: 70px;
    height: 100px;
    font-size: 36px;
    line-height: 60px;   /* fix */
  }

  .sub-icon {
    width: 60px;
    height: 60px;
    font-size: 20px;
    line-height: 60px;   /* fix */
  }

  .icon-label {
    padding: 10px 12px;
  }

  .sub-icons {
    right: 95px;
    bottom: 25%;
  }
  .sub-icons.active {
    top: 24%;
    left: 80%;
  }

}



  @media (max-width: 1370px) {
    .sub-icon-wrapper {
      gap: 20px;
    }
    .sub-icons {
      left: 500%;
      bottom: 25%;
    }
    .floating-icon {
      width: 50px;
      height: 50px;
      font-size: 26px;
      line-height: 50px;
    }
  
    .sub-icon {
      width: 50px;
      height: 50px;
      font-size: 20px;
      line-height: 50px;
    }

    .icon-label {

    padding: 6px 7px;
  }
  
    .sub-icons {
      right: 95px;
      bottom: 20%;
    }
  }


/* Below 1024px (tablet landscape) */
@media (max-width: 1024px) {
  .floating-icon {
    width: 58px;
    height: 58px;
    font-size: 28px;
    line-height: 58px;
  }

  .sub-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
  }
  
  .icon-label {
    font-size: 13px;
    padding: 5px 10px;
  }

  .sub-icons {
    right: 90px;
    bottom: 30%;
  }
  .sub-icons.active{
    top:14%;
    left:65%;
  }
}

/* Below 768px (tablet portrait) */
@media (max-width: 768px) {
    .sub-icons.active {
        top: 22.5%;
        left: 59%;  
}
}
/* Below 480px (mobile) */
@media (max-width: 480px) {
  .floating-icon.learn {
    width: 55px;
    height: 55px;
    font-size: 24px;
    line-height: 55px;
  }
  
    .floating-icon.login {
    top: 35%;
    width: 62px;
    height: 62px;
    font-size: 15px;
    line-height: 62px;
    
  }
  
  .floating-icon.pay {
    top: 52%;
    width: 62px;
    height: 62px;
    font-size: 13px;
    line-height: 62px;
  }

  .sub-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
    line-height: 45px;
  }

  .icon-label {
    font-size: 10px;
    padding: 4px 8px;
  }

  .sub-icons {
    bottom: 20%;
    right: 20px;
    left: 7rem;
    height: 100px;
    
  }
  .sub-icons.active {
    left: 35%;
    height: 100px;
  }
}


/* Popup for payment options */

.icon-label.pay{
  margin-left: -2px; 
}


/* Popup for payment options */
.payment-popup {
  position: fixed;
  bottom: 20%;
  right: 20px;
  width: 200px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1001;
  display: none;
  flex-direction: column;
}



.payment-option {
    left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center; 
  margin: 10px 0;
  cursor: pointer;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
  background-color: #f9f9f9;
}

.payment-option:hover {
  background-color: #e9e9e9;
}

/* Popup for details */
.detail-popup {
  position: fixed;
  bottom: 10%;
  left: 10%;
  width: 400px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none;
  z-index: 99999;
}

/* Detail content */
.payment-details {
  display: none;
  flex-direction: row; /* Changed from column and row  */
  align-items: center;    /* Center image and text */
  gap: 5px;
}


.payment-details img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.detail-text {
  max-width: 300px;
  text-align: center;
}


 /* Large Desktop (Above 1340px) */
@media (min-width: 1371px) {

  .payment-popup {
    left: 80%;
    width: 220px;
    max-width: 250px;
    bottom: 35%;
  }

  .detail-popup {
    width: 450px;
    left: 5%;
    bottom: 5%;
  }

  .payment-details img {
    width: 200px;
    height: 200px;
  }

  .detail-text h6 {
    font-size: 18px;
    line-height: 1.5;
  }
  .sub-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
    line-height: 45px;
  }

  .icon-label {
    font-size: 15px;
    padding: 10px 10px;
  }

    .sub-icons {
    bottom: 40%;
    left: 9rem;     
    right: auto;    
    }
}
/* Below 1340px */
@media (max-width: 1370px) {
  .payment-popup {
    left: 75%;
    width: 180px;
  }

  .detail-popup {
    width: 360px;
    left: 8%;
  }
  
}

/* Below 1024px (tablet landscape) */
@media (max-width: 1024px) {
  .floating-icon.login {
    left: 90%;
  }
  .floating-icon.pay {
    left: 90%;
  }
  .payment-popup {
    bottom: 15%;
    left: 65%;
    width: 160px;
  }

  .detail-popup {
    width: 330px;
    left: 10%;
    bottom: 10%;
  }

  .payment-details {
    flex-direction: row;
    align-items: center;
  }

  .payment-details img {
    width: 180px;
    height: 170px;
  }

  .detail-text h6 {
    max-width: 200px;
    font-size: 14px; /* ↓ Reduced text size */
    line-height: 1.4;
  }

  .payment-option {
    font-size: 14px; /* ↓ Optional: reduce option text */
  }
}


/* Below 768px (tablet portrait) */
@media (max-width: 768px) {
  .payment-popup {
    left: 60%;
    width: 160px;
  }

  .detail-popup {
    width: 60%;
    left: 13%;
    bottom: 5%;
  }

  .payment-details img {
    width: 150px;
    height: 150px;
  }

  .detail-text {
    max-width: 100%;
  }
}

/* Below 480px (mobile) */
@media (max-width: 480px) {
  .floating-icon.pay {
    left: 80%;
  }
  .floating-icon.login {
    left: 80%;
  }
  .payment-popup {
    width: 130px;
    left: 35%;
    bottom: 23%;
    padding: 10px;

  }

  .payment-option {
    padding: 8px;
    font-size: 14px;
  }

  .detail-popup {
    width: 50%;
    left: 27%;
    bottom: 3%;
    padding: 10px;
  }

   .payment-details {
    flex-direction: column;
    align-items: center;
  }

  .payment-details img {
    width: 120px;
    height: 120px;
  }

  .detail-text h6 {
    font-size: 11px;
  }
}





/* bot */
.chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.chatbot-button img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.chat-popup {
    position: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    bottom: 90px;
    right: 30px;
    background-color: #fff;
    color: #000;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    display: none;
    z-index: 1000;
    max-width: 250px;
}

.close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.close-btn:hover {
    background-color: #f2f2f2;
}

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Syne:wght@600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --marian-blue:   #003F8C;
    --pigment-green: #24A148;
    --bg:    #E8EBF0;
    --text:  #001f50;
    --muted: #5a7aaa;
}



/* ═══════════════════════════════
    FAB GROUP
═══════════════════════════════ */
.fab-group {
    position: fixed;
    right: 28px;
    top: calc(50% - 40px);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 100px;
    z-index: 100;
}

.fab-unit {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.fab-unit.login-unit { 
    margin-top: 70px; 
    display:none;
    
}
.fab-unit.pay-unit   { margin-top: 160px; }

/* ═══════════════════════════════
    KEYFRAMES
═══════════════════════════════ */
@keyframes pulse-login {
    0%,100% { box-shadow: 0 0 0 0    rgba(0,63,140,.7),  0 0 18px 4px rgba(0,63,140,.35); }
    50%      { box-shadow: 0 0 0 10px rgba(0,63,140,0),   0 0 32px 8px rgba(0,63,140,.2);  }
}
@keyframes pulse-pay {
    0%,100% { box-shadow: 0 0 0 0    rgba(36,161,72,.7), 0 0 18px 4px rgba(36,161,72,.35); }
    50%      { box-shadow: 0 0 0 10px rgba(36,161,72,0),  0 0 32px 8px rgba(36,161,72,.2);  }
}
@keyframes border-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes float-login {
    0%, 100% { transform: translateY(0px);  }
    50%       { transform: translateY(-8px); }
}
@keyframes float-pay {
    0%, 100% { transform: translateY(0px);  }
    50%       { transform: translateY(-8px); }
}
@keyframes blob-login {
    0%,100% { transform: translate(0,0) scale(1);           opacity: .55; }
    33%      { transform: translate(-6px,-8px) scale(1.08);  opacity: .7;  }
    66%      { transform: translate(4px,6px)   scale(.95);   opacity: .5;  }
}
@keyframes blob-pay {
    0%,100% { transform: translate(0,0) scale(1);           opacity: .55; }
    33%      { transform: translate(5px,-7px)  scale(1.06);  opacity: .65; }
    66%      { transform: translate(-4px,5px)  scale(.97);   opacity: .5;  }
}
@keyframes popupIn {
    from { opacity: 0; transform: translateX(20px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0)    scale(1);    }
}
@keyframes popupOut {
    from { opacity: 1; transform: translateX(0)    scale(1);    }
    to   { opacity: 0; transform: translateX(20px) scale(0.96); }
}

/* ═══════════════════════════════
    FAB BUTTON — round
═══════════════════════════════ */
.fab-btn {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: none; cursor: pointer;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 4px;
    position: relative; z-index: 2;
    flex-shrink: 0; outline: none;
    transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
}
.fab-btn::before {
    content: '';
    position: absolute; inset: -2px;
    border-radius: 50%; z-index: -1;
    animation: border-spin 3s linear infinite;
}
.fab-btn::after {
    content: '';
    position: absolute; inset: 2px;
    border-radius: 50%; z-index: -1;
}
.fab-btn svg { pointer-events: none; transition: transform 0.3s ease; position: relative; z-index: 1; }
.fab-btn.active svg { transform: rotate(45deg); }

.fab-label {
    font-size: 0.58rem; font-weight: 600;
    color: #fff; letter-spacing: 0.04em;
    text-transform: uppercase; line-height: 1;
    position: relative; z-index: 1;
    pointer-events: none; opacity: 0.92;
}

/* LOGIN BTN */
.login-btn {
    animation: pulse-login 2.4s ease-in-out infinite, float-login 3s ease-in-out infinite;
    background: linear-gradient(135deg, #004bad, #003070);
}
.login-btn::before { background: conic-gradient(from 0deg, #003F8C, #1a6fd4, #003F8C, #001f50, #003F8C); }
.login-btn::after  { background: linear-gradient(145deg, #004bad, #002d7a); }
.login-btn svg     { color: #fff; filter: drop-shadow(0 0 6px rgba(0,63,140,.9)); }
.login-btn:hover   { transform: scale(1.12); animation: none; box-shadow: 0 0 0 6px rgba(0,63,140,.25), 0 0 40px 12px rgba(0,63,140,.45); }
.login-btn.active  { transform: scale(1.1);  animation: none; box-shadow: 0 0 0 8px rgba(0,63,140,.3),  0 0 50px 16px rgba(0,63,140,.5);  }

/* PAY BTN */
.pay-btn {
    animation: pulse-pay 2.4s ease-in-out infinite, float-pay 3s ease-in-out 1.5s infinite;
    background: linear-gradient(135deg, #2aba55, #1a8038);
}
.pay-btn::before { background: conic-gradient(from 0deg, #24A148, #5dd67a, #24A148, #156030, #24A148); }
.pay-btn::after  { background: linear-gradient(145deg, #27b34e, #186635); }
.pay-btn svg     { color: #fff; filter: drop-shadow(0 0 6px rgba(36,161,72,.9)); }
.pay-btn:hover   { transform: scale(1.12); animation: none; box-shadow: 0 0 0 6px rgba(36,161,72,.25), 0 0 40px 12px rgba(36,161,72,.45); }
.pay-btn.active  { transform: scale(1.1);  animation: none; box-shadow: 0 0 0 8px rgba(36,161,72,.3),  0 0 50px 16px rgba(36,161,72,.5);  }

/* ═══════════════════════════════
    GLOW BLOB
═══════════════════════════════ */
.fab-glow-blob {
    position: absolute;
    width: 100px; height: 100px;
    border-radius: 50%;
    filter: blur(28px);
    pointer-events: none; z-index: 0;
    right: -20px; top: 50%;
    transform: translateY(-50%);
}
.login-blob { background: radial-gradient(circle, rgba(0,63,140,.45) 0%, transparent 70%); animation: blob-login 3.5s ease-in-out infinite; }
.pay-blob   { background: radial-gradient(circle, rgba(36,161,72,.45) 0%, transparent 70%); animation: blob-pay 3.5s ease-in-out 1.2s infinite; }

/* ═══════════════════════════════
    LOGIN MENU
═══════════════════════════════ */
.fab-menu {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.fab-menu.open { opacity: 1; visibility: visible; pointer-events: all; }

.fab-item {
    display: flex; flex-direction: row;
    align-items: center; gap: 8px;
    opacity: 0; transform: translateX(14px);
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(.34,1.56,.64,1);
    white-space: nowrap;
}
.fab-menu.open .fab-item              { opacity: 1; transform: translateX(0); }
.fab-menu.open .fab-item:nth-child(1) { transition-delay: 0.04s; }
.fab-menu.open .fab-item:nth-child(2) { transition-delay: 0.09s; }
.fab-menu.open .fab-item:nth-child(3) { transition-delay: 0.14s; }
.fab-menu.open .fab-item:nth-child(4) { transition-delay: 0.19s; }

.fab-item-label {
    background: #fff;
    border: 1px solid rgba(0,63,140,.15);
    color: var(--text);
    font-size: 0.76rem; font-weight: 500;
    padding: 5px 11px; border-radius: 8px;
    white-space: nowrap; letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(0,63,140,.1);
}

.fab-item-icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    border: 1px solid rgba(0,63,140,.15);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,63,140,.08);
    cursor: pointer;
}
.fab-item-icon:hover { transform: scale(1.1); }

.login-unit .fab-item-icon       { color: var(--marian-blue); }
.login-unit .fab-item-icon:hover { box-shadow: 0 0 0 4px rgba(0,63,140,.2), 0 4px 16px rgba(0,63,140,.2); }
.pay-unit   .fab-item-icon       { color: var(--pigment-green); }
.pay-unit   .fab-item-icon:hover { box-shadow: 0 0 0 4px rgba(36,161,72,.2), 0 4px 16px rgba(36,161,72,.2); }

.esewa-icon       { color: var(--pigment-green) !important; }
.esewa-icon:hover { box-shadow: 0 0 0 4px rgba(36,161,72,.2), 0 4px 16px rgba(36,161,72,.2) !important; }
.bank-icon        { color: var(--pigment-green) !important; }
.bank-icon:hover  { box-shadow: 0 0 0 4px rgba(0,63,140,.2), 0 4px 16px rgba(0,63,140,.2) !important; }

/* Divider */
.fab-divider {
    width: 16px; 
    height: 1px;
    margin:0 4px;
    background: transparent;
    align-self: center;
}

/* ═══════════════════════════════
    PAY UNIT INNER WRAPPER
    Wraps both the FAB btn+menu and
    the inline popup so they occupy
    the same space.
═══════════════════════════════ */
.pay-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 64px; /* matches FAB button height */
}

/* ── FAB controls layer ── */
.pay-fab-layer {
    display: flex;
    align-items: center;
    position: relative;
    transition: opacity 0.22s ease, transform 0.25s cubic-bezier(.34,1.56,.64,1);
}
/* Hidden state: slide right + fade out */
.pay-fab-layer.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(16px);
}

/* ═══════════════════════════════
    INLINE POPUP CARD
    — replaces the FAB in the pay unit
═══════════════════════════════ */
.inline-popup {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(20px) scale(0.96);
    background: #fff;
    border: 1px solid rgba(0,63,140,.14);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,63,140,.14), 0 2px 8px rgba(0,0,0,.06);
    width: 393px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
    opacity 0.28s cubic-bezier(.34,1.56,.64,1),
    transform 0.28s cubic-bezier(.34,1.56,.64,1);
    z-index: 300;
}
.inline-popup.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(-50%) translateX(0) scale(1);
}

/* coloured top strip */
.popup-strip {
    height: 5px;
}
.bank-card  .popup-strip  { background: var(--pigment-green); }
.esewa-card .popup-strip  { background: var(--pigment-green); }

/* card body = QR + details side by side */
.popup-body {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 226px;
}

/* LEFT: image / QR */
.popup-qr {
    width: 215px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 10px 26px 14px;
}
.popup-qr img {
    width: 172px; height: 172px;
    object-fit: contain;
    border-radius: 8px;
}

/* QR fallback if no image */
.popup-qr-placeholder {
    width: 172px; height: 172px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.bank-card  .popup-qr-placeholder { background: #eef2fb; }
.esewa-card .popup-qr-placeholder { background: #edfaf2; }

/* Divider between QR and text */
.popup-divider {
    width: 1px;
    background: rgba(0,63,140,.08);
    margin: 12px 0;
}

/* RIGHT: text details */
.popup-details {
    flex: 1;
    padding: 26px 14px 26px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-row-label {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 2px;
}
.bank-card  .popup-row-label { color: var(--pigment-green); }
.esewa-card .popup-row-label { color: var(--pigment-green); }

.popup-row-value {
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.35;
}

/* Close button — top-right corner */
.popup-close-btn {
    position: absolute;
    top: 8px; right: 8px;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: none; cursor: pointer;
    background: rgba(0,0,0,.08);
    color: #666;
    font-size: 11px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}
.popup-close-btn:hover { background: rgba(0,0,0,.18); color: #333; }