@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
:root {
    --primary-blue: #0E1B47;
    --primary-pink: #F22283;
    --primary-purple1: #5C3389;
    --card-green: #78D3CD;
    --card-purple: #CAC0F7;
    --card-blue: #9EC1E6;
    --primary-purple: #662D91;
    --primary-gray: #252B42;
    --primary-light-pink: #FEE7F1;
    --primary-light-gray: #F7F7F7;
    --primary-blue-name :#0063AC;
}

body{
    font-family: "Roboto", serif;
    font-style: normal;
}
header{
    height: 160px;
    position: relative;
}

/* Top Bar Styles */
.top-bar {
    position: fixed;
    z-index: 999;
    top: 0;
    background-color: #06113C;
    color: white;
    min-height: 80px;
    display: flex;
    align-items: center;
}
.contact-info{
    font-family: "Nunito", serif;
  font-style: normal;
}

.contact-info span {
    font-size: 14px;
    display: block;
    margin: 2px 0;
}

.contact-info a {
    color: white;
    text-decoration: underline;
    font-size: 14px;
}

.btn-book-collection {
    background-color: var(--primary-pink);
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    white-space: nowrap;
}

.btn-download-reports {
    color: var(--primary-pink);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

/* Navbar Styles */
.navbar {
    /* height: 100px; */
    width: 100%;
    z-index: 999;
    position: fixed;
    top: 80px;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.navbar-brand{
    margin-right: 0 !important;
}
.navbar-brand img {
    height: 80px;
    width: auto;
}

.navbar-nav {
    margin-left: auto;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    color: #666;
    font-weight: 500;
    font-size: 15px;
    padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-pink);
}
.navbar-toggler{
    padding: 1.5rem !important;
}
/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    /* Changed from left to right */
    height: 100vh;
    width: 300px;
    background: white;
    transition: 0.3s;
    z-index: 1050;
    overflow-y: auto;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    /* Added left shadow */
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 15px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    color: var(--primary-gray);
    transition: all 0.3s ease;
}

.mobile-menu .home {
    color: var(--primary-pink);
    border-left: 4px solid var(--primary-pink);
    background: white;
}

.mobile-menu .about-us {
    /* color: var(--primary-purple); */
    color: #000;
    /* background: #f5f5f5; */
}

.mobile-menu .submenu a {
    padding-left: 30px;
    /* background: #f5f5f5; */
    /* color: var(--primary-purple); */
    color: #000 !important;
}

.close-button {
    position: absolute;
    right: 20px;
    top: 7px;
    color: var(--primary-pink);
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* New dropdown styles */
.mobile-menu .about-us {
    position: relative;
}

.mobile-menu .about-us::after {
    content: '▼';
    position: absolute;
    right: 15px;
    font-size: 12px;
}

.dropdown-menu .dropdown-item:focus{
    background-color: var(--primary-pink) !important;
    color: var(--primary-light-gray) !important;
}
.dropdown-menu .dropdown-item:active{
    background-color: var(--primary-pink) !important;
    color: var(--primary-light-gray) !important;
}
.dropdown-menu .dropdown-item:hover{
    color: var(--primary-pink);
}

.mobile-menu .submenu {
    /* background: #f5f5f5; */
}

.mobile-menu .submenu a {
    padding-left: 30px;
    color: var(--primary-purple);
}

.mobile-menu a:not(.home):hover {
    background: #ebebeb;
}

.mobile-buttons {
    display: none;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

@media (max-width: 991.98px) {
    .top-bar .book-btn {
        display: none !important;
    }

    .mobile-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
        /* border-top: 1px solid #eee; */
        margin-top: 10px;
    }

    .navbar-collapse {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    header{
        height: 180px !important;
    }
}
@media (max-width: 481px) { 

    .btn-book-collection {
        font-size: 10px !important;
    }
    .banner-book-collection-btn{
        padding: 12px 10px !important;
        float: right;
    }
    .btn-download-reports{
        font-size: 10px !important;
    }
    .microscope-icon{
        display: none !important;
    } 
    .navbar-brand img {
        height: 60px;
        width: auto;
    }

}

/* First Banner Section */
.first-banner-section {
    background-color: #f8f9ff;
    min-height: 500px;
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}

.first-banner-heading {
    color: #1a237e;
    font-size: 2.5rem;
    font-weight: 400;
    max-width: 500px;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.service-card span {
    color: #6a1b9a;
    font-weight: 600;
}

.banner-book-collection-btn {
    color: var(--primary-pink);
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.banner-book-collection-btn:hover {
    transform: translateY(-2px);
    cursor: pointer;
}

.icon-img {
    width: 50px;
    height: 50px;
    position: absolute;
}

.notepad-icon {
    top: 40px;
    left: 110px;
}

.heart-icon {
    top: 65px;
    right: 60%;
}

.microscope-icon {
    bottom: 20px;
    right: 120px;
}

@media (max-width: 768px) {
    .first-banner-heading {
        font-size: 2rem;
        text-align: center;
        margin: 2rem auto;
    }

    .banner-doctor-img {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .service-grid {
        max-width: 400px;
        margin: 0 auto;
    }

    .icon-img {
        width: 30px;
        height: 30px;
    }
    .notepad-icon {
        top: 40px;
        left: 80px;
    }
    
    .heart-icon {
        top: 65px;
        right: 20%;
    }
    .microscope-icon {
        bottom: 20px;
        right: 50px;
    }
}
@media (max-width: 480px) {
    .service-card{
        font-size: small;
    }
}

/* Our braches */
.branches-section {
    background-color: var(--primary-light-gray);
}

.branch-title {
    text-align: center;
    margin-bottom: 3rem;
}

.branch-title h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.branch-title h1 span:first-child {
    color: var(--primary-purple);
}

.branch-title h1 span:last-child {
    color: var(--primary-pink);
}

.branch-title p {
    color: var(--primary-gray);
    font-size: 1.1rem;
}

.branch-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.branch-card:hover {
    transform: translateY(-5px);
}

.map-container {
    height: max-content;
    width: 100%;

    iframe {
        width: 100%;
    }
}

.branch-name {
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 500;
    background: white;
}

/* why choose us */
.why-choose-section {
    background-color: var(--primary-light-pink);
    text-align: center;
}

.section-title {
    margin-bottom: 1rem;
}

.section-title h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title h1 .why {
    color: var(--primary-purple);
}

.section-title h1 .choose-us {
    color: var(--primary-pink);
}

.section-subtitle {
    color: var(--primary-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.stat-card {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-gray);
    margin-bottom: 1rem;
    display: block;
}

.stat-text {
    color: var(--primary-gray);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Animation for numbers */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-number {
    animation: countUp 1s ease-out forwards;
}

/* video section */
.video-section {
    padding: 4rem 0;
    text-align: center;
}

.section-title {
    margin-bottom: 1rem;
}

.section-title h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title h1 .our {
    color: var(--primary-purple);
}

.section-title h1 .videos {
    color: var(--primary-pink);
}

.section-subtitle {
    color: var(--primary-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.video-card {
    position: relative;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    img{
        border-radius: 10px;
        object-fit: cover;
    }
}

.video-overlay {
    position: absolute;
    top: 15px;
    left: -20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.video-thumbnail {
    width: 100%;
    object-fit: cover;
}

.play-button {
    background: var(--primary-pink);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.play-button:hover {
    transform: scale(1.05);
    background: var(--primary-pink);
}

.prime-gen-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.prime-gen-text {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.video-modal .modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}

.video-modal .modal-content {
    background-color: transparent;
    border: none;
}

.video-modal .modal-body {
    padding: 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.video-modal video {
    width: 100%;
    display: block;
}

.close-modal {
    position: absolute;
    right: -30px;
    top: -30px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1050;
}
/* second banner section */
.carousel-section {
    background-color: #fff2f6;
    padding: 40px 0;
}

.carousel-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.image-container {
    position: relative;
    width: 400px;
}

.banner-image {
    width: 100%;
    border-radius: 20px;
}

.stat-box img {
    width: 40px;
    height: 40px;
}

.banner-icon {
    position: absolute;
    top: -15px;
    right: -80px;
    width: 60px;
    height: 5px;
    background-color: #dc3545;
}

.banner-text {
    flex: 1;
    max-width: 400px;
}

.banner-text h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.banner-text p {
    color: var(--primary-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.brand-logo {
    max-width: 200px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: transparent;  /* Remove default background */
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(324deg) brightness(96%) contrast(104%);  /* Make icons black */
}

/* Style for the control buttons */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: 0px;
}

.carousel-control-next {
    right: 0px;
}

@media screen and (max-width: 992px) {
    .banner-icon{
        display: none;
    }
    .video-overlay {
        top: 15px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: row; /* Keeps items in row */
        gap: 15px; /* Adds space between image and text */
      }
    
      .image-container {
        flex: 0 0 45%; /* Takes up 45% of the container width */
      }
    
      .banner-text {
        flex: 0 0 50%; /* Takes up 50% of the container width */
        padding: 0 10px;
      }
    
      .banner-text h2 {
        font-size: 1.2rem; /* Smaller heading for mobile */
        margin-bottom: 10px;
      }
      .banner-text p {
        font-size: 0.9rem; /* Smaller paragraph text for mobile */
      }
    .brand-logo{
        display: none;
    }
    
    /* Adjust navigation arrows for mobile */
    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
        top: 50%;
        transform: translateY(-50%);
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 15px;
        height: 15px;
        filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(324deg) brightness(96%) contrast(104%);
    }
    .banner-icon{
        display: none;
    }
}

/* For very small screens */
@media screen and (max-width: 480px) {
    .banner-text h2 {
      font-size: 1rem;
    }
  
    .banner-text p {
      font-size: 0.8rem;
    }
  }


  .footer {
    background-color: #0a1433;
    color: white;
    padding: 50px 0;
}
.email-footer{
    color: white;
    span{
        margin-right: 5px;
    }
} 
.footer h4 {
    color: white;
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
}

.footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background-color: #007bff;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: #007bff;
    padding-left: 5px;
}

.footer .contact-info {
    margin-bottom: 10px;
}

.footer .social-icons a {
    color: white;
    margin-right: 30px;
    font-size: 20px;
}

.footer .copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.right-icon i{
    font-size: small;
    font-weight: bold !important;
}

/* test */
.testimonial-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonial-header h1 .what_our {
    color: var(--primary-purple);
}

.testimonial-header h1 .clients_say {
    color: var(--primary-pink);
}

.testimonial-carousel {
    width: 600px;
    height: 200px;
    margin-top: 20px;
    position: absolute;
    bottom: 20px;
    left: 10px;
}

.testimonial-card {
    height: 200px !important;
    margin: 0 auto;
    background: white !important;
    border-radius: 8px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}

.client-name {
    font-size: 1rem;
    color: var(--primary-pink);
    font-style: italic;
}

.carousel-indicators button {
    width: 12px !important;
    height: 3px !important;
    border-radius: 50%;
    background-color: var(--primary-pink) !important;
    border: none;
}

.carousel-indicators .active {
    background-color:var(--primary-purple) !important;
}
.testimonial-img img{
    height: 600px;
}

@media screen and (max-width: 992px) {
    .testimonial-header h1 {
        text-align: center;
    }
    .testimonial-carousel {
        width: 100%;
        /* height: 300px; */
        margin-top: 20px;
        position: static !important;
    }
    .testimonial-img img{
        height: auto !important;
    }
  }

@media screen and (max-width: 480px) {
    .testimonial-carousel {
        width: 100%;
        height: 300px;
        margin-top: 20px;
        position: static;
    }
    .testimonial-card {
        height:max-content !important;
    }
  }
/* package section */
.packages-section {
    padding: 40px 20px;
    width: 100%;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Title styling */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h1 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 15px;
}

/* Row styling */
.packages-section .container .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.packages-section .container .row::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Card styling */
.package-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.package-card.green { background-color: var(--card-green); }
.package-card.purple { background-color: var(--card-purple); }
.package-card.blue { background-color: var(--card-blue); }

/* Card content styling */
.package-image {
    width: 100%;
    margin-bottom: 20px;
}

.package-image img {
    width: 100%;
    height: auto;
    max-width: 280px;
    object-fit: cover;
}

.package-title {
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: 15px;
    color: #333;
}

.package-description {
    font-size: clamp(14px, 2vw, 16px);
    margin-bottom: 25px;
    color: #666;
    flex-grow: 1;
}

.view-more-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--primary-pink);
    color: var(--primary-pink);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: clamp(14px, 2vw, 16px);
}

.view-more-btn:hover {
    background-color: var(--primary-pink);
    color: #fff;
}

/* Responsive breakpoints */
@media (min-width: 576px) {
    .packages-section .container .col {
        flex: 0 0 calc(100% - 20px);
        max-width: 361px;
    }
}

@media (min-width: 768px) {
    .packages-section {
        padding: 50px 30px;
    }
    
    .packages-section .container .row-cols-md-2 > * {
        flex: 0 0 calc(50% - 20px);
        max-width: 361px;
    }
}

@media (min-width: 992px) {
    .packages-section {
        padding: 60px 40px;
    }
    
    .packages-section .container .row-cols-lg-3 > * {
        flex: 0 0 calc(33.333% - 20px);
        max-width: 361px;
    }
    
    .packages-section .container .row {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

@media (max-width: 575px) {
    .package-card {
        padding: 20px;
    }
    
    .packages-section .container .col {
        width: 85%;
        flex: 0 0 85%;
        min-width: 280px;
    }
    
    .packages-section {
        padding: 30px 15px;
    }
}

/* our Department Section  */
.department-section {
    background: #f8f9fa;
    padding: 50px 0;
}

.department-card {
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    transition: transform 0.3s;
    height: 100%;
    justify-content: center;
}

.department-image img {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    display: block;
    object-fit: cover;
}

.department-name {
    font-size: 18px;
    color: #333;
    margin-bottom: 0;
}

/* Slick Slider Custom Styles */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1;
}

/* .slick-prev {
    left: -20px;
} */

/* .slick-next {
    right: -20px;
} */

.slick-prev:before, .slick-next:before {
    color: #333;
    font-size: 20px;
}

.slick-slide {
    padding: 10px;
}

/* PrimeGen Lab section styles */
.primegenlab-section {
    padding: 80px 0;
}

@media (max-width: 991.98px) {
    .primegenlab-section {
        padding: 40px 0;
    }
}

.primegenlab-image {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.primegenlab-image:hover {
    transform: translateY(-5px);
}

/* Base styles for the watch video button */
/* Video Container Styles */
.video {
    display: block;
    position: relative;
    height: 500px;
    max-width: 550px;
    width: 100%;
    border-radius: 8px;
}

/* Video Button Outer Styles */
.btn-video-outer {
    position: absolute;
    left: -20px;
    top: 80%;
    z-index: 2;
    width: 200px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 35px;
    background-color: #f22283;
    border: 2px solid transparent;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
    text-decoration: none;
}

/* Video Button Inner Styles */
.btn-video-outer .btn-video {
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    color: #ffffff;
    text-transform: capitalize;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
}

/* Play Button Styles */
.btn-video-outer .btn-video .btn-play {
    color: #f22283;
    margin: 0;
    margin-right: 25px;
    margin-left: -15px;
    padding: 10px;
}

.btn-play {
    color: #0063ac;
    background-color: #ffffff;
    padding: 17px;
    border-radius: 50%;
    position: relative;
    -webkit-box-shadow: 0px 0px 15px white;
    box-shadow: 0px 0px 15px white;
    -webkit-animation: playBtn 2s infinite linear;
    animation: playBtn 2s infinite linear;
}

/* Play Icon Styles */
.bi-play-fill {
    font-size: 15px;
}

/* Image Container Styles */
.video .img {
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.video .img img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
    border-radius: 8px;
}

/* Animation Keyframes */
@-webkit-keyframes playBtn {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    70% {
        -webkit-box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes playBtn {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    70% {
        -webkit-box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Media Queries */
@media (max-width: 1199px) {
    .video {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        margin-bottom: 50px;
    }
    .slick-next.slick-arrow{
        display: none !important;
    }
    .book-btn{
        padding-top: 5px;
        flex-wrap: wrap;
        gap: .25rem !important;
    }
    .microscope-icon{
        bottom: 10px;
        right: 120px;
    }
    .btn-video-outer {
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 767px) {
    .video {
        margin-bottom: 30px;
    }
}

.video .img {
    overflow: hidden; /* Important: Contains the zoomed image within the div */
}

.video .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    transition: all 0.3s linear;
}

.video .img img:hover {
    transform: scale(1.1); /* Increases the image size by 10% on hover */
}
.primegenlab-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #252B42;
}

@media (max-width: 767.98px) {
    .primegenlab-title {
        font-size: 2rem;
    }
}

.primegenlab-quote {
    color: #333333;
    font-size: 1.3rem;
    font-weight: 500;
}
.primegenlab-description {
    color: #252B42;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    
}
.primegenlab-button {
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primegenlab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.director-info {
    border-top: 1px solid #dee2e6;
    padding-top: 20px;
    margin-top: 30px;
}

.director-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.director-title {
    font-size: 0.9rem;
    color: #6c757d;
}


/*our services*/
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.text-purple {
    color: var(--primary-purple);
}

.text-pink {
    color: var(--primary-pink);
}

.ourservice-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ourservice-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 100%;
    width: 100%;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);  /* This adds a dark overlay to the entire image */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        transparent 100%
    );
    color: white;
    z-index: 1; 
}

.card-overlay h3 {
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);  
}

.card-overlay p {
    font-size: 0.82rem;
    margin-bottom: 0;
    opacity: 0.95;  
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);  
}

@media (max-width: 991.98px) {
    .ourservice-card {
        height: 300px;
    }
    
    .card-overlay {
        padding: 1.5rem 1.25rem;
    }
    
    .card-overlay h3 {
        font-size: 1.25rem;
    }
    
    .card-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .ourservice-card {
        height: 280px;
    }
}

@media (max-width: 575.98px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .ourservice-card {
        height: 250px;
    }
    
    .card-overlay {
        padding: 1.25rem 1rem;
    }
    
    .card-overlay h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .card-overlay p {
        font-size: 0.8rem;
    }
}

/* specialists Department Section */
.specialists-section {
    padding: 50px 0;
}
.purple-text {
    color: #6f42c1;
}
.pink-text {
    color: #e83e8c;
}
.specialist-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    transition: transform 0.3s;
    height: 100%;
}
.specialist-card:hover {
    transform: translateY(-5px);
}
.specialist-img {
    width: 150px;
    height: 200px;
    margin: 0 auto 15px;
    display: block;
    object-fit: cover;
}
.specialist-name {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--primary-blue-name);
    text-align: center;
    margin-bottom: 10px;
}
.specialist-title {
    color: #666;
    text-align: center;
    margin-bottom: 5px;
    font-size: 0.9rem;
}
.slick-prev,
        .slick-next {
            width: 30px;
            height: 30px;
            z-index: 1;
            background: transparent;
        }
        .slick-prev {
            left: 0px;
        }
        .slick-next {
            right: 0px;
        }
        .slick-prev:before {
            content: '←';
            color: #000;
            font-size: 24px;
            
        }
        .slick-next:before {
            content: '→';
            color: #000;
            font-size: 24px;
            
        }
        .slick-prev:hover:before,
        .slick-next:hover:before {
            opacity: 0.75;
        }

@media (max-width: 991.98px) {
    .slick-arrow.slick-arrow{
        display: none !important;
    }     
}
@media (max-width: 480px) {
    .specialists-section{
        background-color: var(--primary-light-pink);
    }    
    .specialist-card{
        background: transparent;
    }
    .specialist-name{
    color: var(--primary-blue-name);    
    }
    .role{
        color: var(--primary-purple);
    }
    .contact-info span{
        font-size: 12px !important;
    }
}

@media (max-width: 376px) {
    .contact-info span{
        font-size: 12px !important;
    }
}
.cta-button{
    border-color: var(--primary-pink) !important;
    color: var(--primary-pink) !important;
}
.cta-button:hover{
    background-color: var(--primary-pink) !important;
    color: white !important;
}



.acoscontainer {
    max-width: 1200px;
    background-color: #EFF5FB;
    margin: 0 auto;
    padding: 24px;
  }

  .acosflex {
    display: flex;
    flex-direction: column;
  }

  .acositems-start {
    align-items: flex-start;
  }

  .acossection {
    width: 100%;
  }

  .acosmt-8 {
    margin-top: 32px;
  }

  .acosmb-4 {
    margin-bottom: 16px;
  }

  .acosmb-6 {
    margin-bottom: 24px;
  }

  .acostext-2xl {
    font-size: 1.5rem;
  }

  .acostext-3xl {
    font-size: 1.875rem;
  }

  .acosfont-bold {
    font-weight: 700;
  }

  .acostext-gray-800 {
    color: #2d3748;
  }

  .acostext-gray-600 {
    color: #718096;
  }

  .acostext-gray-400 {
    color: #a0aec0;
  }

  .acosgrid {
    display: grid;
  }

  .acosgrid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .acosrelative {
    position: relative;
  }

  img {
    max-width: 100%;
  }

  .acostext-centers {
    text-align: left;
  }

  .acosflexy {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    width: 90%;
    margin-top: 80px;
  }

  .acosdt p {
    margin: 5px;
  }

  .acosimg11:hover, .acosimg22:hover, .acosimg33:hover, .acosimg44:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
  }

  .acosimg22 {
    margin-left: -10px;
    margin-top: 45px;
  }

  .acosimg33 {
    margin-left: 40px;
  }

  .acosimg44 {
    margin-left: 40px;
    height: 180px;
  }

  /* Responsive layout for desktop */
  @media (min-width: 768px) {
    .acosflex {
      flex-direction: row;
      align-items: center; /* Vertical center alignment */
      min-height: 600px;   /* Ensures enough height to center properly */
    }

    .acossection {
      width: 50%;
    }

    #text-section {
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 100%;
      padding-right: 20px;
    }
  }

  /* Responsive layout for mobile */
  @media (max-width: 768px) {
    .acostext-centers {
      text-align: center;
    }

    .acosdt {
      font-size: 10px;
    }

    .acosflexy {
      width: 100% !important;
    }

    .acosimg22 {
      margin-left: -10px !important;
      margin-top: 30px !important;
    }

    .acosimg33 {
      margin-left: 15px !important;
    }

    .acosimg44 {
      margin-left: 13px !important;
      height: 100px !important;
    }
  }