@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.loader_bg {
    position: fixed;
    z-index: 999999;
    background-color: white;
    width: 100%;
    height: 100%;
}

.loader {
    border: 0 solid transparent;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    position: absolute;
    top: calc(50vh - 75px);  
    left: calc(50vw - 75px) 
}

.loader img {
    width: 30px;
    position: relative;
    top: 7vh;
    left: 7vh;
}

.loader:before, .loader:after {
    content: "";
    border: 1em solid red;
    border-radius: 50%;
    width: inherit;
    height: inherit;
    position: absolute;
    top: 0;
    left: 0;
    animation: loader 2s linear infinite;
    opacity: 0;
}

.loader:before {
    animation-delay: .5s;
}

@keyframes loader {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


body {
    font-family: "Barlow", sans-serif;
    line-height: 1,7;
    color: #516171;
    overflow-x: hidden;
    width: 100%;
}


h1,h2,h3,h4,h5,h6 {
    font-weight: 700 !important;
    color: #092032;
}

a {
    color: #092032;
    text-decoration: none;
    transition: all .4s ease;
    font-weight: 500;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

img {
    width: 100%;
}
/* Initial slide-in positions */
.slide-in-left, .slide-in-right {
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.slide-in-left {
    transform: translateX(-100%);
}

.slide-in-right {
    transform: translateX(100%);
}

/* When in view, slide into place */
.in-view {
    opacity: 1;
    transform: translateX(0);
}
/* Initial hidden state for fade-in effect */
.fade-in {
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

/* Fully visible state when scrolled into view */
.in-view {
    opacity: 1;
}

.bg-cover {
    background-position: center !important;
    background-size: cover !important;
    background-position: center !important;
}

/********NAVBAR*********/
.top-nav {
    background-color: red;
    padding-top: 5px;
    padding-bottom: 5px;
}

.top-nav p {
    margin-bottom: 0;
    display: inline-block;
    margin-right: 16px;
    color: white;
}
.navbar {
    background-color: white;
}

.top-nav i,
.top-nav span {
    vertical-align: middle;
}

.socials a {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    border-radius: 100%;
}

.socials a:hover {
    background-color: white;
    color: red;
}

.navbar {
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.8);
}

.navbar img {
    width: 47vh;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: red;
}

.nav-item a {
    font-size: 20px;
    font-weight: 500;
}

.nav-item {
    padding: 0 25px;
}


.btn {
    padding: 9px 24px;
    font-weight: 500;
}

.btn-brand {
    background-color: red;
    color: white;
    border-color: red;
}

.btn-brand:hover {
    color: white;
    background-color: #d80000;
}

/**SLIDER**/
.slide1 {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4),rgba(9, 32, 50, 0.4))
    ,url(../img/banner1.jpg);
}

.slide2 {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4),rgba(9, 32, 50, 0.4))
    ,url(../img/banner2.jpg);
}

.slide3 {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4),rgba(9, 32, 50, 0.4))
    ,url(../img/banner3.jpg);
}


.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    width: 60px !important;
    height: 60px !important;
    display: grid;
    place-items: center;
    background-color: rgba(255, 255, 255, 0.2) !important;
    font-size: 12px;
    margin-top: -30px !important;
    color: whitesmoke !important;
    font-weight: 700;
    border-radius: 100% !important;
}

.owl-prev {
    left: 0;
}

.owl-next {
    right: 0;
}

.owl-next:hover,
.owl-prev:hover {
    background-color: red !important;
}

/* ABOUT SIDE */

.info-box {
    display: flex;
    align-items: center;
}

.info-box h5 {
    color: #ff0000;
    font-size: 30px;
}

.info-box p {
    font-size: 23px;
    line-height: 5vh;
}
.side-img img {
    width: 35vh;
    margin-left: 20vh;
}


/* MILE */

#miles {
    background-image: linear-gradient(rgba(255, 0, 0, 0.9),rgba(255, 0, 0, 0.9))
    ,url(../img/banner2.0.jpg);
}

#miles .display-4,
#miles p {
    color: white;
}

#miles {
    box-shadow: 7px 7px 30px rgba(0, 0, 0);
}

#miles .display-4 {
    font-weight: 700;
}


/* SERVICES */

.info-box {
    display: flex;
    align-items: center;
}

.info-box2 h5 {
    color: #ff0000;
    font-size: 30px;
}

.info-box2 h1 {
    font-size: 30px;
    color: red;
}

.info-box2 p {
    font-size: 20px;
}

.info-box2 li {
    font-size: 20px;
}

.services-img img {
    width: 55vh;
}
/* BANNER X */
.bannerx {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4), rgba(9, 32, 50, 0.4)), url(../img/bannerx.jpg);
    background-size: cover;
    height: 60vh; /* Reduce height for a shorter banner */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center-align content vertically and horizontally */
    text-align: center; /* Center-align text */
}

/* Image styling */
.bannerx img {
    width: 50vw; /* Adjust image size responsively */
    margin-bottom: 20px; /* Add space below the image */
}

/* Text styling */
.bannerx h1 {
    color: white;
    font-size: 24px; /* Adjust font size for readability */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove padding */
}

/* Initial fade-in effect styling */
.fade-in {
    opacity: 0;
    transform: translateY(20px); /* Slightly slide up */
    transition: opacity 1.5s ease, transform 1.5s ease;
}

/* When element is in view */
.fade-in.in-view {
    opacity: 1;
    transform: translateY(0); /* Return to original position */
}
/* REVIEWS */
.goals {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 80px;
}

.row-black {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.goals h1 {
    color: red;
}

.goals p {
    font-size: 20px;
}

.goals-col {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.goals-col img {
    width: 100%;
    height: 70vh;
    display: block;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover {
    background: rgba(255, 0, 0, 0.7);
}

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: white;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3 {
    bottom: 49%;
    opacity: 1;
}

/* <!--REVIEWS--> */

.slider-container2 {
    width: 600px;
    overflow: hidden;
    margin-top: 7vh;
    margin-left: 60vh;
}

.slider-wrapper2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-wrapper2 img {
    width: 100%;
}

.slider-controls {
    display: none;
    justify-content: space-between;
}

.slider-controls button {
    padding: 10px;
    background-color: #ccc;
    border: none;
    cursor: pointer;
}

.contact {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4),rgba(9, 32, 50, 0.4))
    ,url(../img/bannerx.jpg);
    margin-top: 30vh;
}

.contact h2 {
    margin-bottom: 3rem;
    text-align: center;
    color: white;

}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: black;
    box-shadow: 7px 7px 30px rgba(0, 0, 0);
    background: white;
    border-radius: .8rem;
    margin: .7rem 0;
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form btn {
    margin-top: 2rem;
    cursor: pointer;
}

/* ABOUT US */

.about-text {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4),rgba(9, 32, 50, 0.4))
    ,url(../img/about.jpg);
    background-size: cover;
    background-position: center;
    height: 60vh;
}

.about-text h1 {
    color: white;
    text-align: center;
    padding-top: 90px;
    font-size: 35px;
}

.about-text h1 span {
    color: red;
}

.about-text p {
    color: white;
    text-align: center;
    padding-bottom: 40px;
    font-size: 25px;
    letter-spacing: 1px;
}


.info-box2 {
    display: flex;
    align-items: center;
}

.info-box2 h5 {
    color:#ff0000;
    font-size: 30px;
    text-align: center;
    margin-left: -60px;
}

.info-box2 p {
    font-size: 23px;
    line-height: 5vh;
}
.side-img img {
    width: 50vh;
    margin-left: 30vh;
    height: 70vh;
}

.logo-img img {
    width: 10vh;
    height: 10vh;
    align-items: center;
    margin-left: 160px;
   
}

/* General section styling */
.core-values {
    text-align: center;
    padding: 20px;
    padding-top: 80px;
  }
  
  .core-values h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  /* Container for the value boxes */
  .values-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  /* Styling individual value boxes */
  .value-box {
    flex: 1;
    min-width: 180px;
    padding: 15px;
    border: 2px solid rgba(223, 223, 223, 0.936);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out; /* Controls the exit timing */
  }
 
/* Enhanced hover effect */
.value-box:hover {
  border-color: red;
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(139, 0, 0, 0.3), 0 0 15px rgba(255, 0, 0, 0.4); /* Adds a glowing shadow effect */
}

.value-box:hover {
  background: rgba(255, 0, 0, 0.05); /* Light red overlay */
}

/* Styling for the icons on hover for a slight pop */
 .icon {
  color: red;
  transform: scale(1.2); /* Scale icon on hover */
  transition: color 0.3s ease, transform 0.3s ease;
}
  /* Headings inside value boxes */
  .value-box h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
  }
  .core-values h2 span {
    color: red;
  }
  
  /* Paragraph inside value boxes */
  .value-box p {
    font-size: 0.9rem;
    color: #333;
  }
  #about1 {
    padding: 50px 0; /* Add padding for spacing */
}

.container1 {
    max-width: 1200px; /* Limit the maximum width */
    margin: 0 auto; /* Center the container */
}

.info-bo1 {
    text-align: center; /* Center-align content in info box */
}

.side4-img1 {
    margin-bottom: 30px; /* Space below the image */
}

.side4-img1 img {
    width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
}

.side-img {
    padding-left: 20px; /* Space to the left of text */
}

.side-img h5 {
    color: #ff0000; /* Red color for heading */
    font-size: 28px; /* Font size for h5 */
    margin-bottom: 15px; /* Margin below the heading */
}

.side-img h6 {
    font-size: 24px; /* Font size for h6 */
    margin-top: 20px; /* Margin above h6 */
}

.side-img p {
    font-size: 18px; /* Font size for paragraphs */
    line-height: 1.6; /* Line height for readability */
    margin: 10px 0; /* Margin above and below paragraphs */
}


/* CONTACT PART */
.info-box form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.info-box form .input-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.info-box form .input-box input,
.info-box form textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    color: black;
    background: white;
    border-radius: .8rem;
    margin: .7rem 0;
}

.info-box form .input-box input {
    width: 49%;
}

.info-box form textarea {
    resize: none;
}

.info-box form btn {
    margin-top: 2rem;
    cursor: pointer;
}

.side-img iframe {
    padding-bottom: 10vh;
    width: 90vh;
    height: 90vh;
}

.contact-text {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4),rgba(9, 32, 50, 0.4))
    ,url(../img/hehe.jpg);
    background-size: cover;
    background-position: center;
    height: 45vh;
}

.contact-text h1 {
    color: white;
    text-align: center;
    padding-top: 90px;
    font-size: 30px;
    font-weight: 700;
}

.contact-text h1 span {
    color: red;
}

.contact-text p {
    color: white;
    text-align: center;
    padding-bottom: 40px;
    font-size: 20px;
    letter-spacing: 1px;
}

.bannerx2 {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4),rgba(9, 32, 50, 0.4))
    ,url(../img/hehe.jpg);
    background-size: cover;
    height: 100vh;
}

.bannerx2 img {
    width: 90vh;
    position: relative;
    top: 20vh;
    left: 50vh;
}

.bannerx2 h1 {
    color: white;
    align-items: center;
    justify-content: center;
    padding-top: 25vh;
    padding-left: 50vh;
}

/* services */

#product1 {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

#product1 h2 span{
    color: red;
}

#product1 .pro-container {
    display: flex;
    padding: 90px 0;
    /* justify-content: space-between; */
    gap: 10vh;
    margin-left: 25vh;
    flex-wrap: wrap;
}

#product1 .pro {
    width: 23%;
    min-width: 250px;
    padding: 10px 12px;
    /* border: 1px solid rgb(243, 243, 243); */
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
    margin: 15px 0;
    transition: .2s ease;
}

#product1 .pro:hover {
    transform: scale(1.04);
}

#product1 .pro img {
    width: 100%;
    border-radius: 20px;
}

#product1 .pro .des {
    text-align: start;
    padding: 10px 0;
}

#product1 .pro .des span {
    color: black;
    font-size: 20px;
}

#product1 .pro .des h5 {
    padding-top: 7px;
    color: #606063;
    letter-spacing: 1px;
    line-height: 25px;
    font-size: 17px;
}
.button-drop {
    padding-top: 55px;

}

.button-drop1 {
    padding-top: 8px;

}

/* service page */
.service-text {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4),rgba(9, 32, 50, 0.4))
    ,url(../img/bann.jpg);
    background-size: cover;
    background-position: center;
    height: 40vh;
}

.service-text h1 {
    color: red;
    text-align: center;
    padding-top: 90px;
    font-size: 35px;
}

.service-text p {
    color: white;
    text-align: center;
    padding-bottom: 40px;
    font-size: 25px;
    letter-spacing: 1px;
}

.info-box3 {
    display: flex;
    align-items: center;
}

.info-box3 h5 {
    color: #ff0000;
    font-size: 30px;
}

.info-box3 p {
    font-size: 23px;
    line-height: 5vh;
}
.side-img3 img {
    width: 60vh;
    margin-left: 10vh;
}

.info-box {
    display: flex;
    align-items: center;
}

.info-box4 h5 {
    color: #ff0000;
    font-size: 30px;
}

.info-box4 h1 {
    font-size: 30px;
    color: red;
}

.info-box4 p {
    font-size: 23px;
    line-height: 5vh;
}

.info-box4 li {
    font-size: 20px;
}

.services-img2 img {
    width: 55vh;
}

.blogs {
    text-align: center;
}

.blogs h1 {
    color: red;
}

.blogs hr {
    color: red;
    width: 100%; /* Default width */
    margin: 0 auto;
}

.last h3 {
    font-size: 20px;
    color: black;
    text-align: center;
}

.last img {
    width: 27vh;
}

.slide-left, .slide-right {
    opacity: 0;
    transform: translateX(-50px); /* For left slide */
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.slide-right {
    transform: translateX(50px); /* For right slide */
}

.in-view {
    opacity: 1;
    transform: translateX(0); /* Slide into place */
}
  /* Styling for individual team cards */
 /* Initial Fade-In Styles */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

/* When in view, make the element visible */
.in-view {
    opacity: 1;
    transform: translateY(0);
}


.value-box:hover {
    transform: scale(1.05);
}
  .role {
    font-size: 1rem;
    color: #555;
    font-weight: bold;
  }
  
  /* Description styling */
  .description {
    font-size: 0.9rem;
    color: #333;
  }
 .side4-img img {
    width: 40vh;
    margin-left: 20vh;

 }
/* Slide-in Animation CSS */
.slide-right {
    opacity: 0;
    transform: translateX(50px); /* Initial position from the right */
    transition: opacity 1s ease, transform 1s ease; /* Smooth transition */
}

/* Class to apply when element is in view */
.in-view {
    opacity: 1;
    transform: translateX(0); /* Final position */
}
/* Fade-in animations with sliding effect */
.fade-section {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: transform 1s ease, opacity 1s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: transform 1s ease, opacity 1s ease;
}

/* Style when elements are in view */
.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Styling the text box */
.info-box4 {
    background-color: #ffffff; /* White background */
    padding: 20px;
    border: 2px solid #ffffff; /* White border */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Soft shadow for a 3D effect */
    text-align: left;
    transition: box-shadow 0.3s ease;
}


/* Styling the image container */
.services-img2 img {
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.project-text {
    background-image: linear-gradient(rgba(9, 32, 50, 0.4),rgba(9, 32, 50, 0.4))
    ,url(../img/poject.jpg);
    background-size: cover;
    background-position: center;
    height: 40vh;
}

.project-text h1 {
    color: red;
    text-align: center;
    padding-top: 90px;
    font-size: 35px;
}

.project-text p {
    color: white;
    text-align: center;
    padding-bottom: 40px;
    font-size: 25px;
    letter-spacing: 1px;
}

/*recent project*/
.heading-project {
    text-align: center;
    margin-bottom: 50px;
}

.heading-project h1 {
    max-width: 110vh;
    text-align: center;
    align-items: center;
    margin-left: 350px;
}
.heading-project p{
    max-width: 100vh;
    margin-left: 350px;
    font-size: 18px;
}


/* Project gallery container */
.project-gallery {
    display: flex;
    gap: 0;
}

.project-col {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.project-col img {
    width: 200%;
    height: auto;
    display: block;
}

/* Overlay styling */
.overlay {
    background: rgba(255, 0, 0, 0.7);
    position: absolute;
    top: 0;
    right: -100%;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: 0.5s ease;
    text-align: center;
}

.project-col:hover .overlay {
    right: 0;
}

/* Text and redirect icon */
.overlay h3 {
    font-weight: bold;
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
    opacity: 1;
}

.redirect-icon {
    font-size: 24px;
    color: white;
    text-decoration: none;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.redirect-icon:hover {
    transform: scale(1.2);
}

.padding {
  padding: 1px ;
}

.project-secondtext {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 70px;
    gap: 80px;
}

.left-content {
    flex: 1;
    text-align: left;
    margin-right: 150PX;
}

.section-heading {
    font-size: 40px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-heading span {
    color: red;
}

.left-content h1 {
    font-size: 40px;
    color: #333;
}
.left-content h1 span{
    color: red;
}

.right-content {
    flex: 1;
    text-align: left;
    font-size: 30px;
    line-height: 1.6;
    color: #555;
}

.completed1-project {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 100vh;
    margin: 0 auto;
    padding: 30px;
    margin-left: -20px;
}

/* REVIEWS */
.completed1 {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 80px;
}

.row-black {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.completed1 h1 {
    color: red;
}

.completed1 p {
    font-size: 20px;
}

.completed1-col {
    flex-basis: 32%;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.completed1-col img {
    width: 200%;
    height: 40vh;
    display: block;
}

.layer1 {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer1:hover {
    background: rgba(255, 0, 0, 0.7);
}


.layer1 h3 {
    width: 100%;
    font-weight: 500;
    color: white;
    font-size: 26px;
    bottom: 30vh;
    left: 50%;
    transform: translate(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
    padding-top: 30vh;
}

.layer1:hover h3 {
    bottom: 35%;
    opacity: 1;
}

.completed1-border{
    position: relative;
    border: 4px solid white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    text-align: center;
    background-color: white;
    /* display: grid; */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    /* max-width: 100vh; */
    width: 300px;
    height: 300;
    margin: 0 auto;
 
}
.text1-sider h1 {
    color: black;
    font-size: 15px;
}
/* Default style for the icon and link */
.completed1-col .layer1 h3 a {
    color: white;
    font-size: 24px; 
    transition: color 0.3s ease; 
    padding-top: 20vh;
}

/* Circle color switching effect on hover */
.completed1-col .layer1 h3 a:hover {
    color: black; /* Switch icon color to black on hover */
}


.completed1-col .layer1 h3 a:hover i {
    color: black; /* Switch plus sign to black on hover */
}

.video {
    margin: 0 55vh;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.dog {
    padding: 10vh 20vh;
}

.reader h1 {
    color: red;
    font-size: 30px;
}

.video-text p {
    color: black;
    padding: 10px 0;
    text-align: center;
    font-size: 19px;
}
.video1 {
    display: none;
}



.footer-text {
    font-size: 1.6rem;
}

.footer-iconTop {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem 1rem;
    border-radius: .8rem;
    transition: .5s ease;
}
/*footer*/
.footer {
   position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: black;
    color: white;
    text-align: left;
}

.footer-left, .footer-links, .footer-client {
    flex: 1 1 300px;
    margin: 1rem;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

.company-description {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    color: #ccc;
}

.company-description a {
    color: red;
    text-decoration: none;
}

.footer-links h2, .footer-client h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: white;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease; /* Smooth transition */
}

.footer-links ul li a:hover {
    color: red; /* Different white for hover effect */
}

.footer-links ul li span {
    color: red;
    margin-right: 5px;
}

.footer-client p {
    font-size: 1.1rem;
    color: #ccc;
   
}

.footer-client p a {
    color: white;
    text-decoration: none;
}
.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.footer-bottom h1 {
    font-size: 1rem;
    color: white;
}

.footer-bottom h1 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth color transition */
}

.footer-bottom h1 a:hover {
    color: #6A7AFF; /* Blue color on hover */
}

/*style text*/
.project-secondtext {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.left-content, .right-content {
    opacity: 0;
    transform: translateX(-100%); /* Left content starts off-screen to the left */
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}

.right-content {
    transform: translateX(100%); /* Right content starts off-screen to the right */
}

/* Add active class to move content to its final position */
.left-content.active, .right-content.active {
    opacity: 1;
    transform: translateX(0);
}
@media (min-width: 321px) and (max-width: 500px) {
    /* Adjust Navbar */
    .navbar-brand img {
        width: 35vh; /* Reduce logo size on smaller screens */
    }

    .navbar .navbar-nav .nav-link {
        font-size: 16px; /* Smaller font for nav links */
        padding: 0 10px; /* Reduce padding for better fit */
    }

    .btn {
        padding: 8px 16px; /* Smaller padding for buttons */
        font-size: 14px; /* Adjust font size for smaller screens */
    }

    .navbar-toggler {
        font-size: 1.2rem; /* Increase font size for toggle icon */
    }

    /* Slider Adjustments */
    .slider-wrapper {
        padding-top: 10px;
    }

    .slider-wrapper h6 {
        font-size: 14px; /* Smaller subtitle font size */
    }

    .slider-wrapper h1 {
        font-size: 24px; /* Adjust headline font size */
        line-height: 1.3; /* Adjust line height for better spacing */
    }

    .slider-wrapper .btn {
        padding: 8px 16px; 
        font-size: 14px; 
        margin-bottom: 10px;
    }

    /* Spacing and Alignment */
    .container {
        padding-left: 15px; 
        padding-right: 15px; /* Reduce side padding */
    }

    .slide1, .slide2, .slide3 {
        background-position: center top; 
    }

    /* Adjust button positions on slider */
    .slider-wrapper .btn-outline-light {
        margin-top: 10px;
        margin-left: 0; 
        display: block; /* Stack buttons vertically */
    }

    /* Adjust the header and other font sizes */
    h1, h2, h3, h4, h5, h6 {
        font-size: calc(1.2em + 1vw); /* Responsive font size for headers */
    }

    /* Centering slide text content */
    .slide1 .container, .slide2 .container, .slide3 .container {
        text-align: center;
    }

    /* Navbar Shadow */
    .navbar {
        box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.5); /* Adjust shadow for a cleaner look */
    }

    /* Hide the owl carousel prev/next buttons on mobile */
    .owl-prev,
    .owl-next {
        display: none;
    }
}

@media (min-width: 321px) and (max-width: 500px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    /* Adjust Navbar */
    .navbar-brand img {
        width: 35vh; /* Reduce logo size on smaller screens */
    }

    .navbar .navbar-nav .nav-link {
        font-size: 16px; /* Smaller font for nav links */
        padding: 0 10px; /* Reduce padding for better fit */
    }

    .btn {
        padding: 8px 16px; /* Smaller padding for buttons */
        font-size: 14px; 
    }

    .navbar-toggler {
        font-size: 1.2rem; /* Increase font size for toggle icon */
    }

    /* Slider Adjustments */
    .slider-wrapper {
        padding-top: 10px;
    }

    .slider-wrapper h6 {
        font-size: 14px; /* Smaller subtitle font size */
    }

    .slider-wrapper h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .slider-wrapper .btn {
        padding: 8px 16px; /* Smaller padding on buttons */
        font-size: 14px; 
        margin-bottom: 10px; /* Add space below buttons */
    }

    /* Spacing and Alignment */
    .container {
        padding-left: 15px; /* Reduce side padding */
        padding-right: 15px; /* Reduce side padding */
    }

    .slide1, .slide2, .slide3 {
        background-position: center top; /* Adjust background positioning */
    }

    /* Adjust button positions on slider */
    .slider-wrapper .btn-outline-light {
        margin-top: 10px;
        margin-left: 0; /* Center on small screens */
        display: block; /* Stack buttons vertically */
    }

    /* Adjust the header and other font sizes */
    h1, h2, h3, h4, h5, h6 {
        font-size: calc(1.2em + 1vw); /* Responsive font size for headers */
    }

    /* Centering slide text content */
    .slide1 .container, .slide2 .container, .slide3 .container {
        text-align: center;
    }

    /* Navbar Shadow */
    .navbar {
        box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.5); /* Adjust shadow for a cleaner look */
    }

    /* Hide the owl carousel prev/next buttons on mobile */
    .owl-prev,
    .owl-next {
        display: none;
    }
}
@media (min-width: 500px) and (max-width: 1000px) {
  
.loader img {
    width: 30px;
    position: relative;
    top: 7vh;
    left: 8vh;
}
}

@media (min-width: 321px) and (max-width: 500px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    .loader img {
        width: 30px;
        position: relative;
        top: 8vh;
        left: 9vh;
    }

}

@media (min-width: 500px) and (max-width: 1024px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    /* Adjust top navigation for tablet */
    .top-nav {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .top-nav p {
        font-size: 14px;
        margin-right: 10px;
    }

    .socials a {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    /* Main navbar adjustments */
    .navbar {
        padding: 10px 20px;
        background-color: white;
    }

    .navbar img {
        width: 35vh; /* Reduced logo size for tablets */
    }

    .navbar .navbar-nav .nav-link {
        font-size: 18px;
        padding: 8px 15px;
    }

    /* Center align and adjust button size */
    .btn {
        padding: 8px 20px;
        font-size: 16px;
    }

    /* Slider container adjustments */
    .slider-wrapper .container {
        padding: 0 15px;
        text-align: center;
    }

    .slider-wrapper h6 {
        font-size: 20px;
    }

    .slider-wrapper h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .slider-wrapper .btn {
        margin: 5px;
        font-size: 16px;
    }

    /* Slider button adjustments */
    .owl-prev,
    .owl-next {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }

    /* Adjust for slider background images to fit on tablet */
    .slide1, .slide2, .slide3 {
        background-position: center;
        background-size: cover;
    }

    /* Footer and content section alignment */
    .container .row {
        justify-content: center;
        text-align: center;
    }
}
/* Styles for screen sizes between 321px and 500px */
@media (min-width: 321px) and (max-width: 500px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    .video1 {
        display: block;
        width: 40%; /* Reduce width for smaller screens */
        max-width: 30%;
       margin-left: 10vh;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Softer shadow */
        align-items: center;
    }
    .video {
        display: none;
        width: 40%; /* Reduce width for smaller screens */
        max-width: 30%;
       margin-left:20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Softer shadow */
        align-items: center;
    }

    .dog {
        padding: 5vh 10vh; /* Reduce padding */
    }

    .reader h1 {
        font-size: 25px; /* Smaller font size for heading */
    }

    .video-text p {
        font-size: 16px; /* Smaller font size for paragraph */
    }
       /* banner */
  .bannerx2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centers content vertically */
    text-align: center; /* Centers text horizontally */
    height: 100vh;
}

.bannerx2 img {
    width: 50vw; /* Smaller width for mobile */
    margin-bottom: 1rem; /* Space between image and text */
    position: initial; /* Reset positioning for centering */
    top: 0;
    left: 0;
}

.bannerx2 h1 {
    font-size: 1.5rem; /* Smaller font for mobile */
    padding: 0; /* Remove padding for centering */
    margin: 0;
}

}

/* Styles for screen sizes between 500px and 1000px */
@media (min-width: 500px) and (max-width: 1000px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    .video1 {
        display: block;
        width: 40%; /* Reduce width for smaller screens */
        max-width: 30%;
       margin-left: 23vh;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Softer shadow */
        align-items: center;
    }
    .video {
        display: none;
        width: 40%; /* Reduce width for smaller screens */
        max-width: 30%;
       margin-left:20;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Softer shadow */
        align-items: center;
    }

    .dog {
        padding: 8vh 15vh; /* Adjust padding */
    }

    .reader h1 {
        font-size: 28px; /* Adjust font size for heading */
    }

    .video-text p {
        font-size: 18px; /* Adjust font size for paragraph */
    }
    .bannerx2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Centers content vertically */
        text-align: center; /* Centers text horizontally */
        height: 100vh;
    }

    .bannerx2 img {
        width: 60vw; /* Adjust image width for mid-sized screens */
        margin-bottom: 1.5rem; /* Space between image and text */
        position: initial; /* Reset positioning for centering */
        top: 0;
        left: 0;
    }

    .bannerx2 h1 {
        font-size: 2rem; /* Adjust font size for mid-sized screens */
        padding: 0; /* Remove padding for centering */
        margin: 0;
    }
}

/* Styles specifically for screen width exactly 1024px */
@media (min-width: 1024px) and (max-width: 1024px) {
    .video1 {
        display: block;
        width: 40%; /* Reduce width for smaller screens */
        max-width: 30%;
       margin-left: 27vh;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Softer shadow */
        align-items: center;
    }
    .video {
        display: none;
        width: 40%; /* Reduce width for smaller screens */
        max-width: 30%;
       margin-left: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Softer shadow */
        align-items: center;
    }

    .dog {
        padding: 10vh 20vh; /* Maintain original padding */
    }

    .reader h1 {
        font-size: 30px; /* Maintain original font size */
    }

    .video-text p {
        font-size: 19px; /* Maintain original font size */
    }
      
.bannerx2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centers content vertically */
    text-align: center; /* Centers text horizontally */
    height: 100vh;
}

.bannerx2 img {
    width: 60vw; /* Adjust image width for mid-sized screens */
    margin-bottom: 1.5rem; /* Space between image and text */
    position: initial; /* Reset positioning for centering */
    top: 0;
    left: 0;
}

.bannerx2 h1 {
    font-size: 2rem; /* Adjust font size for mid-sized screens */
    padding: 0; /* Remove padding for centering */
    margin: 0;
}
}




@media (min-width: 344px) and (max-width: 344px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    .video1 {
        width: 40%; /* Reduce width for smaller screens */
        max-width: 30%;
       margin-left: 7vh;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Softer shadow */
        align-items: center;
    }
}


@media (min-width: 321px) and (max-width: 500px) {
    @media (min-width: 321px) and (max-width: 500px) {
        .blogs hr {
            width: 110vw; /* Extends 10% beyond full viewport width */
            margin-left: -5vw; /* Center the line by shifting left */
        }
    }
    
}


.video-grid {
    display: grid;
    padding: 0px 80px;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 10px; /* Spacing between videos */
}

.video-item {
    width: 90%;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio of videos */
}

.video-item iframe {
    width: 100%;
    height: 100%;
}