@font-face {
    font-family: "Montserrat-Light";
    src: url(../fonts/montserrat/Montserrat-Light.ttf);
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url(../fonts/montserrat/Montserrat-Regular.ttf);
}

@font-face {
    font-family: "Montserrat-Medium";
    src: url(../fonts/montserrat/Montserrat-Medium.ttf);
}

@font-face {
    font-family: "Montserrat-SemiBold";
    src: url(../fonts/montserrat/Montserrat-SemiBold.ttf);
}

@font-face {
    font-family: "Montserrat-Bold";
    src: url(../fonts/montserrat/Montserrat-Bold.ttf);
}


@font-face {
    font-family: "Montserrat-ExtraBold";
    src: url(../fonts/montserrat/Montserrat-ExtraBold.ttf);
}

@font-face {
    font-family: "Montserrat-Black";
    src: url(../fonts/montserrat/Montserrat-Black.ttf);
}

@font-face {
    font-family: "NotoNastaliqUrdu-Regular";
    src: url(../fonts/noto-nastaliq-urdu/NotoNastaliqUrdu-Regular.ttf);
}

@font-face {
    font-family: "NotoNastaliqUrdu-Medium";
    src: url(../fonts/noto-nastaliq-urdu/NotoNastaliqUrdu-Medium.ttf);
}

@font-face {
    font-family: "NotoNastaliqUrdu-SemiBold";
    src: url(../fonts/noto-nastaliq-urdu/NotoNastaliqUrdu-SemiBold.ttf);
}

@font-face {
    font-family: "NotoNastaliqUrdu-Bold";
    src: url(../fonts/noto-nastaliq-urdu/NotoNastaliqUrdu-Bold.ttf);
}

/* Font Classes */
.fc-montserrat-medium {
    font-family: "Montserrat-Medium", "Poppins", sans-serif !important;
}

.fc-montserrat-semibold {
    font-family: "Montserrat-SemiBold", "Poppins", sans-serif !important;
}

.fc-montserrat-bold {
    font-family: "Montserrat-Bold", "Poppins", sans-serif !important;
}

.fc-noto-nastaliq-urdu-regular {
    font-family: "NotoNastaliqUrdu-Regular", "Poppins", sans-serif !important;
}

.fc-noto-nastaliq-urdu-medium {
    font-family: "NotoNastaliqUrdu-Medium", "Poppins", sans-serif !important;
}

.fc-noto-nastaliq-urdu-semibold {
    font-family: "NotoNastaliqUrdu-SemiBold", "Poppins", sans-serif !important;
}

.fc-noto-nastaliq-urdu-bold {
    font-family: "NotoNastaliqUrdu-Bold", "Poppins", sans-serif !important;
}

/* Animations */

.slide-right {
    -webkit-animation: slide-right 3s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    infinite both;
    animation: slide-right 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite both;
}

@-webkit-keyframes slide-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    50% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes slide-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    50% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

:root {
    --primary-color: #26a9e1;
    --secondary-color: #4f4f4f;
    --dark-color: #000;
    --bluish-dark-color: #333b4a;
    --light-color: #fff;
    --bg-color: #f5f5f5;
}



.break-above-768{
    display: none;
}

.color-primary {
    color: var(--primary-color) !important;
}

.divider{
    border: none;
    border-top: 1px solid #ccc; /* or any color you prefer */
    margin: 20px 0; /* adjust spacing as needed */
    width: 100%;
}

.breadcrumb{
    position: absolute;
    background: transparent;
    padding: 0;
    margin-top: 80px;
    /*margin-left: -85px;*/
    z-index: 9;
}

.breadcrumb-rtl {
    position: absolute;
    background: transparent;
    padding: 0;
    margin-top: 120px;
    right: 85px; /* Position 85px from the right edge */
    z-index: 9;
    display: inline-flex
}


@media (max-width: 991px) {
    .breadcrumb{
        /*margin-top: -30px;*/

    }

    .breadcrumb-neg{
        margin-top: -17px;
    }

    /*.breadcrumb-neg-more{*/
    /*    margin-top: -70px;*/
    /*}*/
}

@media (max-width: 768px) {
    .breadcrumb-neg-more{
        margin-top: -70px;
    }
}

.breadcrumb-item a {
        color: var(--dark-color);
        text-decoration: none;
    }

.breadcrumb-item.active a {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.main-margin-top{
    margin-top: 80px;
}

.main-margin-top-extra{
    margin-top: 120px;
}

.main-margin-top-extra-relations{
    margin-top: 220px;
}

@media (max-width: 992px) {
    .main-margin-top{
        margin-top: 90px;
    }

}

@media (max-width: 767px) {
    .main-margin-top{
        margin-top: 150px;
    }

}





/* On screens up to 768px (common breakpoint for tablets/mobile), show the line break */
@media (min-width: 768px) {
    .break-above-768 {
        display: block; /* Makes the <br> functional */
    }
}

.text-justify {
    text-align: justify !important;
}


/* Best approach - works for all logo types */
.logo-slider .logo-item,
.logo-slider .med-logo-item,
.logo-slider .big-logo-item {
    width: 200px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    /*background-color: #f8f9fa; !* Light background for contrast *!*/
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Create black effect using CSS blend mode */
.logo-slider .logo-item img,
.logo-slider .med-logo-item img,
.logo-slider .big-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    /* Create black effect while preserving transparency */
    /*filter: grayscale(100%) sepia(100%) hue-rotate(180deg) saturate(0%);*/

    opacity: 1;
    transition: all 0.4s ease;
}

/* Hover - show original */
.logo-slider .logo-item:hover img,
.logo-slider .med-logo-item:hover img,
.logo-slider .big-logo-item:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* Alternative: Pure CSS grayscale that's more controlled */
.logo-slider .logo-item img,
.logo-slider .med-logo-item img,
.logo-slider .big-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    /* This preserves transparency better */
    filter: grayscale(100%) contrast(1);
    opacity: 1;
    transition: all 0.4s ease;
}

.logo-slider .big-logo-item img {
    width: 90%;
    height: 90%;
}


@media screen and (min-width: 992px) {
    .st-vision-text {
        padding-left: 120px;
        padding-right: 80px;
        /*text-align: justify;*/
    }
}

p{
    font-size: 14px;
    color: #333333;
}
.st-font-size{
    font-size: 16px;
}

body {
    font-family: "Montserrat-Light", "Poppins", sans-serif;
    overflow-x: hidden;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.lead {
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 600;
    color: #333333;
}

.bg-color {
    --bs-bg-opacity: 1;
    background-color: var(--bg-color) !important;
}

/* Top Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar .nav-item a.nav-link {
    color: #fff;
}


.navbar-white {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-plain {
    background-color: white;
}

.navbar-plain .nav-link {
    color: var(--dark-color) !important;
}

.navbar-plain .navbar-toggler {
    color: var(--dark-color);
}

.navbar-plain .navbar-brand {
    display: none;
}

.navbar-plain .navbar-brand-black {
    display: block;
}

.navbar-white .nav-link {
    color: var(--dark-color) !important;
}

.navbar-brand {
    display: block;
}

.navbar-brand img {
    height: 30px;
    transition: all 0.3s ease;
}

.navbar-white .navbar-brand {
    display: none;
}

/* .navbar-white .navbar-brand img {
  filter: brightness(0);
} */

.navbar-brand-black {
    display: none;
}

.navbar-brand-black img {
    height: 30px;
    transition: all 0.3s ease;
}

.navbar-white .navbar-brand-black {
    display: block;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
}

/* @media only screen and (max-width: 992.99px) {
  .navbar-brand {
    display: none;
  }

  .navbar-brand-black {
    display: block;
  }
} */

/* Navbar toggler for small screen*/
.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
    outline: none;
    color: var(--light-color);
}

.navbar-white .navbar-toggler {
    color: var(--dark-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: none;
    width: 1.5em;
    height: 1.5em;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon i {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .bi-list {
    opacity: 0;
    transform: rotate(90deg);
}

.navbar-toggler[aria-expanded="false"] .bi-x {
    opacity: 0;
    transform: rotate(-90deg);
}

.navbar-toggler .bi-x {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .bi-x {
    opacity: 1;
    transform: rotate(0deg);
}

/* Overlay Menu */
/* .overlay {
  height: 0;
  width: 100%;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.98);
  overflow-x: hidden;
  transition: height 0.5s ease;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 12px;
  text-decoration: none;
  font-size: 1.8rem;
  color: #f8f9fa;
  display: block;
  transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
  color: #0d6efd;
  transform: scale(1.05);
}

.overlay .closebtn {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 40px;
  color: #f8f9fa;
}

.navbar-toggler {
  border: none;
  background: transparent !important;
}

.navbar-toggler:focus {
  box-shadow: none;
} */

.overlay {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.98);
    overflow-x: hidden;
    transition: height 0.5s ease;
}

.overlay-content {
    position: relative;
    top: 20%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 12px;
    text-decoration: none;
    font-size: 1.8rem;
    color: #f8f9fa;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: var(--primary-color);
    transform: scale(1.05);
}

.overlay .closebtn {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #f8f9fa;
}

.navbar-toggler {
    border: none;
    background: transparent !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Submenu styles */
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.submenu.active {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.submenu a {
    font-size: 1.5rem;
    color: #ccc;
    padding: 10px 20px;
}

.submenu a:hover {
    color: #0d6efd;
    transform: scale(1.02);
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-item {
    position: relative;
}

.menu-item .submenu-toggle {
    position: absolute;
    right: 20%;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #f8f9fa;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.menu-item .submenu-toggle:hover {
    color: #0d6efd;
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-item .submenu-toggle.rotated {
    transform: translateY(-50%) rotate(180deg);
}

/* Hide overlay toggle on large screens */
@media (min-width: 992px) {
    .overlay-toggle {
        display: none !important;
    }

    .desktop-menu {
        display: flex !important;
    }
}

/* Show overlay toggle on small screens */
@media (max-width: 991.98px) {
    .desktop-menu {
        display: none !important;
    }

    .overlay-toggle {
        display: block !important;
    }
}

/* Homepage Hero Section */

.hero-section {
    position: relative;
    min-height: 400px;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
}

.scroll-down img {
    height: 40px;
    margin-bottom: 10px;
    color: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.icon-box {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.icon-box img {
    width: 80px;
    height: 80px;
}

.icon-box:hover {
    transform: translateY(-10px);
}

.icon-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.icon-box h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

/* .product-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 8px;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
} */

/* Products Card */
.card-container {
    margin-bottom: 2rem;
}

.card-wrapper {
    position: relative;
    overflow: hidden;
    /* border-radius: 10px; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
    transition: transform 0.3s ease;
}

.card-wrapper:hover {
    transform: translateY(-5px);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.card-wrapper:hover .card-bg {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.7)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    transition: background 0.5s ease;
}

.card-wrapper:hover .card-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.9)
    );
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.5s ease;
    font-family: "Montserrat-Medium", "Poppins", sans-serif;
}

.card-desc {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    max-height: 0;
    color: white;
}

.card-wrapper:hover .card-title {
    transform: translateY(0);
}

.card-wrapper:hover .card-desc {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
}

.card-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    align-self: flex-end;
}

.card-wrapper:hover .card-btn {
    opacity: 1;
    transform: translateY(0);
}

.card-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Impact */
.impact-section {
    background-image: url("../img/misc/mountains.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.impact-heading {
    color: white;
    margin-top: -105px;
    font-size: 110px;
    vertical-align: middle;
    display: inline-block;
}

@media (max-width: 768px) {
    .impact-heading {
        font-size: 80px;
        margin-top: -75px;
    }
}

@media (max-width: 576px) {
    .impact-section {
        background-size: contain;
        height: 400px;
    }

    .impact-heading {
        font-size: 50px;
        margin-top: -150px;
    }
}

.counter-section {
    background-color: white;
    margin-top: -150px;
}

.counter-card {
    border-radius: 10px;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
}
/* .counter-card:hover {
            transform: translateY(-5px);
        } */
.profile-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.profile-icon img {
    width: 60px;
    height: 60px;
}

.counter-card-content {
    padding: 15px;
    display: flex;
    align-items: center;
    height: 100%;
}
.text-primary {
    color: #6c5ce7 !important;
}

@media (min-width: 768px) {
    .sustainable-world {
        max-width: 400px;
    }
}

/* .impact-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.impact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.impact-box i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
} */

.impact-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

/* footer {
  background-color: var(--bluish-dark-color);
  padding: 60px 0 30px;
  color:white;
}

footer a {

}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  background: var(--dark-color);
} */

/* Mega menu */
.mega-menu {
    width: 90%;
    left: 80% !important;
    right: 5% !important;
    padding: 0px;
    border-radius: 0px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    margin-top: 10px;
}

.mega-menu-purpose {
    left: -21% !important;
}

.mega-menu-section {
    /* padding: 0; */
    margin-left: 12px;
}

.mega-menu-column-left {
    padding: 50px 15px 15px 50px;
    border-right: 1px solid #E0E0E0;
}

.mega-menu-column-right {
    padding: 25px 50px 25px 25px;
}

.mega-menu-row {
    border-top: 1px solid #E0E0E0;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 12px;
    transition: all 0.3s;
}

.menu-list li a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s;
    font-weight: 500;
}

.menu-list li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.featured-heading {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* .featured-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  transition: transform 0.3s;
  height: 200px;
  width: 300px;
} */

/* .featured-image {
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.3s;
  height: 200px;
  width: 300px;
  background-size: cover;
  background-position: center;
} */

.featured-image {

    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: transform 0.3s;
    height: 150px;
    width: 100%;

}



.featured-image:hover {
    transform: translateY(-5px);
}
/*
.featured-image img {
  width: 100%;
  height: auto;
} */

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
}

.social-icons-top {
    display: flex;
    gap: 10px;
}

.social-icons-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--dark-color);
    border-radius: 50%;
    color: var(--light-color);
    transition: all 0.3s;
    text-decoration: none;
    outline: 0;
    cursor: auto;
}

.social-icons-top a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.careers-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.careers-link:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

.careers-link-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
}

@media (min-width: 992px) {
    .mega-menu.show {
        min-width: 600px;
    }

    /* .dropdown-menu.mega-menu {
            left: auto;
            right: 0;
            transform: none !important;
          }

          /* For dropdowns that would go off-screen */
    .dropdown-menu.mega-menu.dropdown-menu-end {
        right: -164% !important;
        left: auto !important;
    }

    .dropdown-menu.mega-menu.dropdown-menu-start {
        left: 0 !important;
        right: auto !important;
    }
}

/* @media (max-width: 991.98px) {
  .navbar-collapse {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
  }

  .fixed-top {
    position: relative;
  }

  .navbar .nav-item a.nav-link {
    color: black;
  }
} */

/* Search  */

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 80%;
    max-width: 700px;
    position: relative;
}

.search-input-group {
    position: relative;
    display: flex;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.search-overlay .form-control {
    height: 50px;
    font-size: 1.2rem;
    padding: 1rem 1.2rem;
    border: none;
    border-radius: 0;
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.95);
}

.search-overlay .form-control:focus {
    box-shadow: none;
    outline: none;
}

.search-overlay-btn {
    height: 50px;
    width: 100px;
    background: linear-gradient(90deg, #26a9e1 0%, #333b4a 100%);
    color: white;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-overlay-btn:hover {
    background: linear-gradient(90deg, #333b4a 0%, #26a9e1 100%);
}

.close-button {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1090;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-button:hover {
    color: white;
    transform: scale(1.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 5;
    color: #6c757d;
}

/* .search-results {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
  padding: 1.5rem;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

.search-results.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.result-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.2s;
}

.result-item:hover {
  background-color: #f8f9fa;
}

.result-item:last-child {
  border-bottom: none;
} */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* .popular-searches {
  margin-top: 2rem;
  color: white;
}

.popular-badge {
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.popular-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3) !important;
} */

/* Video Player */
.video-container {
    border-radius: 0px;
    overflow: hidden;
    /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); */
    transition: transform 0.3s ease;
    position: relative;
}

.video-container:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    cursor: pointer;
    background: #000;
}

.video-thumbnail {
    width: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

.video-thumbnail-about-us {
    /*width: 100%;*/
    /*height: 500px;*/
    /*max-width: 600px;*/
    /*width: 600px;*/

    width: 100%;
    height: 100%;
    display: block;
    transition: opacity 0.3s ease;

    object-fit: cover;
    object-position: center;

    /*max-height: 200px;*/
    /*max-width: 200px;*/
    /*overflow: hidden;*/
    /*object-position: 30% 30%;*/
}


@media only screen and (min-width: 768px) {
    .video-thumbnail {
        /*width: 100%;*/
        height: 360px;
        /*max-width: 600px;*/
        /*width: 600px;*/
        display: block;
        transition: opacity 0.3s ease;

        object-fit: cover;
        object-position: center;

        /*max-height: 200px;*/
        /*max-width: 200px;*/
        /*overflow: hidden;*/
        /*object-position: 30% 30%;*/
    }

    .video-thumbnail-about-us {
        /*width: 100%;*/
        height: 500px;
        /*max-width: 600px;*/
        /*width: 600px;*/

        width: 100%;
        /*height: 100%;*/
        display: block;
        transition: opacity 0.3s ease;

        object-fit: cover;
        object-position: center;

        /*max-height: 200px;*/
        /*max-width: 200px;*/
        /*overflow: hidden;*/
        /*object-position: 30% 30%;*/
    }

}

@media screen and (min-width: 992px) {
    .vision-text {
        padding-left: 90px;
        padding-right: 100px;
        /*text-align: justify;*/
        /*font-size: 16px;*/
    }
}


.video-player {
    width: 100%;
    display: none;
}

.video-player-box {
    width: 100%;
    height: 470px;
    cursor: pointer;

    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.video-wrapper:hover .play-button {
    color: #fff;
    font-size: 75px;
}

/* Video controls overlay */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 15px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.video-wrapper:hover .video-controls,
.video-controls.active {
    opacity: 1;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.progress-container {
    flex-grow: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin: 0 15px;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: #3498db;
    width: 0%;
    border-radius: 5px;
    transition: width 0.2s ease;
}

.time-display {
    color: white;
    font-size: 14px;
    margin: 0 10px;
    min-width: 100px;
    text-align: center;
}

.volume-control {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.volume-slider {
    width: 80px;
    margin-left: 10px;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
}

/* Team Section Homepage */
.team-image-warapper {
    max-height: 500px;
    max-width: 1000px;
    overflow: hidden;
    object-position: 30% 70%;
}

.team-image {
    object-position: 30% 70%;
}

/* Custom Buttons */

.btn-more-text{
    text-decoration:none;
    color: var(--dark-color);
    font-family: "Montserrat-SemiBold", "Poppins", sans-serif !important;
    font-weight: 900;
}

.btn-more-text:hover{
    color: var(--primary-color);
}

.btn-outline-bluish-dark {
    color: var(--bluish-dark-color);
    border-color: var(--bluish-dark-color);
}

.btn-outline-bluish-dark:hover {
    background-color: var(--bluish-dark-color);
    color: var(--primary-color);
}

.btn-custom-filled-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
}

.btn-custom-filled-primary:hover {
    background-color: #1e8cbb;
    border-color: #1e8cbb;
    color: var(--light-color);
}

.btn-bluish-dark-filled {
    background-color: var(--bluish-dark-color);
    border-color: var(--bluish-dark-color);
    color: var(--light-color);
}

.btn-bluish-dark-filled:hover {
    background-color: #1e8cbb;
    border-color: #1e8cbb;
    color: var(--light-color);
}

/* Services Section Home Page */
.services-section {
    color: black;
}

/* Homepage Carasoul */
.carousel-content {
    padding-left: 15px;
}
.owl-carousel-services .item {
    border-radius: 0px;
    overflow: hidden;
}
.owl-carousel-services .item img {
    border-radius: 0px;
    height: 300px;
    object-fit: cover;
}
.owl-theme .owl-nav {
    margin-top: 15px;
}
.owl-theme .owl-nav [class*="owl-"] {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
}
.owl-theme .owl-nav [class*="owl-"]:hover {
    background: var(--primary-color) !important;
}

.owl-nav .owl-next,
.owl-nav .owl-prev {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
.owl-nav .owl-next {
    right: 0;
    display: flex;
    margin-right: 2%;
    font-size: 25px !important;
}
.owl-nav .owl-prev {
    left: 0;
    display: flex;
    margin-left: 2%;
    font-size: 25px !important;
}

.owl-stage {
    padding-left: 0px !important;
}

/* News and Events */
.news-container {
    margin-top: 20px;
    /* background: white;
              border-radius: 10px;
              box-shadow: 0 0 15px rgba(0,0,0,0.1);
              padding: 30px;
              margin-top: 20px; */
}
.news-item {
    /* border-bottom: 1px solid #eee; */
    padding: 25px 0;
    transition: transform 0.3s;
}

@media screen and (min-width: 992px) {
    .news-item .news-text {
        padding-left: 100px;
        padding-right: 200px;
    }
}
/* .news-item:hover {
            transform: translateY(-5px);
        } */
.news-item:last-child {
    border-bottom: none;
}
/* .news-img {
   border-radius: 8px;
   object-fit: cover;
   max-width: 360px;
  max-width: 100%;
} */
.news-img-wrapper {
    position: relative;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
}
.news-title {
    color: #212529;
    font-weight: 600;
    margin: 10px 0;
    transition: color 0.3s;
}
.news-title:hover {
    color: var(--primary-color);
}
.news-description {
    color: #495057;
    line-height: 1.6;
}
/* .news-badge {
  position: absolute;
  top: 15px;
  right: 15px;
} */
.news-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
}

.ratio-content {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ratio-content img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or 'contain' based on your needs */
}


/* Footer */
.footer {
    color: var(--secondary-color);
    padding: 3rem 0px 0rem 0px;
}

.footer-heading {
    color: var(--dark-color);
    /*font-weight: 600;*/
    font-family: "Montserrat-SemiBold", "Poppins", sans-serif;
    margin-bottom: 1.5rem;
}

.footer-link {
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-link a{
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-link a:hover {
    color: var(--primary-color);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--dark-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

a.social-icon {
    text-decoration: none;
    color: var(--light-color);

    outline: 0;
    cursor: auto;
}


.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: var(--bluish-dark-color);
}


/********** Hosiery Page **********/

/* CSS for maintaining 16:9 aspect ratio */
.hosiery-main .ratio-16x9 {
    /*padding-top: 56.25%; !* 9/16 = 0.5625 *!*/
}


.hosiery-main .ratio-container {
    position: relative;
    width: 100%;
}

/*.hosiery-main .ratio-content {*/
/*    !*position: absolute;*!*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*}*/

.hosiery-main .ratio-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



@media only screen and (min-width: 768px) {
    .hosiery-main .ratio-section-padding-right {
        padding-right: 100px;
        padding-left: 100px;
    }

    .hosiery-main .ratio-section-padding-left {
        padding-left: 90px;
    }
}


.hosiery-main .top-margin{
    margin-top: 70px;
}


.hosiery-main .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /*background-color: var(--gray-color);*/
    position: relative;
    color: var(--secondary-color);
}

.hosiery-main .hero-content {
    padding: 60px 0;
}

/*.hosiery-main .breadcrumb {*/
/*    background: transparent;*/
/*    padding: 0;*/
/*    !*margin-bottom: 30px;*!*/
/*    position: absolute;*/
/*    margin-top: 70px;*/
/*    z-index: 100;*/
/*}*/


/*.hosiery-main .breadcrumb-item a {*/
/*    color: var(--dark-color);*/
/*    text-decoration: none;*/
/*}*/

.hosiery-main .hero-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 65%;
    object-fit: cover;
}

/*.hosiery-main .section-title {*/
/*    font-weight: 700;*/
/*    margin-bottom: 20px;*/
/*    position: relative;*/
/*}*/

/*.hosiery-main .section-title:after {*/
/*    content: '';*/
/*    display: block;*/
/*    width: 60px;*/
/*    height: 3px;*/
/*    background-color: var(--primary-color);*/
/*    margin-top: 10px;*/
/*}*/

.hosiery-main .about-section, .hosiery-main .products-section, .hosiery-main .services-section {
    padding: 50px 0;
}

.hosiery-main .service-box {
    padding: 30px;
    border-radius: 0px;
    background-color: white;
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.05);*/
    height: 100%;
    transition: all 0.3s ease;
}

/*.hosiery-main .service-box:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 15px 30px rgba(0,0,0,0.1);*/
/*}*/

.hosiery-main .contact-padding{
    padding: 50px
}

.hosiery-main .service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hosiery-main .client-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hosiery-main .client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.hosiery-main .certification-logo {
    max-height: 100px;
    margin: 15px auto;

    /*object-fit: contain;*/
    /*object-position: center;*/
    opacity: 1;
    transition: all 0.4s ease;
    filter: grayscale(100%) contrast(1);
}

.hosiery-main .certification-logo:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.05);

}

.hosiery-main .contact-section {
    /*background-color: var(--gray-color);*/
    padding-top: 10px;
    padding-bottom: 80px;
}

.hosiery-main .trusted-section{
    padding-top: 50px;
    padding-bottom: 50px;
}

.hosiery-main .stories-section {
    padding: 100px 0;
}

.hosiery-main .story-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.hosiery-main .story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.hosiery-main .story-image {
    height: 200px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .hosiery-main .hero-section {
        margin-top: 100px;
        display: flex;
        flex-direction: column;
    }

    .hosiery-main .container {
        order: 1;
    }

    .hosiery-main .hero-image {
        order: 2;
        position: relative;
        width: 100%;
        height: 400px;
        display: block !important;
        margin-top: 20px;
    }

    /*.hosiery-main .hero-image {*/
    /*    position: relative;*/
    /*    width: 100%;*/
    /*    height: 400px;*/

    /*    display: block !important; !* Force display *!*/
    /*    visibility: visible !important; !* Force visibility *!*/
    /*}*/

    .hosiery-main .hero-content {
        padding: 40px 0;
    }

    .hosiery-main .about-section, .hosiery-main .products-section, .hosiery-main .services-section,
    .hosiery-main .contact-section, .hosiery-main .stories-section {
        padding-top: 10px;
        padding-bottom: 80px;
    }
}

@media only screen and (min-width: 768px) {
    .padding-hosiery-text {
        padding-left: 100px;
        padding-right: 130px;
    }

}



.image-accordion-section {
    padding: 80px 0;
}

.image-accordion-header {
    text-align: center;
    margin-bottom: 40px;
}

.image-accordion-header h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.image-accordion-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Image Accordion Styles */
.image-accordion {
    display: flex;
    height: 370px;
    gap: 10px;
    margin-bottom: 10px;
}

.accordion-item {
    position: relative;
    flex: 1;
    /*border-radius: 15px;*/
    border-radius: 0 !important;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion-item.active {
    flex: 3;
}

.accordion-item:hover {
    flex: 3;
}

.accordion-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.accordion-item:hover .accordion-image,
.accordion-item.active .accordion-image {
    transform: scale(1.05);
}

.accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    opacity: 0;
}

.accordion-item:hover .accordion-content,
.accordion-item.active .accordion-content {
    transform: translateY(0);
    opacity: 1;
}

.accordion-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.accordion-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 90%;
}

.accordion-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
}

.accordion-item:hover .accordion-badge,
.accordion-item.active .accordion-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .image-accordion {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .image-accordion {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }

    /*.accordion-item {*/
    /*    height: 300px;*/
    /*}*/

    .accordion-content {
        padding: 20px;
    }

    .accordion-content h3 {
        font-size: 1.5rem;
    }
}


/******* About Us page **********/

/* Hero section */
.about-main .hero-section-about {
    color: var(--secondary-color);
}

.about-main .about-us-text-padding{
    padding-left: 100px;
    padding-right: 100px;
}

.about-main .about-us-text-padding-how-we-do{
    padding-left: 250px;
    padding-right: 50px;
}

.about-main .about-us-text-less-padding{
    padding-left: 50px;
    padding-right: 50px;
}

.about-main .about-us-text-less-padding-how-we-do{
    padding-left: 50px;
    padding-right: 170px;
}

@media (max-width: 1399px) {
    .about-main .about-us-text-padding{
        padding-left: 50px;
        padding-right: 50px;
    }

    .about-main .about-us-text-padding-how-we-do{
        padding-left: 50px;
        padding-right: 50px;
    }

    .about-main .about-us-text-less-padding{
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-main .about-us-text-less-padding-how-we-do{
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 991px) {
    .about-main .about-us-text-padding{
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-main .about-us-text-padding-how-we-do{
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Global footprint */
.about-main .global-footprint {
    padding: 50px 0;
}

/* Video section */
.about-main .video-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.about-main .video-placeholder {
    position: relative;
    cursor: pointer;
}

.about-main .video-placeholder .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
}


/******* Full Family Clothing ********/
/* Video section */
.full-family-clothing-main .video-container {
    position: relative;
    overflow: hidden;
}

.full-family-clothing-main .video-thumbnail {
    width: 100%;
    height: auto;
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    .full-family-clothing-main .video-thumbnail {
        /*width: 550px;*/
        width: 100%;
        height: 470px;
        /*height: auto;*/
        cursor: pointer;
    }

    .full-family-clothing-main .video-text{
        padding-left: 100px;
        padding-right: 110px;
    }

}

.full-family-clothing-main .card-section-title{
    font-size: 24px;
    /*font-weight: 700;*/
    margin-bottom: 1.5rem;
    font-family: "Montserrat-SemiBold", "Poppins", sans-serif;
    text-decoration: none;
}

.full-family-clothing-main .card-section-title:hover{
    color: var(--primary-color);
}

.full-family-clothing-main .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.full-family-clothing-main .video-play-btn i {
    color: white;
    font-size: 30px;
}

/* Product categories */
.full-family-clothing-main .product-category {
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.full-family-clothing-main .product-category:hover {
    transform: translateY(-10px);
}

.full-family-clothing-main .product-category img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.full-family-clothing-main .hoverEffectBlue a:hover {
    color: #26A9E1 !important;
}

/* Customer logos */
.full-family-clothing-main .greyScaleimages img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    opacity: 0.7;
}

.full-family-clothing-main .greyScaleimages img:hover {
    filter: grayscale(0);
    opacity: 1;
}


@media (max-width: 768px) {
    .full-family-clothing-main .product-category {
        margin-bottom: 20px;
    }

}


/********** Denim Page ************/
/*.denim-main .hero-section {*/
/*    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://denim2.interloop-pk.com/wp-content/uploads/2023/08/cover_11zon-1-683x1024.webp');*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    !*color: white;*!*/
/*    padding: 150px 0;*/
/*    color: var(--secondary-color);*/
/*}*/

/*.denim-main .section-title {*/
/*    font-weight: 700;*/
/*    margin-bottom: 30px;*/
/*    position: relative;*/
/*}*/

/*.denim-main .section-title:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -10px;*/
/*    left: 0;*/
/*    width: 50px;*/
/*    height: 3px;*/
/*    background-color: var(--primary-color);*/
/*}*/

/*.denim-main .feature-box {*/
/*    padding: 30px;*/
/*    border-radius: 10px;*/
/*    transition: all 0.3s ease;*/
/*    height: 100%;*/
/*}*/

/*.denim-main .feature-box:hover {*/
/*    transform: translateY(-10px);*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.denim-main .feature-icon {*/
/*    font-size: 40px;*/
/*    color: var(--primary-color);*/
/*    margin-bottom: 20px;*/
/*}*/

/*.denim-main .client-logo {*/
/*    filter: grayscale(100%);*/
/*    opacity: 0.7;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.denim-main .client-logo:hover {*/
/*    filter: grayscale(0%);*/
/*    opacity: 1;*/
/*}*/

/*!********* Apparel Page **********!*/
/*.apparel-main .hero-section {*/
/*    min-height: 100vh;*/
/*    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://apparel.interloop-pk.com/wp-content/uploads/2023/08/cover_11zon-1-1-1-683x1024.webp') no-repeat center center/cover;*/
/*    !*color: white;*!*/
/*    display: flex;*/
/*    align-items: center;*/
/*    color: var(--secondary-color);*/
/*}*/

/*.apparel-main .breadcrumb {*/
/*    background: transparent;*/
/*    margin-bottom: 20px;*/
/*}*/

/*.apparel-main .breadcrumb-item a {*/
/*    color: var(--light-color);*/
/*    text-decoration: none;*/
/*}*/

/*.apparel-main .section-title {*/
/*    position: relative;*/
/*    margin-bottom: 30px;*/
/*    font-weight: 700;*/
/*}*/

/*.apparel-main .section-title:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -10px;*/
/*    left: 0;*/
/*    width: 50px;*/
/*    height: 3px;*/
/*    background-color: var(--primary-color);*/
/*}*/

/*.apparel-main .btn-primary {*/
/*    background-color: var(--primary-color);*/
/*    border-color: var(--primary-color);*/
/*    padding: 10px 25px;*/
/*    border-radius: 30px;*/
/*    font-weight: 500;*/
/*}*/

/*.apparel-main .btn-primary:hover {*/
/*    background-color: #1e8cbb;*/
/*    border-color: #1e8cbb;*/
/*}*/

/*.apparel-main .btn-outline-primary {*/
/*    color: var(--primary-color);*/
/*    border-color: var(--primary-color);*/
/*    padding: 10px 25px;*/
/*    border-radius: 30px;*/
/*    font-weight: 500;*/
/*}*/

/*.apparel-main .btn-outline-primary:hover {*/
/*    background-color: var(--primary-color);*/
/*    color: white;*/
/*}*/

/*.apparel-main .service-box {*/
/*    padding: 30px;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 5px 15px rgba(0,0,0,0.05);*/
/*    transition: all 0.3s ease;*/
/*    height: 100%;*/
/*}*/

/*.apparel-main .service-box:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 15px 30px rgba(0,0,0,0.1);*/
/*}*/

/*.apparel-main .service-icon {*/
/*    font-size: 40px;*/
/*    color: var(--primary-color);*/
/*    margin-bottom: 20px;*/
/*}*/

/*.apparel-main .client-logo {*/
/*    filter: grayscale(100%);*/
/*    opacity: 0.7;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.apparel-main .client-logo:hover {*/
/*    filter: grayscale(0%);*/
/*    opacity: 1;*/
/*}*/

/*.apparel-main .certification-logo {*/
/*    max-height: 80px;*/
/*    margin: 15px auto;*/
/*    display: block;*/
/*}*/

/*!* Responsive adjustments *!*/
/*@media (max-width: 768px) {*/
/*    .apparel-main .hero-section {*/
/*        min-height: 80vh;*/
/*    }*/

/*    .apparel-main .section-title {*/
/*        font-size: 24px;*/
/*    }*/
/*}*/


/*!****** Activewear page ******!*/
/*!* Hero Section *!*/
/*.activewear-main .hero-section {*/
/*    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
/*    min-height: 80vh;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    color: var(--secondary-color);*/
/*}*/

/*.activewear-main .breadcrumb {*/
/*    background: transparent;*/
/*    padding: 0;*/
/*}*/

/*.activewear-main .breadcrumb-item a {*/
/*    color: #666;*/
/*    text-decoration: none;*/
/*}*/

/*.activewear-main .breadcrumb-item.active {*/
/*    color: #26a9e1;*/
/*}*/

/*!* Scroll Down *!*/
/*.activewear-main .scroll-down {*/
/*    position: absolute;*/
/*    bottom: 30px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    animation: bounce 2s infinite;*/
/*}*/

/*!*@keyframes bounce {*!*/
/*!*    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}*!*/
/*!*    40% {transform: translateY(-10px);}*!*/
/*!*    60% {transform: translateY(-5px);}*!*/
/*!*}*!*/

/*!* Content Sections *!*/
/*.activewear-main .section-title {*/
/*    color: #333;*/
/*    margin-bottom: 1.5rem;*/
/*    font-weight: 600;*/
/*}*/

/*.activewear-main .section-subtitle {*/
/*    color: #26a9e1;*/
/*    font-weight: 500;*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.activewear-main .content-box {*/
/*    padding: 2rem;*/
/*    background: white;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 5px 15px rgba(0,0,0,0.05);*/
/*    height: 100%;*/
/*}*/

/*!* Products Accordion *!*/
/*.activewear-main .accordion-item {*/
/*    border: none;*/
/*    margin-bottom: 10px;*/
/*}*/

/*.activewear-main .accordion-button {*/
/*    background: #f8f9fa;*/
/*    border: none;*/
/*    padding: 1.5rem;*/
/*    font-weight: 500;*/
/*}*/

/*.activewear-main .accordion-button:not(.collapsed) {*/
/*    background: #26a9e1;*/
/*    color: white;*/
/*}*/

/*!* Services Cards *!*/
/*.activewear-main .service-card {*/
/*    border: none;*/
/*    border-radius: 10px;*/
/*    overflow: hidden;*/
/*    transition: transform 0.3s;*/
/*    height: 100%;*/
/*}*/

/*.activewear-main .service-card:hover {*/
/*    transform: translateY(-5px);*/
/*}*/

/*.activewear-main .service-icon {*/
/*    width: 80px;*/
/*    height: 80px;*/
/*    background: #26a9e1;*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    margin: 0 auto 1rem;*/
/*}*/

/*.activewear-main .service-icon i {*/
/*    font-size: 2rem;*/
/*    color: white;*/
/*}*/

/*!* Trusted Brands *!*/
/*.activewear-main .brands-carousel .carousel-item img {*/
/*    filter: grayscale(100%);*/
/*    opacity: 0.7;*/
/*    transition: all 0.3s;*/
/*}*/

/*.activewear-main .brands-carousel .carousel-item img:hover {*/
/*    filter: none;*/
/*    opacity: 1;*/
/*}*/

/*!* Certifications *!*/
/*.activewear-main .certifications .col-md-2 {*/
/*    padding: 15px;*/
/*}*/

/*.activewear-main .certifications img {*/
/*    max-height: 80px;*/
/*    width: auto;*/
/*    margin: 0 auto;*/
/*    display: block;*/
/*}*/

/*!* Responsive *!*/
/*@media (max-width: 768px) {*/
/*    .activewear-main .hero-section {*/
/*        min-height: 60vh;*/
/*    }*/

/*    .activewear-main .service-card {*/
/*        margin-bottom: 1.5rem;*/
/*    }*/
/*}*/

/*!* Animation Classes *!*/
/*.activewear-main .fade-in {*/
/*    animation: fadeIn 1s;*/
/*}*/

/*!*@keyframes fadeIn {*!*/
/*!*    from { opacity: 0; }*!*/
/*!*    to { opacity: 1; }*!*/
/*!*}*!*/

/*.activewear-main .hover-lift {*/
/*    transition: transform 0.3s;*/
/*}*/

/*.activewear-main .hover-lift:hover {*/
/*    transform: translateY(-5px);*/
/*}*/


/*!****** Yarns page *******!*/
/*.yarns-main .hero-section {*/
/*    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://yarns.interloop-pk.com/wp-content/uploads/2023/08/cover-01-1024x576.webp');*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    padding: 120px 0;*/
/*    !*color: white;*!*/
/*    color: var(--secondary-color);*/

/*}*/

/*.yarns-main .section-title {*/
/*    font-weight: 700;*/
/*    margin-bottom: 1.5rem;*/
/*    color: var(--dark-color);*/
/*}*/

/*.yarns-main .section-subtitle {*/
/*    font-weight: 600;*/
/*    margin-bottom: 1rem;*/
/*    color: var(--dark-color);*/
/*}*/

/*.yarns-main .service-box {*/
/*    border-radius: 8px;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
/*    transition: transform 0.3s ease;*/
/*    height: 100%;*/
/*}*/

/*.yarns-main .service-box:hover {*/
/*    transform: translateY(-5px);*/
/*}*/

/*.yarns-main .service-icon {*/
/*    font-size: 2.5rem;*/
/*    color: var(--primary-color);*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.yarns-main .certification-logo {*/
/*    filter: grayscale(100%);*/
/*    transition: filter 0.3s ease;*/
/*    max-height: 80px;*/
/*    margin: 0 auto;*/
/*}*/

/*.yarns-main .certification-logo:hover {*/
/*    filter: grayscale(0%);*/
/*}*/

/*.yarns-main .cta-section {*/
/*    background-color: #f8f9fa;*/
/*    padding: 80px 0;*/
/*}*/

/*.yarns-main .btn-primary {*/
/*    background-color: var(--primary-color);*/
/*    border-color: var(--primary-color);*/
/*    padding: 10px 25px;*/
/*    font-weight: 500;*/
/*}*/

/*.yarns-main .btn-primary:hover {*/
/*    background-color: #1e8abd;*/
/*    border-color: #1e8abd;*/
/*}*/

/*.yarns-main .btn-outline-primary {*/
/*    color: var(--primary-color);*/
/*    border-color: var(--primary-color);*/
/*    padding: 10px 25px;*/
/*    font-weight: 500;*/
/*}*/

/*.yarns-main .btn-outline-primary:hover {*/
/*    background-color: var(--primary-color);*/
/*    color: white;*/
/*}*/




/*.yarns-main .breadcrumb {*/
/*    background-color: transparent;*/
/*    padding: 0;*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.yarns-main .breadcrumb-item a {*/
/*    color: var(--dark-color);*/
/*    text-decoration: none;*/
/*}*/

/*.yarns-main .product-carousel img {*/
/*    height: 300px;*/
/*    object-fit: cover;*/
/*}*/

/*.yarns-main .story-card {*/
/*    transition: transform 0.3s ease;*/
/*}*/

/*.yarns-main .story-card:hover {*/
/*    transform: translateY(-5px);*/
/*}*/

/*.yarns-main .story-card img {*/
/*    height: 200px;*/
/*    object-fit: cover;*/
/*}*/



/******* Purpose *********/

/* Video section */
.purpose-main .video-container {
    position: relative;
    overflow: hidden;
}

.purpose-main .video-thumbnail {
    width: 100%;
    height: auto;
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    .purpose-main .video-thumbnail {
        /*width: 550px;*/
        width: 100%;
        height: 470px;
        /*height: auto;*/
        cursor: pointer;
    }

    .purpose-main .video-text{
        padding-left: 100px;
        padding-right: 140px;
    }

}


.purpose-main .hero-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.purpose-main .video-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.purpose-main .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.purpose-main .video-overlay:hover {
    background-color: rgba(0,0,0,0.5);
}

.purpose-main .play-btn {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.purpose-main .play-btn:hover {
    transform: scale(1.1);
}

.purpose-main .approach-section {
    /*!*background-color: var(--primary-blue);*!*/
    /*background-image: url("https://purpose.interloop-pk.com/wp-content/uploads/2024/04/Our-Approach.png");*/
    /*background-repeat: no-repeat;*/
    /*background-size: cover;*/
    /*color: white;*/
    /*padding: 80px 0;*/

    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("https://purpose.interloop-pk.com/wp-content/uploads/2024/04/Our-Approach.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 0 0;
    position: relative; /* Add this */
}

/*.purpose-main .approach-section-card{*/
/*    !*margin: 0 auto;*!*/
/*    !*position: absolute;*!*/
/*    !*text-align: center;*!*/
/*    !*left: 50%;*!*/
/*    !*transform: translateX(-50%);*!*/
/*}*/

.purpose-main .approach-section-container {
    height: 320px; /* Or whatever height you need */
    position: relative;
}

.purpose-main .approach-section-card {
    margin: 50px auto;
    position: absolute;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    width: 100%; /* Important for proper centering */
}

.purpose-main .info-box {
    padding: 40px 30px;
    height: 100%;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/*.purpose-main .info-box:hover {*/
/*    transform: translateY(-10px);*/
/*    box-shadow: 0 15px 30px rgba(0,0,0,0.1);*/
/*}*/

.purpose-main .ceo-section {
    padding-top: 200px;
    padding-bottom: 80px;
    /*padding-bottom: 50px;*/
}

.purpose-main .ceo-img {
    /*border-radius: 8px;*/
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
    max-width: 200px;
}

@media screen and (min-width: 991px) {
    .purpose-main .ceo-msg-margin {
        margin-right: 50px;
    }
}
@media screen and (max-width: 991px) {

    .purpose-main .approach-section-card {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin: 50px auto;
        text-align: center;
        width: 100%;
    }

    .purpose-main .ceo-section {
        padding-bottom: 20px;
        padding-top: 600px;
    }

}

@media screen and (max-width: 450px) {
    .purpose-main .ceo-section {
        padding-top: 700px;
    }
}


@media screen and (max-width: 400px) {
    .purpose-main .ceo-section {
        padding-top: 800px;
    }
}


.purpose-main .community-section {
    padding-top: 80px;
    padding-bottom: 50px;
}

.purpose-main .icon-box-p {
    text-align: center;
    padding: 100px 80px;
    /*border-radius: 8px;*/
    transition: all 0.3s ease;
    background-color: white;
}

/*.purpose-main .icon-box-p:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 10px 20px rgba(0,0,0,0.1);*/
/*}*/

.purpose-main .icon-box-p img {
    height: 80px;
    margin-bottom: 20px;
}

.purpose-main .report-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.purpose-main .btn-primary {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
}

.purpose-main .btn-primary:hover {
    background-color: #1e8cbb;
    border-color: #1e8cbb;
}

.purpose-main .btn-outline-primary {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
}

.purpose-main .btn-outline-primary:hover {
    color: white;
}


/******** Community page **********/
.community-main .section-title {
    font-weight: 700;
    margin-bottom: 20px;
}

.community-main .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}


.community-main .icon-box {
    padding: 20px;
    margin-bottom: 30px;
}

.community-main .icon-box i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.community-main .carousel-item {
    padding: 30px;
}

.community-main .navbar-brand img {
    height: 40px;
}

.community-main .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.community-main .video-container video,
.community-main .video-container .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.community-main .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.community-main .video-play-btn i {
    font-size: 30px;
}

/*.community-main .breadcrumb {*/
/*    background-color: transparent;*/
/*    padding: 15px 0;*/
/*}*/

/*.community-main .breadcrumb-item a {*/
/*    text-decoration: none;*/
/*}*/


/********* People Page ************/
.people-main .hero-section {
    position: relative;
    min-height: 400px;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.people-main .hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.people-main .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.people-main .people-counter-section {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.people-main .people-impact-heading {
    color: white;
    /*margin-top: -105px;*/
    font-size: 296px;
    vertical-align: middle;
    display: inline-block;
    line-height: 200px;
}

@media screen and (max-width: 1399px) {
    .people-main .people-impact-heading {
        color: white;
        /*margin-top: -105px;*/
        font-size: 200px;
        vertical-align: middle;
        display: inline-block;
        line-height: 140px;
    }

}

@media screen and (max-width: 991px) {
    .people-main .people-impact-heading {
        color: white;
        /*margin-top: -105px;*/
        font-size: 150px;
        vertical-align: middle;
        display: inline-block;
        line-height: 100px;
    }

}

@media screen and (max-width: 767px) {
    .people-main .people-impact-heading {
        color: white;
        margin-top: 80px;
        font-size: 100px;
        vertical-align: middle;
        display: inline-block;
        line-height: 50px;
    }

}

@media screen and (max-width: 500px) {
    .people-main .people-impact-heading {
        color: white;
        margin-top: 100px;
        font-size: 70px;
        vertical-align: middle;
        display: inline-block;
        line-height: 20px;
    }

}

.people-main .people-impact-heading-prosper {
    color: white;
    /*margin-top: -105px;*/
    font-size: 250px;
    vertical-align: middle;
    display: inline-block;
    line-height: 150px;
}

@media screen and (max-width: 1399px) {
    .people-main .people-impact-heading-prosper {
        color: white;
        /*margin-top: -105px;*/
        font-size: 200px;
        vertical-align: middle;
        display: inline-block;
        line-height: 140px;
    }

}

@media screen and (max-width: 1199px) {
    .people-main .people-impact-heading-prosper {
        color: white;
        /*margin-top: -105px;*/
        font-size: 180px;
        vertical-align: middle;
        display: inline-block;
        line-height: 120px;
    }

}

@media screen and (max-width: 991px) {
    .people-main .people-impact-heading-prosper {
        color: white;
        margin-top: 80px;
        font-size: 120px;
        vertical-align: middle;
        display: inline-block;
        line-height: 80px;
    }

}

@media screen and (max-width: 767px) {
    .people-main .people-impact-heading-prosper {
        color: white;
        margin-top: 100px;
        font-size: 80px;
        vertical-align: middle;
        display: inline-block;
        line-height: 50px;
    }

}

@media screen and (max-width: 450px) {
    .people-main .people-impact-heading-prosper {
        color: white;
        margin-top: 115px;
        font-size: 50px;
        vertical-align: middle;
        display: inline-block;
        line-height: 20px;
    }

}

@media screen and (min-width: 991px) {
    .people-main .people-breaking-barrier {
        padding-left: 50px;
        /*padding-right: 30px;*/
    }
}

.people-main .impact-section-people {
    padding: 80px 0;
}

.people-main .impact-section-pros {
    padding: 10px 0;
}

.people-main .stats-number {
    color: var(--primary-color);
    font-family: "Montserrat-Bold", "Poppins", sans-serif;
    font-size: 32px;
}

.people-main .tab-content {
    padding: 40px 0;
}

.people-main .nav-tabs .nav-link{
    border: none;
    border-bottom: 1px solid var(--dark-color);
}

.people-main .nav-tabs{
    border-bottom: 1px solid var(--dark-color);
}

.people-main .nav-link{
    font-family: "Montserrat-SemiBold", "Poppins", sans-serif !important;
    font-weight: 700;
    color: black;
}

.people-main .nav-link.active{
    font-family: "Montserrat-SemiBold", "Poppins", sans-serif !important;
    font-weight: 700;
    color: var(--primary-color);
}

@media only screen and (min-width: 768px) {
    .people-main .text-margin {
        padding-left: 90px;
        padding-right: 90px;
    }

    .people-main .text-margin-2 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .people-main .img-margin-right {
        padding-right: 90px;
    }

    .people-main .img-margin-left {
        padding-left: 90px;
    }


    .people-main .people-impact-padding{
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .people-main .tab-text{
        /*padding-left: 90px;*/
        padding-right: 140px;
    }
}


/********* Planet Page ********/
.people-main .counter-section-planet {
    background-color: white;
    /*margin-top: -150px;*/
}


/* Products Card */
.card-planet-container {
    margin-bottom: 2rem;
}

.card-planet-wrapper {
    position: relative;
    overflow: hidden;
    /* border-radius: 10px; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 300px;
    /*transition: transform 0.3s ease;*/
}

/*.card-planet-wrapper:hover {*/
/*    transform: translateY(-5px);*/
/*}*/

.card-planet-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/*.card-planet-wrapper:hover .card-bg {*/
/*    transform: scale(1.05);*/
/*}*/

/*.card-planet-overlay {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(*/
/*        to bottom,*/
/*        rgba(0, 0, 0, 0),*/
/*        rgba(0, 0, 0, 0.2)*/
/*    );*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: flex-end;*/
/*    padding: 20px;*/
/*    color: white;*/
/*    transition: box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);*/
/*}*/

.card-planet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.2)
    );
    display: flex;
    flex-direction: column;
    justify-content: center; /* Changed from flex-end to center */
    align-items: center; /* Added to center horizontally */
    padding: 20px;
    color: white;
    transition: box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center; /* Added for text alignment */
}

.card-planet-overlay:hover {
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.7);
}

/*.card-planet-overlay {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(*/
/*        to bottom,*/
/*        rgba(0, 0, 0, 0),*/
/*        rgba(0, 0, 0, 0.2)*/
/*    );*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: flex-end;*/
/*    padding: 20px;*/
/*    color: white;*/
/*    transition: background 0.5s ease;*/
/*}*/

/*.card-planet-overlay:hover {*/
/*    background: linear-gradient(*/
/*        to bottom,*/
/*        rgba(0, 0, 0, 0),*/
/*        rgba(0, 0, 0, 0.7)*/
/*    );*/
/*}*/

/*.card-planet-wrapper:hover .card-overlay {*/
/*    background: linear-gradient(*/
/*        to bottom,*/
/*        rgba(0, 0, 0, 0.4),*/
/*        rgba(0, 0, 0, 0.7)*/
/*    );*/
/*}*/

/*.card-planet-title {*/
/*    font-size: 1.5rem;*/
/*    font-weight: 600;*/
/*    margin-bottom: 0.5rem;*/
/*    transform: translateY(20px);*/
/*    transition: transform 0.5s ease;*/
/*    font-family: "Montserrat-Medium", "Poppins", sans-serif;*/
/*}*/

.card-planet-title {
    font-size: 1.5rem;
    /*font-weight: 600;*/
    margin-bottom: 0.5rem;
    transform: translateY(0); /* Changed from translateY(20px) */
    transition: transform 0.5s ease;
    font-family: "Montserrat-Bold", "Poppins", sans-serif;
    width: 100%; /* Ensure full width for proper centering */
}

/*.card-planet-desc {*/
/*    opacity: 0;*/
/*    transform: translateY(20px);*/
/*    transition: opacity 0.5s ease, transform 0.5s ease;*/
/*    font-size: 0.9rem;*/
/*    margin-bottom: 1rem;*/
/*    max-height: 0;*/
/*}*/

/*.card-planet-wrapper:hover .card-title {*/
/*    transform: translateY(0);*/
/*}*/

/*.card-planet-wrapper:hover .card-desc {*/
/*    opacity: 1;*/
/*    transform: translateY(0);*/
/*    max-height: 100px;*/
/*}*/

/*.card-planet-btn {*/
/*    opacity: 0;*/
/*    transform: translateY(20px);*/
/*    transition: opacity 0.5s ease, transform 0.5s ease;*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    background: rgba(255, 255, 255, 0.2);*/
/*    color: white;*/
/*    text-decoration: none;*/
/*    align-self: flex-end;*/
/*}*/

/*.card-planet-wrapper:hover .card-btn {*/
/*    opacity: 1;*/
/*    transform: translateY(0);*/
/*}*/

/*.card-planet-btn:hover {*/
/*    background: rgba(255, 255, 255, 0.3);*/
/*}*/

/********** Community Page ************/
@media only screen and (min-width: 768px) {
    .community-main .text-margin {
        padding-left: 75px;
        padding-right: 70px;
    }

    .community-main .text-margin-edu {
        padding-left: 200px;
        padding-right: 100px;
    }

}

.community-main .video-container video{
    position: relative;
}

.community-main .stats-number {
    color: var(--primary-color);
    font-family: "Montserrat-Bold", "Poppins", sans-serif;
    font-size: 32px;
}

@media only screen and (min-width: 768px) {
    .community-main .literary-fest-img{
        width: 636px;
        max-height: 528px;
        object-fit: cover;
    }

    .community-main .text-margin-lite{
        padding-left: 50px;
        padding-right: 50px;
    }
}

/*********** Impact Report Page **************/
.sustainability-main{
    /*margin-top: 100px;*/
}
/* Report Section */
.sustainability-main .report-section {
    padding: 60px 0;
}

.sustainability-main .report-heading {
    margin-bottom: 40px;
    text-align: center;
}

.sustainability-main .report-card {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.sustainability-main .report-card:hover {
    transform: scale(1.05);
}

.sustainability-main .report-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.sustainability-main .report-card h3 {
    margin-top: 15px;
    text-align: center;
}

.sustainability-main .report-card h3 a {
    color: #333;
    text-decoration: none;
}

.sustainability-main .report-card h3 a:hover {
    color: #26a9e1;
}

@media (max-width: 767px) {
    .sustainability-main .report-card {
        margin-bottom: 40px;
    }
}


/******* Investor Page ********/
/*.investor-main{*/
/*    margin-top: 100px;*/
/*}*/

@media only screen and (min-width: 768px) {
    .investor-main .agahi-margin {
        padding-left: 50px;
        padding-right: 50px;
    }
}

.investor-main .investor-img-first{
    width: 522px;
    height: 350px;
    object-fit: cover;

}



/* Investor cards */
.investor-card {
    /*transition: transform 0.3s ease;*/
    margin-bottom: 30px;
    height: 100%;
    border: none;
}

/*.investor-card:hover {*/
/*    !*transform: translateY(-5px);*!*/
/*}*/



/******** Financial Reports Page ********/
/*.fin-report{*/
/*    margin-top: 100px;*/
/*}*/

@media only screen and (min-width: 991px) {
    .fin-report .tab-text-padding{
        padding-left: 150px;
    }

    .fin-report .tab-text-padding-1{
        padding-right: 150px;
    }

}

.fin-report .financial-year-no {
    width: 300px;
    height: 300px;
    background-color: #26a9e1;
    position: absolute;
    top: 0;
    right: -20%;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 2rem;
}

.fin-report .financial-year-no-2nd {
    left: -20%;
    right: 0;
}

.fin-report .report-section {
    padding: 2rem 0;
}

.fin-report .report-card {
    border: none;
    border-radius: 0;
    margin-bottom: 2rem;
}

.fin-report .report-card img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .fin-report .financial-year-no {
        position: static;
        height: 60px;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 1440px) {
    .fin-report .financial-year-no {
        right: -23%;
    }
    .financial-year-no-2nd {
        left: -23%;
    }
}

@media (max-width: 1601px) {
    .fin-report .financial-year-no {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 991px) {
    .fin-report .financial-year-no {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .fin-report .financial-year-no {
        width: 100%;
        height: 100px;
    }
}

.fin-report .nav-tabs{
    border: none;
    margin-bottom: 70px;
}

.fin-report .nav-tabs .nav-link{
    border: none;
    text-decoration: none;
    color: black;
    font-family: "Montserrat-Bold", "Poppins", sans-serif;
    font-size: 16px;
}

.fin-report .nav-tabs .nav-link.active{
    color: var(--primary-color);
}

.fin-report .nav-tabs .nav-link:hover{
    border: none;
    color: var(--primary-color);
}


/****** Investor Infomration Page *********/
/*.invest-info-main{*/
/*    margin-top: 100px;*/
/*}*/

.invest-info-table{
    min-width: 768px;
}

.invest-info-main .section-title-tab {
    font-size: 14px;
    margin-bottom: 1rem;
    font-family: "Montserrat-Regular", "Poppins", sans-serif;
}

.invest-info-main .section-title-tab.active {
    font-size: 14px;
    margin-bottom: 1rem;
    font-family: "Montserrat-SemiBold", "Poppins", sans-serif;
}
.invest-info-main .investor-section {
    padding: 60px 0;
}

.invest-info-main .section-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
}

.invest-info-main .section-subtitle {
    color: #555;
    font-weight: 500;
    margin: 25px 0 15px;
}

.invest-info-main .active-num {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 10px;
}

.invest-info-main .tab-content {
    padding: 30px 0;
}

.invest-info-main .info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.invest-info-main .info-table th, .invest-info-main .info-table td {
    padding: 12px 15px;
    /*border: 1px solid #dee2e6;*/
    text-align: left;
}

.invest-info-main .info-table th {
    /*background-color: var(--light-bg);*/
    font-weight: 600;
}

.invest-info-main .info-table tr{
    border: none;
}

.invest-info-main .info-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.invest-info-main .card-body {
    padding: 0 0;
}

.invest-info-main .director-card {
    /*margin-bottom: 30px;*/
    border: none;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.08);*/
    /*transition: transform 0.3s ease;*/
    background-color: #f5f5f5;
}

/*.invest-info-main .director-card:hover {*/
/*    transform: translateY(-5px);*/
/*}*/

.invest-info-main .director-img {
    /*width: 120px;*/
    /*height: 120px;*/
    /*object-fit: cover;*/
    /*border-radius: 50%;*/
    /*margin: 0 auto 15px;*/
    display: block;
}

.invest-info-main .director-name {
    color: #333;
    /*font-weight: 600;*/
    margin-bottom: 5px;
    font-family: "Montserrat-Bold", "Poppins", sans-serif;
    font-size: 16px;
    text-align: left;
    margin-top: 5px;
}

.invest-info-main .director-role {
    color: black;
    font-size: 0.9rem;
    text-align: left;
}

.invest-info-main .accordion-custom .accordion-button {
    background-color: white;
    color: #333;
    font-weight: 500;
    padding: 15px 20px;
}

.invest-info-main .accordion-header{
    background-color: #fdfdfd;
}

.invest-info-main .accordion-body{
    background-color: #fdfdfd;
}

.invest-info-main .accordion-custom .accordion-button:not(.collapsed) {
    /*background-color: var(--primary-color);*/
    color: #000000;
    font-size: 14px;
    font-family: "Montserrat-Bold", "Poppins", sans-serif;
}

.invest-info-main .accordion-custom .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(38, 169, 225, 0.3);
}

.invest-info-main .info-box {
    /*background-color: var(--light-bg);*/
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.invest-info-main .info-box  a{
    color: black;
}

.invest-info-main .info-box  a:hover{
    color: var(--primary-color);
}

.invest-info-main .accordion-item{
    box-shadow: none;
}

.invest-info-main .info-label {
    color: var(--primary-color);
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.invest-info-main .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.invest-info-main .contact-icon {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    min-width: 24px;
}

.invest-info-main .financial-table {
    font-size: 0.9rem;
}

.invest-info-main .financial-table th {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .invest-info-main .info-table {
        font-size: 0.85rem;
    }

    .invest-info-main .director-card {
        text-align: center;
    }
}

.invest-info-main .tab-pane {
    display: none;
}

.invest-info-main .tab-pane.active {
    display: block;
}


/******* Relations Page **********/
/*.relation-main{*/
/*    margin-top: 100px;*/
/*}*/

/* Contact Section */
.relation-main .contact-section {
    padding: 80px 0;
}

.relation-main .contact-icon {
    color: #26A9E1;
    margin-right: 10px;
    width: 20px;
}

/* Form Section */
.relation-main .form-section {
    margin-top: 50px;
    padding: 80px 0;
    background-color: #f8f9fa;
}

.relation-main .form-section .form-control{
    background-color: transparent;
}

/* SECP Section */
.relation-main .secp-section {
    padding: 80px 0;
}

@media only screen and (min-width: 768px) {
    .relation-main .video-text{
        padding-left: 80px;
        /*padding-right: 80px;*/
    }

}


/*********** Governance Page **************/
/*.governance-main{*/
/*    margin-top: 100px;*/

/*}*/

/* Governance Section */
.governance-main .governance-intro {
    padding: 80px 0 50px;
    background-color: #f8f9fa;
}

/* Board & Management Sections */
.governance-main .team-section {
    padding: 80px 0;
}

.governance-main .team-member {
    text-align: center;
    margin-bottom: 30px;
}

.governance-main .team-member img {
    /*width: 200px;*/
    /*height: 200px;*/
    object-fit: cover;
    /*border-radius: 50%;*/
    margin-bottom: 15px;
}

.governance-main .team-member h4 {
    margin-bottom: 5px;
    /*font-weight: 600;*/
    font-family: "Montserrat-Bold", "Poppins", sans-serif;
    text-align: left;
    font-size: 20px;
}

.governance-main .team-member p {
    color: #6c757d;
    margin-bottom: 10px;
    text-align: left;
}


/******** Company Information Urdu ***********/
/* RTL specific adjustments */
/*.urdu-main{*/
/*    !*direction: rtl;*!*/
/*    margin-top: 100px;*/
/*}*/
.urdu-main p{
    margin-bottom: 5px;
    margin-top: 20px;
}

.urdu-main .rtl-direction {
    direction: rtl;
}

.urdu-main .ltr-direction {
    direction: ltr;
}

.urdu-main .contact-box{
    direction: rtl;
}

.urdu-main .icon-list-text{
    font-family: "NotoNastaliqUrdu-Regular", "Poppins", sans-serif;
}

.urdu-main p{
    font-family: "NotoNastaliqUrdu-Regular", "Poppins", sans-serif;
    font-size: 15px;
}

.urdu-main h2,.urdu-main h4{
    font-family: "NotoNastaliqUrdu-SemiBold", "Poppins", sans-serif;
    color: black !important;
}

/* Header styles */
.urdu-main .navbar-brand img {
    height: 50px;
}

/* Icon list styles */
.urdu-main .icon-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.urdu-main .icon-list-icon {
    margin-left: 10px;
    flex-shrink: 0;
    width: 24px;
    color: #26a9e1;
}

/* Mission/Vision section */
.urdu-main .values-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

/* Contact info boxes */
.urdu-main .contact-box {
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    height: 100%;
}

/* Custom colors */
.urdu-main .text-interloop-blue {
    color: #26a9e1;
}

.urdu-main .bg-interloop-blue {
    background-color: #26a9e1;
}




.urdu-main .contact-card {
    background: white;
    /*border-radius: 8px;*/
    padding: 1.5rem;
    /*margin-bottom: 1.5rem;*/
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.05);*/
    /*height: 100%;*/
    min-height: 320px;
}

.urdu-main .contact-title {
    direction: rtl;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.urdu-main .contact-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    direction: rtl;
}

.urdu-main .contact-list {
    direction: rtl;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "NotoNastaliqUrdu-Regular", "Poppins", sans-serif;
}

.urdu-main .contact-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.urdu-main .contact-icon {
    color: var(--primary-color);
    margin-left: 0.75rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.urdu-main .contact-text {
    flex: 1;
}

.urdu-main .main-image {
    border-radius: 0px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}

/* RTL specific adjustments */
.urdu-main [dir="rtl"] .contact-icon {
    margin-left: 0;
    margin-right: 0.75rem;
}

@media (max-width: 768px) {
    .urdu-main .section-main {
        padding: 2rem 0;
    }

    .urdu-main .main-image {
        margin-bottom: 2rem;
    }
}


@media only screen and (min-width: 768px) {
    .urdu-main .text-margin {
        padding-left: 150px;
        padding-right: 90px;
    }
}



/********** Contact us page   *************/

/*.contact-us-main{*/
/*    margin-top: 100px;*/
/*}*/
/* Hero Section */
.contact-us-main .hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Contact Info */
.contact-us-main .contact-icon {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-us-main .contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-us-main .contact-list li, .contact-us-main .contact-list li a, .contact-us-main .contact-list li span.cont {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    font-family: "Montserrat-Regular", "Poppins", sans-serif;
    text-decoration: none;
    color: black;
}

.contact-us-main .contact-list li a:hover {
    color: var(--primary-color);
}


/* Vertical Tabs */
.contact-us-main .vertical-tabs-container {
    /*margin: 2rem 0;*/
    margin-top: 2rem;
}

.contact-us-main .vertical-tabs {
    /*border-right: 1px solid #dee2e6;*/
    padding-right: 0;
}

.contact-us-main .vertical-tabs .nav {
    flex-direction: column;
}

.contact-us-main .vertical-tabs .nav-link {
    /*border: none;*/
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    /*color: var(--dark-gray);*/
    font-weight: 500;
    text-align: left;
    border: 1px solid #E0E0E0;
    margin-bottom: 5px;
    color: #000000;
    font-family: "Montserrat-Regular", "Poppins", sans-serif;
}

.contact-us-main .vertical-tabs .nav-link.active {
    /*background-color: rgba(38, 169, 225, 0.1);*/
    color: var(--primary-color);
    /*border-right-color: var(--primary-color);*/
    border-color: #c2c5c8;
    font-family: "Montserrat-SemiBold", "Poppins", sans-serif;
    color: var(--primary-color);
}

.contact-us-main .vertical-tabs .nav-link:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.05);
}

.contact-us-main .tab-content {
    padding: 0 2rem;
    /*min-height: 400px;*/
}

.contact-us-main .tab-pane {
    padding-top: 0.5rem;
}

.contact-us-main .tab-pane h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Contact Form */
.contact-us-main .contact-form-section {
    /*background-color: var(--light-gray);*/
    /*padding: 4rem 0;*/
}

.contact-us-main .form-control {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-us-main .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(38, 169, 225, 0.25);
}

.contact-us-main .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.contact-us-main .btn-primary:hover {
    background-color: #1d8cba;
    border-color: #1d8cba;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-us-main .vertical-tabs-container .row {
        flex-direction: column;
    }

    .contact-us-main .vertical-tabs {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }

    .contact-us-main .vertical-tabs .nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-us-main .vertical-tabs .nav-link {
        border-right: none;
        border-bottom: 3px solid transparent;
        margin-right: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-us-main .vertical-tabs .nav-link.active {
        border-right-color: transparent;
        border-bottom-color: var(--primary-color);
    }

    .contact-us-main .tab-content {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .contact-us-main .hero-image-carbon {
        height: 300px;
        object-fit: cover;
    }

    .contact-us-main .vertical-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .contact-us-main .search-input {
        width: 150px;
    }

    .contact-us-main .contact-form-img {
        margin-bottom: 2rem;
    }

    .contact-us-main .vertical-tabs .nav {
        justify-content: center;
    }
}

/* Mobile Navigation Toggle */
.contact-us-main .mobile-tab-toggle {
    display: none;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-us-main .mobile-tab-toggle {
        display: block;
    }

    .contact-us-main .vertical-tabs .nav {
        display: none;
    }

    .contact-us-main .vertical-tabs .nav.show {
        display: flex;
    }
}

/******** Carbon Page *********/
.carbon-main{
    margin-top: 20px;
}

@media only screen and (min-width: 768px) {
    .carbon-main .carbon-margin{
        margin-left: 50px;
        margin-right: 50px;
    }

}

/* Hero Section */
.carbon-main .hero-section-carbon {
    padding: 150px 0 80px;
    /*background-color: var(--gray-color);*/
}

.carbon-main .hero-image-carbon {
    width: 100%;
    height: auto;
    border-radius: 0;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
}

/*.carbon-main .hero-title-carbon {*/
/*    font-size: 3.5rem;*/
/*    font-weight: 700;*/
/*    margin-bottom: 1.5rem;*/
/*    color: var(--dark-color);*/
/*}*/

/*.carbon-main .hero-text-carbon {*/
/*    font-size: 1.1rem;*/
/*    line-height: 1.8;*/
/*    color: #555;*/
/*}*/

/* Targets Section */
.carbon-main .targets-section {
    padding: 20px 0;
}

.carbon-main .target-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.carbon-main .target-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
    height: 100%;
}

.carbon-main .target-card:hover {
    transform: translateY(-10px);
}

.carbon-main .target-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: start;
    justify-content: left;
}

.carbon-main .target-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carbon-main .target-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Initiatives Section */
.carbon-main .initiatives-section {
    padding: 20px 0;
    /*background-color: var(--gray-color);*/
}

.carbon-main .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.carbon-main .nav-tabs {
    /*border-bottom: 2px solid #dee2e6;*/
    justify-content: center;
    margin-bottom: 3rem;
    border: none;
}

.carbon-main .nav-tabs .nav-link {
    /*border: none;*/
    border: 1px solid #dee2e6;
    color: #666;
    /*font-weight: 600;*/
    padding: 0.50rem 5rem;
    margin: 0 0.5rem;
    border-radius: 0;
    background-color: var(--bg-color);
}

.carbon-main .nav-tabs .nav-link.active {
    /*color: var(--primary-color);*/
    background-color: white;
    color: var(--primary-color);
    /*border-bottom: 3px solid var(--primary-color);*/
}

.carbon-main .tab-content {
    padding: 2rem 0;
}

.carbon-main .initiative-card {
    background: var(--light-color);
    border-radius: 0;
    overflow: hidden;
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.05);*/
    height: 100%;
}

.carbon-main .initiative-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
}

.carbon-main .initiative-content {
    padding: 2rem;
}

@media (min-width: 677px) {
    .carbon-main .initiative-content {
        padding-right: 140px;
    }

}

.carbon-main .initiative-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.carbon-main .initiative-text {
    color: #555;
    line-height: 1.7;
}

/* Stories Section */
.carbon-main .stories-section {
    padding: 80px 0;
}

.carbon-main .story-card {
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.carbon-main .story-card:hover {
    transform: translateY(-10px);
}

.carbon-main .story-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.carbon-main .story-content {
    padding: 1.5rem;
}

.carbon-main .story-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.carbon-main .story-title a {
    color: inherit;
    text-decoration: none;
}

.carbon-main .story-title a:hover {
    color: var(--primary-color);
}

.carbon-main .story-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.carbon-main .read-more-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.carbon-main .read-more-btn:hover {
    text-decoration: underline;
}

.carbon-main .explore-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.carbon-main .explore-btn:hover {
    background-color: #1e8fc5;
    color: var(--light-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .carbon-main .hero-title-carbon {
        font-size: 2.5rem;
    }

    .carbon-main .section-title, .carbon-main .target-title {
        font-size: 2rem;
    }

    .carbon-main .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        margin: 0 0.25rem;
        font-size: 0.9rem;
    }

    .carbon-main .hero-section-carbon {
        padding: 130px 0 60px;
    }
}

@media (max-width: 576px) {
    .carbon-main .hero-title-carbon {
        font-size: 2rem;
    }

    .carbon-main .target-icon {
        width: 120px;
        height: 120px;
    }
}

/*@media (max-width: 767.98px) {*/
/*    .carbon-main .nav-tabs.flex-column .nav-item {*/
/*        margin-bottom: 5px;*/
/*        width: 100%;*/
/*    }*/

/*    .carbon-main .nav-tabs.flex-column .nav-link {*/
/*        text-align: left;*/
/*        border-radius: 0.375rem !important;*/
/*    }*/
/*    */
/*    */
/*}*/


/* Additional styling for better mobile appearance */
@media (max-width: 767.98px) {
    .carbon-main .nav-tabs.flex-column {
        border-bottom: 0;
    }

    .carbon-main .nav-tabs.flex-column .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        width: 100%;
    }

    /* Optional: Add some visual separation between items */
    .carbon-main .nav-tabs.flex-column .nav-item:not(:last-child) {
        margin-bottom: 0.5rem;
    }
}


@media only screen and (min-width: 768px) {
    .carbon-main .text-margin {
        padding-left: 60px;
        padding-right: 60px;
    }

    .carbon-main .text-margin-2 {
        padding-left: 60px;
        padding-right: 60px;
    }

}


.video-thumbnail {
    object-fit: cover !important;
    object-position: right !important;
}



@media only screen and (min-width: 1200px) {
    .hero-purpose-section {
        position: relative;
        min-height: 700px;
        height: 100vh;
        display: flex;
        align-items: center;
        overflow: hidden;
    }
}


@media only screen and (min-width: 700px) {
    .invest-info-padding-right{
        padding-right: 30px !important;
    }
}


/************ Services Page **************/
.main-services .hero-service-section-text-padding{
    padding-left: 120px;
    padding-right: 110px;
}

.main-services .hero-service-dedicated-text-padding{
    padding-left: 120px;
    margin-top: 120px;
    margin-bottom: 120px;
}

.main-services .hero-service-section-margin-top{
    margin-top: 270px;
}

.main-services .section-padding-res-inv{
    padding-bottom: 120px;
}

.main-services .service-design-studio{
    padding-top: 120px;
    padding-bottom: 120px;
}

.main-services .service-design-studio-text{
    padding-left: 120px;
    padding-right: 250px;
}

.main-services .service-looptrace-text{
    padding-left: 120px;
    padding-right: 250px;
}


@media only screen and (max-width: 1400px) {

    .main-services .hero-service-section-margin-top{
        margin-top: 170px;
    }

    .main-services .hero-service-dedicated-text-padding{
        padding-left: 80px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .main-services .service-design-studio-text{
        padding-left: 120px;
        padding-right: 100px;
    }

    .main-services .service-looptrace-text{
        padding-left: 120px;
        padding-right: 100px;
    }
}



@media only screen and (max-width: 1350px) {
    .main-services .hero-service-section-text-padding{
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media only screen and (min-width: 1200px) {
    .main-services .hero-service-section {
        position: relative;
        min-height: 700px;
        height: 100vh;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

}

@media only screen and (max-width: 1200px) {
    .main-services .hero-service-section-margin-top{
        margin-top: 100px;
    }

    .main-services .hero-service-dedicated-text-padding{
        padding-left: 30px;
        margin-top: 0;
        margin-bottom: 50px;
    }

    .main-services .service-design-studio-text{
        padding-left: 80px;
        padding-right: 50px;
    }

    .main-services .service-looptrace-text{
        padding-left: 80px;
        padding-right: 50px;
    }

}



@media only screen and (max-width: 768px) {
    .main-services .hero-service-section-text-padding{
        padding-left: 0;
        padding-right: 0;
    }

    .main-services .hero-service-dedicated-text-padding{
        padding-left: 0;
        margin-top: 0;
        margin-bottom: 50px;
    }

    .main-services .bg-res-inv{
        padding: 20px !important;
    }

    .main-services .section-padding-res-inv{
        padding-bottom: 50px;
    }

    .main-services .service-design-studio{
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .main-services .service-design-studio-text{
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-services .service-looptrace-text{
        padding-left: 20px;
        padding-right: 20px;
    }
}


.main-services .bg-res-inv{
    background-image: url('https://interloop-pk.com/wp-content/uploads/2024/05/Research-and-Innovation-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 150px;
    color: white;
    position: relative; /* Add this */
    overflow: hidden; /* Optional: prevents any overlay overflow */
}

.main-services .bg-res-inv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Black overlay with 40% opacity */
    z-index: 1;
}

.main-services .bg-res-inv > * {
    position: relative;
    z-index: 2;
}

.main-services .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 0;
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.1);*/
}

.main-services .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.main-services .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.main-services .video-overlay:hover {
    opacity: 0.9;
}

.main-services .play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.main-services .play-button:hover {
    /*transform: scale(1.1);*/
    background: white;

    left: 50%;
    top: 50%;
    transform: scale(1.1) translate(-50%, -50%);
}

.main-services .play-button i {
    font-size: 32px;
    color: #333;
    margin-left: 4px;
}

.main-services .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.main-services .lead {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 600;
    color: #333333;
}

@media (max-width: 768px) {
    .main-services .play-button {
        width: 60px;
        height: 60px;
    }

    .main-services .play-button i {
        font-size: 24px;
    }
}

/************ Customers Page **************/

.main-customer .customer-logos{
    margin-top: 80px;
}

@media (min-width: 768px) {
    .main-customer .customer-top{
        margin-top: 100px;
    }
}

.main-customer .logo-grid {
    padding: 3rem 0;
}

.main-customer .logo-item {
    height: 120px;
    background-color: #fff;
    border-radius: 8px;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
    transition: all 0.3s ease;
}

.main-customer .logo-item:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.15);*/
}

.main-customer .logo-item img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-customer .logo-item {
        height: 150px;
    }

    .main-customer .logo-item img {
        max-height: 100px;
    }
}

@media (max-width: 576px) {
    .main-customer .logo-item {
        height: 130px;
    }

    .main-customer .logo-item img {
        max-height: 80px;
    }
}



/************ Global Recognition Page **************/


.main-global-recognition .global-recog-top{
    margin-top: 80px;
}


@media (min-width: 991px) {
    .main-global-recognition .award-card-margins{
        padding-right: 200px;
        padding-left: 200px;
    }
}



.main-global-recognition .awards-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}


.main-global-recognition .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: black;
    font-weight: 700;
}

.main-global-recognition .award-card {
    height: 320px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
    transition: all 0.4s ease;
    background: #ececec;
    border: 1px solid #ececec;
}

/*.main-global-recognition .award-card:hover {*/
/*    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);*/
/*}*/

.main-global-recognition .card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #F5F5F5;
    transition: transform 0.5s ease;
    z-index: 2;
    border-radius: 0;
}

.main-global-recognition .award-card:hover .card-front {
    transform: translateY(-100%);
}

.main-global-recognition .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #353535;
    color: white;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    z-index: 1;
    border-radius: 0;
    overflow-y: auto;
}

.main-global-recognition .award-card:hover .card-back {
    transform: translateY(0);
}

.main-global-recognition .award-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-decoration: none;
    display: block;
    font-family: "Montserrat-SemiBold", "Poppins", sans-serif !important;
}

.main-global-recognition .award-title:hover {
    color: #0056b3;
}

.main-global-recognition .award-subtitle {
    font-size: 1.1rem;
    color: #666;
    /*font-weight: 600;*/
    line-height: 1.4;
    max-width: 90%;
    font-family: "Montserrat-Regular", "Poppins", sans-serif !important;
}

.main-global-recognition .card-back .award-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.main-global-recognition .card-back .award-description p {
    margin-bottom: 0;
}

/* Icon indicator for hover */
.main-global-recognition .hover-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: #007bff;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.main-global-recognition .award-card:hover .hover-indicator {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-global-recognition .award-card {
        height: 300px;
    }

    .main-global-recognition .card-front, .card-back {
        padding: 25px;
    }

    .main-global-recognition .award-title {
        font-size: 1.6rem;
    }

    .main-global-recognition .award-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .main-global-recognition .award-card {
        height: 350px;
    }
}

/* Animation for initial load */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-global-recognition .award-card {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.main-global-recognition .award-card:nth-child(1) { animation-delay: 0.1s; }
.main-global-recognition .award-card:nth-child(2) { animation-delay: 0.2s; }
.main-global-recognition .award-card:nth-child(3) { animation-delay: 0.3s; }
.main-global-recognition .award-card:nth-child(4) { animation-delay: 0.4s; }
.main-global-recognition .award-card:nth-child(5) { animation-delay: 0.5s; }
.main-global-recognition .award-card:nth-child(6) { animation-delay: 0.6s; }



.main-global-recognition .greyScaleImages img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.main-global-recognition .greyScaleImages img:hover {
    filter: grayscale(0%);
}

.main-global-recognition .certification-logo img {
    max-height: 100px;
    object-fit: contain;
}

.main-global-recognition .gallery-img {
    padding: 25px;
}

.main-global-recognition .gallery-img img {
    width: 100%;
    height: auto;
    max-width: 120px;
    margin: 0 auto;
    display: block;
}

.main-global-recognition .section-title {
    margin-bottom: 1rem;
    font-weight: 600;
}

.main-global-recognition .section-description {
    margin-bottom: 2rem;
    color: #666;
}


.main-global-recognition .greyScaleimages-membership {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.main-global-recognition .membership-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: #333;
    padding-bottom: 20px;
    position: relative;
}

/*.main-global-recognition .membership-title:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    width: 100px;*/
/*    height: 3px;*/
/*    background-color: #ddd;*/
/*}*/

.main-global-recognition .membership-container {
    position: relative;
}

/* Vertical dividing line between columns */
.main-global-recognition .membership-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background-color: #dee2e6;
}

.main-global-recognition .membership-col {
    padding: 30px 15px;
}

/* Row divider */
.main-global-recognition .membership-row {
    border-bottom: 1px solid #dee2e6;
    margin: 0;
}

.main-global-recognition .membership-row:last-child {
    border-bottom: none;
}

.main-global-recognition .membership-pair {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

/* Center the last row images */
.main-global-recognition .membership-row:last-child .membership-pair {
    justify-content: center;
    gap: 60px; /* Add spacing between centered images */
}

.main-global-recognition .membership-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
    padding: 10px;
}

.main-global-recognition .membership-img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.main-global-recognition .greyScaleimages-membership .img-wrapper {
    text-align: center;
    flex: 1;
}

/* Style for empty wrappers */
.main-global-recognition .greyScaleimages-membership .img-wrapper:empty {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-global-recognition .membership-container:before {
        display: none;
    }

    .main-global-recognition .membership-col {
        border-bottom: 1px solid #dee2e6;
    }

    .main-global-recognition .membership-col:last-child {
        border-bottom: none;
    }

    .main-global-recognition .membership-img {
        width: 100px;
        height: 100px;
    }

    /* Center last row images on tablet */
    .main-global-recognition .membership-row:last-child .membership-pair {
        gap: 40px;
    }
}

@media (max-width: 576px) {
    /* On small screens, force 2 images per row */
    .main-global-recognition .membership-row {
        display: flex;
        flex-direction: column;
    }

    .main-global-recognition .membership-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        border-bottom: 1px solid #dee2e6 !important;
        padding: 20px 15px !important;
    }

    /* Remove the vertical divider line on mobile */
    .main-global-recognition .membership-container:before {
        display: none;
    }

    /* Remove Bootstrap column padding override for mobile */
    .main-global-recognition .membership-col:not(:last-child) {
        border-bottom: 1px solid #dee2e6;
    }

    .main-global-recognition .membership-col:last-child {
        border-bottom: none !important;
    }

    /* Ensure each column shows 2 images */
    .main-global-recognition .membership-pair {
        display: flex;
        justify-content: space-around;
        flex-wrap: nowrap;
        gap: 10px;
    }

    /* Center last row images on mobile */
    .main-global-recognition .membership-row:last-child .membership-pair {
        justify-content: center;
        gap: 30px;
    }

    .main-global-recognition .membership-img {
        width: 90px;
        height: 90px;
    }

    /* Hide empty wrappers on mobile */
    .main-global-recognition .greyScaleimages-membership .img-wrapper:empty {
        display: none;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .main-global-recognition .greyScaleimages-membership .membership-img {
        width: 80px;
        height: 80px;
    }

    .main-global-recognition .membership-row:last-child .membership-pair {
        gap: 20px;
    }
}


/* ----- story card (was .blog-list-content) ----- */

.stblog .stories-tabs {
    border-bottom: none !important;
    gap: 10px;
    flex-wrap: wrap;
}

.stblog .stories-tabs .nav-item {
    margin-bottom: 0;
    list-style: none;
}

.stblog .stories-tabs .nav-link {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #4F4F4F;
    letter-spacing: 1px;
    padding: 12px 20px;
    border: 1px solid #BDBDBD;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    display: inline-block;
}

/* Active state */
.stblog .stories-tabs .nav-link.active {
    color: var(--primary-color) !important;
    border-color: #4F4F4F !important;
    background: transparent !important;
    border-width: 1px;
    border-style: solid;
}

/* Hover state */
.stblog .stories-tabs .nav-link:hover {
    color: #000000;
    border-color: #4F4F4F;
    background: transparent;
}

/* Focus state - remove Bootstrap default */
.stblog .stories-tabs .nav-link:focus {
    box-shadow: none;
}

/* Disabled state */
.stblog .stories-tabs .nav-link.disabled {
    color: #BDBDBD;
    pointer-events: none;
}

/* Mobile responsive - stack tabs vertically on small screens */
@media (max-width: 576px) {
    .stblog .stories-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .stblog .stories-tabs .nav-link {
        text-align: center;
        padding: 10px 15px;
        font-size: 15px;
    }
}

/* Tablet responsive */
@media (min-width: 577px) and (max-width: 768px) {
    .stblog .stories-tabs {
        gap: 8px;
    }

    .stblog .stories-tabs .nav-link {
        padding: 10px 16px;
        font-size: 15px;
    }
}




.stblog .story-list-content {
    position: relative;
    display: flex;
    flex-direction: column;   /* essential for equal height: content stretches */
    overflow: hidden;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 8px 20px -13px rgba(0,0,0,0.35);
    transition: all 0.3s ease-in-out;
    height: 100%;            /* fill the parent .grid-item */
}
.stblog .story-list-content:hover {
    box-shadow: 0 12px 28px -12px rgba(0,0,0,0.4);
}

/* ===== 16:9 image container ===== */
.stblog .story-featured-image {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;          /* prevent image from shrinking */
    width: 100%;
    aspect-ratio: 16 / 9;    /* forces 16:9 ratio */
    background: #e9ecef;     /* fallback background */
}
.stblog .story-featured-image .thumb-wrap {
    display: block;
    width: 100%;
    height: 100%;
}
.stblog .story-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* ensures image covers the 16:9 area without distortion */
    display: block;
}

/* content bottom – takes remaining space */
.stblog .story-content-bottom {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;          /* grow to fill remaining height */
    width: 100%;
    overflow: hidden;
    padding: 15px;
    background: #ffffff;
}

/* title – exactly as original */
.stblog .story-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    word-spacing: 0px;
    color: #000000;
}
.stblog .story-title a {
    color: #000000;
    font-weight: 600;
    font-size: 16px !important;
    text-decoration: none;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    min-height: 55px !important;
    overflow: hidden;
    word-break: keep-all;
    transition: all 0.3s ease-in-out;
}
.stblog .story-title a:hover {
    color: #c36;
}

/* excerpt – takes available space, pushes meta down */
.stblog .story-excerpt {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6em;
    letter-spacing: 1px;
    margin: 0 0 0.5rem 0;
    color: #000000;
    flex: 1 1 auto;          /* take available space, pushes meta to bottom */
}
.stblog .story-excerpt p {
    margin: 0;
}

/* meta info – date (always at bottom) */
.stblog .story-meta {
    padding-top: 15px;
    margin-top: 8px;
    flex-shrink: 0;
    border-top: 1px solid #eee; /* keep date at bottom, not squished */
}
.stblog .story-meta .meta-date a {
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
}
.stblog .story-meta .meta-date a:hover {
    color: var(--primary-color)
}

/* ===== grid item ===== */
.stblog .grid-item {
    padding: 0 15px;
    display: flex;           /* flex parent to make children equal height */
}
/* inner wrapper (padding from elementor) */
.stblog .custom-card-wrapper {
    padding: 15px;
    width: 100%;
    display: flex;           /* so that .story-list-content can stretch */
}

/* ===== responsive tweaks ===== */
/* ensure title clamp works on all */
.stblog .story-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    min-height: 55px !important;
}

/* small screens: meta stays at bottom */
.stblog .story-content-bottom {
    justify-content: flex-start;
}

/* optional: custom 32.333% width for large screens (matching original) */
@media (min-width: 992px) {
    .stblog .col-lg-4-custom {
        flex: 0 0 32.333333%;
        max-width: 32.333333%;
    }
}
