
/* ---------------------- */
/* FIXED HEADER           */
/* ---------------------- */
/* FIXED HEADER */
html, body {
    overflow-x: hidden !important;
}

* {
    box-sizing: border-box;
}

.hero-section {
    height: 80vh;
    background-size: cover;
    background-position: center;
    animation: bgSlide 12s infinite linear;
    position: relative;
}

@keyframes bgSlide {
    0% { background-image: url('Images/pexels.jpeg'); }
    33% { background-image: url('Images/pexels-photoBanner'); }
    66% { background-image: url('Images/pexels-photo.jpeg'); }
    100% { background-image: url('Images/pexels.jpeg'); }
}

/* Dark Overlay */
.hero-overlay {
    /* background: rgba(0,0,0,0.55); */
   position: relative;
    inset: 0;
    z-index: 1;
}

/* Search Box */
/* Search Box Container */

/* Search Input */
.search-input {
    width: 100%;
    height: 35px;
    padding-left: 20px;
    padding-right: 0px; /* space for button */
   border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
  border: 1px solid #ccc;
  
    font-size: 16px;
}

.search-input::placeholder {
  font-size: 14px;
  color: #999;
}

/* Fix for mobile screens */
@media (max-width: 576px) {
    .search-input {
        height: 48px;
        font-size: 15px;
        padding-right: 50px;
    }

    .search-btn {
               width: 75px;
        height: 35px;
        font-size: 17px;
    }
}



/* Mobile Responsive */
@media (max-width: 576px) {
    .hero-section {
        height: 50vh !important;
        padding: 20px;
    }

    .search-btn {
               width: 75px;
        height: 35px;
        font-size: 17px;
    }
}
.container-fluid {
    /*padding-left: 40px !important;*/
    /*padding-right: 40px !important;*/
}

.icon-card {
    background: #ffffff; /* Consistent white background */
    padding: 4px;
    border-radius: 10px;
    /* box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); */
    position: relative;
    z-index: 1; /* Ensure cards are stacked properly */
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   border: none;
}
.icon-card:hover {
    background: #ffffff; /* Consistent white background */
    padding: 4px;
    border-radius: 10px;
   box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1; /* Ensure cards are stacked properly */
    transform: translateY(-25px) scale(1.05); 
    cursor: pointer;
}

.icon-card i {
   font-size: 25px;
    color: white;
    margin-bottom: 0px;
}

.icon-card h5 {
    font-weight: 600;
}

.icon-card p {
    font-size: 0.9rem;
    color: #666;
}

.icon-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin-top: -43px;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 15px;
    /* width: 329px; */
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgb(0 0 0 / 3%), 5px 5px 10px rgb(0 0 0 / 3%);
}

.icon-card:hover {
    transform: translateY(-10px); /* Adds hover effect to lift the card */
}

/* Add overlap effect between cards */
.icon-card + .icon-card {
    margin-left: -20px;
}

/* RESPONSIVE DESIGN */
@media(max-width: 1200px) {
    .hero-section {
        height: 350px;
    }

    .icon-section {
        gap: 15px; /* Adjust gap for medium screens */
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .icon-card + .icon-card {
        margin-left: 0; /* Remove left margin on smaller screens */
    }
}

@media(max-width: 768px){
    .hero-section {
        height: 300px;
    }

    .search-box {
        max-width: 100%;
    }

    .icon-card {
        flex-basis: 45%; /* Two cards per row on small screens */
    }

    .icon-card + .icon-card {
        margin-left: 0;
    }
}

@media(max-width: 576px) {
    .hero-section {
        height: 50vh;
    }

    .icon-card {
        flex-basis: 100%; /* One card per row on very small screens */
    }

    .icon-section {
        gap: 10px; /* Smaller gap on small screens */
        margin-top: 15px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }
}
/* Full-width containerDiv with padding */
.containerDiv {
   /* Box shadow for left, right, and bottom */

    padding: 45px; /* Adds padding on both sides */
    /* Ensures padding doesn't affect the width */
}

/* RESPONSIVE DESIGN */
@media(max-width: 1200px) {
    .containerDiv {
        padding: 0 30px; /* Adds more padding on larger medium screens */
    }
}

@media(max-width: 768px) {
    .containerDiv {
        padding: 0 20px; /* Reduces padding slightly for tablets */
    }
}

@media(max-width: 576px) {
    .containerDiv {
        padding: 0 10px; /* Further reduces padding on smaller screens */
    }
}

/* Blue Full-Width Info Section */ 
   
/* Section After Blue Info (Two-Column Layout With Background) */
/* Market Section After Info Section */
/* Section background GIF */
.market-section {
  position: relative;
  overflow: hidden;
}

.market-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /*background-image: url("/public/assets/images/J4o.gif");*/
  background-size: cover;
  background-position: center;
  background-color:#ccc;
  opacity: 0.09;
  pointer-events: none;
}

/* Content above background */
.market-section .content-wrapper {
  position: relative;
  z-index: 2;
}

/* Headings */
.market-section h2 {
  font-weight: 700;
  color: #a92b2b;
}

/* Divider (vertical on large, horizontal on smaller screens) */
/* Divider (vertical on large, horizontal on smaller screens) */
.divider-column {
  position: relative;
  padding-top: 2rem; /* add spacing on top for mobile */
  padding-left: 1rem; /* spacing from left if needed */
}

.divider-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: rgba(150, 150, 150, 0.35);
  z-index: 1;
}

@media (max-width: 992px) {
  .divider-column {
    padding-top: 4rem; /* extra spacing so divider doesn't overlap button */
    padding-left: 0;
    margin-bottom: 2rem; /* spacing below divider */
  }

  .divider-column::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
  }

  /* Ensure button doesn't overlap divider */
  .market-section .btn {
    margin-top: 1.5rem;
    z-index: 2;
    position: relative;
  }
}



/* Wrapper */
.section-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #f7f7f7;
}

/* Background image with blur */
.section-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://marketgenics.co/assets/images/high-tech-internet-loop-zoom-out-vx7rx0om3qnsxlip.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  filter: blur(25px);           /* blur amount */
  opacity: 0.09;                /* opacity */
  transform: scale(1.1);       /* prevents blur edges */
  z-index: 1;
}

/* Content stays clear */
.section-wrapper > * {
  position: relative;
  z-index: 2;
}


/* Background section height */
.section-bg {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}


/* Make image fill the section-bg area fully */
.quadrant-image {
    width: 100%;
    height: 100%;           /* Full height */
    object-fit: cover;      /* Fill area without distortion */
    object-position: center;
    display: block;
}

/* Heading styling */
.headingOur {
    font-size: 20px;
    font-weight: 600;
    color: #87161e !important;
    margin-top: -2rem;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ==========================
   Responsive Breakpoints
   ========================== */

/* Large Tablets / Small Laptops */
@media (max-width: 992px) {
    .headingOur {
        font-size: 2rem;
    }
    .section-bg {
        height: auto;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .headingOur {
        font-size: 1.8rem;
    }
    .section-bg {
        height: auto;
    }
}

/* Mobile Landscape */
@media (max-width: 576px) {
    .headingOur {
        font-size: 1.6rem;
    }
    .section-bg {
        height: auto;
    }
}

/* Small Mobile Portrait */
@media (max-width: 420px) {
    .headingOur {
        font-size: 1.4rem;
    }
    .section-bg {
        height: auto;
    }
}

/* Global font */
body {
    /*font-family: 'Poppins', sans-serif;*/
}

/* Section */
.marketgenics {
    background: #f8f9fa;
}

/* Center content container */
.marketgenics-center {
    max-width: 800px;
    margin: 0 auto;
}

/* Headings */
.marketgenics h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

.marketgenics .HowCss {
    font-size: 1.6rem;
    font-weight: 600;
    color: #007bff;
}

/* Paragraphs */
.mg-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Button */
.btn-primary {
    padding: 10px 25px;
    border-radius: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .marketgenics h2 {
        font-size: 1.7rem;
    }
    .marketgenics .HowCss {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .marketgenics h2 {
        font-size: 1.5rem;
    }
    .mg-text {
        font-size: 0.95rem;
    }
}

/* Blue Full-Width Info Section */
.info-section {
    background: #2c4d80 !important;
    color: #fff;
    padding: 8px 10px;
    text-align: center;
    width: 100%;
    margin: auto;
    margin-top: -40px !important;
        text-align: left;
}

.info-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-section p {
    font-size: 18px;
    max-width: 900px;
    margin: auto;
    line-height: 1.6;
    color:white;
}

/* ======================
   Responsive Font Sizes
   ====================== */

/* Tablets & Small Laptops */
@media (max-width: 768px) {
    .info-section h2 { font-size: 20px; }
    .info-section p { font-size: 15px; }
}

/* Mobile (standard) */
@media (max-width: 576px) {
    .info-section h2 { font-size: 16px; }
    .info-section p { font-size: 13px; }   /* smaller than before */
}

/* Small Mobile Portrait */
@media (max-width: 420px) {
    .info-section h2 { font-size: 16px; }
    .info-section p { font-size: 12px; }   /* extra small */
}


/* CONTENT stays centered with optional spacing */
.content-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 20px; /* adjust or remove if needed */
}

/* IMAGE */
.quadrant-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}




.marketgenics {
    background-color: #fff;
    padding: 10px 20px;
    text-align: center;
    margin: 16px auto;
    max-width: 650px;
}

.marketgenics .container {
  width: 90%;
  margin: 0 auto;
}

h2 {
    font-weight: 600 !important;
    color: #87161e !important;
    font-size: 20px !important;
    font-family: 'Poppins', sans-serif;
}

h3 {
  font-size: 1.5rem;
  color: #87161e;
  margin: 8px 0;
  font-family: 'Poppins', sans-serif;
}

p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color:#583059 !important;
   font-family: 'Poppins', sans-serif;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #4a148c;
}

/* Responsive styles */
@media (max-width: 768px) {
  .marketgenics {
    padding: 30px 15px;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.8rem;
  }

  .btn {
    padding: 7px 15px;
    font-size: 0.8rem;
  }
}
.w3-row-padding {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;  /* Space between the columns */
  padding: 7rem;
}

.w3-quarter {
  flex: 1;
  min-width: 240px;  /* Ensures that the columns take up equal width */
  text-align: center;
}

/* Counter styling */
.counter {
  font-size: 3rem;
  font-weight: 600;
  color: #6a1b9a; /* Purple color */
  margin-bottom: 10px;
}

.w3-animate-zoom {
  animation: zoomIn 0.5s ease-in-out; /* Adds zoom effect on load */
}

p {
  font-size: 1rem;
  color: white;
  margin-top: 10px;
}



/* Animation for zoom effect */
@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Design: Media Queries */
@media (max-width: 768px) {
  .w3-row-padding {
    padding: 10px;
    gap: 15px;
  }

  .counter {
    font-size: 2.5rem; /* Smaller font size on medium screens */
  }

  p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .w3-row-padding {
    padding: 10px;
    gap: 10px;
  }

  .counter {
    font-size: 2rem; /* Even smaller font size on small screens */
  }

  p {
    font-size: 0.8rem;
  }

  .w3-quarter {
    flex: 1 0 100%; /* Stack columns on small screens */
  }
}

.countText{
    color: #87161e !important;
    font-size: 15px !important;
    font-family: 'Roboto', sans-serif;
}



.feature-section {
    text-align: center;
    width: 100%;
    margin-top: 0rem;
}

.feature-section h2 {
    color: #7a0b0b;
    font-size: 28px;
    margin-bottom: 14px;
}

.feature-box {
       background: #ffffff;
    display: flex;
    gap: 18px;
    justify-content: center;
    padding: 18px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    width: 28rem;
    align-items: center;
    margin: auto;
   
}

.feature-item {
  text-decoration-line: none;
    color: #000;
    font-size: 16px;
    white-space: nowrap; /* keeps text on one line */
    transition: color 0.3s ease;
}

.feature-item:hover {
    color: #7a0b0b;
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */

@media (max-width: 768px) {
    .feature-box {
        gap: 15px;
        padding: 15px 20px;
        width: 20rem;
    }

    .feature-section h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .feature-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        width: 24rem;
    }
}





.section-wrapperBottom {
    width: 100%;
    padding: 40px 20px;
    /*background: url("b.png") */
}

.content-containerBottom {
    /* max-width: 1250px; */
    margin: auto;
    background: white;
    border-radius: 15px;
    padding: 18px;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* IMAGE */
.image-box {
    flex: 1;
    min-width: 280px;
    
}

.image-box img {
    width: 100%;
    border-radius: 10px;
   
}

/* TEXT */
.text-box {
    flex: 1.2;
}

.text-box h2 {
    color: #c51b1b;
    margin-bottom: 15px;
    font-size: 20px;
}

.text-box p {
    margin-bottom: 12px;
    line-height: 1.6;
    text-align: left;
}

.text-box ol {
    margin-left: 5px;
    line-height: 1.6;
    text-align: left;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .content-containerBottom {
        flex-direction: column;
        text-align: left;
    }
}



/* Section */


/* Slides positioning */
/*.slide {*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    inset: 0;*/
/*    opacity: 0;*/
/*}*/

/* Auto fade animation */
/*.slide:nth-child(1) {*/
/*    animation: fadeSlides 14s infinite;*/
/*}*/

/*.slide:nth-child(2) {*/
/*    animation: fadeSlides 14s infinite;*/
/*    animation-delay: 7s;*/
/*}*/

/* Fade Animation */
@keyframes fadeSlides {
    0% { opacity: 1; }
    48% { opacity: 1; }
    52% { opacity: 0; }
    100% { opacity: 0; }
}



/* Headings */
.clients-section h2 {
    margin-bottom: 10px;
    color: #8b0000;
}
.clients-section p {
    margin-bottom: 30px;
    color: #555;
}



#rotatingTitle{
  color: #87161e !important;
  font-size: 15px !important;
  font-weight: 600;
}



.subtitle {
    color: #777;
    margin-bottom: 40px;
    font-size: 16px;
}

/* Slider Layout */
.testimonial-slider {
    position: relative;
    max-width: 1200px;
    margin: auto;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding-bottom: 15px;
}

/*.slides {*/
/*    display: flex;*/
/*    transition: transform 0.5s ease-in-out;*/
/*}*/

/* Testimonial Card */
/*.testimonial-card {*/
/*    background: #fff;*/
/*    border-radius: 12px;*/
/*    padding: 30px;*/
/*    margin: 0 15px;*/
/*    box-shadow: 0 4px 20px rgba(0,0,0,0.08);*/
/*    flex: 0 0 33.33%; */
/*    position: relative;*/
/*    text-align: left;*/
/*    min-height: 350px;*/
/*}*/

/* Quote icon */
.quote {
    font-size: 40px;
    color: #ccc;
    position: absolute;
    top: 15px;
    left: 15px;
}

/* Stars */
.stars {
    color: #ffbf00;
    font-size: 35px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

/* Text & user info */
.text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.user {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.user-icon {
    width: 40px;
    height: 40px;
    background: #f44336;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.user-icon.blue { background: #2196f3; }
.user-icon.green { background: #4caf50; }

.user-info {
    margin-left: 10px;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 1px 12px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.prev { left: 5px; }
.next { right: 5px; }

/* Dots */
.dots {
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 4px;
    cursor: pointer;
}

.dot.active {
    background: #a50000;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .testimonial-card {
        flex: 0 0 33.33%;
    }
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 50%;
        margin: 10px;
    }

    .slider-btn {
        font-size: 24px;
        padding: 8px 10px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        flex: 0 0 100%;
        margin: 10px 0;
    }

    .slider-btn {
        font-size: 22px;
        padding: 6px 8px;
    }
}


/* Footer styling */
/* Footer Wrapper */

.icon-wrapper {
    background-color: #2c4d80 !important; /* blue background */
    color: #fff; /* white icon color */
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* make it circular */
    margin: auto; /* center horizontally if needed */
    font-size: 24px; /* adjust icon size */
    margin-bottom: 22px;
}

/* Responsive adjustments (optional) */
@media (max-width: 768px) {
    .icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* ---------------------- */
/* HERO SECTION SLIDER    */
/* ---------------------- */
/* Transparent bootstrap card */


/* Search box wrapper */
.search-box {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin-bottom: 15px !important;
}

/* Search input */
.search-input {
    padding: 12px 20px 12px 13px;
    border-radius: 0px;
    border: 1px solid #ddd;
    font-size: 16px;
}

/* Search button */
.search-btn {
     position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    
    width: 85px;
    height: 36.5px; /* more proportional */
    
    border: none;
    background: #2c4d80 ;
    color: #fff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;

    display: flex;
    justify-content: center;
    align-items: center;
right: 1px;
    cursor: pointer;
}

/* Hover effect */
.search-btn:hover {
    background: #0056b3;
}

/* Mobile Responsive Adjustments */
/* === Desktop + Default Styles === */
.custom-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 29px 1px;
    width: 34rem;
    max-width: 100%;
    border-radius: 10px;
    animation: fadeIn 0.8s ease-in-out;
    margin-top: 3rem;
}

/* Search input default */
.search-input {
    font-size: 16px;
}

/* === Mobile Styles === */
@media (max-width: 576px) {
    .custom-card {
        width: 100% !important; /* full width on mobile */
        padding: 25px 10px;     /* more comfortable spacing */
        margin-bottom: 2rem;
    }

    .search-input {
        font-size: 14px;
    }

    .search-btn {
        width: 75px;
        height: 35px;
        font-size: 15px;
    }
}

/* === Tablet Styles (Optional, Recommended) === */
@media (max-width: 768px) {
    .custom-card {
        width: 90%;
    }
}

.titleCard{
    color: #87161e !important;
    font-size: 1.5rem;
    font-weight: 800;
}
.scroll-wrapper {
    overflow: hidden;
    height: auto;
}

#rotatingTitle, #rotatingSubtitle {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
#rotatingTitle
{
    color: #87161e !important;
    font-size: 1.5rem;
    font-weight: 600;
}

#rotatingSubtitle{
    font-size: 1rem;
    color: #333;
}

.fontCSS{
    color: #333 !important;
        font-size: 12px !important;
    line-height: 1.9;
}
@media (max-width: 576px) {
.fontCSS{
    color: #333 !important;
        font-size: 15px !important;
    line-height: 1.9;
}
#rotatingTitle
{
    color: #87161e !important;
    font-size: 15px;
    font-weight: 600;
}

#rotatingSubtitle{
    font-size: 14px;
    color: #333;
}

}

.cardTitle{
    color: #3a3a3a !important;
    font-size:15px !important;
    font-weight: 700;
}

.info-sectionFirst {
  background-color: #2c4d80 !important;
  width: 100%;
  margin-top: 10px;
}

.info-sectionFirst p {
  margin: 0;
  padding: 10px 85px; /* Desktop padding */
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

/* Tablet */
@media (max-width: 992px) {
  .info-sectionFirst p {
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .info-sectionFirst p {
    padding: 12px 16px;
    font-size: 14px;
    text-align: center; /* optional for better mobile UX */
  }
}

.w3-xlargeText{
    font-weight: 600 !important;
    color: #87161e !important;
    font-size: 16px !important;
    font-family: 'Poppins', sans-serif;
}

.counterNumber{
    font-size: 35px !important;
}
@media (max-width: 576px) {
 .counterNumber{
    font-size: 25px !important;
}
}



/* Top bar goes RIGHT & TOP */
.top-bar {
    display: flex;
    flex-direction: row;   /* ⬅ key point */
    align-items: flex-end;
    font-size: 14px;
    margin-left: -16rem;
}

.top-bar a {
    color: #333;
    text-decoration: none;
    margin-bottom: 5px;
    white-space: nowrap;
}

.top-bar i {
    color: #0d6efd;
    margin-right: 6px;
}

/* MOBILE VIEW */

/* Mega Menu */

/* Card container */
.card-wrapper {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Card styling */
.info-card {
  min-width: 210px;
  height: 100%;
  padding: 15px 6px;
  border: none;
  border-radius: 16px;
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.info-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow:0 8px 24px rgba(26,35,126,0.12);
}

/* Icon circle */
.icon-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Text */
.card-title {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #333;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}

/* Responsive spacing fix */
@media (max-width: 575px) {
  .info-card {
    min-width: 100%;
  }
}
.container-fuild{
    padding-left: 2rem ! important;
    padding-right: 2rem ! important;
    cursor: pointer;
    margin-top: -3.5rem !important;
}

@media (max-width: 575px) {
  .card-wrapper {
    display: block !important;
    margin-top: 25px;
  }
.mobileGap{
  gap: 15px;
}
  .card-wrapper .col-12,
  .card-wrapper .col-sm-6,
  .card-wrapper .col-md-4,
  .card-wrapper .col-lg-2 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .info-card {
    min-width: 100%;
    margin-bottom: 1rem;
  }
}

/* addd now */

.blog-section {
  overflow: hidden;
}

.bg-overlay {
  background-image: url('/public/assets/images/images.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-section .container {
  z-index: 1;
}

/* Card Styling */
.blog-card img {
  height: 230px;
  object-fit: cover;
}

.blog-card {
  border-radius: 15px;
  border: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.blog-card:hover {
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.2),
    0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}


.autoCSS{
        font-weight: 600 !important;
    color: #87161e !important;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}
/* Mobile Optimization */
@media (max-width: 576px) {
  .floating-buttons {
    right: 15px;
    bottom: 25px;
  }
}
.scroll-btn {
    position: fixed;
    right: 20px;
    display: none;
    z-index: 1000;
}



/* WhatsApp Button */
#whatsappBtn {
    bottom: 95px;
}

#whatsappBtn a {
    background-color: #25D366;
    color: black;
    padding: 9px 16px;
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
    display: inline-block;
}


#whatsappBtn a:hover {
    background-color: #e0e0e0; /* grey */
}

#whatsappBtn a:hover i {
    color: #000000; /* black */
}
/* Back to Top Button */
#backToTop {
    bottom: 25px;
}

#backToTop button {
    background-color: #2c4d80 !important;
    border:1px solid white !important;
   color:white;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
     font-family: 'Poppins', sans-serif;
     font-weight: 500;
}

#backToTop button:hover {
    background-color: #e0e0e0 !important;
    color: black;
     font-family: 'Poppins', sans-serif;
     font-weight: 500;
   
}
.card-img-fixed {
    height: 100px;              /* SAME height for all images */
    background-size: cover;
    background-position: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.form-control:focus{
  box-shadow: none;
  border: 1px solid #ccc;
}


/* Search box styling */
.search-box {
    max-width: 450px !important;
    margin: 20px auto;
    position: relative; /* Needed for absolute dropdown */
    display: flex;
    gap: 5px;
    z-index: 1000;
}

.search-box input {
    flex: 1;
    padding: 6px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}



/* Search results container */
.search-results {
    position: absolute;
    top: 100%; /* Place below input */
    left: 13%;
    right: 27%;
    margin-top: 0px; /* Space below search box */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: white;
    z-index: 1001; /* Above other elements */
}

/* Individual result items */
.search-item {
    padding: 2px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    max-height: 65px !important;
    font-size:15px;
    color:black;
}

.search-item:last-child {
    border-bottom: none; /* Remove border on last item */
}

.search-item:hover {
    background-color: #f0f0f0;
}

/* Title and subtitle inside result */
.search-item .title {
    font-size: 13px;
    font-family:'Poppins', sans-serif;
    color: #000;
}

.search-item .subtitle {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
     font-family:'Poppins', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .search-box {
        flex-direction: column;
    }
   
    .search-item .title {
        font-size: 12px;
    }
    .search-item .subtitle {
        font-size: 8px;
    }
  .search-results {
       left: 5%;
        right: 6%;
        margin-top: 1px;
        border-radius: 4px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* slightly smaller shadow */
        overflow: hidden;
    }
}

.dropdown-toggle::after {
    display: none !important;
}


.cardInovation{
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
        border:none;
}

.cardInovation:hover{
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

/* add slider CSS */

#search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    border: 1px solid #eee;
}
.search-item {
    cursor: pointer;
    border-bottom: 1px solid #eee;
     background-color:#ffffff;
}

.search-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .search-item {
      padding: 1px 10px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    max-height: 68px !important;
    font-size: 12px;
    color: black;
    }
}



.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    height: 100%;
   cursor: pointer;
    border: 1px solid #fff;
       background-color: #fff;
   
       box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden; 
    
}

.testimonial-card:hover {
    box-shadow: 0 8px 16px rgba(5, 5, 5, 0.18); 
    transform: translateY(-2px); 
}


.stars {
  color: gold;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #333;
}

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.carousel-inner{
    margin-bottom: 4rem !important;
    padding: 4px 15px 0px;
   
}
.ourClient{
font-weight: 600 !important;
    color: #87161e !important;
    font-size: 1.8rem;
}
.cardsubTitleClients{
    font-size: 0.9rem;
    
}

/* Marquee wrapper */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  cursor: pointer;
}

/* Marquee animation */
.marquee {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: scroll 15s linear infinite;
}

/* Logos */
.marquee img {
  max-height: 80px;
  width: auto;
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Tablet */
@media (max-width: 768px) {
  .clients-title {
    font-size: 1.8rem;
  }

  .clients-subtitle {
    font-size: 0.95rem;
  }

  .marquee img {
    max-height: 65px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .clients-title {
    font-size: 1.5rem;
  }

  .clients-subtitle {
    font-size: 0.9rem;
  }

  .clients-header {
    margin-bottom: 20px;
  }

  .marquee {
    animation-duration: 5s;
  }

  .marquee img {
    max-height: 50px;
  }
}


@media (max-width: 576px) {
  .marquee {
    gap: 20px;
    animation-duration: 18s; /* Faster on mobile */
  }

  .marquee img {
    height: 40px;
  }
}

/* ========================= */
/* 📱 Tablets */
/* ========================= */
@media (min-width: 577px) and (max-width: 991px) {
  .marquee {
    gap: 25px;
    animation-duration: 22s;
  }

  .marquee img {
    height: 50px;
  }
}

/* ========================= */
/* 🖥️ Large Screens */
/* ========================= */
@media (min-width: 1200px) {
  .marquee img {
    height: 70px;
  }
}

/* Optional: Pause on hover (desktop only) */
@media (hover: hover) {
  .marquee-wrapper:hover .marquee {
    animation-play-state: paused;
  }
}

.section-title{
    font-size: 17px;
}

.section-text{
    font-size: 14px;
    color: #555;
}

.section-tags{
    font-size: 14px;
    color: #555;
}

.divider-column {
  padding-top: 1rem;
}

/* Desktop */
@media (min-width: 768px) {
  .divider-column {
    padding-top: 0;
  }
}

.custom-control {
  width: 50px;
}

.custom-control i {
  font-size: 28px;
  color: #000;
  background: #fff;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.custom-control:hover i {
  background: #2c4d80 !important;
  color: #fff;
}
