/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
.content{

 position:fixed; /* Fixes the video to the viewport */
  right: 1;
  bottom: 0;
  left: 1;
  min-width: 10%; /* Ensures the video covers the full width */
  min-height: 60%; /* Ensures the video covers the full height */
  z-index: -1; /* Puts the video behind all other content */
  object-fit:cover; /* Ensures the video covers the area while maintaining aspect ratio, preventing distortion */
  padding-right: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;


}


.body {
  margin: 0; /* Remove default body margin */
}


.video-background1{

position: fixed !important;
  top: 0px !important;
  left: 0px !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit:cover !important;
  z-index: -1;
  /* Remove any margins/padding that might be pushing it */
  margin: 0 !important;
  padding: 0 !important;


}
.video-background {
    position:fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2; /* Keeps it behind everything */
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* This targets the actual video inside the box */
.video-v {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translate(-50%, -50%); /* Centers the video */
    object-fit:contain; /* This forces it to fill the gaps */
}


.header-container {
    position:relative; /* Establishes the container as the positioning reference */
    /* Add other styles for your header, e.g., height, background-color */
    height: 125px; 
    align-items: center;
    
    display: flex;
    
}

.sloganCo{

 position:absolute; /* Positions the logo relative to the header-container */
    top:35px !important; 
    left: 1170px !important;          /* Aligns to the left edge of the container */
    margin: 0px !important;     /* Optional: Adds some space around the logo */
    width: 350px !important;      /* Optional: Set a specific width for the logo */
    height:auto !important;     /* Optional: Maintain aspect ratio */
    padding-top: 0px;
    


}

.logo {
    position:absolute; /* Positions the logo relative to the header-container */
    top: -60;           /* Aligns to the top edge of the container */
    left: 710px;          /* Aligns to the left edge of the container */
    margin: -80px;     /* Optional: Adds some space around the logo */
    width: 220px;      /* Optional: Set a specific width for the logo */
    height:auto;     /* Optional: Maintain aspect ratio */
    padding-top: -100px;
    max-height: 900px; /*How mamtoot is the logo*/
    

}


.mb-4{



    animation:fadeInUp 1.5s ease-out forwards;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
    
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline:none;
    
    
}
.navbar-nav .active{

color: rgba(0, 0, 255, 0.849);        /* Color for the page you are currently on */
  font-weight:bold;
  display: flex;
  position: relative;
margin-left: 10px;
margin-right: 45px;

  vertical-align: baseline;
  align-items: center;
  margin-top: 0 ;
  padding-top: 0

}


.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #1316ea;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility:visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, 0.422);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }
    
    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

.page-header {
    background: linear-gradient(rgba(219, 252, 32, 0), rgba(0, 0, 0, 0)), url(../img/wall5.jpg)
    center center no-repeat;
    background-size: cover;
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 40px;
    max-height: 100px;
    
}
.about-img img {
    width: 100%;
    height: 411px;       /* 👈 change this value */
    object-fit: cover;   /* keeps it clean, no stretching */
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid #1317ea8f;
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/about1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(237, 80, 28, 0.336);
}

.feature-item {
    border-color: rgba(201, 25, 25, 0.03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
    
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/




.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background:rgba(247, 227, 225, 0.826);
    box-shadow: 0 0 45px rgba(59, 30, 3, 0.505);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background:#409d1b50;
    
    
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
    
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;

}
   

.service .service-item * {
    position: relative;
    transition:all  .5s ease;
    z-index: 1;
    
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color:rgb(0, 255, 225);
    transition: all 0.5s ease;
    
}


.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(17, 16, 16, 0.703), rgba(0, 0, 0, 0.927)), url(../img/cont12.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
/************************************************************
 * New Professional & Interactive Team Section (Glassmorphism)
 ************************************************************/

/* 1. Main Section Container */
/* ======================================================
   WAIS TEAM SECTION – CLEAN CORPORATE VERSION
====================================================== */

/* ======================================================
   WAIS TEAM SECTION – CLEAN GRID VERSION
====================================================== */

.team {
    padding: 120px 0;
    background: linear-gradient(rgba(10, 24, 41, 0), rgba(15, 4, 84, 0.95)),
                url('img/wais-office-bg.jpg') center/cover no-repeat fixed;
}

/* Team Card */
.team-item {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.35s ease;
    height: 100%;
    
}

.team-item:hover {
    transform: translateY(-8px);
    border-color: rgba(10, 91, 73, 0.6);
    box-shadow: 0 15px 35px rgb(255, 255, 255);
}
#header-carousel .carousel-item img {
    height: 650px;       /* change this value */
    object-fit:fill;   /* keeps image proportions */
}

/* Executive Highlight */
.executive-card {
    border: 1px solid rgba(59,130,246,0.9);
}

/* Image Wrapper (IMPORTANT FIX) */
.team-img-wrapper {
    position: relative;
    overflow: hidden;
}

/* Image */
.team-img-wrapper img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* Image zoom on hover */
.team-item:hover img {
    transform: scale(1.05);
}

/* Text */
.team-text h4,
.team-text h5 {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.team-text span {
    color: #94a3b8;
    font-size: 0.9rem;
    text-transform: uppercase;
    
}

.ceo-title {
    color: #3b82f6 !important;
    
 font-size: 1.1rem !important;
    font-weight: 600;
    

}

/* Social Overlay (FIXED) */
.team-social {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,23,42,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.35s ease;
}

/* Show overlay */
.team-item:hover .team-social {
    opacity: 1;
}

/* LinkedIn Button */
.team-social a {
    width: 55px;
    height: 55px;
    background: #0A66C2;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    transform: scale(1.1);
    background: #084c94;
}

/* ============================
   RESPONSIVE IMPROVEMENT
============================ */

@media (max-width: 768px) {
    .team {
        padding: 80px 0;
    }
}
/*** Testimonial ***/
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.pump-section {
    text-align: center;
    padding: 60px 20px; 
}

.pump-title {
    font-size: 32px;
    font-weight: 600;
    color: #f39c12; /* Professional orange tone */
    margin-bottom: 40px;
}


/* Professional Hover Effect */
.photo-gallery img:hover {
    transform: translateY(-6px) scale(1.05);
}
.photo-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.img1 { box-shadow: 0 0 15px rgba(255, 99, 71, 0.951); }     /* Soft Red */
.img2 { box-shadow: 0 0 15px rgba(52, 152, 219, 0.977); }    /* Light Blue */
.img3 { box-shadow: 0 0 15px rgba(46, 204, 112, 0.953); }    /* Green */
.img4 { box-shadow: 0 0 15px rgba(156, 89, 182, 0.936); }    /* Purple */
.img5 { box-shadow: 0 0 15px rgba(241, 196, 15, 0.967); }    /* Yellow */
.img6 { box-shadow: 0 0 15px rgba(26, 188, 156, 0.955); }    /* Teal */
.img7 { box-shadow: 0 0 15px rgba(230, 125, 34, 0.926); }    /* Orange */
.photo-gallery a {
    display: block;
}

.photo-gallery img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.photo-gallery img:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.photo-gallery a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.photo-gallery span {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    text-align: center;
    transition: 0.3s;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.photo-gallery a:hover span {
    color: #007bffc3;
}
/* ===== Section Header Styling ===== */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #f39c12; /* Professional accent color */
    display: block;
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: #dcdcdc;
    max-width: 700px;
    margin-bottom: 100px;
    line-height: 1.6;
}
.partners {
  padding: 60px 20px;
  background: #9ca1a63b;
  text-align: center;
}

.partners h2 {
  margin-bottom: 40px;
  font-size: 28px;
  color: #33333300;
}

.partners-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

.partner img {
  width: 160px;        /* controls size */
  height: auto;        /* keeps proportions */
  object-fit: contain;
  transition: 0.4s ease;
}

.partner img:hover {
  
  transform: scale(1.1);
  opacity: 1;
}
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}
.testimonial-img div:nth-child(5) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(6) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(7) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}
.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color:black;
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color:aqua;
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(234, 17, 201, 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(243, 10, 10, 0.2);
    }
}


/*** Appoinment (projects)***/
.newsletter {
    background: linear-gradient(rgba(227, 18, 234, 0.95), rgba(221, 10, 186, 0.7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color:#ffffff;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}


.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}
.footer {
    background-color: #214d7d7f !important;
    margin-top: 80px;
     padding-top: 50px;
    padding-bottom: 50px;
      color: #fff;
}


.copyright {
    background: #ffffff00;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}
/* Remove default green overlay */
.service .service-inner::before {
    background: transparent !important;
}

/* ===== Different Overlay Colors Per Card ===== */

.service .row.g-4 > div:nth-child(1) .service-inner:hover::before {
    background: rgba(84, 208, 233, 0.703) !important;
}

.service .row.g-4 > div:nth-child(2) .service-inner:hover::before {
    background: rgba(14, 137, 219, 0.673) !important;
}

.service .row.g-4 > div:nth-child(3) .service-inner:hover::before {
    background: rgba(52, 190, 109, 0.881) !important;
}

.service .row.g-4 > div:nth-child(4) .service-inner:hover::before {
    background: rgba(233, 68, 49, 0.914) !important;
}

.service .row.g-4 > div:nth-child(5) .service-inner:hover::before {
    background: rgba(240, 192, 140, 0.856) !important;
}

.service .row.g-4 > div:nth-child(6) .service-inner:hover::before {
    background: rgba(126, 127, 127, 0.938) !important;
}

.service .row.g-4 > div:nth-child(7) .service-inner:hover::before {
    background: rgba(139, 84, 126, 0.911) !important;
}