/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    height: 90vh;
}

.hero-section .hero-background {
    width: 100%;
    height: 100%;
}

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

.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 20px;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(32px, 8vw, 60px);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: clamp(14px, 2vw, 18px);
    max-width: 600px;
    margin: auto;
}

.impact-text {
    font-size: clamp(12px, 1.5vw, 14px);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
    color: var(--main-color);
}

/* ============================================
   PUNCHLINE & CHARACTER ANIMATION
   ============================================ */

.punchline {
    font-size: clamp(25px, 3vw, 60px);
    line-height: 1.2;
    font-weight: 400;
    perspective: 1200px;
    color: white;
    text-align: center;
    padding: 150px 0;
    margin-bottom: 0;
}

.line {
    display: block;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform-origin: center bottom;
    will-change: transform, opacity;
}


/* ============================================
   STICKY CONTAINER & BACKGROUND IMAGES
   ============================================ */

.sticky-container {
    position: relative;
    height: 300vh;
}

.sticky-section {
    position: relative;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.background-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.bg-image.active {
    opacity: 1;
}

.bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.79);
}

.sticky-section .content-wrapper {
    position: relative;
    color: white;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}


  /* SECTION CONTENT & ANIMATIONS*/


.section-content {
    margin-bottom: 2rem;
    transition: all 0.6s ease;
}
.section-content.inactive{
  margin-bottom: 0;
}

.section-content.inactive .section-heading {
    font-size: clamp(28px, 4vw, 35px);
    opacity: 0.4;
}

.section-content.inactive .section-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}


.section-content.active .section-heading {
    font-size: clamp(36px, 6vw, 115px);
    font-weight: 200;
    opacity: 1;
}

.section-content.active .section-description {
    opacity: 1;
    max-height: 200px;
}

.section-heading {
    margin-bottom: 1.5rem;
    transition: all 0.6s ease;
}

.section-description {
    max-width: 800px;
    margin-bottom: 1rem;
    transition: all 0.6s ease;
}

.section-subtitle {
    font-size: clamp(14px, 2vw, 19px);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    opacity: 0.95;
}

.section-tagline {
    font-size: clamp(12px, 1.5vw, 15px);
    font-weight: 400;
    opacity: 0.85;
}

.section-tagline strong {
    font-weight: 600;
}



/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
    height: 100%;
}

.service-card .service-content {
    padding: 25px;
}

.service-image {
    position: relative;
    overflow: hidden;
    max-height: 125px;
}

.service-card .badge {
    position: absolute;
    display: none;
    top: 15px;
    left: 15px;
    background: black;
    color: white;
    padding: 10px 20px;
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 300;
}

.service-content h4 {
    margin-bottom: 30px;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 200;
}


/* ============================================
   OUR STORY SECTION
   ============================================ */

.home-services-section .content-wrapper {
    padding: 25px;
}

.home-services-section .content-wrapper .content {
    width: 80%;
    margin: -70px auto 0;
    background: #fafafa;
    color: #000;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.content-text {
    font-size: clamp(14px, 2.5vw, 18px);
}

.home-services-section .content-wrapper .img {
    height: 160px;
    overflow: hidden;
}
.home-services-section .content-wrapper{
  height: auto;
  display: block;
}

.home-services-section .content-wrapper .content-title{
   font-size: clamp(25px, 2.4vw, 40px);
   

}
/* ============================================
   OUR VALUES SECTION
   ============================================ */

.our-values-section {
    position: relative;
}

.our-values-section .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}




/* ============================================
   HOME ABOUT SECTION
   ============================================ */

.home-about h2 {
    padding-bottom: 30px;
    font-weight: 200;
 
}

.home-about p {
    font-size: clamp(16px, 3vw, 25px);
    color: #fff;
    font-weight: 200;
    line-height: 1.7;
}








/* ============================================
   INSIGHTS CARDS SLIDER
   ============================================ */

.projects-heading-wrapper {
    margin-bottom: 100px;
}

.insights-slider {
    display: flex;
    gap: 60px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    overflow: visible;
}

.insights-slider::-webkit-scrollbar {
    height: 8px;
}

.insights-slider::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.insights-slider::-webkit-scrollbar-thumb {
    background: #5a4a9d;
    border-radius: 10px;
}

.insights-slider::-webkit-scrollbar-thumb:hover {
    background: #9c7edb;
}

.insights-card {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-end;
}

.insights-card::after {
    content: '';
    position: absolute;
    cursor: default;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgb(0 0 0) 5%, rgba(203, 184, 184, 0) 35%);
    z-index: 1;
}

.insights-card:hover,
.insights-card.active {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transform: scale(1.15);
}

.insights-card:hover .insights-card-image img,
.insights-card.active .insights-card-image img {
    transform: scale(1.08);
}

.insights-card:hover .insights-card-subtitle,
.insights-card.active .insights-card-subtitle {
    display: block;
}

.insights-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.insights-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.insights-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: default;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 40px 25px 25px;
    color: white;
    transition: all 0.4s ease;
}

.insights-card-title {
    font-size: clamp(18px, 3vw, 24px);
    color: white;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.insights-card-subtitle {
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 12px 0 0 0;
    line-height: 1.5;
    display: none;
    transition: opacity 0.4s ease 0.2s;
}

/* Responsive Design - Insights Cards */
@media (max-width: 1200px) {
    .insights-card {
        flex: 0 0 260px;
        height: 380px;
    }

    .insights-card:hover {
        flex: 0 0 280px;
    }

    .insights-card-title {
        font-size: clamp(16px, 2.5vw, 22px);
    }
}

@media (max-width: 992px) {
    .insights-card {
        flex: 0 0 240px;
        height: 360px;
    }

    .insights-card:hover {
        flex: 0 0 260px;
    }

    .insights-card-overlay {
        padding: 35px 20px 20px;
    }

    .insights-card-title {
        font-size: clamp(16px, 2.3vw, 20px);
    }

    .insights-card-subtitle {
        font-size: clamp(11px, 1.3vw, 13px);
    }
}

@media (max-width: 768px) {
    .insights-slider {
        gap: 15px;
    }

    .insights-card {
        flex: 0 0 220px;
        height: 320px;
    }

    .insights-card:hover {
        flex: 0 0 240px;
        transform: translateY(-3px);
    }

    .insights-card-overlay {
        padding: 30px 18px 18px;
    }

    .insights-card-title {
        font-size: clamp(14px, 2vw, 18px);
    }

    .insights-card-subtitle {
        font-size: clamp(10px, 1.2vw, 12px);
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .insights-slider {
        gap: 12px;
    }

    .insights-card {
        flex: 0 0 180px;
        height: 280px;
    }

    .insights-card:hover {
        flex: 0 0 200px;
    }

    .insights-card-overlay {
        padding: 25px 15px 15px;
    }

    .insights-card-title {
        font-size: clamp(12px, 1.8vw, 16px);
    }

    .insights-card-subtitle {
        font-size: clamp(9px, 1vw, 11px);
        margin-top: 8px;
    }
}

/* ============================================
   OUR WORK SECTION
   ============================================ */

.our-work-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.work-card {
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #cacaca;
    height: 100%;
    display: flex;
    gap: 20px;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.work-image {
    width: 100%;
    height: 100%;
    max-height: 350px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e9ecef;
}

.work-image img,
.work-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.05);
}

.work-content {
    padding: 20px;
    flex-grow: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

.work-content h3 {
    font-size: clamp(18px, 1.6vw, 25px);
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.work-content p {
    font-size: clamp(12px, 1.8vw, 15px);
    color: #000;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsive Work Section */
@media (max-width: 768px) {
    .work-content {
        max-width: 100%;
    }
}

/* ============================================
   CASE STUDIES SECTION
   ============================================ */

.case-studies-item .content-wrapper {
    padding: 20px;
    text-align: left;
}

.case-slider2 .case-studies-item .content-wrapper .img {
    max-height: 200px;
    overflow: hidden;
}

.case-slider2 .case-studies-item .content-wrapper {
    padding: 0;
}

.case-studies-item .content-wrapper:hover h3 {
    text-decoration: underline;
}

.case-studies-item .content-wrapper h3 {
    font-size: clamp(16px, 2.3vw, 24px);
    line-height: 2.1rem;
    letter-spacing: 0.5px;
    color: #000;
}

.case-studies-item .content-wrapper .box-button {
    position: relative;
    padding: 5px 10px;
    transition: 0.5s ease-in-out;
}

.case-studies-item .content-wrapper .box-button i {
    margin-left: 10px;
    margin-bottom: -5px;
    color: white;
}

.case-studies-item .content-wrapper .box-button::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 33px;
    height: 100%;
    background: #000;
    z-index: -1;
    border: 1px solid white;
    transition: 0.5s ease-in-out;
}

.case-studies-item .content-wrapper .box-button:hover::after {
    width: 100%;
}

.case-studies-item .content-wrapper .box-button:hover {
    color: white;
    padding-left: 15px;
}

.case-studies-item a {
    color: #000;
}



@media (max-width: 768px) {
    .home-about {
        text-align: center;
    }
  .work-image {

    max-width: 250px;} 

}





/* responsive adjustments */

@media (max-width: 576px) {
    .home-services-section .content-wrapper {
    padding: 0px;
}
    .section-heading {
        margin-bottom: 10px;
    }
    .section-heading-para {
  
    padding: 10px 0 0px 0;
}


}

@media (max-width: 500px) {
  .work-card {
 
    height: auto;
    display: block;
    gap: 0;}
      .work-image {

    max-width: 100%;}  


    .career .content{
text-align: center;
    }
}



