﻿/*Font-Sizes*/
/*Nav-menu=16px;
header=25px;
Paragraph=14px;
sub-heading=18px;
*/
/*#ecf3f4-lightblue
#192577-dark blue
#eb760e-orange
#8d99b7
#bcacb5
#7674a4
#ecbe98
#6c84b4
#d0cbdd
*/ /* Home Carousel */
.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden; /* Prevent horizontal overflow */
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    height: auto;
    transform: scale(1.5); /* Default zoom-in at 1.5 */
    transition: transform 3s ease-in-out; /* Slow zoom-in effect */
    object-fit: cover; /* Ensure image covers the area without distortion */
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Dots for Carousel */
.dots {
    text-align: center;
    padding: 10px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: gray;
    border-radius: 50%;
    cursor: pointer;
}

.active-dot {
    background: white;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Set text color for visibility */
    font-size: 2em;
    text-align: center;
    z-index: 1; /* Ensure text appears on top of the image */
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent black background */
    padding: 20px;
    border-radius: 10px; /* Optional: rounded corners */
}

    .text-overlay h1 {
        font-size: 35px;
    }

    .text-overlay p {
        font-size: 18px;
        margin: 10px 0;
    }
/* Mobile view for small devices */
@media screen and (max-width: 480px) {
    .text-overlay {
        font-size: 1.2em;
        padding: 10px;
    }

        .text-overlay h1 {
            font-size: 24px;
        }

        .text-overlay p {
            font-size: 14px;
        }
}

/* Mobile view for medium devices (small tablets, large phones) */
@media screen and (max-width: 768px) {
    .text-overlay {
        font-size: 21px;
        padding: 15px;
    }

        .text-overlay h1 {
            font-size: 28px;
        }

        .text-overlay p {
            display: none;
        }
}


/* Button Styling */
.index-button {
    background: none;
    border: 2px solid white;
    padding: 0px 10px;
    color: white;
    cursor: pointer;
    z-index: 2; /* Ensure buttons are on top of the overlay */
    font-size: 24px;
}

@media screen and (max-width: 768px) {
    .index-button {
        display: none;
    }
}
/*   Zoom-out effect after transition completes */
.carousel-item.active img {
    transform: scale(1); /* Reset zoom once the transition is complete */
}

.index-top {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}
/* Monitor view (typically 1200px and above) */
@media screen and (min-width: 1200px) {
    .index-top {
        font-size: 3.5rem !important; /* Slightly larger for better readability */
    }
    .text-overlay p {
        font-size: 1.5rem;
    }
}

/* Extra-large screens (typically 1600px and above) */
@media screen and (min-width: 1600px) {
    .index-top {
        font-size: 3rem !important; /* Increase size for larger screens */
    }
     .text-overlay p {
            font-size: 1.7rem;
        }
    }
}

.typed-cursor {
    display: none !important
}
/*End Tag for Carousel Home*/
/*Css for the Cards*/
.container {
    /*margin-top: -4%;*/
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

    .card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

/* Text section */
.card-content {
    padding: 15px;
    transition: background-color 0.3s, color 0.3s;
}

    /* Hover effect only on text part */

    .card-content:hover {
        background-color: #004085;
        color: white;
    }

        /* Ensure h2 and p also turn white */
        .card-content:hover h2,
        .card-content:hover p {
            color: white;
        }

/* Text Styling */
.card h2 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 900;
}

.card p {
    font-size: 14px;
    color: black;
    margin-bottom: 10px;
    text-align: left;
}

/* Link Styling */
.card a {
    display: inline-block;
    color: teal;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.card-content:hover a {
    color: white;
}
/*End Tag*/

container-fluid {
    margin-top: 1%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Automatically adjusts columns */
    gap: 20px;
    width: 100%; /* Takes up 100% of the available width */
    padding: 0 15px; /* Optional padding for responsiveness */
}
/*End Tag*/
.bg-white {
    background-color: #f0f5fb !important;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif !important;
    /*  font-family: Georgia, serif!important;*/
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-primary) !important;
    font-size: 16px;
    font-weight: 650;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    color: #022776 !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #2489d6 !important;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu-service {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 2px;
        transition: .5s;
        margin-left: -380% !important;
        opacity: 0;
    }
}


.dropdown .dropdown-menu a:hover,
.dropdown .dropdown-menu a:hover .menu-item-i {
    background: var(--bs-primary);
    color: var(--bs-secondary);
}
    /* Ensure the icon within the link also gets the hover effect */
    .dropdown .dropdown-menu a:hover .menu-item-i {
        color: #003a66;
    }



.dropdown .dropdown-menu-service a:hover {
    background: var(--bs-primary);
    color: var(--bs-secondary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

.navbar .nav-item:hover .dropdown-menu-service {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}



@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 2px 12px;
        border: 1px solid black !important;
        color: teal;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: #003a66 !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 991.98px) {
    .sticky-top .navbar-light {
        background: var(--bs-light) !important;
        margin-left: -2%;
    }
    @media (min-width: 1200px) {
        .sticky-top .navbar-light {
            background: var(--bs-light) !important;
            margin-left: -1%;
        }
    }


    /*** Top and Bottom borders go out ***/
    .navbar-light .navbar-nav .nav-link:after,
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        top: 30px;
        bottom: 30px;
        left: 0px;
        width: 100%;
        height: 2px;
        background: var(--bs-primary);
        opacity: 0;
        transition: all 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:before {
        bottom: auto;
    }

    .navbar-light .navbar-nav .nav-link:after {
        top: auto;
    }

    /* .navbar-light .navbar-nav .nav-link:hover:before,
    .navbar-light .navbar-nav .nav-link.active:before {
        top: 20px;
        opacity: 1;
    }
*/
    /* .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        bottom: 20px;
        opacity: 1;
    }*/
}

#searchModal .modal-content {
    background: rgba(240, 245, 251, 0.5);
}

/*Menu Nav*/
.two-columns {
    column-count: 2; /* Creates two columns */
    column-gap: 20px; /* Space between columns */
    padding: 0; /* Removes default padding */
    list-style-type: none; /* Removes default list styling */
    width: auto;
}

    .two-columns li {
        break-inside: avoid; /* Prevents items from breaking across columns */
    }

.nav-menu-colr {
    color: #000; /* Default text color */
    transition: color 0.3s; /* Smooth transition */
}

.dropdown-item:hover {
    color: #fff !important; /* Change text color to white on hover */
    background-color: #003a66 !important; /* Set background color on hover */
}

ol {
    list-style: none;
    counter-reset: list-counter; /* Initialize the counter */
}

    ol li {
        counter-increment: list-counter; /* Increment the counter */
    }

/*ol li::before {
                content: counter(list-counter) ". ";*/ /* Display the counter before each item */
/*font-weight: bold;*/ /* Make the number bold */
/*color: #2489d6;*/ /* Change 'yourColor' to your desired color */
/*}*/

/*Nav Bar*/
@media (min-width: 1200px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        margin-right: 0%;
        margin-left: 22%;
    }
}

@media (min-width: 1400px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        margin-right: 0%;
        margin-left: 47.5%;
    }
}

.dropdown-menu-project {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 14.1px;
    margin-left: -378% !important;
    margin-right: 0% !important;
    color: #7a8a9e;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 10px;
}

.dropdown-menu-service {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 14.1px;
    margin-left: -378% !important;
    margin-right: 0% !important;
    color: #7a8a9e;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 10px;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 14.1px;
    margin-left: -20% !important;
    margin-right: 0% !important;
    color: #7a8a9e;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 10px;
}

.menu-item-li {
    display: flex;
    align-items: center; /* Center items vertically */
    padding: 5px 10px; /* Add some padding for better visibility */
    border-radius: 5px; /* Optional: add rounded corners */
    transition: background-color 0.3s; /* Smooth transition for background color */
}

.menu-item-i {
    margin-right: 5px;
    margin-left: 3px;
    font-size: 20px;
    transition: transform 0.3s, color 0.3s; /* Smooth transition for the hover effect */
}

.nav-menu-colr {
    color: #333; /* Default color */
    text-decoration: none; /* Remove underline from link */
    display: flex;
    align-items: center; /* Center items vertically */
    transition: color 0.3s, background-color 0.3s; /* Smooth transition for text and background color */
}

/* Apply hover effect to the entire list item */
.menu-item-li:hover {
    background-color: #003a66; /* Background color on hover */
}

    .menu-item-li:hover .menu-item-i,
    .menu-item-li:hover .nav-menu-colr {
        color: white; /* Icon and text color on hover */
    }

    .menu-item-li:hover .menu-item-i {
        transform: scale(1.2); /* Increase the size slightly on hover */
    }

.navbar-toggler {
    display: block; /* Make sure it's visible */
}

/*EXTRA CSS FOR  NAV BAR*/
/* General styles for the dropdown menu */
.dropdown-menu-service {
    max-height: 600px; /* Limit the height for smaller screens */
    overflow-y: auto; /* Enable vertical scrolling if content overflows */
    scrollbar-width: thin; /* Makes the scrollbar thinner (for modern browsers) */
}

    /* Custom scrollbar styling for modern browsers */
    .dropdown-menu-service::-webkit-scrollbar {
        width: 6px; /* Width of the scrollbar */
    }

    .dropdown-menu-service::-webkit-scrollbar-thumb {
        background: #2489d6; /* Color of the scrollbar thumb */
        border-radius: 10px; /* Rounded scrollbar thumb */
    }

        .dropdown-menu-service::-webkit-scrollbar-thumb:hover {
            background: #003a66; /* Darker color on hover */
        }

/* Ensure proper padding and spacing for smaller screens */
@media (max-width: 768px) {
    .dropdown-menu-service {
        max-height: 200px; /* Further reduce height for mobile screens */
        /*overflow-y: scroll;*/ /* Ensure vertical scrolling */
        margin-left: -6% !important; /* Adjusts position for mobile view */
        margin-right: 20% !important; /* Adds right margin for mobile view */
        column-count: 1;
        display: block;
    }

    .nav-item.dropdown:hover .dropdown-menu-service {
        display: table-cell; /* Keep the dropdown functionality on hover */
    }

    .nav-item.dropdown:hover .dropdown-menu-project {
        display: table-cell; /* Keep the dropdown functionality on hover */
    }

    .nav-item.dropdown a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .two-columns {
        column-count: 1;
        column-gap: 10px;
        display: inline-table !important;
    }
}
/* Media query for mobile view */
@media (max-width: 768px) {
    .dropdown-menu-project {
        /*margin-left: -6% !important;*/ /* Adjusts position for mobile view */
        /*margin-right: 20% !important;*/ /* Adds right margin for mobile view */
        overflow-y: auto; /* Enables vertical scrolling if content overflows */
        max-height: 60vh; /* Restricts dropdown height to 60% of the viewport */
        column-count: 1;
    }

    /* Adjust the parent container for better mobile alignment */
    .nav-item.dropdown {
        width: 100%; /* Ensures the dropdown spans the full width if needed */
    }
}

/*End Tag for the Nav Bar*/
.skk-link {
    color: teal !important;
    font-size: 18px;
    font-weight: bolder;
    margin-left: -1%;
    text-decoration: none !important;
}

/* For small screens (mobile) */
@media (max-width: 480px) {
    .skk-link {
        font-size: 14px; /* Smaller font size for mobile */
        margin-left: -6%; /* Adjust margin for small screens */
    }
}

/* For medium screens (tablet or small laptops) */
@media (min-width: 481px) and (max-width: 1024px) {
    .skk-link {
        font-size: 16px; /* Adjust font size for medium screens */
        margin-left: -0.5%; /* Slightly adjust margin */
    }
}

/* For large screens (desktops and larger laptops) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .skk-link {
        font-size: 18px; /* Default font size for large screens */
    }
}

/* For extra-large screens (wide desktops or large monitors) */
@media (min-width: 1367px) {
    .skk-link {
        font-size: 20px; /* Larger font size for extra-large screens */
    }
}


/*End Tag*/
/*Banner image css starts*/
.banner-img {
    height: 100%;
    width: 100%;
}
/*End Tag*/
.aboutus-card-gap {
    margin-top: 3%;
}
/*Vision Mission card*/
.vison-top-gap {
    margin-top: -9.5%;
}

.mission-top-gap {
    margin-top: -9.5%;
}

.core-top-gap {
    margin-top: -2.5%;
}

.common-style {
    text-align: left;
    line-height: 1.5;
}
/*Code for Achievments*/
.achievements-title {
    font-size: 24px;
    color: #004085;
    margin-top: 0% !important;
}

.achievements-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.achievements-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #0a2c58;
    margin-bottom: 20px;
}

.achievements-grid {
    display: flex;
    gap: 20px;
    align-items: stretch; /* Ensures both cards have equal height */
}

.achievement-card {
    flex: 1; /* Makes both cards equal width */
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.dedication-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10%;
}

    .certifications .badge {
        background: #0a2c58;
        color: white;
        padding: 10px 15px;
        border-radius: 5px;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 5px;
    }

@media (max-width: 768px) {
    /* Stack achievements instead of using flex */
    .achievements-grid {
        display: block; /* Removes flex layout */
    }

    .achievement-card {
        width: 100%; /* Full width for mobile */
        margin-bottom: 15px; /* Add spacing between stacked items */
    }

    /* Dedication list should be a standard block layout */
    .dedication-list {
        display: block;
    }

    /* Make certifications appear in a single column */
    .certifications {
        display: block; /* Removes flex-wrap */
        text-align: center;
        margin-top: 20px;
    }

        /* Certification badges should take full width */
        .certifications .badge {
            display: block;
            width: 80%; /* Adjust width for better spacing */
            margin: 5px auto; /* Center the badges */
            text-align: center;
        }
}

/*end*/
.achievements-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #f0f4f8;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Title */
.achievements-title {
    font-size: 26px;
    color: #003366;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Row Layout */
.achievements-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch; /* Ensures equal height */
}

/* Cards */
.achievements-box {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px; /* Ensuring equal height */
}

    /* Headings */
    .achievements-box h3 {
        font-size: 20px;
        color: #003366;
        margin-bottom: 10px;
        text-align: left;
    }

/* List */
.achievements-list {
    list-style: none;
    padding: 0;
    text-align: left;
    font-size: 16px;
}

    .achievements-list li {
        padding: 5px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

/* Certification Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.cert-item {
    background: #003366;
    color: white;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

    .cert-item:hover {
        background: #0055aa;
        transform: scale(1.1);
        box-shadow: 0 4px 10px rgba(0, 85, 170, 0.6);
    }

/* Responsive */
@media (max-width: 768px) {
    .achievements-row {
        flex-direction: column;
    }
}

.achievement-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
}

    .achievement-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .achievement-card.selected {
        border: 2px solid #0055aa;
        box-shadow: 0 4px 10px rgba(0, 85, 170, 0.4);
        transition: all 0.3s ease;
    }



/*end Tag*/
.font-achievemts {
    font-size: 24px;
}

.certificzate-top-gap {
    margin-top: -3%;
}

.contact-gap {
    margin-top: -4%;
}

.common-para-font {
    font-size: 14px;
    color: black;
}

.common-pattern {
    text-align: left;
    color: black;
    font-size: 14px;
}

.common-pattern-carrer {
    text-align: left;
    color: black;
    font-size: 16px;
    font-family: lato, sans-serif;
}

.contact-top-gap {
    margin-top: 3%;
}

.contact-margin-gap {
    margin-top: 2%;
}

.img-fluid {
    width: 100% !important;
    height: auto;
}

.carrer-top-gap {
    margin-top: 3%;
}

.svg-inline--fa-carrer {
    display: var(--fa-display, inline-block);
    height: 1.5rem;
    overflow: visible;
    vertical-align: -.125em;
    color: #004085;
}

.row-gap-bottom {
    margin-left: 10%;
}
/*testing*/
.footer-col-6 {
    flex: 0 0 auto;
    width: 50%; /* or whatever width you want for larger screens */
}

@media only screen and (max-width: 768px) {
    .footer-col-6 {
        flex: 0 0 auto;
        width: 72%; /* This will apply the width only on mobile */
    }
}
@media (min-width: 1024px) and (max-width: 1366px) { /* For Laptops */
    .footer-ourservice-second {
        margin-top: -13%;
    }
}

@media (min-width: 1367px) { /* For Extra Large Screens (Monitors) */
    .footer-ourservice-second {
        margin-top: -9%;
    }
}
@media (max-width: 1023px) { /* Targets Mobile and Tablets */
    .footer-ourservice-second {
        display: none;
    }
}

/*Mobile Footer*/

.mobile-footer {
    display: none; /* Hidden by default */
    background-color: #002244;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

    .mobile-footer .social-icons a {
        margin: 0 10px;
    }

    .mobile-footer .social-icons img {
        width: 24px;
        height: 24px;
    }

    .mobile-footer .p {
        margin-top: 3%;
    }
/* Show only on mobile */
@media screen and (max-width: 768px) {
    .mobile-footer {
        display: block;
    }
}

/*End Tag*/
/*Large Screen Works*/

