/********** GLOBAL STYLES **********/

:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #ffc107;
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

*,h1{
    font-family: "Arial Nova", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial Nova", sans-serif;
    content:"justify-content: center;";
}

body {
    font-family: "Arial Nova", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    background-color: #e7f1f1;
    overflow-x: hidden;
}

/********** UTILITY CLASSES **********/
.fw-medium {
    font-weight: 500;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #0a2a5b, #001f3f);
}

/********** COMPONENT STYLES **********/

/* Back to Top Button */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Buttons */
.btn {
    transition: 0.5s;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 10px;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Icon Box */
.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: 0.5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--primary);
}

.icon-box-light::before {
    background: var(--light);
}

/* Navbar */
/* --- Navbar Base Styles --- */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #ffffff !important;
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Logo Image Styling */
#nav-logo {
    height: 95px; /* Desktop size */
    width: auto;
    object-fit: contain;
    display: block;
}

/* Responsive Logo Sizes */
@media (max-width: 991.98px) {
    #nav-logo {
        height: 90px;
    }
}

@media (max-width: 575.98px) {
    #nav-logo {
        height: 70px;
    }
}

/* Nav Links */
.nav-link {
    font-weight: 500;
    color: #002B5C !important;
    transition: all 0.3s;
    padding: 8px 12px;
}

/* Hover Styles */
.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background-color: #002B5C;
    border-radius: 4px;
}

/* Toggler */
.navbar-toggler {
    border: none;
    font-size: 1.2rem;
}

/* Mobile Menu Background */
@media (max-width: 991.98px) {
    .navbar-nav {
        background-color: #f8f9fa;
        padding: 1rem;
        border-radius: 8px;
    }

    .navbar-nav .nav-link {
        color: #002B5C !important;
    }

    .navbar-nav .nav-link:hover {
        background-color: #002B5C;
        color: #ffffff !important;
    }
}

/* Mobile Font Adjustments */
@media (max-width: 575.98px) {
    .navbar-nav .nav-link {
        font-size: 15px;
    }

    .navbar-toggler {
        font-size: 24px;
    }
}

/* Carousel */
#header-carousel {
    margin-top: 70px;
}

#header-carousel .carousel-item {
    position: relative;
    min-height: 700px;
    overflow: hidden;
}

#header-carousel .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(3, 27, 78, 0.4);
    z-index: 1;
    padding: 2rem;
    color: var(--white);
}

.carousel-caption h1,
.carousel-caption p {
    margin: 0;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.carousel-control-prev,
.carousel-control-next {
    width: 12%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary);
    border: none;
    transition: background-color 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--primary-dark);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
        url(../img/testimonial.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--white);
}

/* Certifications */



.certification-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.certification-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
    justify-content: center; 
}

.certification-item {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease;
}
.certification-item img {
    max-width: 320px; /* You can adjust this value */
    height: auto;
    display: block;
    margin: 0 auto;
}

.certification-item:hover {
    transform: scale(1.05);
}


/* Testimonial */
.testimonial {
    background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
        url(../img/testimonial.jpg) left center no-repeat;
    background-size: cover;
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    color: var(--primary);
    font-size: 30px;
    line-height: 0;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}



/* ======================about======================= */

/* ====== Fix for "Years Experience" card overflow ====== */
.bg-primary.d-flex {
    padding: 1.5rem;
    text-align: center;
    overflow: hidden;
    min-height: 200px;
    border-radius: 0.5rem;
}
@media (max-width: 576px) {
    /* Make the row a vertical flex container, center aligned */
    .row.g-4.g-sm-5.justify-content-center {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem; /* spacing between circles */
    }

    /* Make each circle container full width, remove Bootstrap col paddings/margins */
    .col-sm-6 {
        max-width: 100% !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Adjust circle sizes and center them */
    .about-fact {
        width: 160px !important;
        height: 160px !important;
        margin: 0 auto !important;
    }

    /* Remove negative margin on bottom circle to avoid overlap */
    .mt-n130 {
        margin-top: 1rem !important;
    }
}

/* About */
.about-fact {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid var(--white);
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--white);
    background: var(--dark);
    opacity: 1;
}

.read-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.read-more-content.expanded {
    max-height: 500px;
}

.read-more-btn {
    color: #2c7fae;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.read-more-btn:hover {
    color: #1e5a7a;
}

.read-more-btn i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more-btn.expanded i {
    transform: rotate(180deg);
}

/* Services */
.service-icon-large {
    font-size: 3.5rem;
    color: var(--primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--white);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(36, 35, 35, 0.058);
}

.service-item:hover .service-icon-large {
    color: var(--white);
    transform: scale(1.2) rotate(5deg);
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 0.5s;
    background: var(--primary);
    z-index: 0;
    border-radius: 10px;
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    z-index: 1;
    transition: 0.3s ease;
}

.service-item:hover h5,
.service-item:hover .btn {
    color: var(--white);
}

.service-item:hover .btn-outline-primary {
    border-color: var(--white);
    color: var(--white);
}

.service-item:hover .btn-outline-primary:hover {
    background: var(--white);
    color: var(--primary);
}

.service-card {
    transition: all 0.3s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: #2c7fae;
    margin-bottom: 1.5rem;
}

.service-header {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.service-header:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #2c7fae;
}

.guideline-badge {
    background: #e9f7fe;
    color: #2c7fae;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(87, 160, 202, 0.911);
    color: #2c7fae;
    font-weight: 600;
}

.nav-pills .nav-link.active {
    background-color: #2c7fae;
}

/* Team */
/* Highlight role titles */
p.mb-1 {
    color: #0d47a1;               /* Dark blue text */
    font-weight: 600;            /* Semi-bold */
    font-size: 1.1rem;           /* Slightly larger */
    text-transform: uppercase;   /* Uppercase text */
    letter-spacing: 0.5px;       /* Spacing for clarity */
    margin-bottom: 0.5rem;
}


.container-team {
    position: relative;
}

.container-team::before {
    position: absolute;
    content: "";
    background: var(--light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}
.container-team img {
    max-width: 550px; /* Increased size from 150px */
    height: auto;     /* Maintain aspect ratio */
    object-fit: cover; /* Ensures no blank space if container is used */
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}



.container-team img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.team-item {
    background: var(--white);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: 0.5s;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: 0.5s;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}

.team .team-hover {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

.team .team-img {
    transition: transform 0.4s ease;
}

.team .team-hover:hover .team-img {
    transform: scale(1.05);
}

.team .team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(13, 110, 253, 0.95);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.team .team-hover:hover .team-overlay {
    opacity: 1;
}

.team .overlay-content {
    max-height: 100%;
    overflow-y: auto;
}

.team .overlay-content h5 {
    font-weight: 600;
}

.team .overlay-content p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Contact */

/* Make iframe responsive */
  .map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem; /* rounded-3 */
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075); /* shadow */
  }
  .map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
/* Contact Info Box Responsiveness */
.contact-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Icon & Text alignment */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
  .contact-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .icon-box {
    margin-bottom: rem;
  }

  .text-box {
    align-items: center;
    margin-left: 0 !important;
  }
}

@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, 0.2);
    }
}


/* Footer */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; /* Keeps all icons aligned */
  margin-right: 8px;
}

.footer-link {
    color: #adb5bd;
    font-weight: 500;
    display: block;
    margin: 4px 0;
    transition: 0.3s;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 4px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    background-color: transparent;
    border: 1px solid #adb5bd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--white);
}

@media (max-width: 767.98px) {
    .footer .col-md-6 {
        margin-bottom: 20px;
    }
}

/* Facilities */
.facility-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.facility-img-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.facility-card:hover .facility-img {
    transform: scale(1.05);
}

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 27, 78, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.facility-card:hover .facility-overlay {
    opacity: 1;
}

.facility-content {
    padding: 20px;
}

.facility-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.facility-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.equipment-item {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.equipment-hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: var(--primary);
    color: var(--white);
}

.equipment-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.equipment-hover .equipment-icon {
    color: var(--white);
}

.certification-badges {
    margin-top: 15px;
}
/* ===================================================================Careers================================================= */
/* === Multi-Step Form Styles === */

/* Step Circles */
.step .rounded-circle {
    transition: all 0.4s ease;
    background-color: #dee2e6;
    color: #495057;
    font-weight: bold;
}
.step.active .rounded-circle {
    background-color: #0d6efd;
    color: white;
    transform: scale(1.2);
    box-shadow: 0 0 0.3rem rgba(13, 110, 253, 0.5);
}
.bg-primary {
    background-color: #924aea71 !important;
}


.step small {
    font-size: 0.85rem;
    color: #6c757d;
}
.step.active small {
    color: #0d6efd;
}

/* Step Panels */
.step-panel {
    display: none;
    animation: slideIn 0.4s ease-in-out;
}
.step-panel.active {
    display: block;
}

/* Slide In Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Bar */
.progress-bar {
    transition: width 0.4s ease;
    background: linear-gradient(90deg, #0d6efd, #4dabf7);
}

/* Input Styles */
.form-control,
.form-select {
    transition: all 0.2s ease-in-out;
}
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}

/* File Input Styling */
input[type="file"] {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 10px;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    transition: all 0.3s ease-in-out;
}
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.btn:active {
    transform: scale(0.98);
}

/* Success Animation */
#successMessage svg {
    animation: pop 0.6s ease;
}
@keyframes pop {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* === New Step Label Styles === */
.step {
    position: relative;
    padding-top: 30px;
    transition: all 0.3s ease-in-out;
}

.step-label {
    display: inline-block;
    font-weight: 600;
    color: #6c757d;
    position: relative;
}

.step.active .step-label {
    color: #0d6efd;
}

.step.active .step-label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background-color: #0d6efd;
    border-radius: 2px;
}

/* Remove the circle styles from previous version */
.step .rounded-circle {
    display: none !important;
}



/* Partners */
.partner-item {
    text-align: center;
    padding: 15px;
}

.partner-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item img:hover {
    filter: grayscale(0%);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 7rem 0;
    margin-top: 0;
}

.content-section {
    padding: 5rem 0;
}

.logo-toggle-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin-left: 15px;
    cursor: pointer;
    font-size: 0.9rem;
}

.logo-toggle-btn:hover {
    background: #e9ecef;
}

        /* Test Systems Section */
        .test-system-card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s ease;
            height: 100%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }
        
        .test-system-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .test-system-img-container {
            height: 200px;
            overflow: hidden;
        }
        
        .test-system-img-container img {
            
            width: 100%;
            height: 400%;
            transition: transform 0.5s ease;
        }
        
        .test-system-card:hover img {
            transform: scale(1.1);
        }
        
        .test-system-title {
            font-weight: 600;
            color: #212529;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #0d6efd;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .testfacilitytoxindia-nav-pills .nav-link {
                margin-bottom: 0.5rem;
            }
            
            .carousel-item {
                height: 250px;
            }
        }
.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.testfacilitytoxindia-cert-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Trust */
.trust-letter {
    font-family: "arial narrow", sans-serif;
    letter-spacing: 5px;
    user-select: none;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.trust-item h3 {
    font-size: 1.5rem;
    font-family: "Arial narrow";
}

.trust-item p {
    font-size: 1rem;
    line-height: 1.4;
    font-family: "arial narrow", sans-serif;
}
#mission,
#mission * {
  font-family: 'Arial Narrow', sans-serif !important;
  font-size: 1.1rem;
}

.trust-section,
.trust-section * {
  font-family: 'Arial Narrow', sans-serif !important;
  font-size: 1.1rem;
}

/********** RESPONSIVE STYLES **********/




/* Tablet Devices (≤ 991.98px) */
@media (max-width: 991.98px) {
    .carousel-caption {
        padding: 1rem;
    }

    .carousel-caption h1 {
        font-size: 1.75rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .testfacilitytoxindia-hero-section {
        padding: 80px 0;
    }

    .testfacilitytoxindia-hero-section h1 {
        font-size: 2.5rem;
    }

    .testfacilitytoxindia-certifications-banner .display-4 {
        font-size: 2.8rem;
    }
}

/* Mobile Devices (≤ 767.98px) */
@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        min-height: 450px;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 20%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .service-icon-large {
        font-size: 2.5rem;
    }

    .service-item {
        padding: 30px 20px;
    }

    .equipment-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .facility-img-container {
        height: 180px;
    }

    .testfacilitytoxindia-hero-section {
        padding: 60px 0;
    }

    .testfacilitytoxindia-hero-section h1 {
        font-size: 2.2rem;
    }

    .testfacilitytoxindia-nav-pills .nav-link {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 0 5px;
    }

    .testfacilitytoxindia-certifications-banner .display-4 {
        font-size: 2.2rem;
    }

    .testfacilitytoxindia-cert-item {
        margin-bottom: 20px;
    }

    .d-flex.flex-md-row {
        flex-direction: column !important;
        gap: 3rem !important;
    }

    .trust-item p {
        max-width: 100% !important;
    }
}

/* Small Mobile Devices (≤ 575.98px) */
@media (max-width: 575.98px) {
    .testfacilitytoxindia-hero-section h1 {
        font-size: 1.8rem;
    }

    .testfacilitytoxindia-hero-section .lead {
        font-size: 1rem;
    }

    .testfacilitytoxindia-nav-pills .nav-link {
        padding: 8px 15px;
        font-size: 0.8rem;
        margin: 0 3px;
    }

    .testfacilitytoxindia-certifications-banner {
        padding: 60px 0;
    }

    .testfacilitytoxindia-certifications-banner .display-4 {
        font-size: 1.8rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testfacilitytoxindia-animate {
    animation: fadeIn 0.8s ease forwards;
}

/* fixed========================== */
/********** MOBILE OVERFLOW FIXES **********/
html, body {
    max-width: 100%;
    overflow-x: hidden;
    font-family:  'Arial Narrow', Arial, sans-serif;
}

/* Prevent horizontal scrolling */
.container,
.container-fluid,
.row,
[class*="col-"] {
    max-width: 100%;
}

/* Fix for carousel causing overflow */
.carousel,
.carousel-inner,
.carousel-item {
    max-width: 100vw;
}

/* Fix for certification slider */
.certification-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Ensure all images don't cause overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for specific elements that might cause overflow */
.testimonial-carousel,
.owl-stage-outer,
.owl-stage,
.owl-item {
    max-width: 100%;
}

/* Fix for team section */
.team-item,
.service-item,
.facility-card {
    max-width: 100%;
}

/* Mobile-specific fixes */
@media (max-width: 767.98px) {
    body {
        width: 100vw;
        position: relative;
    }
    
    /* Remove horizontal padding that might cause overflow */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure all full-width elements actually span full viewport width */
    .hero-section,
    .testfacilitytoxindia-hero-section,
    .testfacilitytoxindia-certifications-banner {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    
    /* Fix for certification items on mobile */
    .certification-item {
        width: 150px; /* Smaller for mobile */
    }
    
    /* Prevent horizontal scroll caused by animation */
    .certification-track {
        animation: scroll-mobile 25s linear infinite;
    }
    
    @keyframes scroll-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}

/* Extra small device specific fixes */
@media (max-width: 575.98px) {
    .certification-item {
        width: 120px;
        margin: 0 10px;
    }
    
    /* Ensure no element has fixed width that exceeds viewport */
    .about-fact {
        max-width: 180px;
        height: 180px;
    }
    
    /* Fix navbar brand on very small screens */
    .navbar-brand {
        font-size: 1.5rem;
        max-width: 80%;
    }
}

/********** FOOTER FIX **********/
html, body {
    height: auto;
    margin: 0;
    padding: 0;
    font-family: Arial Narrow, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* Remove any extra margin/padding that might be causing the space */
.container-fluid:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure carousel doesn't create extra space */
.header-carousel {
    margin-bottom: 0;
}
.carousel-inner img {
    height: 250px; /* Adjust as needed */
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5)); /* black gradient overlay */
    z-index: 1;
    pointer-events: none;
    border-radius: 5px;
}





/********** TEST FACILITY SPECIFIC STYLES **********/
.testfacilitytoxindia-nav-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 15px;
    margin: 30px 0;
    justify-content: center;
}

.testfacilitytoxindia-nav-pills .nav-link {
    color: #495057;
    font-weight: 500;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
    background: rgba(13, 110, 253, 0.1);
    white-space: nowrap;
}

.testfacilitytoxindia-nav-pills .nav-link:hover {
    background: rgba(13, 110, 253, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testfacilitytoxindia-nav-pills .nav-link.active {
    background-color: #0d6efd;
    color: white;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
    border: 2px solid transparent;
}

.testfacilitytoxindia-section-title {
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.testfacilitytoxindia-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0d6efd;
}

.testfacilitytoxindia-capabilities-list {
    list-style-type: none;
    padding-left: 0;
}

.testfacilitytoxindia-capabilities-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.8rem;
    transition: all 0.3s ease;
}

.testfacilitytoxindia-capabilities-list li:hover {
    transform: translateX(5px);
}

.testfacilitytoxindia-capabilities-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0d6efd;
    font-weight: bold;
    background: rgba(13, 110, 253, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testfacilitytoxindia-cert-badge {
    display: inline-block;
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    font-size: 0.8rem;
    margin: 0.3rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    font-weight: 500;
}

.testfacilitytoxindia-cert-badge:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.testfacilitytoxindia-facility-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    position: relative;
}

.testfacilitytoxindia-facility-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.testfacilitytoxindia-facility-image:hover img {
    transform: scale(1.05);
}

.carousel-item {
    height: 320px;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: 10px;
}

.test-system-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.test-system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.test-system-img-container {
    height: 200px;
    overflow: hidden;
}

.test-system-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.test-system-card:hover img {
    transform: scale(1.1);
}

.test-system-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0d6efd;
}

.testfacilitytoxindia-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    margin-bottom: 1rem;
}

.testfacilitytoxindia-card-icon i {
    font-size: 1.5rem;
    color: #0d6efd;
}

  .section-title {
    font-weight: 600;
    font-size: 1.8rem;
    color: #002B5C;
  }

  .nav-pills .nav-link {
    font-weight: 500;
    color: #002B5C;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }


  .nav-pills .nav-link.active {
    background-color: #2e7dd8f3;
    color: #fff;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
    border-radius: 0.4rem;
  }

  .carousel img {
    object-fit: cover;
    height: 350px;
  }

  @media (max-width: 767.98px) {
    .carousel img {
      height: 250px;
    }

    .section-title {
      font-size: 1.4rem;
    }
  }


  /* Read more functionality styles */
        .job-description {
            position: relative;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .job-description.truncated {
            max-height: 80px; /* Adjust based on your design */
        }
        
        .read-more-toggle {
            color: #1d38dd;
            cursor: pointer;
            font-weight: 500;
            margin-top: 8px;
            display: inline-block;
        }
        
        .read-more-toggle:hover {
            text-decoration: underline;
        }
        
        /* Ensure job cards have consistent height */
        .job-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .job-card .card-content {
            flex: 1;
        }
        
        
        /*certificate seal css*/
     .cert-logo {
  max-width: 120px;
  max-height: 120px;
  margin: 0 20px;
  object-fit: contain;
}

/* Marquee effect for mobile */
.cert-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.cert-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-left 20s linear infinite;
}

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
