         :root {
    --primary-color: #ff6a02;
    --secondary-color: #1a0936;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

/* .container {
    max-width: 85%;
    margin: 0 auto;
}

.container-fluid {
    max-width: 100%;
    margin: 0 auto;
} */

/* Header Styles
.header {
    background: var(--secondary-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1.8rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    color: white;
    margin-right: 2px;
}

.logo-accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 100;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tagline-bar {
    background: var(--primary-color);
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tagline-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tagline {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.social-link {
    color: var(--secondary-color);
    font-size: 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: var(--primary-color);
} */
.btn-hero {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-color);
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Button Styles */
/* .btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
} */

.btn-nav-contact {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 24px;
    border-radius: 25px;
    font-weight: 300;
    font-size: 1.0rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: white;
}

.btn-text {
    background: none;
    color: white;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.btn-text:hover {
    color: var(--primary-color);
}

.btn-learn-more {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-learn-more-mobile{
    padding: 4px 10px;
    font-size: 0.65rem;

}

.btn-learn-more:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2A1B3D 100%);
    height: calc(100vh - 130px);
    /* Subtract header height (navbar + tagline-bar) */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 0;
    background-image: url('../images/bg/hero.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero h1 {
    font-size: 62px;
}

.tech-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    color: var(--primary-color);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-icons i:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icons i:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

.floating-icons i:nth-child(4) {
    top: 70%;
    right: 25%;
    animation-delay: 3s;
}

.floating-icons i:nth-child(5) {
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.floating-icons i:nth-child(6) {
    top: 80%;
    left: 60%;
    animation-delay: 5s;
}

.floating-icons i:nth-child(7) {
    top: 15%;
    left: 50%;
    animation-delay: 6s;
}

.floating-icons i:nth-child(8) {
    top: 50%;
    right: 10%;
    animation-delay: 7s;
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 60% 20%, rgba(255, 107, 53, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    animation: pulse 4s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 95%;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.hero-titled {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    min-height: 8.4rem; /* Approximate height for 2 lines on desktop to prevent jump */
}

.typed-cursor {
    color: var(--primary-color);
    font-size: 3.5rem;
    opacity: 1;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.title-highlight {
    color: var(--primary-color);
}

.hero-actions {
    margin-top: 2rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title-white {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item:hover .service-icon,
.service-item:hover .service-title {
    color: var(--secondary-color) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.services-grid .service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* About Section */
.about-section .container {
    background: var(--secondary-color);
    padding: 60px 60px;
    color: white;
}

.about-content {
    max-width: 100%;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 3rem;
}

.company-intro {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.highlight-text {
    color: var(--primary-color);
}

.company-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.about-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
    background: white;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.articles-list .btn-learn-more {
    color: var(--secondary-color);
}

.article-item {
    background: white;
    border-radius: 15px;
    padding: 2rem 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid #f0f0f0;
}

.article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    /* border-color: var(--primary-color); */
}

.article-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.article-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.article-content {
    flex: 1;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.article-description {
    color: #666;
    font-size: 0.9rem;
    /* line-height: 1.4; */
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn-prv,
.pagination-btn-nxt {
    background: white;
    border: 1px solid transparent;
    padding: 0;
    /* Remove padding, use width/height instead */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
}

.pagination-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 0;
    /* Remove padding, use width/height instead */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
}

.pagination-btn-prv:hover,
.pagination-btn-nxt:hover,
.pagination-btn.active,
.pagination-btn:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.pagination-dots {
    color: #666;
    padding: 0 0.5rem;
}

/* Carousel Styles */
/* Mobile and Medium: Show carousel, hide desktop grid */
.articles-carousel {
    display: block;
}

.articles-desktop {
    display: none;
}

.services-carousel {
    display: block;
}

.main-services-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 40px;
}

.btn-view-all {
    display: none;
    background: transparent; 
    border: 2px solid var(--primary-color); 
    color: var(--primary-color); 
    padding: 10px 30px; 
    border-radius: 25px; 
    cursor: pointer; 
    font-weight: 500; 
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Large Desktop: Hide carousel, show grid */
@media (min-width: 992px) {
    .articles-carousel {
        display: none;
    }

    .articles-desktop {
        display: block;
    }

    .services-carousel {
        display: none;
    }

    .main-services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .btn-view-all {
        display: inline-block;
    }
}

/* Articles Carousel Styling */
.articles-carousel,
.services-carousel {
    padding: 15px 15px 40px; /* Space for box-shadows and pagination */
    margin: -15px -15px 0;
    overflow: hidden; /* Standard swiper behavior */
}

/* Ensure slides allow box-shadow to be visible */
.swiper-slide {
    height: auto;
    padding-bottom: 20px;
}

/* Swiper Navigation Arrows Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transform: scale(0.5); 
}

.swiper-button-next {
    right: -40px;
}

.swiper-button-prev {
    left: -40px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: 800;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px;
    border-radius: 5px;
    background: var(--primary-color);
}

.articles-carousel .swiper-pagination,
.services-carousel .swiper-pagination {
    bottom: 0 !important;
}

/* Statistics Section */
.stats-section .container {
    background: var(--secondary-color);
    padding: 60px 60px;
    color: white;
    border-radius: 25px;
}

.section-title-white {
    margin-bottom: 12px;
    padding: 0;
}

.stats-content {
    text-align: left;
}

.stats-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 12px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 500;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Browse Services Section */
.browse-services-section {
    padding: 80px 0;
    background: #f8f9fa;
}



.main-service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.main-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 270px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.service-tags {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    z-index: 2;
}

.service-tag {
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.70rem;
    font-weight: 500;
}

.service-info {
    padding: 1.5rem;
}

.service-info hr {
    margin: 1.8rem 0;
    height: 1px;
    background-color: #dddbdb;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .container {
        max-width: 90%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }


}

@media (max-width: 768px) {
    .container {
        max-width: 95%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .browse-services-section,
    .services-section,
    .articles-section,
    .stats-section .container {
        padding: 40px 20px;
    }

    .about-section .container {
        padding: 40px 20px;
    }



    .article-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .article-description-item {
        justify-content: center;
    }

    .article-icon {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-content {
        margin-top: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title,
    .section-title-white {
        font-size: 2rem;
    }

    /* Ensure service icons aren't too big on mobile */
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Adjust service item font size */
    .services-grid .service-title {
        font-size: 0.9rem;
    }
}

.service-description {
    color: #666;
    line-height: 2;
    font-size: 0.9rem;
}

.service-description-div {
    min-height: 115px;
}

.service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}

.service-icon-small {
    width: 35px;
    height: 35px;
    color: var(--primary-color);
    /* background: var(--primary-color); */
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

.view-all-container {
    text-align: center;
    margin-top: 2rem;
}



/* Request For Demo Section */
.demo-request-section {
    background: var(--primary-color);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-text {
    color: #2e3635;
}

.demo-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.demo-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #2e3635
}

.btn-demo {
    background-color: white;
    color: var(--primary-color)
}

.btn-demo:hover {
    background-color: #2e3635;
    color: white;
    transform: translateY(0px);
}

.demo-title .highlight {
    color: #2e3635;
}

.demo-form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.demo-form-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 2.0rem;
    font-weight: 700;
}

.demo-form-title .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.demo-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    background: #f2eae7;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-input.with-icon {
    padding-left: 45px;
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.form-checkbox input {
    margin: 0;
}

.form-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Our Customers Section */
.customers-section {
    padding: 80px 0;
    background: white;
}

.customers-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4rem;
}

.customers-title .highlight {
    color: var(--primary-color);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* gap: 3rem; */
    align-items: center;
    margin-bottom: 3rem;
}

.customer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.customer-logo:hover {
    opacity: 1;
    /* transform: translateY(-5px); */
}

.customer-logo img {
    /* max-width: 120px; */
    /* max-height: 60px; */
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.customer-logo:hover img {
    filter: grayscale(0%);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-counter {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 25px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .social-links {
        display: none;
    }

    .hero {
        height: calc(100vh - 100px);
        /* Adjust for smaller header on mobile */
    }

    .hero-titled {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-item {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .about-actions {
        justify-content: center;
    }

    .article-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .article-content {
        margin-bottom: 1rem;
    }

    /* .main-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    } */

    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .demo-title {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .customers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-titled {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* .main-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    } */

    .demo-title {
        font-size: 2rem;
    }

    .demo-form-container {
        padding: 1.5rem;
    }

    .customers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pagination {
        flex-wrap: wrap;
    }
}
    /* Mobile styles for grids */
    @media (max-width: 767px) {
        .stats-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 1rem;
        }
        .services-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 1rem;
        }
    }
