/********** Template CSS **********/
:root {
    --primary: #0164ff;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }

    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }

    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }

    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }

    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#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;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {
        left: 0;
    }

    50% {
        left: 145px;
    }

    100% {
        left: 0;
    }
}

@-webkit-keyframes section-title-run-center {
    0% {
        left: 50%;
        margin-left: -75px;
    }

    50% {
        left: 50%;
        margin-left: 45px;
    }

    100% {
        left: 50%;
        margin-left: -75px;
    }
}

@-webkit-keyframes section-title-run-sm {
    0% {
        left: 0;
    }

    50% {
        left: 85px;
    }

    100% {
        left: 0;
    }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 20px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}



.main-logo {
    /*width: 130px;*/
    width: 240px;
}


.row.py-5.nobanner {
    padding-bottom: 0rem !important;
}

.bg-primary.nobanner.py-5 {
    background: #061429 !important;
}


/** Popup Styles **/
/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup Content */
.popup-content {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    width: 400px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #ff5e5e;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

/* Form Input Styles */
.popup-content input,
.popup-content textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-content button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Fixed Button Style */
.apply-btn {
    position: fixed;
    bottom: 80px;
    /* Slightly above the back-to-top button */
    right: 20px;
    background-color: #007BFF;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    /* Higher than back-to-top */
}

.apply-btn:hover {
    background-color: #0056b3;
}

.img-service {
    padding: 20px;
}

/* Target the logo specifically for mobile view */
@media only screen and (max-width: 768px) {
    .main-logo.navbar-logo {
        width: 100%; /* Make sure the logo scales to fit its container */
        max-width: 230px; /* Optional: Limit max width to 230px */
        height: auto; /* Maintain aspect ratio */
    }
}
.mb-3.intern {
    border: 1px solid #d3d3d3;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;

}
.intern-category {
    font-size: 14px;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #d3d3d3;
    background-color: #fff;
}

.intern-category:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.intern-category i {
    font-size: 24px;
    margin-right: 8px;
}

.internship-container {
    max-width: 100%;
    padding: 20px;
}

.internship-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.view-all {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    cursor: pointer;
}

/* Carousel view */
.internship-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Carousel container */
.internship-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
}

.internship-carousel::-webkit-scrollbar {
    display: none;                /* Chrome/Safari */
}

/* Internship card */
.internship-card {
    width: 280px;
    padding: 15px;
    border-radius: 12px;
    background: white;
    position: relative;
    text-align: left;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #d3d3d3;
}

/* Carousel arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 4px 10px;
    z-index: 2;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.left-btn {
    left: 0;
}

.right-btn {
    right: 0;
}

/* Full list mode */
.internship-full-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 10px;
}

/* Set the cards to take 25% width (4 cards per row) */
.internship-full-list .internship-card {
    width: calc(25% - 15px); /* 4 cards per row, minus gap */
}

/* Apply 3 cards in the second row */
@media (max-width: 768px) {
    .internship-full-list .internship-card {
        width: calc(33.33% - 15px); /* 3 cards per row on smaller screens */
    }
}
/* Hide/show utility */
.d-none {
    display: none !important;
}

/* Background Design */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    border-radius: 12px 12px 0 0;
}

/* Remote Badge */
.internship-type {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

/* Company Logo */
.company-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    width: 100px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-logo img {
    width: 80px;
    height: 40px;
    object-fit: contain;
}

/* Internship Title */
h3 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 60px;
    color: #333;
}

/* Company Name */
.company-name {
    font-size: 14px;
    color: #666;
}

/* Internship Info */
.internship-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 10px;
    color: #444;
}

.internship-info img {
    width: 14px;
    height: 14px;
    margin-right: 5px;
}

/* Apply Arrow */
.apply-arrow {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    padding: 8px;
    font-size: 14px;
}


/* Internship Carousel Wrapper */
.internship-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 40px;
    /* Adds equal padding on both sides */
}

.internship-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Hides scrollbar */
    -ms-overflow-style: none;
    /* Hides scrollbar for IE */
    padding-left: 5px;
    /* Small left padding to balance spacing */
}


.internship-carousel::-webkit-scrollbar {
    display: none;
}

/* Individual Internship Card */
.internship-card {
    width: 280px;
    min-height: 180px;
    padding: 15px;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease;
}

.internship-card:hover {
    transform: scale(1.02);
    /* Zoom effect */
    border-bottom: 3px solid #007bff;
    /* Bottom border visible */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    /* Stronger shadow on hover */
}

/* Internship Logo */
.internship-card .logo img {
    width: 50px;
    height: 50px;
    border-radius: 10%;
    margin-bottom: 8px;
}

/* Internship Title */
.internship-card h3 {
    font-size: 16px;
    font-weight: bold;
    white-space: normal;
    /* Allows multi-line text */
    overflow: hidden;
    text-overflow: ellipsis;
    /*margin-top: 100px !important;*/
}

/* Internship Info */
.internship-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 5px 10px;
}

/* Icons Styling */
.internship-info img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    /* Adjusted padding for rectangular shape */
    cursor: pointer;
    border-radius: 5px;
    /* Slight rounded corners */
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Position adjustments */
.left-btn {
    left: 0px;
    /* Move it outside the cards */
}

.right-btn {
    right: 0px;
    /* Move it outside the cards */
}




.apply-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    /* Set fixed width */
    height: 32px;
    /* Set fixed height */
    border-radius: 50%;
    /* Keeps it circular if needed */
    background: none;
    /* Removes any unwanted background */
    border: none;
    /* Removes any border */
    padding: 0;
    cursor: pointer;
}

.apply-arrow i {
    font-size: 20px;
    /* Adjust icon size */
    color: #000;
    /* Set icon color */
    transition: color 0.3s ease-in-out;
}

.apply-arrow:hover i {
    color: #ff8800;
    /* Change color on hover */
}




.interndetails-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    padding-left: 2rem;
    border-left: 5px solid #007bff;
    background: #007bff1f;
    margin-bottom: 1rem;

    /* Optional alternative styles you might want to use later: */
    /* border-bottom: 1px solid #ddd; */
    /* margin-bottom: 3rem; */
}

.interndetails-right {
    margin-right: 2rem;
    /* or any value you prefer */
}

.interndetails-left {
    flex: 1 1 60%;
}

.interndetails-left h1 {
    margin-bottom: 3rem !important;
}

.interndetails-company-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.interndetails-posted {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.interndetails-posted i {
    margin-right: 5px;
    font-size: 16px;
    color: #555;
}

.interndetails-days-box {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    text-align: center;
    width: 100px;
    margin-top: 2rem;
}

.interndetails-day-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.interndetails-day-label {
    font-size: 14px;
    color: #666;
}


.interndetails-logo-wrapper {
    width: 100px;
    /* or any fixed/relative size 
    height: 100px; */
    overflow: hidden;
    border-radius: 8px;
    /* optional for rounded look */
}

.interndetails-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* makes sure image fills container nicely */
}


.recruitment-process-section {
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.job-details-section {
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.round {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-left: 3px solid #007bff;
    background-color: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.round-date {
    font-size: 1.2rem;
    color: #333;
    min-width: 90px;
}

.round-details h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #000;
}

.round-details p {
    margin: 4px 0;
    color: #555;
}
.job-details h3 {
    margin-top: 2rem !important;
}

.interndetails-apply {
    background: #f9f9f9 !important;
    margin-bottom: 2rem;
}




.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.popup-content {
    max-width: 400px;
    width: 100%;
    background-color: #fff;
}


/* Overlay wrapper */
#quoteSuccessPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* dark semi-transparent bg */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Popup content */
#quoteSuccessPopup .popup-content {
    max-width: 400px;
    width: 90%;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}



#newsletterSuccess {
    color: #fff !important;
}


@media (max-width: 768px) {
  .navbar-logo {
    /* Adjust for mobile view */
    display: block;
    visibility: visible;
  }
}


