/* Reset Styles */

* {

    margin: 0px;
    padding: 0px;
}

/* Font Family Declarations */
body {
    font-family: 'Poppins', 'Baloo Paaji 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Baloo Paaji 2', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Ensure icons use proper font families */
.fa, .fas, .far, .fab {
    font-family: 'Font Awesome 5 Free', 'FontAwesome' !important;
}

.bx {
    font-family: 'boxicons' !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    z-index: 1;
}

/* Hero Section Base Styles */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 80px; /* Space for fixed nav */
}

#demo-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below content but above background */
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    padding: 60px 0;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-prim {
    background: #fd7a24;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-prim:hover {
    background: #606060;
    transform: translateY(-2px);
}

.hero-image {
    max-width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    #demo-canvas {
        top: 70px;
        height: calc(100% - 70px);
    }

    .hero-content {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-content {
        padding: 30px 0;
    }
}
.floating-box {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    padding: 2rem;
    border-radius: 10px;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.card-container {
    display: flex;
    justify-content: center;
    position: relative;
    height: 200px; /* Adjust based on your needs */
}

.card-wrapper {
    position: absolute;
    width: 30%;
}

/* Initial positions */
.card-wrapper:nth-child(1) {
    left: 0;
    transform: scale(0.9);
    z-index: 1;
}
.card-wrapper:nth-child(2) {
    left: 35%;
    transform: scale(1.1);
    z-index: 3;
}
.card-wrapper:nth-child(3) {
    left: 70%;
    transform: scale(0.9);
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .floating-box {
        max-width: 700px;
    }
    .card-wrapper {
        width: 28%;
    }
}

@media (max-width: 768px) {
    .floating-box {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 2rem auto;
        padding: 1rem;
    }
    .card-container {
        height: 180px;
    }
    .card-wrapper {
        width: 30%;
    }
}

@media (max-width: 576px) {
    .floating-box {
        padding: 0.5rem;
        margin: 1rem auto;
    }
    .card-container {
        height: 150px;
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .card-wrapper {
        position: relative;
        width: 80%;
        left: auto !important;
        transform: none !important;
        margin-bottom: 15px;
        z-index: auto !important;
    }
}
/* Services Section */

        .services {
            margin-top: 80px;
            padding: 2rem 0;
            background: #fff;
        }

        .section {
            padding: 4rem;
        }

        .section-title {
            max-width: 700px;
            margin: 0 auto;
        }

        .section-title h2 {
            font-size: 3rem;
            text-align: center;
            margin: 4rem 0;
            font-weight: bold;
        }

        .section-title p {
            font-size: 1.5rem;
            text-align: center;
            margin: 1rem 0 0;
            line-height: 1.6;
        }

        .section-title strong {
            color: #EC5228;
        }

        /* Services Slider Container */
        .services-slider {
            margin-top: 4rem;
            position: relative;
            overflow: hidden;
            min-height: 400px;
        }

        .service-group {
            position: absolute;
            width: 100%;
            opacity: 0;
            pointer-events: none;
            transition: opacity 1s ease-out;
        }

        .service-group.active {
            opacity: 1;
            pointer-events: all;
            position: relative;
        }

        /* Service Item Styles */
        .service {
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 3rem;
            align-items: center;
        }

        .service-content {
            padding: 1rem;
        }

        .service-content h3 {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 1.5rem;
            color: #EC5228;
        }

        .service-content p {
            font-size: 1.1rem;
            line-height: 1.7;
            text-align: justify;
        }

        /* Image Container Styling */
        .service-img-container {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #f5f5f5;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .service-img-container img {
            width: 100%;
            height: auto;
            max-width: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .service-img-container img:hover {
            transform: scale(1.02);
        }

        /* Slider Navigation Dots */
        .slider-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 2rem;
        }

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

        .dot.active {
            background-color: #EC5228;
            width: 36px;
        }

        /* Responsive Adjustments */
        @media (max-width: 1200px) {
            .section {
                padding: 3rem;
            }

            .section-title h2 {
                font-size: 2.5rem;
            }

            .service-content h3 {
                font-size: 2rem;
            }
        }

        @media (max-width: 992px) {
            .section {
                padding: 2rem;
            }

            .section-title h2 {
                font-size: 2.2rem;
                margin: 3rem 0;
            }

            .section-title p {
                font-size: 1.3rem;
            }

            .service-content h3 {
                font-size: 1.8rem;
            }

            .service-content p {
                font-size: 1rem;
            }
        }

        @media (max-width: 768px) {
            .services{
                margin-top: 20px;
            }
            .section {
                padding: 1.5rem !important;
            }

            .section-title h2 {
                font-size: 1.8rem;
                margin: 2rem 0;
            }

            .section-title p {
                font-size: 1.1rem;
            }

            .service-content h3 {
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }

            .service-content p {
                font-size: 0.95rem;
            }

            /* Mobile-specific image adjustments */
            .service-img-container {
                aspect-ratio: 16/9;
                height: auto;
            }

            .service-img-container img {
                width: auto;
                height: 100%;
                max-height: 100%;
                object-fit: contain;
            }

            .services-slider {
                min-height: auto;
            }

            .dot.active {
                width: 24px;
            }

            /* Stack columns in mobile */
            .service > [class^="col-"] {
                flex: 0 0 100%;
                max-width: 100%;
            }

            /* Reset order in mobile view */
            .service .order-md-1,
            .service .order-md-2 {
                order: 0 !important;
            }

            /* Add spacing between stacked items */
            .service > [class^="col-"]:not(:last-child) {
                margin-bottom: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .section {
                padding: 1rem !important;
            }

            .section-title h2 {
                font-size: 1.5rem;
                margin: 1.5rem 0;
            }

            .section-title p {
                font-size: 0.875rem;
            }

            .service-content h3 {
                font-size: 1.3rem;
            }

            .service-content p {
                font-size: 0.875rem;
                line-height: 1.6;
            }

            /* Adjust image container for very small screens */
            .service-img-container {
                max-height: 200px;
            }

            .dot {
                width: 10px;
                height: 10px;
            }

            .dot.active {
                width: 20px;
            }

            .service {
                margin-bottom: 2.5rem;
            }
        }
/* Stats Section Styles */
/* ===== STATS SECTION ===== */
.stats-containers {
  padding: 0;
  margin: 4rem 0;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.stats-image-section {
  width: 90%;
  height: auto;
  max-width: 100%;
  border-radius: 24px;
  margin-bottom: 60px;
  overflow: hidden; /* Ensures the image respects the border-radius */
}

.stats-image-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.stats-cards-wrapper {
  position: relative;
  width: 85vw;
  margin-top: -50px;
  z-index: 10;
}

.stats-cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.stat-card {
  background: #A6A6A6;
  background: radial-gradient(circle, rgba(166, 166, 166, 1) 0%, rgba(84, 84, 84, 1) 100%);
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  flex: 1;
  min-width: 150px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.4);
}

.stat-number {
  font-size: 2.2rem;
  margin: 0;
  color: #000000;
  font-weight: bold;
  line-height: 1;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number-container {
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
  font-weight: 500;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .stats-containers {
    margin: 2rem 0;
    padding: 0;
  }

  .stats-image-section {
    margin-bottom: 40px;
    width: 90%;
    height: auto;
  }

  .stats-cards-wrapper {
    width: 95vw;
    margin-top: -30px;
  }

  .stat-card {
    min-width: calc(50% - 15px);
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 1.8rem;
    height: 40px;
  }

  .stat-label {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .stat-card {
    min-width: 100%;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}
/* ===== SERVICES SECTION ===== */
.services {
    padding: 2rem 0;
}

.section {
    padding: 4rem;
}

.section-title {
    max-width: 700px;
    margin: 0 auto;
}

.section-title h2 {
    font-size: 2.5rem;
    text-align: center;
    margin: 2rem 0;
    font-weight: bold;
}

.section-title p {
    font-size: 1.25rem;
    text-align: center;
    margin: 1rem 0 0;
    line-height: 1.6;
}

.services-slider {
    margin-top: 4rem;
    position: relative;
    min-height: 400px;
}

.service-group {
    position: absolute;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-out;
}

.service-group.active {
    opacity: 1;
    pointer-events: all;
    position: relative;
}

.service {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    align-items: center;
}

.service-content {
    padding: 1rem;
}

.service-content h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #EC5228;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

.service-img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

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

.dot.active {
    background-color: #EC5228;
    width: 36px;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes shadow-pulse {
    0%, 100% { opacity: 1; transform: scale(0.85); }
    50% { opacity: 0.8; transform: scale(1.15); }
}

@keyframes rollOut {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-20px); opacity: 0; }
    51% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.floating-animation {
    animation: float 4s ease-in-out infinite;
}

.counter.rolling {
    animation: rollOut 0.8s ease forwards;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1200px) {
    .stats-image-section,
    .service-img {
        min-height: 350px;
    }

    .stat-number,
    .section-title h2 {
        font-size: 2rem;
    }

    .stat-label,
    .section-title p {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .stats-image-section {
        width: 90vw;
        min-height: 300px;
    }

    .stat-card,
    .section {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .service-img {
        height: 320px;
    }
}

@media (max-width: 768px) {
    /* Stats Section Mobile Fix */
    .stats-containers {
        margin: 2rem 0;
    }

    .stats-image-section {
    width: 95vw;
    min-height: 200px;
    margin-bottom: 30px;
    border-radius: 12px;
    position: relative;
    aspect-ratio: 16/9; /* Maintain aspect ratio */
    background-color: #f5f5f5; /* Fallback color */
  }

    .stats-cards-wrapper {
        width: 90vw;
        margin-top: 0;
        position: static;
    }

    .stats-cards-container {
        flex-direction: row;
        gap: 10px;
    }

    .stat-card {
        min-width: calc(33.33% - 10px);
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    /* Services Adjustments */
    .section-title h2 {
        font-size: 1.8rem;
    }

    .service-img {
        height: 280px;
        margin-bottom: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .stats-image-section {
        min-height: 180px;
    }

    .stat-card {
        min-width: calc(33.33% - 8px);
        padding: 12px 8px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* Services Mobile */
    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.875rem;
    }

    .service-img {
        height: 220px;
    }
}

@media (max-width: 400px) {
    .stats-image-section {
        min-height: 150px;
    }

    .stat-card {
        padding: 10px 5px;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }
}

/* Featurette Section */
.featurette {
    margin-top: 4rem;
    color: white;
    padding: 2rem 0;
}

/* Typography */
.featurette h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fd7a24;
}

.featurette p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #e7e7e7;
}

.featurette strong {
    color: #fd7a24;
}
.featurette span  {
    color: #fd7a24;
}

/* Cloud Container */
.cloud-container {
    position: relative;
    margin: 2rem 0;
}

.cloud-container img {
    max-height: 300px;
    width: auto;
    max-width: 100%;
}

.cloud-shadow {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 80%);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 1;
}

/* Feature Items */
.feature-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.feature-item img {
    flex-shrink: 0;
}

.feature-item .text-light {
    display: block;
    margin-bottom: 0.5rem;
}


/* Responsive Adjustments */
@media (min-width: 768px) {
    .featurette {
        margin-top: 6rem;
        padding: 3rem 0;
    }

    .featurette h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .featurette p {
        font-size: 1.125rem;
    }

    .cloud-container {
        margin: 3rem 0;
    }

    .cloud-container img {
        max-height: 350px;
    }

    .cloud-shadow {
        bottom: -20px;
        height: 25px;
    }
}

@media (max-width: 576px) {
    .featurette {
        padding: 1.5rem 0;
    }

    .featurette h2 {
        font-size: 1.75rem;
    }

    .featurette p {
        font-size: 0.875rem;
    }

    .feature-item {
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .feature-item img {
        width: 40px;
        height: 40px;
    }
}

/*====TESTIMONIAL====*/

/* Testimonial Section - Main Styles */
.testimonial-section {
    padding: 4rem 0;
    margin: 14px !important;
    background-color: #f8f9fa;
}

/* Content Animation */
.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    pointer-events: none;
}

.tab-pane.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Typography */
.testimonial-section h2 {
    font-weight: 800;
    color: #606060;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    line-height: 1.2;
}

.testimonial-quote {
    padding: 14px;
    font-weight: 600;
    color: #EC5228;
    margin-bottom: 2rem;
    font-size: 2rem;
    line-height: 1.3;
    transition: all 0.4s ease;
}

.testimonial-text {
    padding: 12px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000000;
    transition: all 0.4s ease;
    text-align: justify;
}

/* Navigation Styling */
.testimonial-nav {
    padding:0;
}

.testimonial-tab {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #e7e7e7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -3px 4px 10px 0px rgba(71,71,71,0.5);
    text-decoration: none;
    color: #333;
}

.testimonial-tab:hover,
.testimonial-tab.active {
    background: #A6A6A6;
    background: radial-gradient(circle, rgba(166, 166, 166, 1) 0%, rgba(125, 121, 121, 1) 100%);
    color: white;
}

.testimonial-tab.active {
    transform: scale(1.02);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-tab:hover .testimonial-avatar {
    transform: scale(1.1);
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.testimonial-position {
    color: #000000;
    margin-bottom: 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.testimonial-tab:hover .testimonial-name,
.testimonial-tab:hover .testimonial-position,
.testimonial-tab.active .testimonial-name,
.testimonial-tab.active .testimonial-position {
    color: white;
}

/* Content Styling */
.testimonial-content {
    padding: 0;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .testimonial-section h2 {
        font-size: 2.25rem;
    }

    .testimonial-quote {
        font-size: 1.75rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .testimonial-section h2 {
        font-size: 2rem;
    }

    .testimonial-quote {
        font-size: 1.5rem;
    }

    .testimonial-nav {
        padding-right: 0;
        border-right: none;
        margin-bottom: 2rem;
    }

    .testimonial-content {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 3rem 0;
    }

    .testimonial-section h2 {
        font-size: 1.75rem;
    }

    .testimonial-quote {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9375rem;
    }

    .testimonial-tab {
        flex-direction: row;
        padding: 1rem;
    }

    .testimonial-avatar {
        width: 48px;
        height: 48px;
    }

    .tab-content {
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .testimonial-section h2 {
        font-size: 1.5rem;
    }

    .testimonial-quote {
        font-size: 1.3rem;
        padding: 10px 0;
    }

    .testimonial-text {
        font-size: 0.875rem;
        padding: 8px 0;
    }

    .testimonial-tab {
        padding: 0.75rem;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }

    .testimonial-name {
        font-size: 0.9rem;
    }

    .testimonial-position {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .testimonial-section h2 {
        font-size: 1.4rem;
    }

    .testimonial-quote {
        font-size: 1.2rem;
    }

    .testimonial-tab {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-avatar {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}
