/* --- GLOBAL STYLES --- */
body {
    font-family: 'Anek Latin', sans-serif !important;
}

.navbar-nav .dropdown-menu {
    min-width: max-content;
    padding: 12px 0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

.navbar-brand {
    display: none;
}

.dropdown-item {
    display: flex;
    gap: 14px;
    padding: 12px 18px;
    align-items: flex-start;
}

.dropdown-icon i {
    font-size: 18px;
    color: #0d6efd;
}

.dropdown-text h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.dropdown-text p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6c757d;
}

/* --- TOP BAR --- */
#header {
    position: sticky;
    top: 0;
    z-index: 99;
}

#branding {
    display: none !important;
}

.top-bar {
    background-color: #ffffff;
    color: #5d6b82;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 0;
}

.top-bar a {
    font-size: 16px;
    color: #1C204F;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s;
    font-family: 'Anek Latin', sans-serif;
    text-transform: uppercase;
}

.social-icons {
    text-align: right;
    width: 50%;
}

.social-icons a img {
    width: 100%;
    height: auto;
    max-width: 3%;
}

.top-bar a:hover {
    color: #1e264f;
}
.nav-item.dropdown > .nav-link .mobile-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-item.dropdown.open > .nav-link .mobile-arrow {
    transform: rotate(225deg);
}

.social-icons a {
    margin-left: 15px;
    margin-right: 0;
}

/* --- MAIN NAVBAR --- */
.navbar {
    background-color: #1C204F;
    padding: 10px 0;
    position: relative;
}

.dropdown-menu[data-bs-popper] {
    left: -100% !important;
}

.navbar-brand img {
    width: 100%;
    height: auto;
    max-width: 50%;
}

.nav-link {
    color: #ffff !important;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 20px 15px !important;
    transition: color 0.3s;
    font-family: 'Anek Latin', sans-serif;
}

.nav-link:hover {
    color: #fff !important;
}

/* --- MOBILE TOGGLER ANIMATION --- */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    margin: 10px 0;
    transition: 0.3s;
}

.navbar-toggler:focus {
    box-shadow: none;            /* Remove default blue glow */
}

/* Rotate icon when menu is open (Bootstrap adds area-expanded=true) */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transition: transform 0.3s ease;
}

.navbar-toggler-icon {
  transition: transform 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* --- CONTACT BUTTON --- */
.btn-contact {
    background-color: #fff;
    color: #082D7D;
    font-weight: 400;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    transition: transform 0.2s;
    font-family: 'Anek Latin', sans-serif;
}

.btn-contact:hover {
    background-color: #0276FD;
    color: #fff;
}

.btn-contact:hover .white-arrow {
    display: block;
}

.btn-contact:hover .blue-arrow {
    display: none;
}

.white-arrow {
    display: none;
}

.btn-contact img {
    width: 100%;
    height: auto;
    max-width: 20%;
}

.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover {
    background: transparent;
}

/* --- DROPDOWN STYLING --- */
.dropdown-menu {
    border-radius: 4px;
    border: none;
    padding: 20px 30px !important;
    background-color: #E2EBFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    min-width: 450px;            /*left: -100%;*/
}

.dropdown-item {
    padding: 12px 0px;
    display: flex;
    align-items: flex-start;
    white-space: normal;
    background-color: transparent;
    transition: background 0.2s;
    border-bottom: 1px solid #fff;
}

.dropdown-item:last-child {
    border-bottom: 0;
}

.dropdown-icon {
    font-size: 18px;
    color: #3b5998;
    margin-right: 15px;
    margin-top: 3px;
    width: 24px;
    text-align: center;
}

.dropdown-text h6 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1C204F;
    font-family: 'Inter', sans-serif;
}

.dropdown-text p {
    margin: 2px 0 0 0;
    font-size: 16px;
    color: #626262;
    color: #626262;
    font-family: 'Inter', sans-serif;
}

/* --- ANIMATIONS & RESPONSIVENESS --- */

/* Define the slide/grow animation */
@keyframes growDown {
    0% {
        opacity: 0;
        transform: scaleY(0.8);
    }

    100% {
        opacity: 1;
        transform: scaleY(1);
    }

}

@media screen and (min-width:1025px) and (max-width:1280px) {
    .nav-link {
        font-size: 16px !important;
    }

    .top-slider-section .slide-title {
        font-size: 42px;
        line-height: 56px;
    }

    .navbar-nav .dropdown-menu {
        min-width: 350px;
    }

}

@media screen and (min-width:992px) and (max-width:1024px) {
    .nav-link {
        font-size: 14px !important;
        padding: 10px !important;
    }

    .top-slider-section .slide-title {
        font-size: 38px;
        line-height: 42px;
    }

    .navbar-nav .dropdown-menu {
        min-width: 300px;
    }

}

/* DESKTOP (Large Screens) */
@media (min-width:992px) {

    /* Hover trigger */
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        animation: growDown 0.3s ease-in-out forwards;
        transform-origin: top center;
        padding: 20px 50px;
    }

    .nav-item.dropdown:hover .dropdown-icon i {
        transform: translateY(4px);
    }

}

/* MOBILE (Small Screens) */
@media (max-width:991px) {
    li.nav-item {
        width: 100%;
    }

    .nav-link.dropdown-toggle {
        display: inline-flex;
        align-items: center;                /* vertical center */
        justify-content: center;
        gap: 6px;                /* text aur arrow ke beech spacing */
    }

    /*.nav-link.dropdown-toggle::after{
      pointer-events: none;
    }*/

    /* arrow (::after) tweak */
    .nav-link.dropdown-toggle::after {
        margin-left: 6px;
        vertical-align: middle;
    }

    .nav-link {
        text-align: left;
    }

    .dropdown-toggle::after {
        position: absolute;
        right: 5%;
    }

    .btn-contact {
        margin: 15px 0;
        width: fit-content;
        justify-content: center;                /*margin: 0 auto;*/
    }

    .navbar-nav {
        padding-bottom: 20px;
    }

    /* Mobile Dropdown Styling */
    .dropdown-menu {
        width: 100%;
        min-width: auto;
        box-shadow: none;
        background-color: #2a2d55;                /* Darker for mobile */
        margin-top: 10px;
    }

    .dropdown-text h6 {
        color: #fff;
    }

    .dropdown-text p {
        color: #aab;
    }

    .dropdown-icon {
        color: #fff;
    }

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* ANIMATION FOR MOBILE DROPDOWN */
    .dropdown-menu.show {
        animation: growDown 0.3s ease-in-out forwards;
        transform-origin: top center;
    }

    .navbar-toggler {
        border-color: transparent !important;
    }

    .navbar-brand {
        width: 70%;
    }

    /*.nav-link{
        text-align: center;
    }*/
    .btn-contact img {
        max-width: 10%;
    }

    .top-bar a {
        font-size: 12px;
    }

    .navbar-nav .dropdown-menu {
        min-width: auto;
    }

    .social-icons a img {
        max-width: 6%;
    }


}

/*********** all heading and card animation css start ************/

/*all heading animation */

/* Default hidden state */
.section-heading, .slide-title {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

/* When visible */
.section-heading.animate, .slide-title.animate {
    opacity: 1;
    transform: translateY(0);
}

/*about us imag animation css*/
.stat-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.stat-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:nth-child(1) {
    transition-delay: 0.1s;
}

.stat-card:nth-child(2) {
    transition-delay: 0.3s;
}

.stat-card:nth-child(3) {
    transition-delay: 0.5s;
}

.stat-card:nth-child(4) {
    transition-delay: 0.7s;
}

/* all cards animation  */
.animate-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/*************** all heading and card css animation end*/
@media(max-width:1024px) {
    .navbar .dropdown-toggle::after {
        display: none !important;
        content: none !important;
    }

    .mobile-arrow {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-left: 8px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg);
        cursor: pointer;
        transition: .3s;
    }

    .dropdown.show>a .mobile-arrow {
        transform: rotate(-135deg);
    }
    .footer-section .footer-inner-right-content {
        width: 66% !important;
    }

}

@media(max-width:991px) {
    .mobile-arrow {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-left: 8px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg);
        cursor: pointer;
        transition: .3s;
        position: absolute;
        right: 10px;
    }

    .nav-link.dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: left;
        gap: 6px;
        position: relative;
        width: 100%;
    }

}
@media(max-width:768px) {
    .navbar-toggler{
        padding-right: 0px;
    }
}