html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    font-family: 'Segoe UI', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #2c74dc, #fc3434);
    color: white;
}


.gradient-icon {
    background: linear-gradient(45deg, #2c74dc, #fc3434);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.why-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gradient-icon-wrapper {
    background: linear-gradient(45deg, #2c74dc, #fc3434);
    padding: 20px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.gradient-icon {
    font-size: 2rem;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Main nav links */
.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: #333;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

/* Dropdowns */
.dropdown-menu {
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* Submenu position */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.15rem;
  display: none;
}

/* Hover only on desktop */
@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

/* Active link underline */
.navbar-nav .nav-link.active {
  color: #007bff;
  font-weight: 600;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #007bff;
}

/* Show submenu when .show is toggled */
.dropdown-submenu .dropdown-menu.show {
  display: block;
}

section:target {
  scroll-margin-top: 100px; /* default for desktop */
}

@media (max-width: 767.98px) {
  section:target {
    scroll-margin-top: 140px; /* larger offset for mobile nav */
  }
}



.breadcrumb-image-section {
    background: url('../assets/images/breadcrumb-bg.jpg') center center / cover no-repeat;

    padding: 60px 0;
    color: white;
    position: relative;
}

.breadcrumb-image-section .breadcrumb {
    background: transparent;
}

.breadcrumb-image-section .breadcrumb a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb-image-section .breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}

.breadcrumb-image-section .breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}


.hero {
    background-color: #ffffff; /* No gradient background now */
    color: white;  /* Default text color */
    padding: 100px 0;
    text-align: center;
}


/* === Counter Section: Equal-height boxes and responsive layout === */

#client-success .row {
    display: flex;
    flex-wrap: wrap;
}

/* Force each column to be a flex container so its child stretches */
#client-success .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Main counter box styles */
.counter-box {
    flex: 1 1 auto; /* stretch to fill height */
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 160px; /* ensures visual consistency */
}

/* Number style */
.counter-box h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Label text */
.counter-box p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive tweaks for small screens */
@media (max-width: 768px) {
    .counter-box {
        min-height: 140px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .counter-box {
        min-height: 130px;
    }
}


.gradient-text {
    background: linear-gradient(45deg, #2c74dc, #fc3434); /* Gradient for the text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.section-transition {
    background: linear-gradient(to right, #2c74dc, #fc3434);
    height: 80px;
    clip-path: ellipse(100% 100% at 50% 100%);
    margin-top: -80px;
}

.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 20px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.8rem;
    color: #000;
    transition: color 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(45deg, #2c74dc, #fc3434);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}



.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}




.footer {
    background-color: #ffffff;
    color: #555;
    padding: 40px 0;
    border-top: 1px solid #eaeaea;
}

.footer a {
    color: #000;
    transition: all 0.4s ease;
    text-decoration: none;
}

.footer a:hover {
    background: linear-gradient(45deg, #2c74dc, #fc3434);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links a {
    font-size: 1.5rem;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer .social-links {
    display: flex;
    justify-content: start;
    margin-top: 1rem;
}

.footer .social-links a {
    margin-right: 1rem;
    font-size: 1.75rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 15px;
    }

    .footer .row {
        flex-direction: column;
    }

    .footer .col-md-3 {
        margin-bottom: 20px;
    }
    
    .footer .social-links a {
        font-size: 1.3rem;
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {
    .footer .social-links {
        justify-content: center;
    }

    .footer .row:last-child {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer .row:last-child .col-12 {
        flex-direction: column;
    }
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.testimonial:hover {
    transform: scale(1.03);
}


/* Custom Button Style */
.btn-custom {
    background-color: #2c74dc; /* Change this to your preferred color */
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s ease;
}

.btn-custom:hover {
    background-color: #fc3434; /* Change to hover color */
    color: white; /* Ensure text remains white on hover */
    transform: translateY(-2px);
}

.btn-custom:focus, .btn-custom:active {
    outline: none;
    box-shadow: none;
}





#our-clients img {
    max-height: 80px;
    object-fit: contain;
  }

  /*FAQ Accordian color Gradient mix*/
  .accordion-button:not(.collapsed) {
    background: linear-gradient(45deg, #2c74dc, #dc1c4c);
    color: #fff;
    border-color: transparent !important; /* removes blue border */
    box-shadow: none !important;          /* removes default shadow */
  }
  
  .accordion-collapse.show {
    border-top: none; /* optional: remove top border between header and body */
  }
  

/* Parallax Section */
.parallax-section {
    position: relative;
    height: 400px; /* Default height for desktop */
    background-image: url('../assets/images/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect for desktop */
    overflow: hidden;
}

/* Parallax content positioning */
.parallax-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    padding: 20px;
    width: 90%; /* Ensures content is inside bounds */
    box-sizing: border-box;
}

/* Header and paragraph styles */
.parallax-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.parallax-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile View adjustments */
@media (max-width: 768px) {
    .parallax-section {
        height: 300px; /* Adjusted height for smaller screens */
        background-attachment: scroll; /* Remove fixed background attachment for mobile */
    }

    .parallax-content h2 {
        font-size: 1.5rem; /* Adjust heading size for mobile */
    }

    .parallax-content p {
        font-size: 1rem; /* Adjust paragraph size for mobile */
    }
}

/* Additional smaller screen adjustments (for very small screens) */
@media (max-width: 480px) {
    .parallax-section {
        height: 250px; /* Even smaller height for very small screens */
    }

    .parallax-content h2 {
        font-size: 1.3rem; /* Further reduced heading size */
    }

    .parallax-content p {
        font-size: 0.9rem; /* Further reduced paragraph size */
    }
}

/* Parallax Effect on Scroll (Mobile Fallback) */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll !important; /* Ensure no parallax on mobile */
        background-position: center center; /* Adjust background for mobile */
    }
}


/*industries served by the VisualNex*/
/* Industry Card */
.industry-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px; /* Fixed height for consistent card size */
    background-color: #fff; /* White background */
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #ddd; /* Light border for the card */
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.industry-card i {
    font-size: 3rem; /* Icon size */
    color: #000; /* Default icon color */
    margin-bottom: 10px;
    transition: background 0.4s ease, -webkit-background-clip 0.4s ease;
}

.industry-card:hover i {
    background: linear-gradient(45deg, #2c74dc, #fc3434);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.industry-card h5 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    .industry-card {
        height: 200px; /* Adjust height for smaller screens */
    }

    .industry-card i {
        font-size: 2.5rem; /* Adjust icon size for smaller screens */
    }
}


