/* Apply Saira font to the whole website */
body {
    font-weight: 400;
    width: 100vw;
    overflow-x: hidden;
}


body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    background-color: var(--white-color);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* logo */
.logo {
    width: auto;
    height: 100px;
    max-height: 50%;
    padding: 0;
    margin: 0;
    display: block;
}


/* logo */



/* navbar */
.navbar {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px;
    transition: box-shadow 0.3s ease-in-out;
    background-color: var(--white-color);
}

/* Navbar items */
.navbar-nav .nav-item {
    margin: 0 15px;
    font-weight: 500;
    position: relative;
}

.navbar-nav .nav-link {
    color: var(--black-color);
    padding: 10px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    border-radius: 5px;
}

.navbar-nav .nav-item:hover>.nav-link {
    background-color: var(--hover-color);
}

/* Base dropdown styles */
.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transform: translateY(15px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    background-color: var(--primary-color);
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

/* Show main dropdown on hover (desktop) */
.nav-item.dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-item {
    font-size: 16px;
    padding: 8px 15px;
    color: var(--text-color);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    display: block;
    position: relative;
    background-color: var(--white-color);
}

.dropdown-item:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-indent: 10px;
}

/* Submenu specific styling */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    transform: translateX(-10px);
}

/* Show submenu only on direct parent hover (desktop) */
.dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Chevron/icon styling */
.nav-link i,
.dropdown-item i {
    font-size: 10px;
    margin-left: 7px;
    transition: transform 0.3s ease-in-out;
}

.nav-item.dropdown:hover>.nav-link>i,
.dropdown-submenu:hover>.dropdown-item>i {
    transform: rotate(180deg);
}

/* Remove Bootstrap's default arrow */
.dropdown-toggle::after {
    display: none;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 10px 0;
    }

    .navbar-nav .nav-item {
        margin: 2px 0;
        width: 100%;
    }

    .navbar-nav .nav-link,
    .dropdown-item {
        padding: 12px 20px;
        width: 100%;
        justify-content: space-between;
        display: flex;
        align-items: center;
    }

    /* Base dropdown styles for mobile */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        transform: none;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 0;
        padding: 0;
        display: none;
        background-color: var(--white-color);
        opacity: 1;
        visibility: visible;
    }

    /* Show dropdowns when toggled */
    .dropdown-menu.show {
        display: block;
    }

    /* Submenu adjustments */
    .dropdown-submenu>.dropdown-menu {
        position: static;
        left: 0;
        padding-left: 30px;
        transform: none;
        display: none;
    }

    .dropdown-submenu.show>.dropdown-menu {
        display: block;
    }

    /* Dropdown items in mobile */
    .dropdown-item {
        background-color: transparent;
    }

    .dropdown-item:hover {
        text-indent: 0;
        background-color: rgba(0, 0, 0, 0.1);
    }

    /* Chevron rotation for mobile */
    .nav-item.dropdown.show>.nav-link>i,
    .dropdown-submenu.show>.dropdown-item>i {
        transform: rotate(180deg);
    }

    /* Ensure proper spacing for sub-dropdowns */
    .dropdown-submenu .dropdown-item {
        padding-left: 40px;
        /* Additional indent for nested items */
    }
}

@media (min-width: 992px) {
    .dropdown-menu {
        top: 100%;
        left: 0;
    }

    .dropdown-submenu>.dropdown-menu {
        top: 0;
        left: 100%;
    }
}

/* navbar */


/* top header */
.top-bar {
    background-color: var(--primary-color);
    font-size: 16px;
}

.top-bar-icon i {
    color: var(--secondary-color);
}

.figcaption {
    font-size: 12px;
}

.header-bottom i {
    color: var(--secondary-color);
    font-size: 30px;
}

.header-bottom span {
    color: var(--secondary-color);
    font-size: 15px;
}

/* top header */



.btn-custom {
    font-size: 14px;
    font-weight: bold;
}

.btn-theme-light {
    background-color: var(--primary-color);
    color: #fff;
}

.text-theme-dark {
    color: var(--secondary-color);
}

.btn-theme-dark {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-theme-light {
    background-color: var(--primary-color);
    color: #fff;
}

/* Login Button */
.btn-signup {
    background-color: #45c4e9;
    border: none;
    color: white;
    font-weight: 500;
}

/* Sign Up Button */
.btn-login {
    background-color: #45c4e9;
    color: white;
}



@media (max-width: 1200px) {
    .action-button {
        display: none !important;
    }
}

/* ----------------------------------------- */

.footer-top {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 40px 0;
}

.footer-bottom {
    background-color: #1E1E1E;
    color: var(--white-color);
    padding: 10px 0;
    text-align: center;
}

.footer-bottom a {
    color: var(--white-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: none;
}

.subscribe-input {
    border: none;
    padding: 10px;
    border-radius: 5px;
    width: 70%;
}

.subscribe-btn {
    border: 2px solid var(--white-color);
    background: transparent;
    color: var(--white-color);
    padding: 8px 10px;
    border-radius: 5px;
}

.subscribe-btn:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

/* .floating-icon {
    position: fixed;
    bottom: 20px;
    right: 80px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
} */

/* .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
} */

/* .back-to-top:hover {
    background: var(--white-color);
    color: var(--primary-color);;
} */

/* ----------------------------------------- */

/* Social icons styling */
.styled-icons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.styled-icons li {
    margin: 0 10px;
}

.styled-icons li a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease-in-out;
}

.styled-icons li a:hover {
    color: var(--text-color);
}

.styled-icons.icon-bordered i {
    border: 1px solid var(--text-color);
    border-radius: 1px;
    padding: 8px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.styled-icons.icon-sm i {
    font-size: 16px;
}


/* Responsive adjustments */
@media (max-width: 767px) {
    .styled-icons {
        flex-direction: column;
        /* Stack vertically on mobile */
        align-items: center;
    }

    .styled-icons li {
        margin: 5px 0;
        /* Vertical spacing on mobile */
    }
}

@media (min-width: 768px) {
    .styled-icons {
        flex-direction: row;
        /* Horizontal on desktop */
    }

    .styled-icons li {
        margin: 0 10px;
        /* Horizontal spacing on desktop */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-section {
        width: 45%;
        /* Two sections per row on smaller screens */
    }
}

@media (max-width: 500px) {
    .footer-section {
        width: 100%;
        /* Single section per row on very small screens */
    }
}

/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .2);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    background-color: #cccccc54;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 45%;
    left: 2%;
    border-radius: 50px;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--secondary-color);
    transition: .8s;
}

.carousel-control-next {
    background-color: #cccccc54;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 45%;
    right: 2%;
    border-radius: 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--secondary-color);
    transition: .8s;
}

.carousel-content-btn1 {
    color: var(--white-color);
    background-color: #cccccc54;
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-content-btn1:hover {
    color: var(--white-color);
    background: var(--primary-color);
    letter-spacing: 5px;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}



#carouselId .carousel-indicators li {
    width: 30px;
    height: 30px;
    background: var(--bs-primary);
    margin: 30px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}






@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInRight {
    animation-name: fadeInRight;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.carousel-item h1 {
    font-weight: 600;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }

    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }

    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.text-theme-light {
    color: var(--footer-element-color);
}




/* Section Styling */
.company-section {
    background-color: var(--primary-color);
    /* Adjusted to match the image */
    color: var(--white-color);
    text-align: center;
    padding: 60px 20px;
}

/* Title Styling */
.company-section h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Main Heading */
.company-section h1 {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Paragraph Styling */
.company-section p {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-section h1 {
        font-size: 28px;
    }

    .company-section p {
        font-size: 14px;
    }
}

.service-box {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: 0.3s;
}

.service-box:hover {
    background: #e9ecef;
}

.service-icon {
    width: 80px;
    height: 80px;
}

.case-study-section {
    padding: 60px 0;
    text-align: center;
}


.case-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s;
}

.case-card:hover {
    transform: scale(1.05);
}

.case-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white-color);
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.btn-primary {
    margin-top: 20px;
    background-color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    color: var(--white-color);
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}


.about-updates-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.section-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.video-container {
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.updates-list {
    list-style: none;
    padding: 0;
}

.updates-list li {
    background: #f8f9fa;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 5px;
    font-size: 16px;
}

.contact-container {
    max-width: 600px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
}

.form-control {
    border-radius: 5px;
}

.about-section {
    padding: 60px 0;
}

.card-overview {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease-in-out;
}

.card-overview:hover {
    transform: translateY(-5px);
}

.card-overview i {
    font-size: 40px;
    margin-bottom: 15px;
}

.icon-box {
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 100%;
    height: 250px;
    /* Ensuring equal box size */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.icon-box i {
    font-size: 40px;
    margin-bottom: 10px;
}

.icon-box h5 {
    font-size: 20px;
    margin-bottom: 5px;
}

.icon-box p {
    font-size: 14px;
}



.contract-card {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.4s ease-in-out, color 0.4s ease-in-out, transform 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contract-card i {
    font-size: 45px;
    margin-bottom: 12px;
    transition: color 0.4s ease-in-out;
}

.contract-card h3,
.contract-card p {
    transition: color 0.4s ease-in-out;
}

.contract-card::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00598d;
    top: 100%;
    left: 0;
    transition: top 0.4s ease-in-out;
    z-index: 0;
}

.contract-card:hover::after {
    top: 0;
}

.contract-card:hover {
    color: white;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 89, 141, 0.2);
}

.contract-card:hover i,
.contract-card:hover h3,
.contract-card:hover p {
    color: white;
    position: relative;
    z-index: 1;
}

.award-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.hero-section {
    position: relative;
    background: url('/assets/images/career-main.jpg') no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}


.apply-btn {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 5px;
    opacity: 0;
    transition: bottom 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.contract-card:hover .apply-btn {
    bottom: 20px;
    opacity: 1;
}

.apply-btn:hover {
    background: #218838;
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 20px;
}

.blog-card .btn {
    transition: background 0.3s ease;
}

.blog-card .btn:hover {
    background: #007bff;
    color: white;
}



.event-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.date-box {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    width: 120px;
}

.date-box .day {
    font-size: 28px;
    font-weight: bold;
}

.date-box .month,
.date-box .year {
    font-size: 14px;
    margin-top: 5px;
}

.event-details {
    margin-left: 20px;
    flex-grow: 1;
}

.event-details h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.event-details p {
    color: #555;
    margin: 10px 0;
}



.location-icon {
    color: var(--primary-color);
    margin-right: 5px;
}





.training-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.training-card h2 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.training-card p {
    color: #555;
    margin-bottom: 15px;
}



.card-title {
    color: var(--primary-color);
    ;
    font-weight: bold;
}

.profile-img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: block;
    border: 2px solid var(--primary-color);
    ;
}

.card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.profile-icon {
    font-size: 80px;
    color: var(--primary-color);
    ;
    margin: 0 auto 15px;
    display: block;
}

.header-service {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.section-service {
    padding: 40px 20px;
}

@keyframes blinkColor {
    0% {
        color: red;
    }

    50% {
        color: blue;
    }

    100% {
        color: green;
    }
}

.blink {
    animation: blinkColor 1s infinite;
    font-weight: bold;
}

.product-card {
    background-color: #ffffff;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    border-left: none;
    border-right: none;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  }
  .product-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 16px;
  }
  .card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
  }
  .card-text {
    font-size: 15px;
    color: #555;
  }
  .btn-purple {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    border-radius: 12px;
    padding: 8px 20px;
  }
  .btn-purple:hover {
    background-color: var(--primary-color);
    color: white;
  }