/* Apply Saira font to the whole website */
body {
    font-weight: 400;
    width: 100vw;
    overflow-x: hidden;
    /* font-family: 'Montserrat', sans-serif; */
    /* Default */
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
    color: var(--black-color);
    /* Bold */
}




p {
    font-weight: 400;

}

button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}

#schemeTable_filter {
    margin-bottom: 10px;
}

#schemeTable th,
#schemeTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

/* Add border to pagination numbers */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid #ddd;
    /* Blue border */
    padding: 5px 10px;
    margin: 2px;
    border-radius: 5px;
    background-color: white;
    color: #ddd;
    transition: 0.3s;
}





body {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    background-color: var(--white-color);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


.navbar {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Make navbar sticky */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s ease-in-out;
    background-color: white;
}


/* Add spacing between navbar items */
.navbar-nav .nav-item {
    margin: 0 10px;
    /* Adjust the gap between menu items */
}

/* Navbar link default styles */
.navbar-nav .nav-link {
    text-align: center;
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: var(--black-color);
    transition: color 0.3s ease-in-out, padding 0.3s ease-in-out;
}

/* Hover effect - reduce height */
.navbar-nav .nav-link:hover {
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 5px;
}


@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;
}

/* Fade-in + Slide-down animation */
.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown Items */
.dropdown-item {
    font-size: 16px;
    padding: 5px 10px;
    transition: text-indent 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Hover Effect (Only Move Text) */
.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-indent: 10px;
    /* Moves only the text, not the box */
}



/* Login Button */
.btn-signup {
    background-color: var(--primary-color);
    border: none;
    color: white;
    font-weight: 500;
}

/* Sign Up Button */
.btn-login {
    background-color: var(--primary-color);
    color: white;
}



@media (max-width: 1200px) {
    .action-button {
        display: none !important;
    }
}

footer {
    background-color: #2b343b;
    color: #fff;
    font-family: sans-serif;
}



.footer .widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin: 20px;
    position: relative;
    /* Space for icon */
}


.footer a {
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary-color);
    /* Hover Effect */
}

/* Divider Line */
.list-border li {
    border-bottom: 1px dashed #cccccc44;
    padding-bottom: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer ul {
        padding-left: 0;
    }
}

.footer-bottom {
    background-color: #002855;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
}

.footer-bottom p {
    font-size: 14px;
    color: white;
    margin: 0;
}

.footer-bottom a {
    color: #45c4e9;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-section {
        width: 45%;
        /* Two sections per row on smaller screens */
    }
}

@media (max-width: 500px) {
    .footer-section {
        width: 100%;
        /* Single section per row on very small screens */
    }
}


/* === Carousel Wrapper === */
.carousel {
    position: relative;
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

/* === Carousel Item === */
.carousel-item {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 600px;
    /* Max height for larger screens */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Image scales and fills container */
}

/* === Overlay Layer === */
.carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
    /* Allow clicks to pass through */
}

/* === Caption (Text) === */
/* === Base Style: Mobile (centered) === */
.carousel-caption {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    width: 90%;
    max-width: 700px;
}

/* Caption Content Styling */
.carousel-caption h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.carousel-caption a.btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 15px;
}

/* === Desktop Style (left-top alignment) === */
@media (min-width: 768px) {
    .carousel-caption {
        top: 10%;
        left: 0;
        transform: none;
        text-align: left;
        width: 100vw;
        max-width: none;
        padding: 0 5%;
        box-sizing: border-box;
        margin-top: 50px;
    }

    .carousel-caption h1 {
        font-size: 2.2rem;
        max-width: 100%;
        font-weight: 800;
        /* Prevent clipping */
    }

    .carousel-caption p {
        font-size: 1.2rem;
        max-width: 100%;
        font-weight: 600;

    }

    .carousel-caption a.btn {
        padding: 12px 25px;
    }
}

/* === Prev/Next Controls === */
.carousel-control-prev,
.carousel-control-next {
    width: 65px;
    height: 65px;
    background-color: rgba(204, 204, 204, 0.5);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    opacity: 1;
    z-index: 3;
}

.carousel-control-prev {
    left: 2%;
}

.carousel-control-next {
    right: 2%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--secondary-color);
    transition: 0.5s ease;
}

/* Adjust size for small screens */
@media (max-width: 768px) {

    .carousel-control-prev,
    .carousel-control-next {
        width: 60px;
        height: 60px;
    }
}

/* === Carousel Indicators (Dots) === */


.carousel-indicators li {
    background: var(--white-color);
    opacity: 0.7;
    list-style: none;
    cursor: pointer;


}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    padding: 0;
    border-bottom: 0;
    border-top: 0;
    text-indent: -999px;
    cursor: pointer;
    opacity: .5;
    transition: opacity .6s ease;
}

.carousel-indicators .active {
    background: var(--secondary-color) !important;
    opacity: 1;
}

/* === Buttons Inside Caption (Optional) === */
.carousel-caption .carousel-content a button.carousel-content-btn1 {
    color: var(--black-color);
    background-color: var(--white-color);
    border: 0;
    padding: 10px 20px;
    cursor: pointer;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--primary-color);
    transition: 0.3s ease-in-out;
    color: var(--white-color);
}


/*** Animations ***/
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInRight {
    animation-name: fadeInRight;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.animated {
    animation-duration: 2s;
    /* Slowed down from 1s */
    animation-fill-mode: both;
}


.calculator-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.calculator-container {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    padding: 40px;
    overflow: hidden;
}



.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 10px;
    display: block;
}

.results-card {
    color: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    /* box-shadow: 0 10px 30px rgba(0, 0, 255, 0.2); */
}

.stat-card {
    background: var(--primary-color);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
}

.stat-title {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.05rem;
    font-weight: 700;
}



/*** Services Start ***/
.service-section {
    padding: 50px 100px;
    background: var(--primary-color)

}

@media (max-width: 768px) {
    .service-section {
        padding: 10px;
        /* Or 0 if you want no padding */
    }
}

.contactus-section {
    padding: 50px 100px;
}

@media (max-width: 768px) {
    .contactus-section {
        padding: 10px;
        /* Or 0 if you want no padding */
    }
}

.service-box {
    padding: 20px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    border: 1px dotted var(--primary-color);
    /* light grey border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-box img {
    width: 100%;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
}


.service-box h5 {
    font-size: 1.2rem;
    font-weight: bold;
    transition: 0.1s;
}


.service-box a {
    text-decoration: none;
}

.service-box h5:hover {
    color: #666;
}

.contact-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon-box {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-content-box h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
}

.contact-content-box p {
    margin: 4px 0;
    font-size: 0.95rem;
    color: #333;
}

.contact-content-box a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
}




/*** Services End ***/
/*** Testimonial Start ***/

.testimonial-section {
    padding: 40px 60px;
}

.testimonial {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    /* space between image and text */
    margin-bottom: 20px;
}

.testimonial .thumb {
    flex-shrink: 0;
    /* prevents image from shrinking */
}

.testimonial .thumb img {
    width: 100px;
    height: auto;
    border-radius: 8px;
}

.testimonial .ml-100 {
    flex-grow: 1;
    text-align: left;
    /* aligns text to the start */
}



@media (max-width: 600px) {
    .testimonial {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial .ml-100 {
        text-align: center;
        margin-top: 10px;
    }

    .text-justify {
        text-align: center;
    }
}

/* .owl-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 10px;
}

.owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ccc;
    display: block;
    margin: 5px;
    border-radius: 50%;
}

.owl-dots .owl-dot.active span {
    background: var(--primary-color);
} */

.owl-nav {
    display: none;
}

/*** Testimonial end ***/




/*** blog start ***/

.blog-card {
    margin-bottom: 10px;
}


/*** blog end ***/



/*** about start ***/
.clientimg {
    max-width: 60%;
    height: auto;
    border-radius: 50% 50%;
    /* Optional for rounded corners */
}

/*** about end ***/




.page-header {
    background: #0088bc36 !important;
}


.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-dark);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-dark);
}

/* Contact Box Styling */




.section-title {
    text-align: center;
    margin: 40px 0;
}

.section-title h2 {
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
}

/* Styling "OUR" */
.section-title h2 .text-dark {
    color: #000;
    /* Black */
}

/* Styling "PRODUCTS" */
.section-title h2 .text-theme-colored2 {
    color: #33bdf1;
    /* Light blue */
}

/* Double underline effect */

.section-title h2::after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: #000;
    margin: 5px auto 0;
}

.section-title h2::before {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: #000;
    margin: auto;
    position: relative;
    top: 50px;
}

.line-bottom {
    width: 0;
    height: 3px;
    border-radius: 30px;
    background: var(--primary-color);
    margin: 0px auto 0;
    transition: width 0.3s ease-in-out;
    position: relative;
    right: 50%;
    transform: translateX(50%);
    bottom: 0;
}

.service-box:hover .line-bottom {
    width: 100%;
}

.linner:hover .line-bottom {
    width: 100%;
}




.labeltext {
    font-size: 16px !important;
    background-color: #d9edf7;
    font-family: 'Montserrat', sans-serif;
}

input {
    border: none;
    border-bottom: 1px solid #000;
    outline: none;
    background: transparent;
}

.textField {
    border-radius: none;
    border-left: 0px;
    border-top: 0px;
    border-right: 0px;
    border-color: #444444;
    background-color: #d9edf7;
    color: #000000;
    font-size: 22px;
    font-weight: normal;
    width: 10%;
    text-align: center;
}

/* Blog Card Styles */
.blog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

/* Image height consistency */
.blog-img img {
    width: 100%;
    height: 200px;
    /* Fixed image height */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Content section should auto-expand */
.blog-content {
    flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Text Styling */
.blog-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.blog-description {
    font-size: 0.9rem;
    color: #666;
}


/* Responsive fixes */
@media (max-width: 768px) {
    .blog-card {
        max-width: 100%;
    }

    .blog-img img {
        height: 180px;
    }
}



/* New Card Styling */
.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #fff;
    border: 1px solid #d2e5de;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding: 15px;
    transition: transform 0.3s ease-in-out;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--heading-color);
    border-bottom: 3px solid var(--heading-color);
}

.news-date {
    font-size: 14px;
    font-weight: bold;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.news-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.news-card .btn-primary {
    align-self: start;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .news-title {
        font-size: 16px;
    }

    .news-description {
        font-size: 13px;
    }

    .news-card {
        padding: 12px;
    }
}