/********** Template CSS **********/
:root {
    --primary: hsl(185, 94%, 41%);
    /* --light: #191d36;  */
    --dark: #ffffff;  /* Light text */
    background: linear-gradient(135deg, #141829, #1b1f39);
    
}

body {
    background-color: var(--light);
    color: var(--dark);
   
        overflow-x: hidden;
      
      
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
 
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
   
}


.carousel-img {
    height: 650px;
    width: 100%;
    object-fit: cover;
}
/* 
@media (max-width: 768px) {
    .carousel-img {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .carousel-img {
        height: 300px;
    }
} */

/*** 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 {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
    color: #ffffff;
    background-color: var(--primary);
    border: none;
}

.btn:hover {
    background-color: #0d5e6c;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #ffffff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
 .navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #0d62e1;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 60px;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}


.carousel-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-img {
    height: 60vh;
    object-fit: cover;
  }

  .glitch-text {
    font-size: 1.8rem !important;
  }

  .header-carousel .btn {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .social-icons a {
    font-size: 1.2rem;
    margin-right: 10px;
  }
}



/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: transparent;
    border: 1px solid var(--dark);
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--dark);
}


/*** Section Title ***/
.section-title {
    /* position: relative; */
    /* display: inline-block; */
    text-transform: uppercase;
}

.section-title::before {
    /* position: absolute; */
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/* ** Service ** */

.service-item {
    background: var(--dark);
    transition: .5s;
}
.service-section .service-item h5,
.service-section .service-item p {
    color: #000203;
    
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.navbar-toggler-icon {
    background-color: var(--dark); /* Set the color of the 3-dot menu icon */
}

/* Toggler icon hover color */
.navbar-toggler-icon:hover {
    background-color: var(--primary); /* Change color when hovered */
}

/*** Optional: Dark Scrollbar ***/
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d1117;
}
::-webkit-scrollbar-thumb {
    background: #14627e;
}


/***my code **/


.navbar-nav .nav-link {
    font-weight: 700 !important;
}

.navbar {
    background-color: #181C36;
    color: #17857c; 
}

.navbar-brand h2 {
    font-family: 'Orbitron', sans-serif;
}

.logo-img {
    max-height: 60px;
    height: auto;
    width: auto;
    transition: 0.3s ease;
}

.logo-text {
    font-size: 24px;
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 60px;
    }
    .logo-text {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        max-height: 50px;
    }
    .logo-text {
        font-size: 18px;
    }
    .navbar-brand {
        margin-left: 20px !important;
    }
}


/* socal mediea  */

/* Make sure the social icons are displayed inline and properly aligned */
.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 2.5rem;  /* Increase the size of the icons */
    transition: transform 0.3s;
}

/* Add hover effect to enlarge the icons */
.social-icons a:hover {
    transform: scale(1.2);  /* Slightly enlarge the icon when hovered */
}

/* Ensure the button and icons stack on small screens */
@media (max-width: 767px) {
  
    
    .social-icons {
        margin-top: 10px; /* Space between button and icons */
    }
    
    .d-flex .btn {
        width: 100%; /* Make the button full width on mobile */
    }
}

/* Adjust the layout for larger screens */
@media (min-width: 768px) {
    .d-flex {
        flex-direction: row; /* Ensure horizontal layout for larger screens */
        align-items: center;
    }
    
    .d-flex .btn {
        margin-right: 20px; /* Add margin between button and icons */
    }
}




  .carousel-img {
    height: 100vh;
    object-fit: cover;
  }

  .glitch-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #4bd6f6;
    position: relative;
    animation: glitch 2s infinite;
  }

  @keyframes glitch {
    0% {
      text-shadow: 2px 2px #00fff7, -2px -2px #ff00e0;
    }
    25% {
      text-shadow: -2px -2px #ff00e0, 2px 2px #00fff7;
    }
    50% {
      text-shadow: 2px -2px #00fff7, -2px 2px #ff00e0;
    }
    75% {
      text-shadow: -2px 2px #ff00e0, 2px -2px #00fff7;
    }
    100% {
      text-shadow: none;
    }
  }


  .social-icons a {
    margin-right: 20px;
    font-size: 1.75rem;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
    
}

/* Remove margin after last icon */
.social-icons a:last-child {
    margin-right: 0;
}

/* Brand colors */
.social-icons a.facebook { color: #3b5998; }
.social-icons a.twitter { color: #1da1f2; }
.social-icons a.linkedin { color: #0077b5; }
.social-icons a.instagram { color: #e1306c; }

/* Hover effect */
.social-icons a:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}


.team-item .img-fluid {
    width: 100%;
    height: 300px; /* Fixed height for all images */
    object-fit: cover; /* Maintain aspect ratio & crop if needed */
    object-position: center; /* Center the cropped area */
}


  
  

  /* General Styling for Carousel */
  .carousel-wrapper {
    overflow: hidden;
    padding: 50px 0;
    position: relative;
  }

  .carousel {
    display: flex;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
  }

  .service-card {
    /* background: #181C36; */
    /* background: #012B30; */
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin: 0 10px;
    color: white;
    flex-shrink: 0;
    transform: scale(0.9);
    transition: transform 0.4s ease;
    min-width: 90%;
    max-width: 90%;
  }

  .service-card.active {
    transform: scale(1.05);
    border: 2px solid #00ffe1;
  }

  .service-icon {
    font-size: 2.5rem;
    color: #00ffe1;
    margin-bottom: 10px;
  }

  .service-card h4 {
    color: #00ffe1;
    font-size: 1.3rem;
    margin-top: 10px;
  }

  .service-card p {
    color: #fffbfb;
    font-size: 0.95rem;
    margin-top: 10px;
  }

  @media (min-width: 600px) {
    .service-card {
      min-width: 45%;
      max-width: 45%;
    }
  }

  @media (min-width: 900px) {
    .service-card {
      min-width: 30%;
      max-width: 30%;
    }
  }




  .bg-review {
    background: linear-gradient(135deg, #1a1f2b, #212c3d);
    transition: 0.3s ease;
  }
  .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
  }

  /* Ensure all Swiper slides are same height */
.swiper-slide {
    display: flex;
    height: 100%;
  }
  
  /* Match card height to fill the slide */
  .review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 320px; /* adjust as needed */
    max-width: 100%;
    transition: 0.3s ease;
  }
  
  /* For consistent image sizes */
  .review-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
  }
  
  /* Background style */
  .bg-review {
    background: linear-gradient(135deg, #1a1f2b, #212c3d);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  
  /* Background gradients for each card */
.bg-gradient-project {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  }
  
  .bg-gradient-rating {
    background: linear-gradient(135deg, #1f1c2c, #928dab);
  }
  
  .bg-gradient-award {
    background: linear-gradient(135deg, #42275a, #734b6d);
  }
  
  .bg-gradient-client {
    background: linear-gradient(135deg, #0f2027, #2c5364, #00bf8f);
  }
  
  /* Card glow on hover */
  .card-glow {
    transition: 0.3s ease;
  }
  .card-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
  }
  
  /* Icon glow */
  .icon-glow {
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
  }
  

  .bg-gradient-client {
    background: linear-gradient(135deg, #2e788c, #387bcc);
  }
  
  .bg-gradient-project {
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
  }
  
  .bg-gradient-rating {
    background: linear-gradient(135deg, #7619bc, #3a78ba);
  }
  
  .bg-gradient-award {
    background: linear-gradient(135deg, #0fa08f, #08dae5);
  }
  
  .achievement-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .achievement-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }
  
  .icon-glow {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  }
  

   /* .glow-image {
    box-shadow: 0 0 60px rgba(0, 183, 255, 0.4); 
    transition: box-shadow 0.4s ease, transform 0.4s ease;
  }

  .glow-image:hover {
    box-shadow: 0 0 100px rgba(0, 183, 255, 0.7); 
    transform: scale(1.02); 
  } */

  .glow-image {
    box-shadow: 0 0 60px rgba(0, 183, 255, 0.4);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    border-radius: 20px;
  }

  .glow-image:hover {
    box-shadow: 0 0 100px rgba(0, 183, 255, 0.7);
    transform: scale(1.02);
  }

  .text-box-glow {
    background-color: rgba(0, 200, 255, 0.08);
    padding: 40px;
    border-left: 6px solid #00c8e0;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 25px rgba(0, 183, 255, 0.3);
    height: 100%;
    transition: all 0.4s ease;
  }

  .text-box-glow:hover {
    box-shadow: 0 0 50px rgba(0, 200, 255, 0.6);
    border-left: 6px solid #00e1ff;
    transform: translateY(-5px);
  }

   .glow-image {
    filter: blur(1.5px);
    transition: filter 0.3s ease-in-out;
  }

  .glow-image:hover {
    filter: blur(0);
  }
        
  
  
   
        /* This is where we add the blur effect to the background */
        .contact-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: inherit; /* Inherit the background image */
        filter: blur(8px); /* Apply blur to the background */
        z-index: 1; /* Ensure it's below the content box */
        }
                .contact-box {
                    position: relative;
                    z-index: 2;
                    background: rgba(0, 0, 0, 0.75);
                    padding: 45px 35px;
                    max-width: 520px;
                    width: 100%;
                    border: 1px solid rgba(255, 255, 255, 0.08);
                    box-shadow:
                        0 0 40px rgba(9, 245, 245, 0.25),
                        0 0 40px rgba(10, 171, 171, 0.15),
                        0 0 60px rgba(100, 240, 240, 0.08) inset;
                    transition: all 0.4s ease;
                    border-radius: 12px;
                    }

                    .contact-box:hover {
                    transform: translateY(-10px) scale(1.04);
                    box-shadow:
                        0 0 30px rgba(0, 255, 255, 0.5),
                        0 0 60px rgba(0, 128, 255, 0.3),
                        0 0 90px rgba(0, 255, 255, 0.2),
                        0 0 50px rgba(0, 255, 255, 0.3) inset;
                    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
                    }


        .contact-box h2 {
        color: #00e0ff;
        font-size: 2rem;
        }

        .contact-box p {
        font-size: 1.08rem;
        color: #e0e0e0;
        line-height: 1.7;
        }

        .btn-contact {
        background: linear-gradient(135deg, #00e0ff, #0079ff);
        color: #fff;
        padding: 12px 30px;
        font-weight: 600;
        font-size: 1rem;
        border: none;
        border-radius: 30px;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
        }

        .btn-contact:hover {
        background: linear-gradient(135deg, #00c2ff, #005eff);
        transform: scale(1.05);
        }

        .social-icons a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.08);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        margin: 0 8px;
        border-radius: 50%;
        transition: 0.3s ease;
        font-size: 16px;
        }

        .social-icons a:hover {
        background: #00e0ff;
        color: #000;
        transform: rotate(5deg);
        }

        @media (max-width: 576px) {
        .contact-box {
            margin-left: 0;
            padding: 30px 20px;
        }

        .contact-box h2 {
            font-size: 1.5rem;
        }

        .btn-contact {
            padding: 10px 24px;
        }
        }


        

  .contacts-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: inherit; /* Inherit the background image */
        filter: blur(3px); /* Apply blur to the background */
        z-index: 1; /* Ensure it's below the content box */
        }

.ransom::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
  backdrop-filter: blur(0px); /* 🔥 Blur effect */
  -webkit-backdrop-filter: blur(5px);
  z-index: 0;
}

.contacts-box {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.75);
  padding: 45px 35px;
  max-width: 520px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 40px rgba(9, 245, 245, 0.25),
    0 0 40px rgba(10, 171, 171, 0.15),
    0 0 60px rgba(100, 240, 240, 0.08) inset;
  transition: all 0.4s ease;
  border-radius: 12px;
}

.contacts-box:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow:
    0 0 30px rgba(0, 255, 255, 0.5),
    0 0 60px rgba(255, 0, 230, 0.3),
    0 0 90px rgba(0, 255, 255, 0.2),
    0 0 50px rgba(0, 255, 255, 0.3) inset;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ransom .btn-contact {
  background-color: #00bfae;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  transition: 0.3s ease;
}

.ransom .btn-contact:hover {
  background-color: #009f92;
}

.ransom .social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 20px;
  transition: 0.3s ease;
}

.ransom .social-icons a:hover {
  color: #00bfae;
}

.ransom .image-container img {
  max-width: 100%;
  border-radius: 10px;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.ransom .image-container img:hover {
  filter: brightness(1.3);
  transform: scale(1.03);
}



 .hover-zoom {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .hover-zoom:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(67, 154, 224, 0.6);
  }

  .btn-hover-glow {
    transition: all 0.4s ease;
  }

  .btn-hover-glow:hover {
    background-color: #1e90ff !important;
    box-shadow: 0 0 20px rgba(67, 154, 224, 0.9);
    transform: scale(1.05);
  }

  .link-hover:hover {
    color: #00ffe7 !important;
    text-decoration: underline;
  }


   
.glow-hover {
  transition: all 0.3s ease-in-out;
  border-radius: 15px;
}

.glow-hover:hover {
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.5), 
              0 0 30px rgba(0, 255, 255, 0.3), 
              0 0 45px rgba(0, 255, 200, 0.2);
  transform: scale(1.01);
}

