/********** Template CSS **********/
:root {
    --primary: #020712fa;
    --secondary: #2c58d1;
    --light: #F5F5F5;
    --dark: #4d77e0;
    --accent: #0bece9cc;         /* Orange for accents */
    --success: #28a745;        /* Green for success messages */
    --info: #fdfdfd;           /* Light Blue for info */
    --warning: #ffc107;        /* Yellow for warnings */
    --danger: #dc3545;         /* Deep Red for errors */
    --background: #f0f0f0;     /* Light background color */
    --heading: #eae0e0;        /* Dark Gray for headings */
    --link: #1e90ff;           /* Dodger Blue for links */
    --button-hover: #142c78;   /* Darker red for button hover state */
    --border: #f0f4f4;         /* Light Gray for borders */
}

/* Font Style Definitions */
:root {
    --font-primary: 'Barlow', sans-serif;   /* Primary Font */
    --font-secondary: 'Ubuntu', sans-serif; /* Secondary Font */
    --font-serif: Georgia, serif; /* Serif Option */
    --font-monospace: 'Courier New', monospace; /* Monospace Option */
}
.bg-light-blue {
    background-color: #f1f1f5; /* Light blue background */
}

.bg-black {
    background-color: #131314; /* Light blue background */
}
/* Typography */
h1, h2, .h1, .h2, .fw-bold {
    font-weight: 700 !important;
    font-family: var(--font-serif) !important;
}

h3, h4, .h3, .h4, .fw-medium {
    font-weight: 600 !important;
    font-family: var(--font-serif) !important;
}

h5, h6, .h5, .h6, .fw-semi-bold {
    font-weight: 500 !important;
    font-family: var(--font-serif) !important;
}

/* Additional Font Weight and Style Options */
.fw-light {
    font-weight: 300 !important; /* Light Weight for softer text */
}

.fw-regular {
    font-weight: 400 !important; /* Regular font weight for normal text */
}

.fw-extra-bold {
    font-weight: 800 !important; /* Extra bold for prominent headings */
}

/* Italic Text */
.font-italic {
    font-style: italic !important;
}

/* Text Transformations */
.text-uppercase {
    text-transform: uppercase !important;
}

.text-lowercase {
    text-transform: lowercase !important;
}

.text-capitalize {
    text-transform: capitalize !important;
}

/* Font Size Customizations */
.text-small {
    font-size: 0.875rem !important;  /* Small Text */
}

.text-large {
    font-size: 1.25rem !important;   /* Large Text */
}

.text-xlarge {
    font-size: 2rem !important;      /* Extra Large Text */
}

/* Line Height Adjustments */
.line-height-normal {
    line-height: 1.5 !important;     /* Normal line height */
}

.line-height-loose {
    line-height: 1.75 !important;    /* Looser line height for readability */
}

.line-height-tight {
    line-height: 1.25 !important;    /* Tighter line height for compact text */
}

/* Custom Font Color Variables */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.text-light {
    color: var(--light) !important;
}

.zoomable-image {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.zoomable-image:hover {
    transform: scale(1.5); /* Zoom on hover */
    cursor: zoom-out;
}

/*** 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;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.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;
}


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--light);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--border);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@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 {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/img-N4TxXyneUnD4sD9aWI3fpvKR-845x321.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-item {
    background-color: #f8f9fa; /* Light grey background */
    border-radius: 10px;       /* Rounded corners */
    padding: 20px;
    transition: background-color 0.3s ease;
}

.testimonial-item:hover {
    background-color: #007bff; /* Blue background on hover */
    color: #fff;
}

.testimonial-img img {
    max-width: 150px; /* Adjust logo size */
}



/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    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(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
/* Additional styles for certificates page */
.certificate-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

.certificate-thumb {
    width: 100%;
    max-width: 300px; /* Control the maximum width of the image */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px; /* Optional rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect for better visual */
}

.certificate-thumb:hover {
    transform: scale(1.05);
}

/* Modal styling */
.modal-fullscreen img {
    width: 100%;
    max-width: 800px;
    height: auto;
}


/* Section Title Styling */
h1.fs-lg-6 {
    font-size: 2.5rem;
    color: #333;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* Grid and Card Styling */
.row {
    display: flex;
    flex-wrap: wrap;
}

.col-lg-4, .col-md-6 {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    text-align: left;
}

.d-flex {
    display: flex;
}

.h-100 {
    height: 100%;
}

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

/* Blog Card Styling */
.card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    background-color: #fff;
}

.card:hover {
    transform: translateY(-5px);
}

/* Image Styling */
img.w-md-100 {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: opacity 0.3s;
}

img.w-md-100:hover {
    opacity: 0.9;
}

/* Category and Date Styling */
.fw-bold {
    font-weight: bold;
    color: #007bff;
}

.text-black {
    color: #000;
}

.text-gray {
    color: #6c757d;
}

/* Title Styling */
h5 {
    font-size: 1.25rem;
    color: #333;
    font-weight: 600;
    margin: 10px 0;
    transition: color 0.3s;
}

h5:hover {
    color: #007bff;
}

/* Author and Profile Styling */
.d-flex.align-items-center img.img-fluid {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Views and Likes Styling */
.text-muted {
    font-size: 0.875rem;
    color: #6c757d;
}

.text-muted + .text-muted {
    margin-left: 15px;
}

.d-flex.align-items-center.justify-content-center .text-muted {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.d-flex.align-items-center.justify-content-center .text-muted:hover {
    color: #007bff;
}
