/* ===== HERO ===== */
.hero-title {
    font-size: 2.5rem;
}

.swiper-slide::before {
    content:'';
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index:1;
}

.swiper-slide .content {
    position: relative;
    z-index: 2;
}

.content div {
    background: rgba(0,0,0,0.4);
    padding: 20px 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.swiper-slide h1 { font-size: 2.5rem; }
.swiper-slide p { font-size: 1.1rem; }

/* ===== SERVICES ===== */
.service-box {
    border-radius: 12px;
    transition: 0.3s;
    background: #fff;
}
.service-box:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #fff;
}
.service-box:hover i { color: #fff !important; }

/* ===== CARD ===== */
.card {
    border: none;
    border-radius: 12px;
    transition: 0.3s;
}
.card:hover { transform: scale(1.05); }

/* ===== WHY SECTION ===== */
.why-section {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
}
.why-title {
    position: relative;
    display: inline-block;
}
.why-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #0d6efd;
    display: block;
    margin: 10px auto 0;
}
.why-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: 0.3s;
    backdrop-filter: blur(6px);
}
.why-card i { color: #0d6efd; }
.why-card:hover {
    transform: translateY(-10px);
    background: #0d6efd;
}
.why-card:hover i,
.why-card:hover h5,
.why-card:hover p { color: #fff; }

/* ===== CERTIFICATION ===== */
.cert-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: #0d1b2a;
}
.cert-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg,#0d6efd,#0b5ed7);
    display: block;
    margin: 12px auto 0;
}

.cert-card {
    background: #fff;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    transition: 0.3s;
}
.cert-card i { color: #0d6efd; }
.cert-card p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}
.cert-card:hover {
    transform: translateY(-5px);
    background: #0d6efd;
}
.cert-card:hover i,
.cert-card:hover p { color: #fff; }

/* ===== CLIENT LOGO STRIP ===== */
.client-strip {
    background: #0d1b2a;
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.client-logo {
    width: 100%;
    height: 100px;              /* 👈 height control */
    object-fit: contain;       /* image stretch nahi hogi */
    
    filter: grayscale(100%);
    opacity: 0.8;
    transition: 0.3s;
}
.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}
.logo-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 15s linear infinite;
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.logo-track img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
    flex-shrink: 0;
}
.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===== CAPABILITY ===== */
.capability-section {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    padding-bottom: 40px;
}
.cap-title {
    font-weight: bold;
}
.cap-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #0d6efd;
    display: block;
    margin: 10px auto 0;
}
.cap-card {
    background: rgba(255,255,255,0.05);
    padding: 30px 15px;
    border-radius: 12px;
    transition: 0.3s;
    backdrop-filter: blur(6px);
}
.cap-card i {
    font-size: 28px;
    margin-bottom: 10px;
    color: #0d6efd;
}
.cap-card:hover {
    transform: translateY(-10px);
    background: #0d6efd;
}
.cap-card:hover i,
.cap-card:hover h6 { color: #fff; }

/* ===== NAVBAR ===== */
#mainNavbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;

    background: rgba(0,0,0,0.25);   /* 👈 aur transparent */
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    
}

#mainNavbar.scrolled {
    background: #0d1b2a !important;   /* 👈 important */
}


.navbar .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    font-weight: 500;
}
.navbar .nav-link.active {
    color: #0d6efd !important;
    font-weight: 600;
    position: relative;
}
.navbar .nav-icon {
    opacity: 0;
    transform: translateX(-8px);
    transition: 0.3s;
}
.navbar .nav-link:hover .nav-icon {
    opacity: 1;
    transform: translateX(0);
}
/* underline effect */

.navbar .nav-text {
    position: relative;
}
/* Active underline */
/*.navbar .nav-link.active .nav-text::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: #0d6efd;
}
    */

.navbar .nav-text::after {
    transition: 0.3s;
    width: 0;
}
.navbar-nav {
    position: relative;
}

/* sliding line */
.navbar-nav::after {
    content: '';
    position: absolute;
    bottom: -6px;
    height: 2px;    
    background: #0d6efd;
    
    
    left: var(--underline-left, 0);
    width: var(--underline-width, 0);

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== FOOTER ===== */
.footer-section {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
}
.footer-title {
    font-weight: 600;
    margin-bottom: 15px;
}
.footer-title::after {
    content: '';
    width: 40px;
    height: 2px;
    background: #0d6efd;
    display: block;
    margin-top: 6px;
}
.footer-text { font-size: 14px; color: #ccc; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover {
    color: #0d6efd;
    padding-left: 5px;
}
.footer-section i {
    margin-right: 8px;
    color: #0d6efd;
}
.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 8px;
    color: #fff;
}
.social-icons a:hover {
    background: #0d6efd;
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
    font-size: 14px;
    color: #aaa;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
}

.main-content {
    flex: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar .nav-link { padding: 10px 0; }
    .navbar .btn { margin-top: 10px; }
}
/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 0px;
    padding-top: 80px;
    z-index: 1;
}

/* Glow Particles */
.cta-section::before,
.cta-section::after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13,110,253,0.25) 0%, transparent 70%);
    animation: floatMove 10s linear infinite;
}

.cta-section::before {
    top: -100px;
    left: -100px;
}

.cta-section::after {
    bottom: -120px;
    right: -120px;
    animation-delay: 5s;
}

/* Animation */
@keyframes floatMove {
    0% { transform: translate(0,0); }
    50% { transform: translate(40px, 40px); }
    100% { transform: translate(0,0); }
}

/* Title */
.cta-title {
    font-size: 36px;
    font-weight: 700;
}

/* Subtitle */
.cta-subtitle {
    color: #ccc;
    max-width: 600px;
    margin: auto;
}

/* Buttons */
.cta-buttons .btn {
    border-radius: 30px;
    transition: 0.3s;
}

.cta-buttons .btn:hover {
    transform: translateY(-4px);
}

/* Badge styling */
.cta-section .badge {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
}
.section-divider {
    height: 60px;
    background: #0d1b2a;
        display: block;
}
section {
    margin: 0;
}
/* ===== INNER PAGE BANNER ===== */
.page-banner {
    height: 300px;
    position: relative;

    margin-top: -80px;   /* 👈 ye main magic hai */
    padding-top: 140px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background image */
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5);   /* dark overlay */
}

/* Content above image */
.page-banner .banner-content {
    position: relative;
    z-index: 2;
     
}

.page-banner h1 {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-align: center;
}

.page-banner p {
     color: #ddd;
     text-align: center;
     margin-left: auto;
     margin-right: auto;
}
/* ===== BRAND LOGO TEXT ===== */
/* Force horizontal layout */
.brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
}

/* Prevent vertical breaking */
.brand-logo span {
    display: inline-flex;
}

/* Text block */
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

/* Title */
.brand-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* Logo box */
.logo-box {
    min-width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tagline */
.brand-tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}
.navbar-brand {
     margin: 0 !important;
    padding: 0 !important;
}

/* Hover effect */
.brand-logo:hover .brand-title {
    color: #0d6efd;
}

.brand-logo:hover .brand-tagline {
    color: #fff;
}

@media (max-width: 768px) {
    .brand-title {
        font-size: 22px;
    }
    .brand-tagline {
        font-size: 10px;
    }
}

/* Different pages ke liye images */
.banner-about::before {
    background-image: url('/images/lab2.jpg');
}

.banner-services::before {
    background-image: url('/images/service1.jpg');
}

.banner-quality::before {
    background-image: url('/images/lab4.jpg');
}

.banner-contact::before {
    background-image: url('/images/lab5.jpg');
}
.banner-content {
    background: rgba(0,0,0,0.55);
    padding: 20px 30px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    text-align: center;
}
/* ===== Mission Vision Premium Cards ===== */
.mv-card {
    position: relative;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: 0.4s;
}

/* Background images */
.mission-card {
    background: url('/images/mission.jpg') center/cover no-repeat;
}

.vision-card {
    background: url('/images/lab4.jpg') center/cover no-repeat;
}

/* Dark overlay */
.mv-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

/* Content */
.mv-card .content {
    position: relative;
    z-index: 2;
}

.mv-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mv-card p {
    font-size: 14px;
    color: #ddd;
}

/* Hover effect */
.mv-card:hover {
    transform: translateY(-8px);
}

.mv-card:hover .overlay {
    background: rgba(13,110,253,0.7);
}

/* ===== CLIENT GRID ===== */
.client-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.client-card img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    display: block;
    margin: auto; 
    opacity: 0.7;
    transition: 0.3s;
}

.client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.1);
}
.row.g-4 {
    align-items: stretch;
}

/* ===== STATS ===== */
.stat-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px 25px 30px;
    border: 1px solid #eee;
    transition: 0.3s;
}

/* Left blue strip */
.stat-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 15px;
    width: 4px;
    background: #0d6efd;
    border-radius: 4px;
}

.stat-box h2 {
    color: #0d6efd;
    font-weight: 700;
}

.stat-box p {
    color: #555;
}

/* Hover */
.stat-box:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, #0d6efd, #e3e6e9);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
/* ===== TESTIMONIAL ===== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.08);   /* thoda visible */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 3px solid #0d6efd;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

/* Text thoda readable */
.testimonial-card p {
    color: #444;   /* ❌ pehle light tha → invisible */
}


.testimonial-card:hover {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    border-color: transparent;
    transform: translateY(-8px);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
/* CLIENT NAME */
.testimonial-card h6 {
    color: #111;   /* ❌ ab clearly visible */
    font-weight: 600;
    margin-top: 12px;
}

/* OPTIONAL SUBTEXT */
.testimonial-card span {
    color: #666;
}

.banner-clientele::before {
    background-image: url('/images/clients-banner.jpg');
}
/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0d6efd;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.back-btn i {
    transition: 0.3s;
}

.back-btn:hover {
    color: #fff;
    background: #0d6efd;
    padding: 6px 12px;
    border-radius: 20px;
}

.back-btn:hover i {
    transform: translateX(-4px);
}
/* Small blue subtitle */
.training-subtitle {
    color: #0d6efd;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

/* Main heading */
.training-title {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    text-align: left;
    position: relative;
    display: inline-block;
}

/* Underline effect */
.training-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform-origin: center;
    width: 70%;
    transform: translateX(-50%) scaleX(0);
    height: 3px;
    background: #0d6efd;
    display: block;
    margin-top: 10px;
    border-radius: 2px;

    transition: transform 0.4s ease;
}

/* Points styling */
.training-points {
    list-style: none;
    padding: 0;
}

.training-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #e0e0e0; /* better visibility */
}
.training-points i {
    color: #0d6efd;
    font-size: 14px;
}
/* Animation trigger */
.training-title:hover::after {
    transform: translateX(-50%) scaleX(1);
}
.success-box {
    background: #d1e7dd;
    color: #0f5132;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: inline-block;
    transition: opacity 0.5s ease;
}