* {
    box-sizing: border-box;

}

body{
    margin: 0;
}

.header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:center;
    padding: 10px;
    gap: 50px;
    font-family: Montserrat;

}

.header h5{
    color: #0767b1 ;
    font-size: 1em;
}

.header p{
    font-size: 1em;
}

.logo-biomed img{
    display: inline-block;
    width: 300px;
    height: auto;
}


.clock-icon{
    display: flex;
    align-items: center;
    gap: 10px;
}

.clock-text{
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0px;
}

.clock-icon h5, .clock-icon p{
    margin: 0px;
}

.clock-icon img{
    width: 50px;
    height: 50xp;
    object-fit: contain;
}


.phone-icon{
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon h5, .phone-icon p{
    margin: 0px;
}

.phone-text{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-icon img{
    width: 50px;
    height: 50xp;
    object-fit: contain;
}

.social-icons{
    text-align: center;
    color: #666666;   
}

.social-icons a{
    text-decoration: none;
    color: #666666;
}

.live-support-btn{
    padding: 10px 20px ;
    border-radius: 50px ;
    color: white;
    background-color: #FF0000;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s;
    will-change: background-color;
}

.live-support-btn:hover{
    background-color: #ec0000;
}

.nav-bar ul{
    list-style: none;
    display: flex;
    gap: 20px;
    font-size: 1em;
    color: white;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    justify-content: center;
    margin: 0px;
}


.nav-bar li:hover{
    background-color: #077ad3;
}

/* Base nav bar styles (your code) */
.nav-bar {
  background-color: #0767b1;
  box-shadow: 2px 2px 5px rgb(211, 211, 211);
}

.nav-bar a{
    text-decoration: none;
    font-size: 1em;
    color: white;
    font-weight: bold;

}

/* RESET */
.nav-bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


.nav-bar li {
    position: relative;
    cursor: pointer;
    padding: 20px 20px;
}

/* Mega Menu */
.mega-menu {
    position: fixed;          /* instead of absolute */
    top: 150px;               /* adjust to match your header height */
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;             /* full screen */
    background: hsl(0, 0%, 99%);
    padding: 50px 0;
    display: none;
    z-index: 99999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Show on hover */
.has-megamenu:hover .mega-menu {
    display: block;
}

/* Content inside */
.mega-content {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 80px;   
}

.mega-content a{
    text-decoration: none;
}


.mega-element{
    padding: 10px;
}

.mega-element:hover{
    color: white;
    background-color:#0068df;
    border-radius: 5px;
}

.mega-element:hover h4, 
.mega-element:hover p{
    color: white;
}

/* INDIVIDUAL CATEGORY BOXES */
.mega-element h4 {
    margin: 0 0 6px;
    font-size: 1.2em;
    font-weight: 600;
    color: #003c80;
}

.mega-element p {
    margin: 0;
    font-size: 14px;
    color: #003c80;
}


/* ----------------------- Image Slider -----------------------*/

.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero-pages{
  position: relative;
  height: 600px;
  overflow: hidden;  
}

.slide-pages img{
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-overlay {
  font-family: sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  color: white;
  padding: 30px 40px;
  text-align: center;
  min-width: 600px;
}

.hero-overlay-pages {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);

  /* center the text */
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical */
  align-items: center;     /* horizontal */

  color: white;
  text-align: center;
  padding: 30px 40px;
  font-family: sans-serif;
}

.hero-overlay-pages h1 {
  font-size: 4em;
  margin: 0px;
}

.hero-overlay-pages p {
  font-size: 2em;
  margin: 0px;
}


.hero-overlay h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero-overlay hr{
    width: 200px;
    opacity: 50%;
}

.hero-overlay p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 2em;
  cursor: pointer;
  z-index: 1000; /* keep above images */
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 1000;
}


.slider-dots .dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: #0767b1;
}

.hero-info{
    background-color: #FF0000;
    padding: 10px 20px;
    border:2px solid #ffffff;
    border-radius: 50px;
    font-weight: bold;
}

/*---------------------------------Request Section-----------------------------------------------------*/

.request-btns{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.request-btns a{
    color: white;
    text-decoration: none;
    
}

.request-quote{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    background-color: #1a99ea;
    padding: 25px 120px;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    transition: background-color 0.3s;
}

.request-demo{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    background-color: #0767b1;
    padding: 25px 120px;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    transition: background-color 0.3s;
}

.request-callback{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    background-color: #1a99ea;
    padding: 25px 120px;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    transition: background-color 0.3s;
}

.request-quote:hover , 
.request-demo:hover,
.request-callback:hover{
    background-color: #212529;
}


/*---------------------------------Who we are section-----------------------------------------------------*/

.us-wrapper{
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: center;
    justify-content: center;
    align-content: center;
    padding: 10px;

}

.us-text{
    max-width: 630px;
    margin: 0px;
    padding-bottom: 50px;
}

.us-text h1{
    font-size: 2.5em;
}

.us-text p{
    font-size: 1.3em;
}

.us-text a{
    color: white;
    text-decoration: none;
    background-color: #282828;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: sans-serif;
    font-weight: bold;
    transition: background-color 0.3s;    
}

.us-text a:hover{
    background-color: #107ec2;
}

.us-image img{
    width: 600px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px hsl(0, 0%, 77%);
}

/*-----------------------footer------------------------*/

.subscribe-section{
    background-color: black;
    text-align: center;
    padding: 5px 230px;
}

.subscribe-wrapper{
    background-color: #0767b1;
    display: flex;
    flex-direction: row;
    margin: 50px;
    padding: 40px 140px;
    justify-content: space-between;
    align-items: center;
}

.subscribe-wrapper h1{
    color: white;
    font-family: sans-serif;
    font-weight: normal;
}

.subscribe-wrapper a{
    text-decoration: none;
    color: white;
    padding: 18px 40px;
    background-color: #282828;
    border-radius: 50px;
    font-family: sans-serif;
    font-weight: bold;
    z-index: 1;
    transition: background-color 0.3s;
}

.subscribe-wrapper a:hover{
    background-color: #107ec2;
}

.subscribe-box{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

#subscribe-newsletter{
    border-style: none;
    height: 50px;
    width:500px;
    border-color: white;
    border-radius: 50px;
    transform: translate(100px);
    z-index: 0;

}

/*-----------------------footer info------------------------*/

footer{
    background-color: black;

}

.footer-info{
    background-color:rgb(0, 0, 0);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-info a{
    text-decoration: none;
    color: white;
}

.column1{
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    width: 23%;
}

.column1 h5{
    margin: 0px;
}


.column1 hr , 
.column2 hr,
.column3 hr{
    height: 1px;
    width: 50px;
}

.column2{
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    width: 23%;
    
}

.column2 a:hover{
    text-decoration:underline;
}

.column2 h5{
    margin: 0px;
    display: block;
}


.column3{
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    width: 23%;

}

.column3 h5{
    margin: 0;
}

.column3 a:hover{
    text-decoration:underline;
}


.nav-menu{
    list-style:none;
    display: flex;
    flex-direction: row;
    padding: 0px;
    gap: 100px;
    margin: 0;
}

.nav-menu-column1{
    line-height: 40px;
}

.nav-menu-column2{
    line-height: 40px;
}

.nav-menu li::before{
    content: ">";
}


.footer-info h5 , 
.footer-info p,
.footer-info ul{
    font-family: montserrat;
    color: white;
}


.footer-info h5{
    font-size: 1.2em;
}

.social-icons-footer{
    color: #666666;   
}


.social-icons-footer a{
    text-decoration: none;
    color: #ffffff;
}

/*------------------------Specialities ------------------------------*/
.spec-page{
    padding: 60px 0px;
}

.spec-page-style1{
    padding: 80px 0px;
    background-color: #FAFAFA;
}

.container{
    font-family: sans-serif;
    color: #282828;
    text-align: center;
    margin-left: 272px;
    margin-right: 272px;
}


.divider-style-1{
    color: #ed1c24 !important;
    height: 0px !important;
    border-style: solid;
    width: 125px;
}

.container h2{
    color: #262b6a;
    margin: 0px;
    font-size: 2.6em;
    
}

.container h3{
    color: #262b6a
}

.container p{
    color: #262b6a;
    font-size: 1.2em;
}

/*Gallery Section*/

.spotlight-container{
    margin-left: 272px;
    margin-right: 272px;
}

.row-gallery{
    display: grid;
    grid-template-columns: repeat(4 , 1fr);
    gap: 40px;
    text-align: center;
}

.row-gallery a{
    color: #282828;
    font-weight: bold;
    font-size: 1.1em;
    font-family: sans-serif;
}

.image-gallery img{
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
    padding: 5px;
}

.image-gallery p{
    padding: 20px;
    background-color: #ececec;
    border-radius: 2px;
}


/*Specialities Page*/

.row-specialities{
    display: grid;
    grid-template-columns: repeat(4 , 1fr);
    gap: 30px;
    padding: 30px;
}

.specialities{
    position: relative;
}

.specialities img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;

}

.specialities:hover .gradient-overlay{
    height: 100%;
    background-color:rgba(0, 123, 255, 0.5) ;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* adjust how tall the gradient is */
    background: linear-gradient(
        to top,
        rgba(0, 123, 255, 0.8),
        rgba(0, 123, 255, 0)
    );
    pointer-events: all;
}

.specialities h3 {
    font-family: sans-serif;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5em;
    margin: 0;
    transition: transform 0.3s ease-out ;
}

.specialities:hover h3{
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
}


/*Parts and News*/

.card-request-container{
    display: grid;
    grid-template-columns: repeat(3 , 1fr);
    gap: 80px;
}

.card-request{
    text-align: center;
}

.card-request img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    padding: 5px;
}

.card-request p{
    background-color: #ececec;
    padding: 20px;
    display: block;
    color: #282828;
    font-weight: bold;
    font-size: 1.1em;
    font-family: sans-serif;
}

/*-----------------------------Form Style-----------------------------------------*/

/* 1. Basic Form Container Styling (MODIFIED PADDING) */
form {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0; /* ONLY top/bottom padding for the container */
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 2. Layout for side-by-side (Label on the left, Input on the right) */
.form-row {
    font-family: montserrat;
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    /* ADDED PADDING: This padding controls the spacing for all contents */
    padding-left: 20px;
    padding-right: 20px;
}

/* 3. Styling the Label (The left side) */
.form-row label {
    flex-basis: 30%;
    font-weight: bold;
    color: #333333;
    text-align: left; /* CHANGED: Aligns the label text to the left */
}

/* 4. Styling the Input and Textarea (The right side - takes up the remaining space) */
.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
    flex-grow: 1;
    width: auto;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    transition: border-color 0.3s ease;
    margin-bottom: 0;
}

/* 5. Focus/Active State for Inputs (Maintained) */
form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

/* 6. Textarea Specific Styling (Maintained) */
form textarea {
    resize: vertical;
    min-height: 150px;
}

/* 7. Submit Button Styling (MODIFIED to add back padding and align left) */
form button[type="submit"] {
    display: block;
    width: 180px;
    margin-top: 20px;
    margin-left: 277px; /* ADDED: Pushes button over from the edge */
    padding: 14px 25px;
    background-color: #007bff;
    color: white;
    font-family: montserrat;
    font-size: 18px;
    font-weight: bolder;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

/* 8. Button Hover Effect (Maintained) */
form button[type="submit"]:hover {
    background-color: #0056b3;
}

/* 9. Styling the Hcaptcha Container (Maintained) */
.h-captcha {
    text-align: center;
    margin-right: 45px;
}

/*---------------------FAQs-------------------*/

.faq-item{
    padding: 10px;
}

.faq-question {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question.active {
    background: #0069c7;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
    background: white;
    padding: 0 20px;
}

.faq-answer.open {
    max-height: 500px;
    padding: 20px;
}

/*------------------------------About-----------------------------**/

.container-about{
    font-family: sans-serif;
    color: #282828;
    margin-left: 272px;
    margin-right: 272px;
    font-size: 1.2em;
}


.about-us{
    display: flex;
    flex-direction: row;
    gap: 30px;
}


.about-img img{
    height: auto;
    width: 700px;
    border-radius: 10px;
    box-shadow: 2px 2px 8px rgb(199, 199, 199) ;
}


/*----------------------------Contact Us-------------------------------------*/

.contact-us{
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    gap: 20px;
}


.container-form{
    font-family: sans-serif;
    color: #282828;
    margin-left: 272px;
    margin-right: 272px;
}

.container-form p{
    font-size: 1.2em;
}

.container-form a{
    text-decoration: none;
    color: #282828;
}

.container-form a:hover{
    text-decoration: underline;

}

.address-info{
    font-size: 1.2em;
    line-height: 40px;
}


/*
//======================
//  BREADCRUMBS
//======================
*/

.breadcrumbs ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  font-size: 0.9rem;
}

.breadcrumbs li::after {
  content: "›";
  margin-left: 0.5rem;
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs a {
  text-decoration: none;
  color: #0073e6;
}
