:root{
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #2a2727;      
    --primary-color: #4763ff;
}

html, body {
    scroll-behavior: smooth;
}

#header-navbar{
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s;
    padding-left: 1rem;
}

#header-navbar.scrolled{ 
    background-color: rgba(0, 0, 0, .4);
}

#header-navbar .nav-link{ 
    color: #ffffff;
}

#header-navbar .nav-link:hover{ 
    color: var(--primary-color);
}

.header-search-icon{
    color: var(--default-color);
    cursor: pointer;
    font-size: 1.5rem;
    margin-top: 5px;
}

.navbar-toggler-icon{
    color: var(--primary-color);
    height: auto;
}

.navbar-toggler-icon:focus{
    border: none;
    box-shadow: none;
}

.navbar-toggler:focus{
    border: none;
    box-shadow: none;
}


.search-input {
    background-color: transparent;   
    color: white;             
    border:none;
    border-radius: 0px;
    border-bottom: 2px solid #c4c4c4;              
    padding: 10px 0;     
    font-size: 16px;      
    outline: none;            
    transition: width .5s ease, opacity .5s ease, visibility 0s linear, .5s border .5s;
    width: 0; 
    opacity: 0; 
    visibility: hidden; 
}

.search-input:focus {
    background-color: transparent;   
    color: white;
    box-shadow: none;
    border:none;
    border-radius:  0px;
    border-bottom: 2px solid #ffff;
}


.search-input.visible {
    width: 200px; 
    opacity: 1; 
    visibility: visible; 
}

.header-search-icon {
    cursor: pointer;

}

.navbar-brand img {
    width: 50px;
}

.dropdown-menu a{ 
    color: var(--primary-color);
}

.dropdown-menu a:hover{ 
    background-color: var(--primary-color);
    color: #ffffff ;
}

.hero::before {
    content: "";
    background: rgba(6, 6, 6, 0.7); 
    position: absolute;
    inset: 0;
    z-index: 2; 
}

#hero_img{
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
}

.hero{
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 120px 0 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero p {
    color: rgba(255, 255, 255, 0.5);
}

.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;  /* Ensures space between the sections */
  scroll-margin-top: 80px;
  overflow: clip;    /* Ensures no overflow from background or content */
  position: relative; /* Makes sure the content stays on top of the background */
}

.services{
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 80px;
    overflow: clip;
}

.services img{
    width: -webkit-fill-available;
}

.services p {
    margin-bottom: 0px
}

.explore-button{
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 5px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.explore-button:hover {
    background: var(--primary-color);
    color: var(--background-color);
    border: 2px solid var(--primary-color);
  }

.overlay{
    background-color: rgba(0,0,0,0.25);
}

.hero h2{
    margin: 0;
    font-size: 56px;
    font-weight: 700;
    font-family: var(--nav-font);
}
.hero p{
    margin-top: 10;
    font-size: 26px;
    font-weight: 400;
    font-family: var(--nav-font);
}


.about img{
    width: -webkit-fill-available;
}
.about{
    background-color: var(--default-color);
    color: var(--background-color);
}

.service-container{
    background-color: var(--default-color);
    box-shadow: 0px 4px 4px 0px rgba(0,0,0, .15);
    border-radius: .5rem;
    color: var(--background-color);
    height: 100%;
    padding: 5rem 2rem;
    transition: all ease-in-out 0.3s;
    text-align: center;
}
.service-container:hover{
    transform: translateY(-10px);
    box-shadow: 0px 0px 25px 0px rgba(0,0,0, .1);

}
.icon-container{
    background-color: var(--primary-color);
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .6rem;
    margin: 0 auto;
    margin-bottom: 20px;
}
.icon-container i{
    font-size:  1.3rem
}

.service-container a {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--background-color);
    font-weight: 600;
}

.service-container p {
    text-decoration: none;
    font-size: .9rem;
    line-height: 1.5rem
}

.services-item p {
    font-size: 14px;
}

.container-section-title h1{
    font-weight: 700;
    text-align: center;
    margin-bottom: .5rem;
}

.contact{
    background-color: #1f1f1f;
    color: var(--default-color);
}

.contact .info-item i{
    color: var(--primary-color);
    font-size: 25px;
    width: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact h3{
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact h1{
    font-weight: 700;
}

.section-title {
    padding-bottom: 40px;
    position: relative;
}


.section-title-left h2::after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--primary-color);
    margin: 4px 10px;
}


.section-title-right h2::before {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--primary-color);
    margin: 4px 10px;
}

.section-title-right {
    display: flex;
    flex-direction: column; 
    align-items: flex-end; 
    text-align: right; 
}

.section-title-right h2 {
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    text-align: right; 
}

.section-title-right h2::before {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--primary-color);
    margin: 4px 10px;
    margin-left: 0; 
}


.section-title h2 {
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

.contact .section-title h2{
    color: color-mix(in srgb, #ffffff, transparent 50%);
}


.contact p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .info-item + .info-item {
    margin-top: 40px;
  }

.contact input{
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
}

.contact textarea{
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
}


.contact .btn-send{
    color: var(--default-color);
    background: var(--primary-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 4px;
}


.contact-us-card {
    background-color: var(--default-color);
    padding: 2.5rem 3rem;
    border-radius: 1rem;
    color: var(--background-color);
    width: 25rem;
}

.contact-us-card h3{
    font-weight:700;
    font-size: 1.5em;
    margin-bottom: 1rem;
}


.contact-us-card input {
    background-color: transparent;               
    border:none;
    border-radius: 0px;
    border-bottom: 2px solid #020202;       
    padding: 10px 10px;       
}


.contact-container{
    justify-content: center;
    align-items: center;
}

.portfolio{
    background-color: var(--default-color);
    color: var(--background-color);
}

#isotope-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;  /* Distribute items evenly */
    margin: 0 auto;  /* Optional: Center the container */
    padding: 0;
}

.isotope-item {
    width: calc(34.33% - 15px);  /* Calculate width dynamically to fit items in a row */
    margin-bottom: 25px;  /* Vertical space between rows */
}

.isotope-item img {
    width: 100%;
    height: auto;
    display: block;  /* Prevent space below images */
}

.portfolio .portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 8px 20px 10px 20px;
    margin: 0;
    margin-bottom: 0px;
    margin-left: 0px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 5px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    font-family: var(--heading-font);
}

.portfolio-filter.active{
    background-color: var(--primary-color);
    color: var(--default-color)
}


.swiper-button-next, .swiper-button-prev {
    color: #000;
}

.review {
    position: relative; 
    overflow: hidden;  
    margin-bottom: 55px;
  }

.swiper-horizontal {
    touch-action: pan-y;
  }
  
.review .review-bg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; 
    opacity: 50%;
}



.review .review-item .review-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
  object-fit: cover;

}


  .swiper-wrapper {
    display: flex;  /* Make sure slides are in a flex container */
  }

.swiper-container {
    position: relative;
    z-index: 5;
    border-radius: 10px;
    z-index: 4;
    width: -webkit-fill-available;
    height: 100%;
    overflow: visible !important;  /* Allow content to overflow, no clipping */
    position: relative;  /* Ensure positioning context for child elements */
  }
  
.swiper-slide {
    flex-shrink: 0;
    width: -webkit-fill-available;
    height: 100%;
    margin-bottom: 30px;
    position: relative;
    transition-property: transform;
    display: block;
    background-color: transparent;
    text-align: center;
    z-index: 5;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
}

/* Default bullet style */
.review .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: color-mix(in srgb, var(--default-color), transparent 50%);
    opacity: 0.5; /* Default opacity */
    transition: background-color 0.3s, opacity 0.3s; /* Smooth transition for opacity */
  }
  
  /* Active bullet style */
  .review .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--default-color) !important; /* Ensure the background color is applied correctly */
    opacity: 1; /* Full opacity for the active bullet */
    transition: background-color 0.3s, opacity 0.3s; /* Smooth transition for opacity */
  }

  .review-item h4{
    font-size: 16px;
    color:  rgb(189, 189, 189);
  }
  




@media (max-width: 479px) {
    .isotope-item {
        width: 100%;  /* One item per row on small screens */
    }
}


/* Adjustments for Large Screens (lg) and Extra-Large Screens (xl) */
@media (min-width: 992px) {
    .isotope-item {
        width: calc(33.33% - 15px);  /* 3 items per row on large screens */
    }
}

@media (min-width: 1200px) {
    .isotope-item {
        width: calc(25% - 20px);  /* 4 items per row on extra-large screens */
    }
}
