/* ==============================
   IPI NAVBAR – FINAL LAYOUT
============================== */
@import url('https://fonts.googleapis.com/css2?family=Merienda:wght@300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merienda', cursive;
    font-weight: 600;
}

.nav-ipi {
    background: #fff !important;
    border-bottom: 1px solid #eee;
    padding: 0;
}

/* Logo */
.nav-ipi .navbar-brand img {
    height: 56px;
}

/* Menu alignment */
.nav-ipi .navbar-nav {
    align-items: center;
    gap: 26px;
}

/* Nav links */
.nav-ipi .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #111;
    padding: 22px 0;
    position: relative;
}

/* Active underline (Home) */
.nav-ipi .nav-link.active {
    color: #127cc1 !important;
}

.nav-ipi .nav-link {
    font-size: 17px;
    font-weight: 600;
}

/* Dropdown arrow spacing */
.nav-ipi .dropdown-toggle::after {
    margin-left: 6px;
}

/* Dropdown menu */
.nav-ipi .dropdown-menu {
    border: none;
    border-radius: 6px;
    margin-top: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Dropdown item */
.nav-ipi .dropdown-item {
    font-size: 14px;
    padding: 10px 18px;
}

/* Phone button (right side) */
.nav-ipi form .btn {
    background: #127cc1;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 0px;
    font-size: 20px;
    align-items: center;
    gap: 8px;
}

.nav-ipi form .btn:hover {
    background: #e85f00;
}

/* Remove green outline (bootstrap default) */
.nav-ipi .btn-outline-success:focus,
.nav-ipi .btn-outline-success:active {
    box-shadow: none;
}

/* Remove toggler focus */
.nav-ipi .navbar-toggler:focus {
    box-shadow: none;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 991px) {
    .nav-ipi .navbar-nav {
        gap: 12px;
    }

    .nav-ipi .nav-link {
        padding: 10px 0;
    }

    .nav-ipi .nav-link.active::after {
        display: none;
    }

    .nav-ipi form {
        margin-top: 10px;
    }
}

/* ==============================
   MEGA MENU – NAV IPI
============================== */

.nav-ipi .nav-ipi-mega {
    position: static;
    margin: 0 15px;
}

/* Mega dropdown box */
.nav-ipi .mega-menu {
    width: 100%;
    left: 0;
    top: 100%;
    right: 0;
    border: none;
    border-radius: 0;
    margin-top: 0;
    padding: 30px 80px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.modal-header .btn-close {
    background-color: #fff;
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
    width: 100%;
}

/* Fix bootstrap default */
.nav-ipi .mega-menu .dropdown-item {
    padding: 6px 0;
    font-size: 15px;
    color: #444;
}

.nav-ipi .mega-menu .dropdown-item:hover {
    background: transparent;
    color: #127cc1;
}

/* Mega titles */
.nav-ipi .mega-title {
    color: #127cc1;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 25px;
}

.nav-ipi .navbar-nav .nav-link:hover {
    color: #127cc1;
}

.nav-ipi .mega-title::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: #127cc1;
    margin-top: 6px;
}

/* Desktop hover open */
@media (min-width: 992px) {
    .nav-ipi .nav-ipi-mega:hover .mega-menu {
        display: block;
    }
}

/* Mobile behavior */
@media (max-width: 991px) {
    .nav-ipi .mega-menu {
        padding: 15px;
        box-shadow: none;
    }

    .nav-ipi .mega-title::after {
        display: none;
    }
}

.nav-ipi .navbar-nav .nav-link {
    padding: 20px 0;
}

.nav-ipi .navbar-nav .nav-link,
.nav-ipi .dropdown-menu .dropdown-item {
    position: relative;
    font-weight: 600;
    color: #4c4c4c;
}

.nav-ipi .dropdown-menu .dropdown-item {
    margin-bottom: 10px;
    padding: 6px 0;
}

/* Line (hidden by default) */
.nav-ipi .navbar-nav .nav-link::before,
.nav-ipi .dropdown-menu .dropdown-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0;
    height: 3px;
    background: #127cc1;
    border-radius: 4px;
    transition: width 0.35s ease;
}

/* Hover animation */
.nav-ipi .navbar-nav .nav-link:hover::before,
.nav-ipi .dropdown-menu .dropdown-item:hover::before {
    width: 100%;
}

/* Active menu (Home) */
.nav-ipi .navbar-nav .nav-link.active::before {
    width: 100%;
}

/* Dropdown link fix */
.nav-ipi .dropdown-toggle::before {
    border: none;
}

.nav-ipi .dropdown-menu .dropdown-item:hover {
    background: transparent;
    color: #127cc1;
}

.blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1.2s steps(5, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

.contact-button {
    background-color: #0a9b30;
    border-radius: 100px;
    position: fixed;
    left: 10px;
    top: 50%;
    width: 60px;
    height: 60px;
    transform: translateY(-50%);
    z-index: 9999;
    padding: 12px 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.contact-button i {
    font-size: 35px;
    color: #fff;
}

.border-radius-0 {
    border-radius: 0 !important;
}

.content_bg_box ul {
    padding: 0;
    margin: 40px 0;
}

.about ul {
    padding: 0;
}

.about ul li {
    font-size: 16px;
    font-weight: 500;
    margin: 8px 0;
    list-style-type: none;
}

.content_bg_box ul li {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 8px 0;
    list-style-type: none;
}

.ptb-70 {
    padding: 70px 0;
}

.about-banner {
    background-repeat: no-repeat !important;
    background-position: right top !important;
    background-size: auto 130% !important;
    height: 50% !important;
}

.sliderimg .content_bg_box {
    background: linear-gradient(to right, rgb(18 124 193) 38%, transparent 100%)
}

.content_bg_box h1 {
    color: #ffc904;
    line-height: 1.2;
    font-size: 1.8rem;
    font-weight: 600;
}

.content_bg_box .btn {
    font-size: 19px;
    background: #ffc904;
    color: black !important;
    font-weight: 600;
    padding: 8px 15px;
}

.font-18 {
    font-size: 18px;
}

.font-25 {
    font-size: 25px;
}

.about p span {
    font-weight: 600;
}

.about p {
    font-weight: 500;
    line-height: 1.5;
}

#moreContent {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-item {
    background: #fff;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

.placed img {
    width: 100px !important;
}

.counter-box {
    background: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    height: 100%;
}

/* Hover effect */
.counter-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* Icon */
.counter-box i {
    font-size: 45px;
    color: #127cc1;
    margin-bottom: 12px;
    display: inline-block;
}

/* Number */
.counter-box h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 5px 0;
    color: #111;
}

/* Plus sign */
.counter-box h2::after {
    content: "+";
    font-size: 28px;
    margin-left: 4px;
}

/* Text */
.counter-box p {
    font-size: 15px;
    font-weight: 500;
    color: #555;
    margin: 0;
}

.bg-dark .counter-box {
    color: #000;
}

.bg-dark .counter-box h2,
.bg-dark .counter-box p {
    color: #000;
}

.bg-dark .counter-box i {
    color: #127cc1;
}

.counter-wrap img {
    border-radius: 10px;
}

.sec_title::before {
    content: '';
    position: absolute;
    bottom: -14px;
    width: 17%;
    height: 2px;
    background: linear-gradient(to right, transparent, #127cc1, transparent);
    left: 50%;
    transform: translateX(-50%);
}

.sec_title::after {
    content: '';
    position: absolute;
    bottom: -7px;
    width: 25%;
    height: 2px;
    background: linear-gradient(to right, transparent, #127cc1, transparent);
    left: 50%;
    transform: translateX(-50%);
}

.font-20 {
    font-size: 20px;
}

.sec_title {
    position: relative;
    text-shadow: 1px 0px #2a2525;
}

.trained ul li {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
    list-style-type: none;
}

.certification {
    background-color: #127cc1;
}

.text1 {
    color: #127cc1;
}

.certification .main_box {
    height: 100%;
    background-image: url('../img/bg9.png');
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
}

.certification .img_box {
    width: 80%;
    position: relative;
}

.certification .img_box::before {
    content: '';
    top: -20px;
    bottom: -20px;
    left: -20px;
    right: -20px;
    background-color: #ffffff4a;
    position: absolute;
    z-index: -1;
    box-shadow: -6px 7px 20px -8px rgba(0, 0, 0, 0.5);
}

.certification .img_box img {
    width: 100%;
    padding: 5px;
    border: 1px solid #e9ecef;
    background: #fff;
}

.marquee-wrapper {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    position: absolute;
    width: 100%;
    animation: scrollUp 12s linear infinite;
}

.marquee-content p {
    margin: 10px 0;
    padding: 6px 10px;
    background-color: #cccc;
    font-size: 14px;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}


.accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
}

.accordion-button {
    padding: 18px 20px;
    font-weight: 500;
    font-size: 16px;
    background: #fff;
    color: #111;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    background-size: 14px;
}

.accordion-button:not(.collapsed) {
    background: #fff;
    color: #111;
}

.accordion-body {
    padding: 15px 20px;
    color: #555;
    border-left: 2px solid #555;
    font-size: 14px;
}

.show-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #127cc1;
    cursor: pointer;
    text-decoration: none;
}

.show-toggle i {
    transition: transform 0.3s ease;
}

.testimonial-card {
    position: relative;
    background: #fff;
    padding: 60px 20px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #127cc1;
    height: 100%;
    margin: 38px 0 25px 0;
}

.profile-img {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.profile-img img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.name {
    color: #127cc1;
    font-weight: 600;
    margin-bottom: 6px;
}

.stars i {
    color: #f4b400;
    font-size: 14px;
}

.text {
    font-size: 14px;
    color: #222;
    font-style: italic;
    margin-top: 10px;
}

.headscroll a {
    font-weight: bold;
    font-size: 24px;
    color: black;
    cursor: pointer;
    margin-top: 30px;
    margin-bottom: 15px;
}

footer ul {
    margin: 0;
    padding: 0;
}

footer ul li {
    list-style-type: none;
    margin-bottom: 10px;
    font-size: 15px;
}

footer ul li a {
    color: #000;
    text-decoration: none;
}

.form-control {
    font-size: 15px;
    font-weight: 500;
    border-radius: 0;
}

input.form-control {
    height: 45px;
}

.content_bg_box p {
    color: #fff;
}

.sidebar {
    position: fixed;
    right: 0;
    top: 9%;
    background: #ffffff96;
    box-shadow: -1px 4px 7px gray;
    padding: 10px 15px;
    border-radius: 8px 0 0 8px;
    z-index: 3;
}

.sidebar ul {
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    list-style-type: none;
    margin: 15px 0;
}

.sidebar ul li a {
    color: #dc3545;
}

.sidebar ul li i {
    font-size: 25px;
}

.header {
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-fix {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 10px;
    margin: 0 auto;
    text-align: center;
    z-index: 3;
}

ul.ful {
    list-style-type: circle;
    padding: 10px 30px;
    margin: 0;
    font-size: 18px;
    color: black;
}

ul.ful li {
    list-style-type: circle;
    margin: 10px 0;
}

.video ul li {
    list-style-type: none;
}

.font-15 {
    font-size: 15px;
}

.placed .card {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.placed .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.placed .card img {
    border-radius: 12px;
    object-fit: cover;
}

.placed .card-body {
    text-align: center;
    padding: 18px;
}

.placed .card-body h6 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 4px;
    color: #222;
}

.placed .card-body p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

a {
    color: #127cc1;
}

a:hover {
    color: #127cc1;
}

.btn-primary {
    background-color: #127cc1;
    border-color: #127cc1;
}

@media (min-width: 320px) and (max-width: 768px) {
    .nav-ipi form .btn {
        width: 100%;
    }

    .navbar-nav {
        margin-top: 15px;
    }

    .nav-ipi .navbar-nav .nav-link {
        padding: 2px 0;
        font-size: 15px;
    }

    .nav-ipi .mega-title {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .nav-ipi .dropdown-menu .dropdown-item {
        margin-bottom: 0;
        font-size: 13px;
    }

    .font-25 {
        font-size: 23px;
    }

    .font-18 {
        font-size: 16px;
    }

    .font-25 {
        font-size: 21px;
    }

    .ptb-70 {
        padding: 40px 0;
    }

    .trained ul li {
        font-size: 16px;
        margin: 12px 0;
    }

    .pt_0 {
        margin-top: 0 !important;
    }

    .video ul {
        padding-left: 0;
    }

    .video ul li {
        font-size: 15px;
    }

    .contact-button {
        top: auto;
        bottom: -10px;
        left: auto;
        right: 10px;
    }

    .nav-ipi .navbar-nav {
        align-items: flex-start;
    }

    .nav-ipi .nav-ipi-mega {
        margin: 0px;
    }

    .content_bg_box .btn {
        font-size: 17px;
    }

    h6.mobilefont-12 {
        font-size: 12px;
    }

    .font-20 {
        font-size: 18px;
    }

    .placed .card-body {
        padding: 5px;
    }

    .content_bg_box h1 {
        font-size: 1.4rem;
    }

    .content_bg_box p {
        font-size: 15px;
    }

    .corporate img {
        width: 100%;
    }

    .counter-box h2 {
        font-size: 30px;
    }

    .counter-box p {
        font-size: 12px;
    }

    .counter-box {
        padding: 20px 10px;
    }

    .counter-box i {
        font-size: 35px;
    }
}