/* Hero Background */
#hero.hero-with-bg {
    position: relative;
    background: url("/assets/img/Backgrounds/main.webp") no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

#hero h2 {
    color: #ffffff !important;
}

/* ABOUT US button custom style */
.btn-about-us {
    background-color: #915a9f !important;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.btn-about-us:hover {
    background-color: #7b4d87;
    color: #fff;
}

/* Slight dark overlay */
#hero.hero-with-bg .hero-background-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.60);
    z-index: 1;
}

/* Keep content above overlay */
#hero .container {
    position: relative;
    z-index: 2;
}

/* Make SVG wave appear above hero background but below content */
#hero svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
}

/* About Section */
.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #30bdcc;
}

/* Background image banner */
.about-image-banner {
    position: relative;
    background: url("/assets/img/Backgrounds/background1.webp") no-repeat center center / cover;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
}

/* Dark overlay for readability */
.about-image-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.about-image-banner .overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 40px;
    max-width: 900px;
}

.section-icon {
    display: block;
    margin: 0 auto 15px auto;
    width: 60px;
    height: auto;
}

/* Shared styles for dual images */
.about-dual-image {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 230px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Dark overlay for readability */
.about-dual-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.about-dual-image .overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 30px;
}

.about-image-banner h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.about-image-banner p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #f5f5f5;
}

.about-dual-image h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.about-dual-image p {
    font-size: 1rem;
    line-height: 1.6;
    color: #f5f5f5;
}

/* Portfolio Image Standardization */
.portfolio-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-actions {
    display: flex;
    gap: 15px;
}

.portfolio-actions .preview-link,
.portfolio-actions .details-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 18px;
}

.portfolio-actions .preview-link:hover,
.portfolio-actions .details-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: scale(1.1);
}

.portfolio-caption {
    padding: 20px 15px;
    text-align: center;
    background: white;
    border-radius: 0 0 8px 8px;
}

.category-name {
    color: #b865a3;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    font-family: "Jost", sans-serif;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.portfolio-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Work Showcase Section */
.work-item {
    width: 180px;
    height: auto;
    margin: 0 auto;
}

.work-image {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-work-items {
    width: 100%;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px 0;
}

.no-work-items p {
    font-size: 1.1rem;
    margin: 0;
    color: #666;
}

.work-gallery {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.work-gallery::-webkit-scrollbar {
    display: none;
}

/* Client Logos */
.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-logo-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.client-logo-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
    opacity: 0.9;
}
/* === FORCE the exact hover + download design (final override) === */

/* Card container + image */
.portfolio-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-image-container:hover .portfolio-image {
  transform: scale(1.05);
}

/* Purple overlay (same-same design) */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(145, 90, 159, 0.85); /* #915A9F @ 85% */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 10px;
  z-index: 1; /* below the download icon */
}
.portfolio-image-container:hover .portfolio-overlay {
  opacity: 1;
}

/* "See All Products" link */
.see-products-link {
  color: #fff !important;
  font-weight: 700;
  text-decoration: underline;
  padding: 8px 18px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.25s ease;
}
.see-products-link:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

/* Round download icon (bottom-right) */
.download-icon-link {
  position: absolute; /* you already add .position-absolute in markup; this is a safety net */
  bottom: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff !important;
  font-size: 1.2rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
  z-index: 2; /* above overlay */
  text-decoration: none;
}
.download-icon-link:hover {
  background-color: rgba(145, 90, 159, 0.9); /* same purple on hover */
  transform: translateY(-1px);
}
.download-icon-link i {
  line-height: 1;
  font-size: 1.1rem;
}

/* Hero Buttons */
.hero-with-bg .container {
    position: relative;
    z-index: 2;
}

.hero-with-bg h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 1.2;
}

.hero-with-bg p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    font-weight: 400;
}

.hero-with-bg .btn-about-us,
.hero-with-bg .btn-contact-us {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-with-bg .btn-about-us:hover,
.hero-with-bg .btn-contact-us:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .client-logo-item img {
        max-height: 90px;
    }
}

@media (max-width: 992px) {
    .portfolio-image-container {
        height: 250px;
    }

    .category-name {
        font-size: 1.1rem;
    }

    .portfolio-caption {
        padding: 15px 10px;
    }

.trusted-logos-grid{
  grid-auto-rows: 160px;            /* desktop row height */
  align-items: start;               /* keep logos top-aligned inside their cells */
  min-height: 520px;                /* reserve overall section height to avoid early jumps */
}

    .client-logo-item img {
        max-height: 80px;
    }
}

@media (max-width: 768px) {
    .hero-with-bg {
        background-attachment: scroll;
        min-height: 80vh;
    }

    .hero-with-bg h1 {
        font-size: 2.5rem;
    }

    .hero-with-bg p {
        font-size: 1.1rem;
    }

    .hero-with-bg .btn-about-us,
    .hero-with-bg .btn-contact-us {
        padding: 12px 25px;
        font-size: 13px;
    }

    .trusted-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .client-logo-item img {
        max-height: 70px;
    }
}

@media (max-width: 576px) {
    .portfolio-image-container {
        height: 200px;
    }

    .category-name {
        font-size: 1rem;
    }

    .portfolio-caption {
        padding: 12px 8px;
    }

    .portfolio-actions .preview-link,
    .portfolio-actions .details-link {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .hero-with-bg h1 {
        font-size: 2rem;
    }

    .hero-with-bg p {
        font-size: 1rem;
    }

    .hero-with-bg .d-flex {
        flex-direction: column;
        gap: 15px !important;
    }

    .hero-with-bg .btn-about-us,
    .hero-with-bg .btn-contact-us {
        text-align: center;
        padding: 12px 20px;
    }

    .trusted-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }

    .client-logo-item img {
        max-height: 60px;
    }
}

@media (max-width: 400px) {
    .trusted-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }

    .client-logo-item img {
        max-height: 50px;
    }
}
/* If JS is blocked or AOS fails, show content normally */
html.no-js [data-aos],
html.aos-disabled [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Basic safety for images in the gallery */
.work-image picture, .work-image img {
  display: block;
  width: 100%;
  height: auto;
}



