/* Reset + Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: lowercase;
}

body {
    line-height: 1.6;
    background: url('https://images.unsplash.com/photo-1551836022-deb4988cc6c9?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    color: #e9ecef;
    overflow-x: hidden;
    font-size: clamp(14px, 2.5vw, 16px);
}

strong, a, h2, h3, h4 {
    font-weight: 900;
}

:root {
    --mainColor: #CF2030;
    --accentColor: #6c8c91;
    --dark: #222;
}

/* Navbar */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: var(--mainColor);
    color: #dee2e6;
  }

  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 6px;
    margin: auto;
  }

  .logo img {
    height: 26px;
  }

  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    background: #dee2e6;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .main-nav {
    display: flex;
    gap: 12px;
  }

  .main-nav a {
    color: #dee2e6;
    text-decoration: none;
    font-weight: 500;
  }

  .nav-end {
    display: none;
  }

  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }

    .main-nav {
      display: none;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background: #dee2e6;
      flex-direction: column;
      align-items: center;
      padding: 20px 0;
      gap: 7px;
    }

    .main-nav a {
      color: #333;
      padding: 10px 0;
      width: 100%;
      text-align: center;
    }

    .main-nav.active {
      display: flex;
    }

    .nav-end {
      display: block;
      margin-top: 10px;
    }

    .nav-end a {
      background: #656565;
      color: #dee2e6;
      padding: 10px 20px;
      text-decoration: none;
      border-radius: 20px;
      display: inline-block;
    }
  }.btn {
    padding: clamp(6px, 1.5vw, 8px) clamp(12px, 2.5vw, 16px);
    border-radius: 25px;
    font-size: clamp(12px, 2vw, 14px);
    border: none;
    cursor: pointer;
    transition: 0.3s;
    color: #dee2e6;
    touch-action: manipulation;
}

.btn-primary {
    background: #dee2e6;
    color: var(--mainColor);
    box-shadow: 0 5px 15px rgba(0, 68, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(0, 68, 241, 0.4);
}

/* Hero */
.hero {
    margin-top: clamp(50px, 10vw, 70px);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("assets/crousalIMG1.jpg") center/cover no-repeat;
    position: relative;
    color: #dee2e6;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 90%;
    padding: 0 10px;
}

.hero-text h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
}

.hero-text span {
    color: var(--mainColor);
}

.hero-text a {
    text-decoration: none;
    padding: clamp(6px, 1.5vw, 8px) clamp(12px, 2.5vw, 16px);
    border-radius: 20px;
    color: #dee2e6;
    background-color: var(--mainColor);
    font-size: clamp(12px, 2.2vw, 14px);
}

.hero-text p {
    margin: 8px 0;
    font-size: clamp(12px, 2.2vw, 14px);
}

/* Sections */
section {
    padding: clamp(30px, 8vw, 60px) 10px;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(20px, 5vw, 40px);
}

.section-title h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--mainColor);
}

.section-title p {
    color: #000000;
    font-size: clamp(12px, 2.2vw, 14px);
}

/* About */
#about {
    background-color: #dee2e6;
}

.about-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: clamp(20px, 3vw, 30px);
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 clamp(10px, 2vw, 15px);
}

.about-container img {
    flex: 1;
    max-width: clamp(200px, 40%, 350px);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.about-text {
    flex: 1;
    max-width: 100%;
    padding: 0 clamp(10px, 2vw, 15px);
}

.about-text p,
.about-text ul li {
    text-align: left;
    line-height: 1.6;
    color: #656565;
    font-weight: 500;
    font-size: clamp(12px, 2.2vw, 14px);
}

.about-text h3 {
    color: #656565;
    font-size: clamp(16px, 3vw, 18px);
}

.about-text ul {
    list-style: disc inside;
    margin: 15px 0;
    padding-left: 0;
}

.about-text ul li {
    margin-bottom: 8px;
    padding-left: 1.5em;
    text-indent: -1.5em;
}

.highlight-gray {
    color: #303030;
    font-weight: 800;
}

/* Mission and Vision */
.mission-vision {
    max-width: 1000px;
    margin: clamp(20px, 5vw, 30px) auto;
    padding: clamp(20px, 5vw, 40px) clamp(15px, 3vw, 25px);
    background: #CF2030;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(78, 31, 31, 0.199);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.mission-vision h2 {
    text-align: center;
    font-size: clamp(20px, 4vw, 24px);
    margin-bottom: clamp(15px, 3vw, 25px);
    text-transform: lowercase;
    letter-spacing: 1px;
    color: #dee2e6;
}

.mission-vision ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-vision ul li {
    margin-bottom: clamp(10px, 2vw, 15px);
}

.mission-box {
    display: flex;
    align-items: flex-start;
    padding: clamp(8px, 2vw, 12px) clamp(10px, 2.5vw, 15px);
    background: #dee2e6;
    border-radius: 12px;
    color: #656565;
    font-size: clamp(12px, 2.2vw, 14px);
    line-height: 1.6;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.mission-vision .arrow {
    color: #CF2030;
    font-weight: bold;
    margin-right: clamp(8px, 2vw, 10px);
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.2;
    flex-shrink: 0;
}

.highlight-red {
    color: #CF2030;
    font-weight: 900;
    margin: 0 5px;
}

/* EQ Commerce */
.eq-commerce {
    max-width: 1180px;
    margin: clamp(30px, 5vw, 50px) auto;
    padding: clamp(20px, 5vw, 40px) clamp(15px, 3vw, 25px);
    background: #dee2e6;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: center;
}

.eq-commerce h2 {
    font-size: clamp(20px, 4vw, 28px);
    color: #CF2030;
    margin-bottom: clamp(20px, 4vw, 30px);
    text-transform: lowercase;
}

.eq-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 2vw, 10px);
    margin-bottom: clamp(15px, 3vw, 25px);
}

.eq-step {
    background: #CF2030;
    color: #dee2e6;
    padding: clamp(8px, 2vw, 12px) clamp(12px, 2.5vw, 20px);
    border-radius: 12px;
    font-weight: 900;
    font-size: clamp(12px, 2.2vw, 14px);
    min-width: clamp(80px, 20vw, 100px);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: center;
}

.eq-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.eq-arrow {
    font-size: clamp(14px, 2.5vw, 16px);
    color: #656565;
    font-weight: bold;
    flex-shrink: 0;
}

.eq-desc {
    max-width: 800px;
    margin: 0 auto clamp(3px, 1vw, 5px);
    font-size: clamp(12px, 2vw, 14px);
    color: #656565;
    line-height: 1.7;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.center-text {
    text-align: center;
    color: #656565;
}

.bottom {
    margin-bottom: clamp(15px, 3vw, 20px);
}

.eq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 2vw, 10px);
    justify-content: center;
}

.eq-one {
    background: #dee2e6;
    border: 1px solid #CF2030;
    color: #333;
    padding: clamp(6px, 1.5vw, 8px) clamp(10px, 2vw, 15px);
    border-radius: 25px;
    font-size: clamp(11px, 1.8vw, 12px);
    font-weight: 500;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.eq-tags .highlight {
    color: #CF2030;
    font-weight: 900;
}


.eq-one:hover {
    background: #CF2030;
    color: #dee2e6;
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.15);
}

.eq-one:hover .highlight {
  color: #656565; /* or any visible color */
}


/* Business Activities */
.business-activities {
    max-width: 1200px;
    margin: 60px auto;
    padding: 50px 30px;
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.business-activities h2 {
    font-size: 34px;
    color: #CF2030;
    margin-bottom: 50px;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.activities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.activity-card {
    background: #CF2030;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #e9ecef;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.activity-card h3 {
    color: #e9ecef;
    font-size: 22px;
    margin-bottom: 12px;
    text-transform: lowercase;
}

.activity-card p {
    color: #f5f5f5;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.activity-card ul {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
    color: #f5f5f5;
}

.activity-card ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.card-icon {
    margin-bottom: 15px;
}

.card-icon img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
    transition: transform 0.4s ease;
}

.activity-card:hover .card-icon img {
    transform: scale(1.2) rotate(5deg);
}

/* Services Section */
#services {
    padding: 80px 20px;
    background: #dee2e6;
    text-align: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--mainColor);
}

.section-title p {
    font-size: 1.1rem;
    color: #656565;
}

.section-title span {
    color: var(--mainColor);
    font-weight: 900;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
}

.service-card {
    background: #e9ecef;
    padding: 40px 25px;
    border-radius: 20px;
    color: #000;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 68, 241, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex: 0 0 300px;
    max-width: 320px;
    width: 100%;
    box-sizing: border-box;
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--mainColor);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 35px rgba(196, 196, 196, 0.2);
    border-color: var(--accentColor);
}

.service-card:hover .icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--mainColor);
    font-size: 1.3rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* Why Us */
#why-us {
    padding: 80px 20px;
    background: #dee2e6;
    text-align: center;
    margin-bottom: 12px;
}

#why-us .section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #CF2030;
    font-weight: 900;
}

#why-us .section-title p {
    font-size: 1.2rem;
    color: #CF2030;
    margin-bottom: 60px;
}

.why-us-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: #e9ecef;
    border-radius: 25px;
    padding: 30px 20px;
    width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: #c7c4c4;
    color: #CF2030;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #CF2030;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.icon-circle span {
    font-size: 1.8rem;
    color: #e9ecef;
}

.why-card p {
    font-size: 1rem;
    color: #656565;
    line-height: 1.5;
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: #dee2e6;
}

.testimonials .section-title p {
    margin-top: 12px;
}

.why-only-us {
    margin-top: 20px;
    font-size: 1.5rem;
    color: #dee2e6;
    background: #ce2030;
    display: inline-block;
    padding: 20px 30px;
    border-radius: 40px;
    box-shadow: 0 12px 35px rgba(206, 32, 48, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-only-us:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 45px rgba(206, 32, 48, 0.6);
}

.why-only-us span {
    color: #dee2e6;
    text-decoration: 2px dashed #dee2e6;
    text-underline-offset: 6px;
}

.testimonial-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 520px;
    margin: 0 45px;
    padding: 20px;
    border-radius: 12px;
    background: #dee2e6;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: scale(0.8);
    filter: blur(4px);
    opacity: 0.5;
    transition: all 0.6s ease;
    box-sizing: border-box;
}

.testimonial-card.active {
    transform: scale(1);
    filter: blur(0);
    opacity: 1;
    z-index: 2;
}

.testimonial-card h4 {
    color: #ce2030;
    margin-top: 8px;
}

.testimonial-card .sector {
    color: #656565;
    font-style: italic;
    margin-bottom: 8px;
}

.testimonial-card .client-head {
    font-size: 14px;
    margin-bottom: 12px;
    color: #656565;
}

.testimonial-card .highlight {
    color: #ce2030;
    font-style: italic;
    margin: 15px 0;
}

.testimonial-card .body-text {
    font-size: 14px;
    line-height: 1.5;
    color: #656565;
}

.testimonial-card .footer {
    font-size: 12px;
    color: #ce2030;
    font-weight: 900;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ce2030;
    color: #e9ecef;
    border: none;
    padding: 12px 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
    z-index: 5;
}

.nav-btn:hover {
    background: #ce2030;
}

.prev-btn {
    left: 0px;
}

.next-btn {
    right: 0px;
}

.dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background: #ce2030;
}

/* Trusted Clients */
#trusted-clients {
    margin-top: 60px;
    padding: 60px 20px;
    background: #f8f9fa;
    text-align: center;
}

#trusted-clients .section-title h2 {
    font-size: 2.5rem;
    color: #ce2030;
    margin-bottom: 10px;
}

#trusted-clients .section-title p {
    font-size: 1.1rem;
    color: #656565;
    margin-bottom: 40px;
}

.clients-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
    align-items: center;
    max-width: 900px;
    margin: auto;
}

.client {
    display: flex;
    justify-content: center;
    align-items: center;
}

.client img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client img:hover {
    transform: scale(1.1);
}

.client:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Contact */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 10px;
}

.contact-container form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    padding: clamp(12px, 3vw, 20px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-container input,
.contact-container textarea {
    padding: clamp(6px, 1.5vw, 10px);
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    font-size: clamp(12px, 2vw, 13px);
}

.contact-container button {
    background: var(--mainColor);
    color: white;
    padding: clamp(6px, 1.5vw, 10px);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-size: clamp(12px, 2vw, 13px);
}

.contact-container button:hover {
    background: var(--accentColor);
}

.map {
    background: #ddd;
    border-radius: 12px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
    font-size: clamp(12px, 2.2vw, 14px);
}

.map iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Footer */
footer {
    background: var(--mainColor);
    color: #dee2e6;
    padding: clamp(20px, 5vw, 40px) 10px clamp(10px, 2vw, 15px);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.footer-col {
    text-align: left;
    width: 250px;
}

.footer-logo {
    width: clamp(100px, 18vw, 140px);
    margin-bottom: 8px;
    display: block;
}

.footer-col h4 {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    margin-bottom: 8px;
    color: #dee2e6;
}

.footer-col p,
.footer-col a,
.footer-col li {
    font-size: clamp(12px, 2vw, 13px);
    color: #dee2e6;
    line-height: 1.6;
}

.footer-col a {
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: clamp(25px, 6vw, 30px);
    height: clamp(25px, 6vw, 30px);
    line-height: clamp(25px, 6vw, 30px);
    text-align: center;
    border-radius: 50%;
    background: #656565;
    color: #dee2e6;
    transition: 0.3s;
}

.social-links a:hover {
    background: #fff;
    color: var(--mainColor);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #656565;
    padding-top: 10px;
    margin-top: 15px;
    font-size: clamp(11px, 1.8vw, 12px);
}

/* Media Queries */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
        flex-direction: row;
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap:7px;
    }

    .main-nav.active {
        position: static;
        width: auto;
        max-height: none;
        align-items: center;
    }

    .main-nav a {
        color: #dee2e6;
        padding: 8px 0;
        width: auto;
        text-align: left;
    }

    .nav-end {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .navbar-container {
        padding: clamp(10px, 2vw, 12px) clamp(15px, 3vw, 20px);
    }

    .about-container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
}

@media (max-width: 1200px) {
    .testimonial-card {
        flex: 0 0 420px;
    }

}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 350px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .menu-toggle {
      display: flex;
    }
    
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        background: #dee2e6;
        position: absolute;
        top: 100%;
        left: 0;
        gap:7px;
        width: 100%;
        transition: max-height 0.4s ease;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .main-nav.active {
        max-height: 500px;
        padding: 15px;
        align-items: center;
        justify-content: center;
    }

    .main-nav a {
        padding: 5px 20px;
        color: #ce2030;
        font-size: clamp(16px, 3vw, 18px);
        width: 100%;
        text-align: center;
    }

    .nav-end {
        display: none;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .about-container img {
        max-width: 100%;
        width: 90%;
    }

    .about-text {
        max-width: 100%;
        text-align: center;
    }

    .about-text p,
    .about-text ul li {
        text-align: center;
        font-size: clamp(11px, 2vw, 13px);
    }

    .mission-vision {
        padding: clamp(15px, 3vw, 20px) clamp(10px, 2vw, 15px);
    }

    .mission-vision h2 {
        font-size: clamp(18px, 3.5vw, 20px);
    }

    .mission-box {
        font-size: clamp(11px, 2vw, 13px);
        padding: clamp(6px, 1.5vw, 8px) clamp(8px, 2vw, 10px);
    }

    .mission-vision .arrow {
        font-size: clamp(12px, 2.2vw, 14px);
    }

    .eq-commerce {
        padding: clamp(15px, 3vw, 20px) clamp(10px, 2vw, 15px);
    }

    .eq-commerce h2 {
        font-size: clamp(18px, 3.5vw, 20px);
    }

    .eq-step {
        min-width: clamp(70px, 18vw, 90px);
        font-size: clamp(11px, 2vw, 13px);
    }

    .eq-arrow {
        font-size: clamp(12px, 2.2vw, 14px);
    }

    .eq-desc {
        text-align: center;
        font-size: clamp(11px, 2vw, 13px);
    }

    .testimonial-card {
        flex: 0 0 90%;
        margin: 0 5%;
    }

    .nav-btn {
        padding: clamp(6px, 1.5vw, 10px) clamp(10px, 2vw, 15px);
        font-size: clamp(12px, 2.2vw, 16px);
    }

    .clients-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
    }

    .section-title h2 {
        font-size: clamp(1.3rem, 3.5vw, 1.6rem);
    }

    .service-card,
    .why-card,
    .activity-card {
        min-width: 100%;
        max-width: 100%;
    }

    .testimonial-card {
        flex: 0 0 95%;
        margin: 0 1.8%;
    }

    .clients-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        flex-direction: column;
        justify-content: center;
    }

    .why-only-us {
        font-size: clamp(0.9rem, 2.2vw, 1.2rem);
        padding: clamp(10px, 2.5vw, 15px) clamp(12px, 3vw, 20px);
    }

    .about-container img {
        width: 95%;
    }

    .about-text h3 {
        font-size: clamp(14px, 2.8vw, 16px);
    }

    .mission-vision {
        padding: clamp(10px, 2.5vw, 15px) clamp(8px, 2vw, 10px);
    }

    .mission-vision h2 {
        font-size: clamp(16px, 3.2vw, 18px);
    }

    .mission-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mission-vision .arrow {
        margin-bottom: 8px;
        margin-right: 0;
    }

    .eq-flow {
        gap: clamp(6px, 1.5vw, 8px);
    }

    .eq-step {
        min-width: clamp(60px, 16vw, 80px);
        padding: clamp(5px, 1vw, 8px);
        font-size: clamp(10px, 1.8vw, 12px);
    }

    .eq-arrow {
        font-size: clamp(10px, 2vw, 12px);
    }

    .eq-tags {
        gap: clamp(6px, 1.5vw, 8px);
    }

    .eq-one {
        font-size: clamp(10px, 1.7vw, 11px);
    }

    .main-nav a {
        font-size: clamp(14px, 2.8vw, 16px);
        padding: 10px 15px;
    }
}

@media (max-width: 360px) {
    .navbar-container {
        padding: clamp(6px, 2vw, 8px) clamp(6px, 2vw, 8px);
    }

    .logo img {
        height: clamp(25px, 8vw, 30px);
    }

    .testimonial-card {
        flex: 0 0 95%;
        margin: 0 2.2%;
    }

    .mission-box {
        padding: clamp(6px, 1.2vw, 8px);
        font-size: clamp(10px, 1.8vw, 12px);
    }

    .eq-step {
        min-width: clamp(60px, 16vw, 90px);
        padding: clamp(5px, 1vw, 8px);
        font-size: clamp(10px, 1.8vw, 12px);
    }

    .eq-arrow {
        font-size: clamp(10px, 2vw, 12px);
    }

    .main-nav a {
        font-size: clamp(14px, 2.8vw, 16px);
        padding: 8px 10px;
    }
}


/* new new new  */
/* ============================================= */
/* CLEAN 3D CAROUSEL - SINGLE VERSION */
/* ============================================= */

/* Hero Section - Override previous styles */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
  padding: 80px 20px 60px;
  width: 100%;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/crousalIMG1.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(28, 149, 119, 0.9) 0%,
    rgba(42, 186, 150, 0.8) 100%);
  z-index: 2;
}

/* 3D Carousel Container */
.card-carousel-hero {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 600px;
  perspective: 1200px;
  perspective-origin: center;
  z-index: 3;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
  box-sizing: border-box;
  overflow: visible !important;
}

/* Inner Carousel */
.card-carousel-hero .inner-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Individual Cards - Increased size for better button fit */
.card-carousel-hero .inner-carousel > div {
  position: absolute;
  width: 280px; /* Increased width */
  height: 380px; /* Increased height */
  background: rgba(255, 255, 255, 0.98);
  color: #333;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 54, 90, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 30px 25px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  overflow: hidden;
  box-sizing: border-box;
}

/* Card Icon */
.card-carousel-hero .inner-carousel > div .icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1C9577, #2ABA96);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(28, 149, 119, 0.3);
  flex-shrink: 0;
}

/* Card Title */
.card-carousel-hero .inner-carousel > div h4 {
  color: #1C9577;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 15px;
  width: 100%;
  text-align: center;
  overflow: visible;
  max-height: none;
  min-height: auto;
  display: block;
  word-break: break-word;
  padding: 0 5px;
}

/* Card Description */
.card-carousel-hero .inner-carousel > div p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  width: 100%;
  flex: 1;
  overflow: visible;
  text-overflow: clip;
  display: block;
  max-height: none;
  min-height: auto;
  height: auto;
  word-break: break-word;
  padding: 0 5px;
}

/* Card Button - Fitted inside card */
.card-carousel-hero .inner-carousel > div a {
  background: transparent;
  border: 2px solid #1C9577;
  color: #1C9577;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 180px;
  text-align: center;
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.card-carousel-hero .inner-carousel > div a:hover {
  background: linear-gradient(135deg, #1C9577, #2ABA96);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(28, 149, 119, 0.3);
}

/* Front Card Styling */
.card-carousel-hero .inner-carousel > div.front {
  background: linear-gradient(135deg, #1C9577, #2ABA96);
  color: white;
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0, 54, 90, 0.35);
  transform: translateZ(40px) scale(1.05);
}

.card-carousel-hero .inner-carousel > div.front .icon {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-carousel-hero .inner-carousel > div.front h4,
.card-carousel-hero .inner-carousel > div.front p {
  color: white;
}

.card-carousel-hero .inner-carousel > div.front a {
  background: white;
  color: #1C9577;
  border-color: white;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card-carousel-hero .inner-carousel > div.front a:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: translateY(-3px);
}

/* Navigation Buttons */
.card-carousel-hero .button-spin {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1C9577;
  border: none;
  font-size: 1.8rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.card-carousel-hero .button-spin:hover {
  background: white;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.card-carousel-hero .button-spin.counterclockwise {
  left: 20px;
}

.card-carousel-hero .button-spin.clockwise {
  right: 20px;
}

/* ============================================= */
/* RESPONSIVE BREAKPOINTS - SINGLE SET */
/* ============================================= */

/* Large Desktop (1600px+) */
@media (min-width: 1600px) {
  .card-carousel-hero {
    height: 650px;
    max-width: 1600px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 300px;
    height: 400px;
    padding: 35px 30px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 90px;
    height: 90px;
    font-size: 2.2rem;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 200px;
    padding: 14px 35px;
    font-size: 1rem;
  }
  
  .card-carousel-hero .button-spin {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

/* Desktop (1200px - 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
  .card-carousel-hero {
    height: 600px;
    max-width: 1300px;
    padding: 0 70px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 280px;
    height: 380px;
    padding: 30px 25px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 1.4rem;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 1rem;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 180px;
    padding: 12px 30px;
    font-size: 0.95rem;
  }
  
  .card-carousel-hero .button-spin {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
}

/* Tablet Landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero {
    padding: 70px 15px 50px;
  }
  
  .card-carousel-hero {
    height: 550px;
    max-width: 1000px;
    padding: 0 60px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 240px;
    height: 340px;
    padding: 25px 20px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 75px;
    height: 75px;
    font-size: 1.8rem;
    margin-bottom: 18px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 170px;
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .card-carousel-hero .button-spin {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero {
    padding: 60px 10px 40px;
    min-height: 90vh;
  }
  
  .card-carousel-hero {
    height: 500px;
    max-width: 800px;
    padding: 0 50px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 220px;
    height: 320px;
    padding: 22px 18px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 160px;
    padding: 9px 22px;
    font-size: 0.85rem;
  }
  
  .card-carousel-hero .button-spin {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
}

/* Large Mobile (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero {
    padding: 55px 8px 30px;
    min-height: 85vh;
  }
  
  .card-carousel-hero {
    height: 450px;
    max-width: 600px;
    padding: 0 40px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 200px;
    height: 300px;
    padding: 20px 15px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 150px;
    padding: 8px 20px;
    font-size: 0.8rem;
  }
  
  .card-carousel-hero .button-spin {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

/* Medium Mobile (425px - 575px) */
@media (min-width: 425px) and (max-width: 575px) {
  .hero {
    padding: 50px 5px 25px;
    min-height: 80vh;
  }
  
  .card-carousel-hero {
    height: 400px;
    max-width: 450px;
    padding: 0 35px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 180px;
    height: 280px;
    padding: 18px 12px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 140px;
    padding: 7px 18px;
    font-size: 0.75rem;
  }
  
  .card-carousel-hero .button-spin {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Small Mobile (375px - 424px) */
@media (min-width: 375px) and (max-width: 424px) {
  .hero {
    padding: 45px 5px 20px;
    min-height: 75vh;
  }
  
  .card-carousel-hero {
    height: 380px;
    max-width: 400px;
    padding: 0 30px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 170px;
    height: 260px;
    padding: 16px 10px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 55px;
    height: 55px;
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 130px;
    padding: 6px 15px;
    font-size: 0.7rem;
  }
  
  .card-carousel-hero .button-spin {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile (320px - 374px) */
@media (min-width: 320px) and (max-width: 374px) {
  .hero {
    padding: 40px 5px 15px;
    min-height: 70vh;
  }
  
  .card-carousel-hero {
    height: 350px;
    max-width: 350px;
    padding: 0 25px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 160px;
    height: 240px;
    padding: 14px 8px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.7rem;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 120px;
    padding: 5px 12px;
    font-size: 0.65rem;
  }
  
  .card-carousel-hero .button-spin {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}

/* Tiny Mobile (below 320px) */
@media (max-width: 319px) {
  .hero {
    padding: 35px 5px 10px;
    min-height: 65vh;
  }
  
  .card-carousel-hero {
    height: 320px;
    max-width: 300px;
    padding: 0 20px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 150px;
    height: 220px;
    padding: 12px 6px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 0.85rem;
    margin-bottom: 3px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.65rem;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 110px;
    padding: 4px 10px;
    font-size: 0.6rem;
  }
  
  .card-carousel-hero .button-spin {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }
}

/* ============================================= */
/* CRITICAL FIXES */
/* ============================================= */

/* Ensure buttons fit inside cards */
.card-carousel-hero .inner-carousel > div a {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Prevent text overflow */
.card-carousel-hero .inner-carousel > div h4,
.card-carousel-hero .inner-carousel > div p {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
  .card-carousel-hero .inner-carousel > div {
    -webkit-backdrop-filter: blur(12px);
  }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: 120vh;
  }
  
  .card-carousel-hero {
    height: 400px;
  }
}

/* Tall Screens */
@media (min-height: 1000px) {
  .card-carousel-hero {
    height: 700px;
  }
}
/* heheh  */
/* ============================================= */
/* FIXED RESPONSIVE 3D CAROUSEL */
/* ============================================= */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  padding: 80px 20px 60px;
  width: 100%;
  background: linear-gradient(135deg, 
    rgba(28, 149, 119, 0.9) 0%,
    rgba(42, 186, 150, 0.8) 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/crousalIMG1.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(28, 149, 119, 0.9) 0%,
    rgba(42, 186, 150, 0.8) 100%);
  z-index: 2;
}

/* 3D Carousel Container */
.card-carousel-hero {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 500px; /* Reduced from 600px for better mobile */
  perspective: 1200px;
  perspective-origin: center;
  z-index: 3;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  box-sizing: border-box;
  overflow: visible !important;
}

/* Inner Carousel */
.card-carousel-hero .inner-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Individual Cards - Optimized for 12 items */
.card-carousel-hero .inner-carousel > div {
  position: absolute;
  width: 250px; /* Slightly reduced for 12 cards */
  height: 340px; /* Slightly reduced for 12 cards */
  background: rgba(255, 255, 255, 0.98);
  color: #333;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 54, 90, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 25px 20px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 1;
}

/* Card positioning for 12 items in a circle */
.card-carousel-hero .inner-carousel > div:nth-child(1) { transform: rotateY(0deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(2) { transform: rotateY(30deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(3) { transform: rotateY(60deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(4) { transform: rotateY(90deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(5) { transform: rotateY(120deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(6) { transform: rotateY(150deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(7) { transform: rotateY(180deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(8) { transform: rotateY(210deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(9) { transform: rotateY(240deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(10) { transform: rotateY(270deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(11) { transform: rotateY(300deg) translateZ(500px); }
.card-carousel-hero .inner-carousel > div:nth-child(12) { transform: rotateY(330deg) translateZ(500px); }

/* Front Card Styling */
.card-carousel-hero .inner-carousel > div.front {
  background: linear-gradient(135deg, #1C9577, #2ABA96);
  color: white;
  z-index: 10;
  box-shadow: 0 25px 50px rgba(0, 54, 90, 0.3);
  transform: translateZ(550px) scale(1.1); /* Bring front card forward */
}

/* Card Icon */
.card-carousel-hero .inner-carousel > div .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1C9577, #2ABA96);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  /* margin-bottom: 15px; */
  box-shadow: 0 8px 20px rgba(28, 149, 119, 0.25);
  flex-shrink: 0;
}

.card-carousel-hero .inner-carousel > div.front .icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Card Title */
.card-carousel-hero .inner-carousel > div h4 {
  color: #1C9577;
  font-weight: 800;
  font-size: 1.3rem;
  /* line-height: 1.4; */
  /* margin-bottom: 12px; */
  width: 100%;
  text-align: center;
  word-break: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 3.2em; /* 2 lines height */
  padding: 0 5px;
}

.card-carousel-hero .inner-carousel > div.front h4 {
  color: white;
}

/* Card Description */
.card-carousel-hero .inner-carousel > div p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  /* margin-bottom: 20px; */
  width: 100%;
  flex: 1;
  word-break: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height: 4.5em; /* 3 lines height */
  padding: 0 5px;
}

.card-carousel-hero .inner-carousel > div.front p {
  color: rgba(255, 255, 255, 0.95);
}

/* Card Button */
.card-carousel-hero .inner-carousel > div a {
  background: transparent;
  border: 2px solid #1C9577;
  color: #1C9577;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 160px;
  text-align: center;
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.card-carousel-hero .inner-carousel > div a:hover {
  background: linear-gradient(135deg, #1C9577, #2ABA96);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(28, 149, 119, 0.25);
}

.card-carousel-hero .inner-carousel > div.front a {
  background: white;
  color: #1C9577;
  border-color: white;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.card-carousel-hero .inner-carousel > div.front a:hover {
  background: transparent;
  color: white;
  border-color: white;
}

/* Navigation Buttons */
.card-carousel-hero .button-spin {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1C9577;
  border: none;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.card-carousel-hero .button-spin:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card-carousel-hero .button-spin.counterclockwise {
  left: 10px;
}

.card-carousel-hero .button-spin.clockwise {
  right: 10px;
}

/* ============================================= */
/* RESPONSIVE BREAKPOINTS - OPTIMIZED FOR 12 CARDS */
/* ============================================= */

/* Desktop (1400px+) */
@media (min-width: 1400px) {
  .card-carousel-hero {
    height: 550px;
    max-width: 1400px;
    padding: 0 80px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 260px;
    height: 360px;
    padding: 28px 22px;
  }
  
  /* Adjust radius for 12 cards */
  .card-carousel-hero .inner-carousel > div:nth-child(n) {
    transform-origin: center;
    transform: rotateY(calc((var(--index) - 1) * 30deg)) translateZ(550px);
  }
  
  .card-carousel-hero .inner-carousel > div.front {
    transform: translateZ(600px) scale(1.1);
  }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .card-carousel-hero {
    height: 500px;
    max-width: 1200px;
    padding: 0 70px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 240px;
    height: 340px;
    padding: 25px 20px;
  }
  
  /* Reduce radius */
  .card-carousel-hero .inner-carousel > div:nth-child(n) {
    transform: rotateY(calc((var(--index) - 1) * 30deg)) translateZ(480px);
  }
  
  .card-carousel-hero .inner-carousel > div.front {
    transform: translateZ(530px) scale(1.1);
  }
}

/* Large Tablet/Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero {
    padding: 70px 15px 50px;
  }
  
  .card-carousel-hero {
    height: 450px;
    max-width: 1000px;
    padding: 0 60px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 210px;
    height: 300px;
    padding: 22px 18px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 1.2rem;
    height: 3em;
    -webkit-line-clamp: 2;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.9rem;
    height: 4.2em;
    -webkit-line-clamp: 3;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 140px;
    padding: 8px 20px;
    font-size: 0.85rem;
  }
  
  /* Reduce radius further */
  .card-carousel-hero .inner-carousel > div:nth-child(n) {
    transform: rotateY(calc((var(--index) - 1) * 30deg)) translateZ(420px);
  }
  
  .card-carousel-hero .inner-carousel > div.front {
    transform: translateZ(470px) scale(1.1);
  }
  
  .card-carousel-hero .button-spin {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero {
    padding: 60px 10px 40px;
    min-height: 45vh;
  }
  
  .card-carousel-hero {
    height: 400px;
    max-width: 800px;
    padding: 0 50px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 180px;
    height: 280px;
    padding: 20px 15px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 1.1rem;
    height: 2.8em;
    -webkit-line-clamp: 2;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.85rem;
    height: 3.9em;
    -webkit-line-clamp: 3;
    line-height: 1.4;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 130px;
    padding: 7px 18px;
    font-size: 0.8rem;
  }
  
  /* Even smaller radius */
  .card-carousel-hero .inner-carousel > div:nth-child(n) {
    transform: rotateY(calc((var(--index) - 1) * 30deg)) translateZ(360px);
  }
  
  .card-carousel-hero .inner-carousel > div.front {
    transform: translateZ(410px) scale(1.1);
  }
  
  .card-carousel-hero .button-spin {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Large Mobile (576px - 767px) - Switch to partial view */
@media (min-width: 576px) and (max-width: 767px) {
  .hero {
    padding: 55px 5px 30px;
    min-height: 45vh;
  }
  
  .card-carousel-hero {
    height: 380px;
    max-width: 600px;
    padding: 0 40px;
    perspective: 800px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 160px;
    height: 250px;
    padding: 18px 12px;
    border-radius: 14px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 1rem;
    height: 2.6em;
    -webkit-line-clamp: 2;
    margin-bottom: 8px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.8rem;
    height: 3.6em;
    -webkit-line-clamp: 3;
    line-height: 1.4;
    margin-bottom: 15px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 120px;
    padding: 6px 15px;
    font-size: 0.75rem;
    border-width: 1.5px;
  }
  
  /* Show only 5 cards visible, smaller radius */
  .card-carousel-hero .inner-carousel > div {
    opacity: 0.3;
    transform: rotateY(calc((var(--index) - 1) * 30deg)) translateZ(280px) scale(0.9);
  }
  
  .card-carousel-hero .inner-carousel > div.front,
  .card-carousel-hero .inner-carousel > div.front ~ div:nth-child(2),
  .card-carousel-hero .inner-carousel > div.front ~ div:nth-child(3),
  .card-carousel-hero .inner-carousel > div.front ~ div:nth-child(11),
  .card-carousel-hero .inner-carousel > div.front ~ div:nth-child(12) {
    opacity: 0.7;
  }
  
  .card-carousel-hero .inner-carousel > div.front {
    transform: translateZ(330px) scale(1);
    opacity: 1;
  }
  
  .card-carousel-hero .button-spin {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Medium Mobile (425px - 575px) */
@media (min-width: 425px) and (max-width: 575px) {
  .hero {
    padding: 50px 5px 25px;
    min-height: 45vh;
  }
  
  .card-carousel-hero {
    height: 350px;
    max-width: 450px;
    padding: 0 35px;
    perspective: 600px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 150px;
    height: 230px;
    padding: 16px 10px;
    border-radius: 12px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 0.95rem;
    height: 2.4em;
    -webkit-line-clamp: 2;
    margin-bottom: 6px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.75rem;
    height: 3.4em;
    -webkit-line-clamp: 3;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 110px;
    padding: 5px 12px;
    font-size: 0.7rem;
    border-width: 1.5px;
  }
  
  /* Show only 3 cards visible */
  .card-carousel-hero .inner-carousel > div {
    opacity: 0.2;
    transform: rotateY(calc((var(--index) - 1) * 30deg)) translateZ(220px) scale(0.85);
  }
  
  .card-carousel-hero .inner-carousel > div.front,
  .card-carousel-hero .inner-carousel > div.front ~ div:nth-child(2),
  .card-carousel-hero .inner-carousel > div.front ~ div:nth-child(12) {
    opacity: 0.6;
  }
  
  .card-carousel-hero .inner-carousel > div.front {
    transform: translateZ(270px) scale(1);
    opacity: 1;
  }
  
  .card-carousel-hero .button-spin {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

/* Small Mobile (375px - 424px) */
@media (min-width: 375px) and (max-width: 424px) {
  .hero {
    padding: 45px 5px 20px;
    min-height: 45vh;
  }
  
  .card-carousel-hero {
    height: 320px;
    max-width: 400px;
    padding: 0 30px;
    perspective: 500px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 140px;
    height: 210px;
    padding: 14px 8px;
    border-radius: 10px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 0.9rem;
    height: 2.2em;
    -webkit-line-clamp: 2;
    margin-bottom: 5px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.7rem;
    height: 3.2em;
    -webkit-line-clamp: 3;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 100px;
    padding: 4px 10px;
    font-size: 0.65rem;
    border-width: 1px;
  }
  
  /* Show only front card clearly */
  .card-carousel-hero .inner-carousel > div {
    opacity: 0.1;
    transform: rotateY(calc((var(--index) - 1) * 30deg)) translateZ(180px) scale(0.8);
  }
  
  .card-carousel-hero .inner-carousel > div.front {
    transform: translateZ(230px) scale(1);
    opacity: 1;
  }
  
  .card-carousel-hero .button-spin {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
    left: 5px;
    right: 5px;
  }
}

/* Extra Small Mobile (320px - 374px) */
@media (min-width: 320px) and (max-width: 374px) {
  .hero {
    padding: 40px 5px 15px;
    min-height: 45vh;
  }
  
  .card-carousel-hero {
    height: 300px;
    max-width: 350px;
    padding: 0 25px;
    perspective: 400px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 130px;
    height: 190px;
    padding: 12px 6px;
    border-radius: 8px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 0.85rem;
    height: 2em;
    -webkit-line-clamp: 2;
    margin-bottom: 4px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.65rem;
    height: 3em;
    -webkit-line-clamp: 3;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 90px;
    padding: 3px 8px;
    font-size: 0.6rem;
  }
  
  .card-carousel-hero .inner-carousel > div {
    opacity: 0.1;
    transform: rotateY(calc((var(--index) - 1) * 30deg)) translateZ(150px) scale(0.75);
  }
  
  .card-carousel-hero .inner-carousel > div.front {
    transform: translateZ(200px) scale(1);
    opacity: 1;
  }
  
  .card-carousel-hero .button-spin {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }
}

/* Tiny Mobile (below 320px) */
@media (max-width: 319px) {
  .hero {
    padding: 35px 5px 10px;
    min-height: 45vh;
  }
  
  .card-carousel-hero {
    height: 280px;
    max-width: 300px;
    padding: 0 20px;
    perspective: 300px;
  }
  
  .card-carousel-hero .inner-carousel > div {
    width: 120px;
    height: 170px;
    padding: 10px 5px;
    border-radius: 6px;
  }
  
  .card-carousel-hero .inner-carousel > div .icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    margin-bottom: 3px;
  }
  
  .card-carousel-hero .inner-carousel > div h4 {
    font-size: 0.8rem;
    height: 1.8em;
    -webkit-line-clamp: 2;
    margin-bottom: 3px;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    font-size: 0.6rem;
    height: 2.7em;
    -webkit-line-clamp: 3;
    line-height: 1.2;
    margin-bottom: 6px;
  }
  
  .card-carousel-hero .inner-carousel > div a {
    width: 80px;
    padding: 2px 6px;
    font-size: 0.55rem;
  }
  
  /* Hide all except front card */
  .card-carousel-hero .inner-carousel > div:not(.front) {
    opacity: 0;
    transform: rotateY(calc((var(--index) - 1) * 30deg)) translateZ(120px) scale(0.7);
  }
  
  .card-carousel-hero .inner-carousel > div.front {
    transform: translateZ(170px) scale(1);
    opacity: 1;
  }
  
  .card-carousel-hero .button-spin {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }
}

/* ============================================= */
/* JAVASCRIPT HOOKS FOR DYNAMIC POSITIONING */
/* ============================================= */

/* Use CSS variables for dynamic positioning */
.card-carousel-hero .inner-carousel > div {
  --index: 1;
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: 120vh;
  }
  
  .card-carousel-hero {
    height: 400px;
  }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
  .card-carousel-hero .inner-carousel > div {
    -webkit-backdrop-filter: blur(10px);
  }
}

/* Ensure text is always readable */
.card-carousel-hero .inner-carousel > div h4,
.card-carousel-hero .inner-carousel > div p {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Button visibility */
.card-carousel-hero .button-spin {
  z-index: 100;
}

/* ============================================= */
/* CRITICAL FIXES FOR HERO SECTION */
/* ============================================= */

/* Update hero background to primary red color */
.hero-background::after {
  background: linear-gradient(135deg, 
    rgba(207, 32, 47, 0.476) 0%,
    rgba(207, 32, 47, 0.376) 100%) !important;
}

.hero {
  background: linear-gradient(135deg, 
    rgba(207, 32, 47, 0.4) 0%,
    rgba(207, 32, 47, 0.513) 100%) !important;
}

/* Update card icon color to primary red */
.card-carousel-hero .inner-carousel > div .icon {
  background: linear-gradient(135deg, #CF2030, #cf202f4f) !important;
}

.card-carousel-hero .inner-carousel > div a:hover {
  background: linear-gradient(135deg, #cf202f5a, #CF2030) !important;
}

/* Update front card to primary red */
.card-carousel-hero .inner-carousel > div.front {
  background: linear-gradient(135deg, #cf202f9e, #cf202f6b) !important;
}

/* FIX CARD TEXT VISIBILITY */
.card-carousel-hero .inner-carousel > div p {
  /* Remove line-clamp restrictions */
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  display: block !important;
  height: auto !important;
  max-height: 100px !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
  margin-bottom: 15px !important;
  flex: 0 0 auto !important;
}

.card-carousel-hero .inner-carousel > div h4 {
  /* Remove line-clamp for titles too */
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  height: auto !important;
  min-height: 2.6em !important;
  margin-bottom: 10px !important;
}

/* Increase card heights for better text fit */
.card-carousel-hero .inner-carousel > div {
  height: 380px !important; /* Increased from 340px */
  justify-content: flex-start !important;
  padding: 20px 15px !important;
  gap: 10px !important;
}

/* Adjust card spacing for better text layout */
.card-carousel-hero .inner-carousel > div .icon {
  margin-bottom: 15px !important;
}

.card-carousel-hero .inner-carousel > div a {
  margin-top: 10px !important;
  margin-bottom: 5px !important;
}

/* Desktop adjustments */
@media (min-width: 992px) {
  .card-carousel-hero .inner-carousel > div {
    height: 400px !important;
    padding: 25px 20px !important;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    max-height: 120px !important;
    line-height: 1.6 !important;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .card-carousel-hero .inner-carousel > div {
    height: 320px !important;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    max-height: 80px !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
}

/* Extra small mobile */
@media (max-width: 575px) {
  .card-carousel-hero .inner-carousel > div {
    height: 300px !important;
  }
  
  .card-carousel-hero .inner-carousel > div p {
    max-height: 70px !important;
    font-size: 0.8rem !important;
  }
}

/* Ensure all cards have same treatment */
.card-carousel-hero .inner-carousel > div:not(.front) p {
  color: #555 !important;
  opacity: 1 !important;
}

.card-carousel-hero .inner-carousel > div.front p {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Fix button spacing */
.card-carousel-hero .inner-carousel > div a {
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ============================================= */
/* FIX MOBILE ARROW POSITIONING */
/* ============================================= */

/* Ensure arrows are always on correct sides */
.card-carousel-hero .button-spin.counterclockwise {
  left: 10px !important;
  right: auto !important;
}

.card-carousel-hero .button-spin.clockwise {
  right: 10px !important;
  left: auto !important;
}

/* Mobile-specific arrow positioning fixes */
@media (max-width: 768px) {
  .card-carousel-hero .button-spin {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
  }
  
  .card-carousel-hero .button-spin.counterclockwise {
    left: 5px !important;
    right: auto !important;
  }
  
  .card-carousel-hero .button-spin.clockwise {
    right: 5px !important;
    left: auto !important;
  }
}

/* Fix for landscape mode */
@media (max-height: 600px) and (orientation: landscape) {
  .card-carousel-hero .button-spin.counterclockwise {
    left: 2px !important;
  }
  
  .card-carousel-hero .button-spin.clockwise {
    right: 2px !important;
  }
}

/* Extra small mobile arrow size adjustment */
@media (max-width: 375px) {
  .card-carousel-hero .button-spin {
    width: 35px !important;
    height: 35px !important;
    font-size: 1rem !important;
  }
  
  .card-carousel-hero .button-spin.counterclockwise {
    left: 2px !important;
  }
  
  .card-carousel-hero .button-spin.clockwise {
    right: 2px !important;
  }
}

/* Prevent any left/right swapping */
.card-carousel-hero .button-spin {
  /* Reset any transforms that might flip them */
  transform: translateY(-50%) !important;
  transform-origin: center !important;
}

/* Ensure icons don't flip */
.card-carousel-hero .button-spin::before {
  content: '' !important;
  display: block !important;
}

.button-spin.counterclockwise::before {
  content: '‹' !important;
}

.button-spin.clockwise::before {
  content: '›' !important;
}

/* Remove any conflicting styles */
.card-carousel-hero .button-spin[class*="counterclockwise"],
.card-carousel-hero .button-spin[class*="clockwise"] {
  /* Reset positioning */
  position: absolute !important;
  top: 50% !important;
}

/* Debug helper - uncomment if needed */
/*
.card-carousel-hero .button-spin.counterclockwise {
  background: red !important;
}

.card-carousel-hero .button-spin.clockwise {
  background: blue !important;
}
*/


/* new navbar css is here  */
/* ========================= */
/* COMPACT SINGLE-LINE NAV */
/* ========================= */

.navbar {
  height: auto;
}

.navbar-container {
  padding: 6px 10px;
  flex-wrap: nowrap;
}

/* LEFT + RIGHT PART */
.left-part,
.right-part {
  gap: 6px;
  white-space: nowrap;
}

/* LOGOS SMALL */
.logo img {
  height: 22px;
}

/* NAV LINKS SMALL */
.main-nav {
  gap: 10px;
  white-space: nowrap;
}

.main-nav a {
  font-size: 14px;
  padding: 2px 4px;
}

/* NAV STACK COMPACT */
.nav-stack {
  padding: 4px 10px;
  border-radius: 20px;
  max-width: 170px;
}

.nav-main {
  font-size: 14px;
}

.nav-sub {
  font-size: 12px;
  padding: 2px 6px;
}

/* ========================= */
/* MOBILE — STILL ONE LINE */
@media (max-width: 838px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}
/* ========================= */
@media (max-width: 768px) {

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo img {
    height: 14px;
  }
  .right-part,.left-part{
    gap:4px;
    align-items: center;
  }

  .nav-stack {
    max-width: 140px;
    padding: 4px 8px;
  }
}

/* VERY SMALL PHONES */
@media (max-width: 480px) {

  .logo img {
     height: 12px;
  }
  .right-part,.left-part{
     gap:2px;
  }


  .nav-stack {
    max-width: 100px;
    font-size: 8px;
  }

  .nav-main {
    font-size: 10px;
  }

  .nav-sub {
    font-size: 8px;
  }
}
