/* *****************************start banner page *******************************/

@media screen and (min-width: 1200px) {
    .me-xl-2-5, .mx-xl-2-5 {
        margin-right: 0 !important;
    }
}
@media screen and (min-width: 1200px) {
    .ms-xl-2-5, .mx-xl-2-5 {
        margin-left: 0 !important;
    }
}
@media screen and (min-width: 992px) {
    .me-lg-1-6, .mx-lg-1-6 {
        margin-right: 0 !important;
    }
}
@media screen and (min-width: 992px) {
    .ms-lg-1-6, .mx-lg-1-6 {
        margin-left: 0 !important;
    }
}


/* *****************************end banner page *******************************/

/* *****************************start menu page *******************************/
/* Navigation Base */
/* Dropdown background and text color */

/*    @media (min-width: 992px) {*/
/*        #nav-menu {*/
/*            display: flex !important;*/
            
/*        }*/

/*        #menu-toggle {*/
/*            display: none;*/
/*        }*/
/*    }*/

/*    #nav-menu li a{*/
/*        color: #18455d;*/
/*        font-weight: 700 !important;*/
/*    }*/
    
/*      #nav-menu li a:hover {*/
/*        color: #e74860 !important;*/
/*    }*/

/*    .sub-menu li a {*/
/*        font-size: 16px !important;*/
/*    }*/

/*    .bg-nav-masteringlinux{*/
/*        border: 1px solid #e3e6ea !important;*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease !important;*/
/*    }*/
/*    .bg-menu-masteringlinux {*/
/*       background-color: #f8f9fa !important;*/
/*    border: 1px solid #e3e6ea !important;*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease !important;*/
/*}*/


/*   @media (min-width: 992px) {*/
/*    .sub-menu {*/
/*        background-color: #ffffff !important;*/
/*        padding: 10px 0;*/
/*        border: 1px solid #ddd;*/
/*        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
/*    }*/

/*    .sub-menu li a {*/
/*        color: #000;*/
/*        padding: 8px 20px;*/
/*        display: block;*/
/*        text-decoration: none;*/
/*    }*/
        
       
/*}*/



@media (min-width: 992px) {
    #nav-menu {
        display: flex !important;
    }

    #menu-toggle {
        display: none;
    }
}

#nav-menu li a{
    color: #18455d;
    font-weight: 700 !important;
}
  
#nav-menu li a:hover {
    color: #e74860 !important;
}

.sub-menu li a {
    font-size: 16px !important;
}

.bg-nav-masteringlinux{
    border: 1px solid #e3e6ea !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;

    /* 👇 FIX for dropdown cut issue */
    position: relative;
    z-index: 1000;
    overflow: visible !important;
}

.bg-menu-masteringlinux {
    background-color: #f8f9fa !important;
    border: 1px solid #e3e6ea !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* 🔥 FIXED DROPDOWN */
.has-sub {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff !important;
    padding: 10px 0;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

.sub-menu li a { 
    color: #000;
    padding: 8px 20px;
    display: block;
    text-decoration: none;
}




/* *****************************end menu page *******************************/
/* *****************************start footer page *******************************/

.footer-logo {
    max-width: 75px !important;
    width: 100%;
    display: inline-block;
}

/* *****************************end footer page *******************************/

/* *****************************start all page *******************************/

.callSec {
    /*background: #282b8c;*/
        background: #3a91dd;

    padding: 50px 0;
}

.call_btn a {
    padding: 16px 22px;
    background: #fff;
    text-transform: uppercase;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #282b8c;
    display: inline-block;
    transition: 0.3s ease;
}

.call_btn a:hover {
    background: #000;
    color: #fff;
}

.callImg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.callImg img {
    max-width: 100%;
    height: auto;
}

/* Responsive spacing and typography */
@media (max-width: 991.98px) {
    .callSec {
        padding: 40px 20px;
    }

    .call_btn a {
        font-size: 16px;
        padding: 14px 20px;
    }

    .h1 {
        font-size: 32px;
    }

    .col-md-6.py-8.px-8 {
        padding: 20px !important;
    }
}

@media (max-width: 767.98px) {
    .h1 {
        font-size: 28px;
        text-align: center;
    }

    .call_btn {
        text-align: center;
    }

    .callImg {
        margin-top: 30px;
    }

    .callImg img {
        width: 80%;
    }

    .col-md-6 {
        width: 100%;
    }

    .col-md-6.py-8.px-8 {
        padding: 10px !important;
    }
}


/* *****************************end all page *******************************/

/* *****************************start video all page *******************************/


.video-slider-section {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.video-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.video-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease-in-out;
}

.video-card {
  min-width: 100%;
  box-sizing: border-box;
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border: none;
}

.author-name {
  font-weight: bold;
  margin-top: 10px;
}

.sub-title {
  font-size: 0.9rem;
  color: gray;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #00000088;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
    width: 45px;
    height: 45px;
}

.slider-arrow.left {
  left: 40px;
}

.slider-arrow.right {
  right: 40px;
}

/* Desktop: 4 videos per row */
@media (min-width: 768px) {
  .video-card {
    min-width: calc(25% - 15px);
  }

  .video-card iframe {
    height: 200px;
  }
}

/* Mobile: 1 video per row */
@media (max-width: 767px) {
  .video-card {
    min-width: 100%;
  }

  .video-card iframe {
    height: 200px;
  }
}



/* *****************************start video all page *******************************/

/* *****************************start index page *******************************/

/* ***********start Main Features section*************/

/* Step 1: Make sure the container allows for equal height items */
.masteringlinux-service-carousel .card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure card fills the container */
}

/* Step 2: Make all cards the same height */
.masteringlinux-owl-carousel .owl-stage {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
}

.masteringlinux-owl-carousel .owl-item {
    display: flex;
}

/* Step 3: Ensure card content fills full height */
.masteringlinux-card-style05 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* Optional: Equalize card image and body */
.masteringlinux-card-style05 .masteringlinux-card-img {
    flex-shrink: 0;
}
.masteringlinux-card-style05 .masteringlinux-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.masteringlinux-feature-icon {
    width: 60px; /* reduced from 85px */
    height: 60px;
    background-color:#18455d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.masteringlinux-feature-icon img {
    max-width: 65%; /* reduced a bit */
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}
.masteringlinux-feature-icon:hover img {
    transform: scale(1.1);
}

.masteringlinux-feature-icon:hover{
    background-color:#e74860;
}

.masteringlinux-feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;     /* Horizontal center */
    justify-content: center; /* Vertical center (if needed) */
    text-align: center;      /* Center the text inside */
    height: 100%;
}

.masteringlinux-sg-text{
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

.masteringlinux-sp-text{
    font-size: 14px !important;
    color: #333 !important;
}

/* ***********end Main Features section*************/

/* ***********start Placement Assistance section*************/
.bg-card-masteringlinux {
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bg-card-masteringlinux:hover{
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.bg-card-masteringlinux:hover {
    background-color: #29298beb;
}

.bg-card-masteringlinux:hover h4,
.bg-card-masteringlinux:hover h5,
.bg-card-masteringlinux:hover h6,
.bg-card-masteringlinux:hover span,
.bg-card-masteringlinux:hover i {
    color: white !important;
}


.masteringlinux-card{
    padding: 15px;
    /* border: 1px solid gray; */
    border-radius: 10px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

}

.masteringlinux-section-title .masteringlinux-sm-heading
 {
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    /* font-size: 15px; */
    display: inline-block;
    margin-bottom: 12px;
    padding-bottom: 12px;
    color: #18455d;
    z-index: 9;
}

.masteringlinux-section-title .masteringlinux-sm-heading:before {
    position: absolute;
    content: '';
    height: 2px;
    width: 80px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #dedede;
}

.masteringlinux-section-title .masteringlinux-sm-heading:after {
    position: absolute;
    content: '';
    height: 8px;
    width: 8px;
    border-radius: 50px;
    background-color:#18455d;
    right: 0px;
    left: auto;
    bottom: -3px;
    animation: pulsex 5s ease infinite alternate;
}

.masteringlinux-head-col{
    line-height: 35px !important;
    color: #18455d !important;
    font-size: 20px;
    text-align: center;
    font-weight: 800;
}



.section-title .sm-heading
 {
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    /* font-size: 15px; */
    display: inline-block;
    margin-bottom: 12px;
    padding-bottom: 12px;
    color: #18455d;
    z-index: 9;
}

.section-title .sm-heading:before {
    position: absolute;
    content: '';
    height: 2px;
    width: 80px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #dedede;
}

.section-title .sm-heading:after {
    position: absolute;
    content: '';
    height: 8px;
    width: 8px;
    border-radius: 50px;
    background-color:#18455d;
    right: 0px;
    left: auto;
    bottom: -3px;
    animation: pulsex 5s ease infinite alternate;
}

.head-col{
    line-height: 35px !important;
    color: #18455d !important;
    font-size: 20px;
    text-align: center;
    font-weight: 800;
}

.masteringlinux-icon{
    font-size: 8px;
}

.masteringlinux-img img{
    filter: brightness(0) invert(1);
    width: 55px;
    height: 55px;
}

.masteringlinux-card-style06 {
    position: relative;
    perspective: 1000px;
    width: 100%;
    height: 350px !important;
    background-color: transparent;
}
/* ***********end Placement Assistance section*************/


/* *****************************end index page *******************************/



/* *****************************start about page *******************************/
.masteringlinux-about-card {
    background: #1e293b;
    color: #e2e8f0;
    border-left: 4px solid #29298beb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }

  .masteringlinux-about-card:hover {
    background: #334155;
    transform: translateY(-4px);
  }

  .masteringlinux-about-card h5 {
    /* color: #38bdf8; */
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    line-height: 26px;
  }

  .masteringlinux-about-card i.fa-circle {
    color: #fff;
    font-size: 0.5rem;
  }

  .masteringlinux-about-card span {
    color: #e2e8f0 !important;
    font-size: 14px;
  }

 .masteringlinux-about-card-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
    filter: brightness(0) invert(1);
  }

  .masteringlinux-about-card-strong{
    font-weight: 800;
    color: #fff;
    font-size: 15px;
  }


/* *****************************end about page *******************************/

/* *****************************strat Linux System Admin page *******************************/
.bg-card-linux-system-admin {
    
    background-color: #f8f9fa;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bg-card-linux-system-admin:hover{
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #29298beb;
}

.bg-card-linux-system-admin:hover h1,
.bg-card-linux-system-admin:hover h2,
.bg-card-linux-system-admin:hover h3,
.bg-card-linux-system-admin:hover h4,
.bg-card-linux-system-admin:hover h5,
.bg-card-linux-system-admin:hover h6,
.bg-card-linux-system-admin:hover span,
.bg-card-linux-system-admin:hover i {
    color: white !important;
}


/* *****************************end Linux System Admin page *******************************/

/* *****************************start DevOps Engineer page *******************************/

.white-logo-img {
    height: 50px;
    width: auto;
    margin-right: 15px;
}

/* *****************************end DevOps Engineer page *******************************/


/* *****************************strat Linux Engineer page *******************************/
.bg-card-services-wire {
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bg-card-services-wire:hover{
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.bg-card-services-wire:hover {
    background-color: #29298beb;
}

.bg-card-services-wire:hover h5,
.bg-card-services-wire:hover h6,
.bg-card-services-wire:hover span,
.bg-card-services-wire:hover i {
    color: white !important;
}


.bg-card-services-wire {
  flex: 1;  /* Make card fill the height of parent flex container */
  display: flex;
  flex-direction: column;
}


.bg-card-services-wire:hover .image-bg-gray-wire {
    background-color: #f0f0f0; /* Light gray */
    border-radius: 20px;
}

.bg-card-services-wire {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.image-bg-gray-wire {
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    overflow: hidden;
}

.image-bg-gray-wire img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.equal-height-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.equal-height-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


/* *****************************end Linux Engineer page *******************************/


/* *****************************start Linux Engineers page *******************************/
.logo-img-fluid-services {
    max-height: 50px;
}
.bg-card-services {
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bg-card-services:hover{
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.bg-card-services {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.bg-card-services:hover {
    background-color: #29298beb;
}

.bg-card-services:hover h5,
.bg-card-services:hover h6,
.bg-card-services:hover span,
.bg-card-services:hover i {
    color: #ffffff !important;
}

/* *****************************end Linux Engineers page *******************************/