/* other part requare css */
:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    font-family: 'Inter', sans-serif;
}

#logo {
    width: auto;
    height: 2.8rem;
}


.hero-bg {
    background-image: url('https://readdy.ai/api/search-image?query=modern%20tech%20company%20office%20in%20Tanzania%20with%20clean%20minimalist%20design%2C%20soft%20blue%20lighting%2C%20technology%20elements%2C%20left%20side%20with%20gradient%20fade%20to%20white%20for%20text%20placement%2C%20professional%20atmosphere%2C%20high-quality%20render%2C%20corporate%20setting%2C%20innovative%20workspace&width=1920&height=1080&seq=1&orientation=landscape');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.5) 100%);
}

.nav-scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* .product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
} */

.custom-checkbox {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.custom-checkbox:hover input~.checkmark {
    background-color: #e5e7eb;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}


/* for preloaded_page */
/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Preloader styles */
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #4a4a4a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
  }
  
  .preloader-logo {
    width: 120px;
    animation: bounce 2s infinite;
  }
  
  /* Optional loader circle animation */
  .loader-animation {
    margin-top: 20px;
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #555;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  /* Bounce animation */
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }
  
  /* Spin animation */
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }



/* products */

.slider-container {
    width: 100vw; /* Full viewport width */
    margin-left: calc(-48vw + 50%); /* Break out of the container */
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .products-slider .slick-slide {
        width: auto !important;
        display: flex !important;
        /* justify-content: center; */
    }

    .products-slider .card {
        width: 300px;
        margin: 0 10px;
    }
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px;
    scrollbar-width: none;
    width: 100%;
}

.slider::-webkit-scrollbar {
    display: none;
}

.card {
    flex: 0 0 300px; /* Maintain a good width */
    scroll-snap-align: start;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
    .card {
        flex: 0 0 25%; /* 4 cards per row approximately */
        max-width: 300px;
    }
}



.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    pointer-events: none; /* Improve touch responsiveness */
}

.card-content {
    padding: 20px;
}

.card h3 {
    margin-bottom: 10px;
    color: #333;
}

.card p {
    color: #666;
    line-height: 1.5;
}

.slider-controls {
    display: flex;
    /* justify-content: center;
    align-items: center; */
    gap: 20px;
    margin-top: 20px;
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: #555;
}

.slider-btn {
    background: #555;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: #333;
}

.slider-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}


  