/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    border-bottom: 3px solid #fbbf24;
    background: linear-gradient(to bottom, #fef3c7, #ffffff);
    transition: all 0.3s ease-in-out;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
}

.nav-desktop {
    gap: 1.5rem;
    color: #191303;
}

.nav-link-custom {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link-custom:hover {
    color: #ef9b0c;
}

.nav-link-custom.active {
    color: #ef9b0c;
}

.dropdown-item:hover {
    background-color: transparent !important;
    color: #ef9b0c !important;
}

.dropdown-item.active {
    background-color: transparent !important;
    color: #ef9b0c;
}

.mobile-menu-btn {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: none;
    background: transparent;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background-color: #fef3c7;
}

/* Mobile Navigation */
.mobile-nav-wrapper {
    border-top: 1px solid #e4e4e7;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.mobile-nav-wrapper.hidden {
    display: none;
}

/* Footer */
.main-footer {
    background-color: #191303;
    color: white;
    border-top: 4px solid #fbbf24;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-contact-link {
    color: white;
    text-decoration: none;
}

.footer-contact-link:hover {
    color: #ef9b0c;
}

.footer-social-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
}

.footer-nav-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
}

.footer-nav-link:hover {
    color: #ef9b0c;
}

.footer-copyright {
    font-size: 0.875rem;
}

/* Mobile footer alignment */
@media (max-width: 767px) {
    .main-footer {
      background-color: #332607;
    }

    .main-footer .footer-container {
      text-align: center;
    }

    .main-footer .d-flex {
      justify-content: center;
    }

    .main-footer .row {
        text-align: center;
    }

    .main-footer nav {
        justify-content: center;
    }

    .main-footer .footer-social-icon {
        margin: 0 auto;
    } 

    /* Left section specific styles */
    .main-footer .order-2 {
        background-color: #191303;
        padding: 1rem;
        border-radius: 0.5rem;
    }

    /* Override center alignment for contact info */
    .main-footer .order-2 .row {
        text-align: left;
    }

    .main-footer .order-2 .d-flex {
        justify-content: flex-start;
    }

    .main-footer .order-2 p {
        text-align: left;
    }

    /* copyright centered */
    .main-footer .footer-copyright {
        text-align: center !important;
        margin-top: 8px;
    }

/* Center only the footer images (mobile) */
.main-footer .footer-nav-title + nav img.w-200px,
.main-footer .footer-nav-title + nav img {
  display: block;
  margin: 0 auto;
  align-self: center;
  max-width: 100%;
  height: auto;
}
}

/* CTA Buttons */

.btn-primary {
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Pagination css */

/* Pagination Styling */
.pagination .page-link {
    color: #191303;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color, #191303);
    border-color: var(--primary-color, #191303);
    color: #fff !important;
}

.pagination .page-link:hover {
    background-color: #fbbf24;
    color: var(--primary-color, #191303);
}

.pagination .page-item.disabled .page-link {
    color: #a8aba9;
}

/* Breadcrumb - minimal, robust */
.breadcrumb-custom {
  font-weight: 600;
}

/* Layout: keep on one line, allow shrinking */
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  flex-wrap: nowrap;
  min-width: 0;
}

/* Remove Bootstrap "/" pseudo separator */
.breadcrumb-item::before {
  display: none !important;
  content: "" !important;
}

/* Item alignment */
.breadcrumb-item {
  display: flex;
  align-items: center;  
  white-space: nowrap;
}

/* Make the last item shrinkable */
.breadcrumb-item.min-w-0 {
  min-width: 0;
  flex-shrink: 1;
}

/* Links */
.breadcrumb-link {
  color: #111111;
  text-decoration: none;
}
.breadcrumb-link:hover {
  color: #ef9b0c;
}

/* Chevron separator */
.breadcrumb-sep {
  color: #ef9b0c;
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
}

/* Active crumb color */
.breadcrumb-current {
  color: #ef9b0c;
}

/* Logo sizing & centering */
.breadcrumb-item img {
  display: block;
  height: 18px;
  width: auto;
  vertical-align: middle;
}

/* --- REQUIRED: truncation rule for the last crumb --- */
.breadcrumb-current.text-truncate {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* mobile-specific max width so earlier crumbs stay visible */
@media (max-width: 576px) {
  .breadcrumb-current.text-truncate {
    max-width: 60vw; /* tweak value as needed */
  }
}


/* home page css */

/* Stats Pill */
.stats-pill {
    bottom: -40px;
    z-index: 10;
    max-width: 100%;
    overflow: hidden;
}

/* Mobile */
@media (max-width: 768px) {
    .stats-pill {
        position: static !important;
        transform: none !important;
        border-radius: 20px;
        padding: 1.5rem;
        width: 90%;
    }

    .stats-pill .border-end {
        border-right: none !important;
        border-bottom: none !important;
        padding-bottom: 0px;
    }

    .section-title {
        font-size: 1.9rem !important;
        text-align: center;
    }

    .service-card {
        text-align: center;
    }

    .service-card h3 {
        font-size: 25px !important;
    }

    .service-card ul {
        text-align: left;
    }
}

.service-card {
    border: 1px solid #fbbf24;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 24px rgba(251, 191, 36, 0.15);
}

.service-img-wrapper {
    border: 1px solid #fbbf24;
    min-height: 180px;
    height: 100%;
}

.service-link {
    padding-top: 0.75rem;
    transition: color 0.3s ease;
    text-decoration: none;
    position: relative;
}

.service-link:hover {
    color: #fbbf24 !important;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

.service-link-divider {
    border-top: 1px solid #fef3c7;
}

.service-card ul li {
    list-style: none;
    padding-left: 0.75rem;
    position: relative;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: -0.75rem;
    color: #fbbf24;
    font-weight: 700;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #fbbf24;
    margin-right: 9rem;
    margin-left: 9rem;
}

.section-divider::before {
    margin-right: 16px;
}

.section-divider::after {
    margin-left: 16px;
}

.divider-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fbbf24;
}

.clients-location {
    font-size: 10px; 
    line-height: 1.5; 
    z-index: 2;
    border-left: 1px solid #CCE6ED;
    border-bottom: 1px solid #CCE6ED;
}

.clients-flag {
    width: 14px;
    height: 10px;
    object-fit: cover;
}

.cta-section {
    width: 100%;
    position: relative;
}

.cta-bg-wrapper {
    position: relative;
    width: 100%;
}

.cta-bg-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;   
    border: 1px solid #fbbf24;
    border-radius: 10px;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.cta-content {
    max-width: 700px;
    padding: 20px 0;
    margin-left: 10rem;
    margin-top: 2rem;
}

.cta-sub {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-email {
    color: #2b7a8e;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #2b7a8e;
}

.cta-email:hover {
    color: #d97706;
    border-bottom-color: #d97706;
}

.cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #d97706;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
}

.cta-btn:hover {
    background: #b45309;
    transform: translateY(-2px);
    color: #fff;
}

@media (max-width: 767px) {
    .cta-bg-img {
        display: none !important;
    }

    .cta-bg-wrapper {
        width: 90%;
        margin: 20px auto !important;
        background-color: #ffffff;
        border: 2px solid #fbbf24;
        border-radius: 10px;
        text-align: center;
    }
    .cta-overlay {
        position: static !important;
        display: block !important;
    }

    .cta-content {
        margin-left: 0 !important;
        margin-top: 0 !important;
        max-width: 100% !important;
    }

    .cta-sub {
        margin-bottom: 15px;
        line-height: 1.5;
    }
}

/* Blog & Case Studies Slider */
.slider-track {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-height: 250px;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-card {
    flex: 0 0 270px;
    scroll-snap-align: start;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.slider-card:hover {
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.15);
}

.slider-card-img-wrap {
    height: 150px;
    background-color: #f8fafc;
}

.slider-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: none;
    background-color: #191303;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.slider-nav-btn:hover { background-color: #fbbf24; }
.slider-nav-btn:disabled { background-color: #e2e8f0; cursor: not-allowed; }
.slider-nav-prev { left: -5px; }
.slider-nav-next { right: -5px; }
.slider-card:last-child {
    background-color: #fef9ee;
    border-color: #fbbf24;
}

/* Heading */
.hero-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.2;
    color: #1f2937;
}

.hero-heading span {
  display: block;
  margin-bottom: 6px;
}

.hero-heading span:last-child {
  margin-bottom: 0;
}

/* Subtext */
.hero-subtext {
  margin-top: 14px;
  line-height: 1.5;
}

/* CTA */
.hero-cta {
  margin-top: 20px;
}

.hero-cta .btn {
  padding: 10px 15px;
  border-radius: 10px;
}


/* Image */
.hero-image-wrapper {
  overflow: hidden;
  border-radius: 10px;
}

.hero-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-image-ai-cloud {
    max-height: 300px;
    width: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

/* Mobile Hero Adjustments */
@media (max-width: 767px) {
    .hero-heading {
        font-size: 1.9rem !important;
        line-height: 1.2;
    }
}

/* Responsive border adjustment */
@media (max-width: 768px) {
    .rounded-pill {
        border-radius: 20px !important; 
    }
    .border-end {
        border-right: none !important;
        border-bottom: 1px solid #f1f1f1;
        padding-bottom: 10px;
    }
}

/* heading */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
    display: inline-block;
}

.section-title-underline {
    position: relative;
    padding-bottom: 3px;
    margin-bottom: 1.5rem;
}

.section-title-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #fbbf24;
    border-radius: 2px;
}

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  padding: 4px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: conic-gradient(#f59e0b 0deg, #e5e7eb 0deg);
  z-index: 1050;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.scroll-top-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid #3f3f46;
  /* padding-bottom: 3px; */
}
.bg-green { background-color: #27272a; }       /* green-600 */
.bg-green-dark { background-color: #191303; }  /* green-700 */
