/* 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: 0.5rem;
    line-height: 1.2;
    color: var(--black-color);
    /* Bold */
}

.bg-silver-light {
    background-color: #f7f8fa !important;
}

@media (min-width: 992px) {
    .display-3 {
        font-size: calc(0.523rem + 3.3vw);
        font-weight: 300;
        /* line-height: 1.2; */
    }
}

@media (max-width: 320px) {
    .display-3 {
        font-size: calc(0.200rem + 3.3vw);
        font-weight: 300;
        /* line-height: 1.2; */
    }
}

.navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: #0d6efd;
    background-color: #fffcfc;
    border: var(--bs-border-width) solid rgb(173 32 32 / 15%);
    border-radius: var(--bs-navbar-toggler-border-radius);
    transition: var(--bs-navbar-toggler-transition);
}

.carousel-content h1 {
    font-weight: 600;
}

p {
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    /* Regular */
}

button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    /* Extra Bold */
}

#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 var(--primary-color);
    padding: 5px 10px;
    margin: 2px;
    border-radius: 5px;
    background-color: var(--white-color);
    color: var(--primary-color);
    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: #001d38 !important;
}


/* Add spacing between navbar items */

.navbar-nav .nav-item {
    margin: 0 6px;
    /* Adjust the gap between menu items */
}


/* Navbar link default styles */

.navbar-nav .nav-link {
    text-align: center;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s ease-in-out, padding 0.3s ease-in-out;
}


/* Hover effect - reduce height */

.navbar-nav .nav-link:hover {
    color: var(--hover-color);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.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.1s ease-in-out;
}


/* Hover Effect (Only Move Text) */

.dropdown-item:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-indent: 10px;
    /* Moves only the text, not the box */
}


/* Login Button */

.btn-signup {
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-weight: 500;
    border: none;
    /* Removes border */
    border-radius: 5px;
    /* Reduces the curve */
    padding: 8px 16px;
    /* Adjust padding if needed */
}


/* Sign Up Button */

.btn-login {
    /* background-color: var(--secondary-color); */
    color: var(--white-color);
    font-weight: 500;
    border-radius: 10px var(--bs-primary) !important;
}

@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 0px;
    position: relative;
    /* Space for icon */
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #00aaff;
    /* 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: #036e72;
    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: var(--black-color);
    text-decoration: none;
    font-weight: 600;
}

.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 Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 45%;
    left: 2%;
    background: var(--bs-primary);
    border-radius: 50px;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: 0.8s;
}

.carousel-control-next {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 45%;
    right: 2%;
    background: var(--bs-primary);
    border-radius: 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: 0.8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: var(--white-color);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--success-color);
    color: var(--white-color);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 30px;
    background: var(--bs-primary);
    margin: 30px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInRight {
    animation-name: fadeInRight;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }
    .carousel-item h1 {
        font-size: 40px !important;
    }
    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }
    .carousel-item h1 {
        font-size: 19px !important;
    }
    .carousel-item p {
        font-size: 14px !important;
    }
}

.text-theme-light {
    color: var(--footer-element-color);
}


/*** Services Start ***/


/* Custom CSS */

.services-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    /* Light gray background from screenshot */
}

.services-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.service-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-description {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.learn-more {
    font-size: 0.875rem;
    color: #d4a017;
    text-decoration: none;
    font-weight: 500;
}

.learn-more:hover {
    text-decoration: underline;
    color: #b88a12;
}


/* Responsive adjustments */

@media (min-width: 768px) {
    .service-card {
        min-height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .services-heading {
        font-size: 1.5rem;
    }
    .service-card {
        margin-bottom: 20px;
    }
}


/*** Services End ***/

.page-header {
    /* background: radial-gradient(circle, rgb(187, 255, 144) 10%, rgb(90, 180, 90) 80%) !important; */
    background: #036e72;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-dark);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: #fff;
}


/* Contact Box Styling */

.contact-box {
    background-color: #001d38;
    /* Light gray background */
    padding: 20px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
}


/* Icon Styling */

.contact-icon {
    font-size: 24px;
    color: #333;
    background: white;
    border-radius: 50%;
    padding: 15px;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-content p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #555;
}

.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: var(--secondary-color);
    /* Light blue */
}


/* Double underline effect */

.section-title h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--black-color);
    margin: 5px auto 0;
}

.section-title h2::before {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--black-color);
    margin: auto;
    position: relative;
    top: 50px;
}

.line-bottom {
    width: 0;
    height: 3px;
    border-radius: 30px;
    background: var(--secondary-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%;
}

.owl-prev,
.owl-next {
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    width: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
}

.owl-prev {
    left: -20px;
}

.owl-next {
    right: -20px;
}

.owl-dots {
    display: none !important;
}

.owl-prev:hover,
.owl-next:hover {
    background: #007bff !important;
}

.service-box a:hover {
    color: grey !important;
}

.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 {
    padding: 5px 10px;
    border: 1px solid #c5c2e5;
    border-radius: 5px;
}


/* Blog Card Styles */

.blog-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}


/* Blog Image Styling */

.blog-img {
    position: relative;
}

.blog-img img {
    display: block;
    width: 100%;
    height: auto;
}


/* Positioning the Date Badge */

.blog-date {
    position: absolute;
    bottom: -10px;
    left: 70%;
    background-color: var(--primary-color);
    padding: 5px 10px;
    font-size: 14px;
    box-shadow: 0px -4px 0px 0px var(--secondary-color);
}


/* Styling for Blog Content */

.blog-content {
    padding: 20px;
    position: relative;
}


/* Positioning View Details Button */


/* Card Styling */

.news-card {
    position: relative;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


/* Hover Effects */

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}


/* Title Styling */

.news-card h5 {
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.news-card:hover h5 {
    color: #0d6efd;
}


/* Description Styling */

.news-card p {
    color: #6c757d;
}


/* Read More Button */

.news-card .read-more {
    text-decoration: none;
    color: #0d6efd;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.news-card .read-more:hover {
    color: #084298;
    text-decoration: underline;
}


/* Positioning the Date Badge */

.news-date {
    position: absolute;
    left: 85%;
    bottom: 90%;
    background-color: #003366;
    padding: 5px 10px;
    font-size: 14px;
    box-shadow: 0px -4px 0px 0px #007bff;
    color: white;
}

.blog-coment {}

.cfp-logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cfp-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}