/********** Template CSS **********/
:root {
    --primary: #1363C6;
    --secondary: #15ACE1;
    --light: #F4F7FE;
    --dark: #14183E;
}

.sticky-top {
    background-color: var(--primary);
    z-index: 1020;
}

/*** 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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.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;
    border-radius: 50px;
}


/* Floating Icons */
.floating-icons {
    position: fixed;
    right: 18px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-icons .float {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.floating-icons .float:hover {
    transform: scale(1.1);
}

/* Individual Colors */
.floating-icons .whatsapp {
    background: #25D366;
}

.floating-icons .call {
    background: linear-gradient(135deg, #1363C6, #15ACE1);
}

.floating-icons .instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

@media (max-width: 767px) {
    .floating-icons {
        right: 12px;
        bottom: 80px;
    }
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.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 {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

@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;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    /*background: url(../img/bg-hero.png) center center no-repeat;*/
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/* Engagements Section */
.engagement-bg {
    background: linear-gradient(
        180deg,
        #f8fafc 0%,
        #ffffff 100%
    );
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: linear-gradient(135deg, #1b4fa3, #1363C6);
    border: 1px solid #2b6fd6;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.35s ease;
}

/* Top Accent Line */
.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #15ACE1;
}

/* Icon */
.service-item .service-icon {
    margin: 0 auto 20px;
    width: 90px;
    height: 90px;
    background: #e6f0ff;   /* light blue */
    color: var(--primary);
    transition: 0.35s ease;
}

/* Text */
.service-item h5 {
    color: #ffffff;
}

.service-item p {
    color: #dbe7ff;
}

/* Hover Effects */
.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(19, 99, 198, 0.45);
    background: linear-gradient(135deg, #143f85, #0f52ba);
    border-color: #15ACE1;
}

.service-item:hover .service-icon {
    background: #15ACE1;
    color: #ffffff;
}

.service-list-modern {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
}

.service-row {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #eaeef5;
}

.service-row:last-child {
    border-bottom: none;
}

.service-row i {
    font-size: 28px;
    color: #0f52ba;
    min-width: 40px;
}

.service-row h5 {
    margin-bottom: 6px;
    font-weight: 600;
}

.service-row p {
    margin: 0;
    color: #555;
}


/*** Case Study ***/
.case-item img {
    transition: .5s;
}
  
.case-item:hover img {
    transform: scale(1.2);
}
  
.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}


/* Training Section  */
.training-bg {
    background: #ffffff;
    border-top: 1px solid #e6eaf0;
}

/* Training Card */
.training-card {
    background: linear-gradient(135deg, #1b4fa3, #1363C6);
    padding: 35px 28px;
    border-radius: 14px;
    height: 100%;
    border: 1px solid #2b6fd6;
    transition: all 0.35s ease;
    text-align: left;
}

/* Icon */
.training-card i {
    font-size: 36px;
    color: #ffffff;
    background: #15ACE1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

/* Title */
.training-card h5 {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Text */
.training-card p {
    color: #dbe7ff;
    margin-bottom: 10px;
}

/* List */
.training-card ul {
    padding-left: 18px;
    margin: 0;
}

.training-card ul li {
    color: #e6efff;
    font-size: 14px;
    margin-bottom: 6px;
}

/* Hover */
.training-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(19, 99, 198, 0.45);
    border-color: #15ACE1;
}


/* ================================
   Academic & Institutional Section
================================ */

/* Section Background */
.academic-bg {
    background: linear-gradient(
        rgba(245, 248, 252, 0.95),
        rgba(245, 248, 252, 0.95)
    ),
    url("../img/academic-bg.jpg") center center / cover no-repeat;
    padding: 60px 0;
}

/* Academic Cards */
.academic-card {
    background: linear-gradient(135deg, #1b4fa3, #1363C6);
    padding: 30px 22px;
    border-radius: 14px;
    border: 1px solid #2b6fd6;
    height: 100%;
    transition: all 0.35s ease;

    /* alignment fix */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Icon */
.academic-card i {
    font-size: 34px;
    color: #ffffff;
    background: #15ACE1;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Title */
.academic-card h6 {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Description */
.academic-card .desc {
    font-size: 14px;
    color: #dbe7ff;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 90%;
}

/* Meta text */
.academic-card .meta {
    font-size: 13px;
    color: #e6efff;
    line-height: 1.4;
    margin-bottom: 6px;
    max-width: 90%;
}

/* Hover Effect */
.academic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(19, 99, 198, 0.45);
    border-color: #15ACE1;
}

/* Optional: slightly brighter icon on hover */
.academic-card:hover i {
    background: #1cc4ff;
}

/* Mobile adjustment */
@media (max-width: 767px) {
    .academic-card {
        padding: 26px 20px;
    }

    .academic-card .desc,
    .academic-card .meta {
        max-width: 100%;
    }
}



/* Global section spacing */
.section {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 767px) {
    .section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}


/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
}

.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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.about-hero {
    background: url("../img/about-hero.jpeg") center center / cover no-repeat;
}

.service-hero {
    background: url("../img/service-hero.jpg") center center / cover no-repeat;
}

.contact-hero {
    background: url("../img/contact-hero.jpg") center center / cover no-repeat;
}

/* ===============================
   HERO FIX – REAL MOBILE DEVICES
================================ */

.about-hero,
.contact-hero,
.service-hero {
    position: relative;
    display: flex;
    align-items: center;
}

/* Desktop */
.about-hero,
.contact-hero,
.service-hero {
    min-height: 350px;
}

/* Tablet & Mobile */
@media (max-width: 768px) {
    .about-hero,
    .contact-hero,
    .service-hero {
        min-height: 220px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .about-hero,
    .contact-hero,
    .service-hero {
        min-height: 190px;
    }
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.topbar a:hover {
    color: #0d6efd !important;
}

