:root {
    --primary: #355EFC;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #DFE4FD;
    --dark: #011A41;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
    color: #000;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #000;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img h2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: .5s;
    color: #355EFC;
    opacity: 0;
}

.project-item:hover .project-img h2 {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

/* .footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
} */

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}

.footer-center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.flex-box1 {
    width: 47%;
    font-size: 15px;
}

.flex-box1 h4 {
    font-size: 25px;
}

.flex-box2 {
    width: 31%;
}

.flex-box2 h4 {
    font-size: 18px;
}

.flex-box2 a {
    font-size: 14px;
}

.flex-box3 {
    width: 22%;
}

.flex-box3 h4 {
    font-size: 18px;
}

.flex-box3 a {
    font-size: 14px;
}




.contact-section{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:60px 20px;
    background-color: #89aef3;
}

.contact-container{
    width:100%;
    max-width:700px;
    margin:0 auto;
    background:#f1f1f1;
    padding:40px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.contact-container h2{
    text-align:center;
    margin-bottom:25px;
    color:#041858;
}

.form-group{
    margin-bottom:20px;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
    font-size:16px;
    transition:.3s;
}

.form-group input:focus,
.form-group textarea:focus{
    border-color:#355EFC;
}

.form-group textarea{
    min-height:140px;
    resize:vertical;
}

.btn-submit{
    width:100%;
    padding:14px;
    background:#355EFC;
    color:#fff;
    border:none;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.btn-submit:hover{
    background:#2349d8;
}

@media (max-width:576px){
    .contact-container{
        padding:20px;
    }

    .form-group input,
    .form-group textarea{
        padding:12px;
        font-size:15px;
    }
}

/*Footer*/

@media (max-width: 768px) {

    .footer-center {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
    }

    .flex-box1,
    .flex-box2,
    .flex-box3 {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .flex-box3 {
        margin-bottom: 0;
    }
}



.board-section {
    background: linear-gradient(
        rgba(209, 209, 209, 0.75),
        rgba(17, 48, 95, 0.658)
    ),
    url("../img/boardroom.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

     min-height: 700px;
    display: flex;
    align-items: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 30px;
    background: rgba(255,255,255,0.15);
    margin-bottom: 10px;
    font-weight: 600;
}

.director-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.director-card:hover {
    transform: translateY(-5px);
}

.director-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg,#7db8ff,#ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #0d3b8e;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.director-info h3 {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 600;
}

.director-info span {
    background: #f1f1f1;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 767px) {

    .director-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .director-info h3 {
        font-size: 22px;
    }

    .director-avatar {
        width: 70px;
        height: 70px;
        min-width: 70px;
        font-size: 22px;
    }
}

@media (max-width: 991.98px) {

    .navbar-brand {
        flex: 1;
        margin-right: 10px;
    }

    .navbar-toggler {
        margin-left: auto !important;
    }

    .navbar-brand h2 {
        font-size: 1.1rem !important;
        line-height: 1.3;
    }
}

.navbar-toggler {
    border: 3px solid #ffffff !important;
    box-shadow: 0 0 5px rgba(53, 94, 252, 0.4);
    padding: 1px 8px;
    border-radius: 6px;
}
