body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    color: #333;
    /*background-image: url('images/logo9.jpg');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff4b1f, #ff6b6b, #4ecdc4, #45b7d1, #96c93d, #ff9a8b, #8e44ad, #e74c3c);
    background-size: 800% 800%;
    animation: gradient 7s ease infinite;
    z-index: -1;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.navbar {
    background: linear-gradient(45deg, #2c3e50, #4b6584) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    padding: 12px 0;
    z-index: 1000;
}

.navbar-dark .navbar-brand,
.navbar-dark .nav-link,
.navbar-dark .btn-outline-dark {
    color: #fff !important;
}

.navbar-dark .nav-link:hover,
.navbar-dark .navbar-brand:hover,
.navbar-dark .btn-outline-dark:hover {
    color: #f0f0f0 !important;
}

.navbar-dark .nav-link.active {
    color: #fff !important;
    font-weight: bold;
}

.navbar-dark .btn-outline-dark {
    border-color: #fff !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 10px #ff6b6b);
}

.nav-link {
    color: #fff !important;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: #ff6b6b !important;
    transform: translateY(-3px);
}

.nav-link.active {
    color: #ff9a8b !important;
    font-weight: 700;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75));
    padding: 130px 0;
    border-radius: 20px;
    margin-top: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 10;
}

.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
}

.hero-section p {
    font-size: 1.4rem;
    max-width: 750px;
    margin: 0 auto;
    color: #eee;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, #ff4b1f, #ff9a8b);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.client-slider {
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
    overflow: hidden;
}

.client-slider-track {
    display: flex;
    animation: scroll 20s linear infinite;
    width: calc(80px * 16 + 2px * 16); /* 8 logos + 8 duplicates, 80px width each, 2px gap */
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-80px * 8 - 2px * 8)); } /* Move by half the track width */
}

.client-logo-wrapper {
    flex: 0 0 auto;
    margin: 0 1px; /* Further reduced spacing: 2px total between logos */
}

.client-logo {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
}

.client-logo:hover {
    transform: scale(1.1);
}

.client-logo[onerror] {
    background: url('images/fallback.png') no-repeat center center;
    background-size: contain;
}

.card.service-card {
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease !important;
    border: 2px solid transparent !important;
    z-index: 10 !important;
    background-size: 400% 400% !important;
    animation: cardGradient 5s ease infinite !important;
}

@keyframes cardGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card.service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.card.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.card-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.card-text {
    color: #eee !important;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(45deg, #ff4b1f, #ff9a8b) !important;
    border: none !important;
    padding: 12px 25px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff9a8b, #ff4b1f) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.btn-outline-light {
    border-color: #ff4b1f !important;
    color: #ff4b1f !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #ff4b1f !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.service-detail {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(235, 235, 235, 0.9)) !important;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.service-detail ul {
    list-style-type: disc;
    padding-left: 30px;
}

.service-detail li {
    margin-bottom: 14px;
    font-size: 1.1rem;
}

form.bg-light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(235, 235, 235, 0.9)) !important;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #ff4b1f;
    box-shadow: 0 0 10px rgba(255, 75, 31, 0.5);
}

footer {
    background: linear-gradient(45deg, #2c3e50, #4b6584) !important;
    padding: 30px 0;
    box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.footer-text {
    color: #eee;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Unique Service Card Colors */
.card.service-card.dsc {
    background: linear-gradient(135deg, #ff6b6b, #ff9a8b) !important;
}
.card.service-card.dsc:hover {
    border-color: #ff4b1f !important;
}
.card.service-card.dsc .service-icon:hover {
    filter: drop-shadow(0 0 10px #ff4b1f);
}

.card.service-card.iso {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1) !important;
}
.card.service-card.iso:hover {
    border-color: #3498db !important;
}
.card.service-card.iso .service-icon:hover {
    filter: drop-shadow(0 0 10px #3498db);
}

.card.service-card.web {
    background: linear-gradient(135deg, #96c93d, #c3e676) !important;
}
.card.service-card.web:hover {
    border-color: #7cb342 !important;
}
.card.service-card.web .service-icon:hover {
    filter: drop-shadow(0 0 10px #7cb342);
}

.card.service-card.digital {
    background: linear-gradient(135deg, #8e44ad, #b570c9) !important;
}
.card.service-card.digital:hover {
    border-color: #9b59b6 !important;
}
.card.service-card.digital .service-icon:hover {
    filter: drop-shadow(0 0 10px #9b59b6);
}

.card.service-card.gst {
    background: linear-gradient(135deg, #e74c3c, #f17c6e) !important;
}
.card.service-card.gst:hover {
    border-color: #c0392b !important;
}
.card.service-card.gst .service-icon:hover {
    filter: drop-shadow(0 0 10px #c0392b);
}

.card.service-card.itr {
    background: linear-gradient(135deg, #3498db, #5dade2) !important;
}
.card.service-card.itr:hover {
    border-color: #2980b9 !important;
}
.card.service-card.itr .service-icon:hover {
    filter: drop-shadow(0 0 10px #2980b9);
}

.card.service-card.company {
    background: linear-gradient(135deg, #f1c40f, #f7dc6f) !important;
}
.card.service-card.company:hover {
    border-color: #d4ac0d !important;
}
.card.service-card.company .service-icon:hover {
    filter: drop-shadow(0 0 10px #d4ac0d);
}

.card.service-card.pf-esi {
    background: linear-gradient(135deg, #1abc9c, #2ecc71) !important;
}
.card.service-card.pf-esi:hover {
    border-color: #16a085 !important;
}
.card.service-card.pf-esi .service-icon:hover {
    filter: drop-shadow(0 0 10px #16a085);
}

.card.service-card.msme {
    background: linear-gradient(135deg, #e67e22, #f39c12) !important;
}
.card.service-card.msme:hover {
    border-color: #d35400 !important;
}
.card.service-card.msme .service-icon:hover {
    filter: drop-shadow(0 0 10px #d35400);
}

.card.service-card.fssai {
    background: linear-gradient(135deg, #9b59b6, #b571c9) !important;
}
.card.service-card.fssai:hover {
    border-color: #8e44ad !important;
}
.card.service-card.fssai .service-icon:hover {
    filter: drop-shadow(0 0 10px #8e44ad);
}

.card.service-card.govt {
    background: linear-gradient(135deg, #34495e, #5d6d7e) !important;
}
.card.service-card.govt:hover {
    border-color: #2c3e50 !important;
}
.card.service-card.govt .service-icon:hover {
    filter: drop-shadow(0 0 10px #2c3e50);
}

.card.service-card.loans {
    background: linear-gradient(135deg, #ff4b1f, #ff6b6b) !important;
}
.card.service-card.loans:hover {
    border-color: #e74c3c !important;
}
.card.service-card.loans .service-icon:hover {
    filter: drop-shadow(0 0 10px #e74c3c);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 90px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .client-slider {
        padding: 15px 0;
    }

    .client-slider-track {
        width: calc(70px * 16 + 2px * 16); /* Adjust for mobile */
    }

    .client-logo {
        width: 70px !important;
        height: 70px !important;
    }

    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-70px * 8 - 2px * 8)); } /* Adjust for mobile */
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }
}
/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar styles */
.navbar {
    background: linear-gradient(90deg, #1a2a6c, #b21f1f, #fdbb2d);
    padding: 15px 0;
}

.navbar-brand img {
    vertical-align: middle;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffd700 !important;
}

.navbar-nav .btn-outline-dark {
    color: #fff;
    border-color: #fff;
}

.navbar-nav .btn-outline-dark:hover {
    background-color: #fff;
    color: #1a2a6c;
}

/* Hero section */
.hero-section {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    padding: 100px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
}

.hero-section p {
    font-size: 1.25rem;
    color: #ddd;
}

/* Service section */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a2a6c;
}

/* Client strip */
.client-strip {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    margin: 20px 0;
}

.client-strip-track {
    display: inline-flex;
    flex-wrap: nowrap;
    animation: scroll-left 20s linear infinite;
}

.client-strip-track img {
    width: 80px;
    height: 80px;
    margin: 0 15px;
    flex-shrink: 0;
    object-fit: contain;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.client-strip:hover .client-strip-track {
    animation-play-state: paused;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #1a2a6c, #b21f1f);
}

.footer-text {
    font-size: 1rem;
    color: #ddd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-icon {
        width: 80px;
        height: 80px;
    }

    .client-strip-track img {
        width: 60px;
        height: 60px;
        margin: 0 10px;
    }
}
/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar styles */
.navbar {
    background: linear-gradient(90deg, #1a2a6c, #b21f1f, #fdbb2d);
    padding: 15px 0;
}

.navbar-brand img {
    vertical-align: middle;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffd700 !important;
}

.navbar-nav .btn-outline-dark {
    color: #fff;
    border-color: #fff;
}

.navbar-nav .btn-outline-dark:hover {
    background-color: #fff;
    color: #1a2a6c;
}

/* Hero section */
.hero-section {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    padding: 100px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
}

.hero-section p {
    font-size: 1.25rem;
    color: #ddd;
}

/* Service section */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a2a6c;
}

/* Client slider */
.about-section .client-slider {
    overflow: hidden !important;
    white-space: nowrap !important;
    width: 100% !important;
    min-width: 800px; /* Ensure container is wide enough */
    margin: 20px auto;
    max-width: 1200px;
}

.about-section .client-slider .client-slider-track {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    width: max-content !important;
    animation: scroll-left 20s linear infinite;
}

.about-section .client-slider .client-slider-track img.client-logo {
    display: inline-block !important;
    width: 80px !important;
    height: 80px !important;
    margin: 0 15px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-80px * 8 - 15px * 7));
    }
}

/* Pause animation on hover */
.about-section .client-slider:hover .client-slider-track {
    animation-play-state: paused;
}

/* Contact section */
#contact {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.form-control {
    border-radius: 5px;
}

.form-control:focus {
    border-color: #1a2a6c;
    box-shadow: 0 0 5px rgba(26, 42, 108, 0.5);
}

.btn-primary {
    background-color: #1a2a6c;
    border-color: #1a2a6c;
}

.btn-primary:hover {
    background-color: #b21f1f;
    border-color: #b21f1f;
}

.btn-outline-primary {
    border-color: #1a2a6c;
    color: #1a2a6c;
}

.btn-outline-primary:hover {
    background-color: #1a2a6c;
    color: #fff;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #1a2a6c, #b21f1f);
}

.footer-text {
    font-size: 1rem;
    color: #ddd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-icon {
        width: 80px;
        height: 80px;
    }

    .about-section .client-slider {
        min-width: 600px; /* Adjust for smaller screens */
    }

    .about-section .client-slider .client-slider-track img.client-logo {
        width: 60px !important;
        height: 60px !important;
        margin: 0 10px !important;
    }

    @keyframes scroll-left {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-60px * 8 - 10px * 7));
        }
    }

    #contact {
        padding: 1rem;
    }
}