/* light mode */
:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --accent-color: #ff3d00;
}

/* Dark mode */
[data-theme="dark"] {
  --bg-color: #121212;
  --text-color: #ffffff;
  --accent-color: #ff3d00;
}

/* Apply variables globally */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/* Switch styling */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px;
}

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

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  border-radius: 24px;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
}

.slider:before {
  background-color: white;
  border-radius: 50%;
  bottom: 4px;
  content: "";
  height: 16px;
  left: 4px;
  position: absolute;
  transition: 0.4s;
  width: 16px;
}

input:checked + .slider {
  background-color: var(--accent-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* media section black and white version */
:root .media-card {
  background: #000000; /* black card in light mode */
  color: #ffffff;      /* white text in light mode */
}

:root .media-title{
  color:#ffffff
}
[data-theme="dark"] .media-card {
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
}

[data-theme="dark"] .media-title {
  color:#000000;
}
/* our client section black and white version */
:root .counter-text{
  color:black
}

[data-theme="dark"] .counter-text {
  color:#ffffff;
}

/* //////////////////////////////        index page css           /////////////////////////////////////*/
   /* Hero Carousel Styles */
        /* .hero-carousel {
            height: calc(100vh - 76px);
            overflow: hidden;
        }

        .carousel-item {
            height: 100%;
            position: relative;
        }

        .carousel-item video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .carousel-item .slide-bg {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .carousel-item .slide-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.4);
            z-index: 1;
        }

        .slide-bg-2 {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
        }

        .slide-bg-3 {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
        }

        .slide-bg-4 {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
        }

        .slide-bg-5 {
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
        }

        .slide-bg-6 {
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%) !important;
        }

        .carousel-caption {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
            text-align: center;
            width: 90%;
            max-width: 800px;
        }

        .carousel-caption h1 {
            font-size: 3.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
            animation: fadeInUp 1s ease-out;
        }

        .carousel-caption p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        .carousel-caption .btn {
            padding: 1rem 2rem;
            font-size: 1.1rem;
            border-radius: 30px;
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .carousel-control-prev,
        .carousel-control-next {
            width: 5%;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            opacity: 1;
        }

        .carousel-indicators {
            bottom: 30px;
        }

        .carousel-indicators [data-bs-target] {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            margin: 0 5px;
            border: 2px solid #fff;
            background-color: transparent;
            transition: all 0.3s ease;
        }

        .carousel-indicators .active {
            background-color: #ff4757;
            border-color: #ff4757;
            transform: scale(1.2);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        } */

         .hero-carousel {
            position: relative;
            height: 100vh;
            overflow: hidden;
        }

        .carousel-item {
            height: 100vh;
            position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        /* Image styling */
        .carousel-item img {
            width: 100%;
            height: 100vh;
            object-fit: cover;
            object-position: center;
        }

        /* Demo placeholder backgrounds (remove when using real images) */
        .carousel-item:nth-child(1) {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .carousel-item:nth-child(2) {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .carousel-item:nth-child(3) {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        /* Custom carousel controls */
        .carousel-control-prev,
        .carousel-control-next {
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.644);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .carousel-control-prev {
            left: 30px;
        }

        .carousel-control-next {
            right: 30px;
        }

        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            background: rgba(0, 0, 0, 0.5);
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            width: 30px;
            height: 30px;
        }

        /* Custom indicators */
        .carousel-indicators {
            bottom: 30px;
        }

        .carousel-indicators [data-bs-target] {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            border: 2px solid rgba(255, 255, 255, 0.8);
            margin: 0 8px;
            transition: all 0.3s ease;
        }

        .carousel-indicators .active {
            background-color: white;
            transform: scale(1.2);
            border-color: white;
        }

        /* Responsive Design */
        @media (max-width: 992px) {            
            .carousel-control-prev,
            .carousel-control-next {
                width: 60px;
                height: 60px;
            }
            
            .carousel-control-prev {
                left: 20px;
            }
            
            .carousel-control-next {
                right: 20px;
            }
        }

        @media (max-width: 768px) {
            .hero-carousel {
                height: 100vh;
            }
            
            .carousel-item {
                height: 100vh;
            }
            
            .carousel-item img {
                height: 100vh;
            }
            
            .carousel-control-prev,
            .carousel-control-next {
                width: 50px;
                height: 50px;
            }
            
            .carousel-control-prev {
                left: 15px;
            }
            
            .carousel-control-next {
                right: 15px;
            }
            
            .carousel-control-prev-icon,
            .carousel-control-next-icon {
                width: 20px;
                height: 20px;
            }
        }

        @media (max-width: 576px) {            
            .carousel-indicators {
                bottom: 20px;
            }
            
            .carousel-indicators [data-bs-target] {
                width: 12px;
                height: 12px;
                margin: 0 5px;
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .navbar-brand {
                font-size: 1.5rem;
            }

            .navbar-nav .nav-link {
                margin: 0.5rem 0;
                text-align: center;
            }

            .btn-custom {
                margin: 0.5rem 0;
                display: block;
                text-align: center;
            }

            /* .hero-carousel {
                height: calc(100vh - 70px);
            }

            .carousel-caption h1 {
                font-size: 2.5rem;
            }

            .carousel-caption p {
                font-size: 1.1rem;
            }

            .carousel-caption .btn {
                padding: 0.8rem 1.5rem;
                font-size: 1rem;
            }

            .carousel-control-prev,
            .carousel-control-next {
                width: 10%;
            }
        }

        @media (max-width: 576px) {
            .carousel-caption h1 {
                font-size: 2rem;
            }

            .carousel-caption p {
                font-size: 1rem;
                margin-bottom: 1.5rem;
            }

            .carousel-caption .btn {
                padding: 0.7rem 1.2rem;
                font-size: 0.9rem;
            } */
        }
        /* media section */
       .media-section {
            padding: 60px 0;
            /* background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); */
        }
        
        .section-title {
            color: #ff4444;
            font-size: 3rem;
            font-weight: bold;
            text-align: center;
            margin-bottom: 60px;
            letter-spacing: 2px;
            text-shadow: 0 2px 4px rgba(255, 68, 68, 0.3);
        }
        
        .media-card {
            background: linear-gradient(145deg, #f8f9fa, #e9ecef);
            border-radius: 20px;
            padding: 40px 20px;
            text-align: center;
            transition: all 0.3s ease;
            border: none;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            height: 180px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            margin-bottom: 30px;
        }
        
        .media-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(255, 68, 68, 0.2);
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
        }
        
        .media-icon {
            font-size: 3rem;
            color: #ff4444;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }
        
        .media-card:hover .media-icon {
            transform: scale(1.1);
            color: #ff3333;
        }
        
        .media-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #333;
            margin: 0;
            letter-spacing: 1px;
        }
        
        /* Custom responsive breakpoints */
        @media (max-width: 576px) {
            .section-title {
                font-size: 1.8rem;
                margin-bottom: 30px;
            }
            
            .media-card {
                height: 120px;
                padding: 15px 8px;
                margin-bottom: 15px;
            }
            
            .media-icon {
                font-size: 1.5rem;
                margin-bottom: 8px;
            }
            
            .media-title {
                font-size: 0.7rem;
                line-height: 1.2;
            }
        }
        
        @media (max-width: 768px) {
            .section-title {
                font-size: 2.5rem;
            }
            
            .media-card {
                height: 160px;
                padding: 30px 15px;
            }
            
            .media-icon {
                font-size: 2.5rem;
            }
        }
        
        @media (min-width: 1200px) {
            .media-card {
                height: 180px;
                padding: 20px 20px;
            }
            
            .media-icon {
                font-size: 3rem;
            }
            
            .media-title {
                font-size: 1.2rem;
            }
        }
        
        /* Animation for page load */
        .media-card {
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
        }
        
        .media-card:nth-child(1) { animation-delay: 0.1s; }
        .media-card:nth-child(2) { animation-delay: 0.2s; }
        .media-card:nth-child(3) { animation-delay: 0.3s; }
        .media-card:nth-child(4) { animation-delay: 0.4s; }
        .media-card:nth-child(5) { animation-delay: 0.5s; }
        .media-card:nth-child(6) { animation-delay: 0.6s; }
        .media-card:nth-child(7) { animation-delay: 0.7s; }
        .media-card:nth-child(8) { animation-delay: 0.8s; }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* our client  */
.section-title {
  color: #ff3d00;
  font-weight: 700;
  font-size: 2.5rem;
}

.counter {
  font-size: 3rem;
  font-weight: bold;
}

/* .counter-text {
  color: #fff;
} */

@media (max-width: 768px) {
  .counter {
    font-size: 2.2rem;
  }
}
/* riding product company */
.flag-section {
    background: linear-gradient(to right, #EA1F18, #FC5130);
    padding: 50px 0;
    overflow: hidden;
}

.flag-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.flag-track {
    display: flex;
    width: max-content;
    animation: scrollFlags 60s linear infinite;
}

.flag-logo {
    margin: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
    filter: brightness(0) invert(1); /* Makes logos white for dark bg */
}

.flag-logo img:hover {
    transform: scale(1.15);
    filter: brightness(1) invert(0); /* Restores original color on hover */
}

@keyframes scrollFlags {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .flag-logo img {
        height: 40px;
    }
    .flag-logo {
        margin: 0 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .flag-logo img {
        height: 30px;
    }
    .flag-logo {
        margin: 0 15px;
    }
}

        /* expertise css */
  
      
        /* our featured works  */
    .slider-container {
            position: relative;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 0;
            overflow: hidden;
        }

        .featured-title {
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: 3px;
            color: #ff4444;
            text-align: center;
            margin-bottom: 0px;
            padding: 0 20px;
        }

        .slider-wrapper {
            position: relative;
            width: 90%;
            max-width: 1200px;
            height: 500px;
            overflow: hidden;
        }

        .slider-track {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease;
            will-change: transform;
        }

        .slide {
            min-width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
        }

        .work-card {
            background: #2a2a2a;
            border-radius: 20px;
            padding: 50px 40px;
            width: 48%;
            text-align: center;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .work-card:hover {
            transform: translateY(-5px);
        }

        .work-title {
            font-size: 3rem;
            font-weight: 700;
            color: #ff4444;
            margin-bottom: 30px;
            text-transform: lowercase;
        }

        .work-description {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #cccccc;
            margin-bottom: 40px;
        }

        .view-more-btn {
            background: transparent;
            color: #ff4444;
            border: 2px solid #ff4444;
            padding: 12px 30px;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .view-more-btn:hover {
            background: #ff4444;
            color: #ffffff;
            transform: scale(1.05);
        }

        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: #ff4444;
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 20;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-arrow:hover {
            background: #ff6666;
            transform: translateY(-50%) scale(1.1);
        }

        .nav-arrow.prev {
            left: 20px;
        }

        .nav-arrow.next {
            right: 20px;
        }

        .slider-dots {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 12px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }
       :root .dot{ background: rgba(60, 60, 60, 0.385); }

        .dot.active {
            background: #ff4444;
            transform: scale(1.2);
        }

        /* Mobile styles - Keep horizontal layout */
        @media (max-width: 768px) {
            .featured-title {
                font-size: 2rem;
                margin-bottom: 30px;
            }
            
            .slider-wrapper {
                width: 95%;
                height: 400px;
            }
            
            /* Keep horizontal layout on mobile */
            .slide {
                gap: 20px;
                padding: 0 10px;
            }
            
            /* On mobile, show one card per slide */
            .work-card {
                width: 85%;
                max-width: none;
                padding: 30px 20px;
                margin: 0 auto;
            }
            
            .work-title {
                font-size: 2rem;
                margin-bottom: 20px;
            }
            
            .work-description {
                font-size: 1rem;
                margin-bottom: 30px;
            }
            
            .nav-arrow {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
            
            .nav-arrow.prev {
                left: 10px;
            }
            
            .nav-arrow.next {
                right: 10px;
            }
        }

        @media (max-width: 480px) {
            .featured-title {
                font-size: 1.8rem;
            }
            
            .slider-wrapper {
                width: 100%;
                height: 380px;
            }
            
            .work-card {
                width: 90%;
                padding: 25px 15px;
            }
            
            .work-title {
                font-size: 1.8rem;
            }
            
            .view-more-btn {
                padding: 10px 25px;
                font-size: 0.9rem;
            }
        }

    /* our featured works ends */
        /* Responsive Design */
        @media (max-width: 768px) {
            .section-title {
                font-size: 2.2rem;
                margin-bottom: 40px;
            }
            
            .expertise-card {
                min-width: 250px;
                padding: 30px 20px;
            }
            
            .expertise-icon-bg {
                width: 100px;
                height: 100px;
            }
            
            .expertise-icon {
                font-size: 2.5rem;
            }
            
            .case-studies-grid {
                grid-template-columns: 1fr;
                grid-template-rows: auto;
                gap: 15px;
            }
            
            .case-study-card {
                padding: 20px;
            }
            
            .brand-logo {
                font-size: 2rem;
            }
            
            /* .stat-number {
                font-size: 2.5rem;
            } */
        }
        
        @media (max-width: 576px) {
            .main-section {
                padding: 40px 0;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .expertise-card {
                min-width: 200px;
                padding: 25px 15px;
            }
            
            .expertise-icon-bg {
                width: 80px;
                height: 80px;
            }
            
            .expertise-icon {
                font-size: 2rem;
            }
            
            .expertise-title {
                font-size: 1.1rem;
            }
            
            .case-study-card {
                padding: 15px;
            }
            
            .brand-logo {
                font-size: 1.5rem;
            }
            
            /* .stat-number {
                font-size: 2rem;
            } */
        }
        
        /* Animation */
        .expertise-card {
            opacity: 0;
            animation: slideIn 0.8s ease forwards;
        }
        
        .expertise-card:nth-child(1) { animation-delay: 0.1s; }
        .expertise-card:nth-child(2) { animation-delay: 0.2s; }
        .expertise-card:nth-child(3) { animation-delay: 0.3s; }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* case study  */
  h2.section-title {
      text-align: center;
      color: #ff3d00;
      font-size: 2.5rem;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .custom-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .grid-col {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .img-box {
      overflow: hidden;
      border-radius: 12px;
    }

    .img-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .large {
      height: 200px;
    }

    .small {
      height: 150px;
    }

    @media (max-width: 768px) {
      .custom-grid {
        display: flex;
        flex-direction: column;
      }
      .grid-col {
        width: 100%;
      }
    }
    /* what to do section */
     .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff3d00;
  }

  .image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
  }

  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }

    .image-wrapper {
      padding: 0 15px;
    }
  }

