/* About Us Page Styles */
.section {
    padding: 0 0;
}

.page-hero-section {
    padding: 120px 0 80px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    min-height: 60vh;
    display: flex;
    align-items: center;
    border-radius: 30px;
}


.page-hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    border-radius: 30px;
}

.page-hero-content {
    padding: 65px 50px;
    max-width: 650px;
    align-self: end;
}

.page-hero-text {
    max-width: 800px;
}

.page-breadcrumb {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 10px 0;
    font-weight: 300;
}

.page-hero-heading {
    margin-bottom: 20px;
}

.page-hero-heading .styled-text-line {
    display: block;
    line-height: 1.2;
    font-weight: 300;
}

.page-hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 300;
}

.page-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.page-hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.page-hero-buttons .btn-primary {
    background-color: #8BC34A;
    color: white;
    border: 2px solid #8BC34A;
}

.page-hero-buttons .btn-primary:hover {
    background-color: transparent;
    color: #8BC34A;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 195, 74, 0.3);
}

.page-hero-buttons .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.page-hero-buttons .btn-secondary:hover {
    background-color: white;
    color: #000;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

.max-width-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Section spacing */
.section-spacing {
  padding: 80px 0;
}

.section-spacing-small {
  padding: 60px 0;
}

/* Technologies Section */
.technologies-section {
  padding: 80px 40px;
}

.technologies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.technologies-content {
    align-self: start;
}

.technologies-content h2 {
  font-size: 36px;
  font-weight: 300;
  color: var(--global-colour-black);
  margin-bottom: 32px;
  line-height: 1.3;
  margin-top: 0;
}

.technologies-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--global-colour-grey);
}

.about-capabilities-section .cta-one {
    width: max-content;
}

.cards-section__content {
    margin-top: 50px;
}

.cards-section__content .card__container {
  height: 700px;
}

.card__text:nth-of-type(2),
.card__text:nth-of-type(3) {
  margin-bottom: 45px;
}

.card__container {
    height: 600px !important;
}
/* Journey Section */
.journey-section {
  padding: 80px 40px;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

.journey-content h2 {
  font-size: 36px;
  font-weight: 300;
  color: var(--global-colour-black);
  margin: 0;
}

.journey-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--global-colour-grey);
}

.journey-timeline {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.journey-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.journey-item::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 32px;
  bottom: -40px;
  width: 1px;
  background: linear-gradient(to bottom, var(--global-colour-black), transparent);
  z-index: 1;
}

.journey-item:last-child::before {
  display: none;
}

.journey-marker {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.journey-dot {
  width: 12px;
  height: 12px;
  background-color: var(--global-colour-black);
  border-radius: 50%;
  flex-shrink: 0;
}

.journey-year {
  font-size: 18px;
  font-weight: 500;
  color: var(--global-colour-black);
}

.journey-details {
  flex: 1;
}

.journey-details h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--global-colour-black);
  margin-bottom: 0px;
  margin-top: 0px;
}

.journey-details p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--global-colour-grey);
}

/* Who We Are Section */
.who-we-are-section {
  padding-top: 80px;
    padding-bottom: 0;
}

.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.who-we-are-content h2 {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.2;
  margin-block-start: auto;
}

.who-we-are-description {
  font-size: 18px;
  line-height: 1.6;
  color: #808081;
  font-weight: 300;;
}

.who-we-are-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* What We Do Section */
.about-what-we-do-section {
    padding-top: 80px;
    padding-bottom: 0;
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
    align-items: center;
}

.what-we-do-content {
    background: #808081;
    color: white;
    padding: 40px;
    border-radius: 20px;
    height: -webkit-fill-available;
    height: -moz-available;
    height: fill-available;
    align-content: end;
}

.what-we-do-heading {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.2;
}

.what-we-do-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

.what-we-do-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Our Journey Section */
.about-our-journey-section {
    padding: 80px 0;
}

.our-journey-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    align-items: center;
}

.our-journey-content {
    background: #808081;
    color: white;
    padding: 40px;
    border-radius: 20px;
    height: -webkit-fill-available;
    height: -moz-available;
    height: fill-available;
    align-content: end;
}

.our-journey-heading {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.2;
}

.our-journey-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

.what-we-do-content, .our-journey-content {
    position: relative;
}

.what-we-do-content .card__cta-button, .our-journey-content .card__cta-button {
  bottom: 0;
}

.what-we-do-content .card__cta-button-icon::after, .our-journey-content .card__cta-button-icon::after {
  rotate: 270deg;
}

.our-journey-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* About Capabilities Section */
.about-capabilities-section {
    padding: 80px 0;
}

.capabilities-header {
    text-align: left;
    margin-bottom: 16px;
}

.capabilities-header h2 {
    font-size: 48px;
    font-weight: 400;
    margin: 0;
}

.capabilities-subheading {
    font-size: 18px;
    color: #808081;
    margin-bottom: 24px;
    max-width: 600px;
}

.capabilities-description {
    font-size: 18px;
    color: #808081;
    margin-bottom: 32px;
    max-width: 600px;
}

.capabilities-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 600px;
}

.capability-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.card__text {
    padding: 45px 32px !important;
}

.card__container:first-of-type .card__text, .video-card .card__text {
    padding: 0 32px !important;
}

.capability-card-scale {
    background: linear-gradient(135deg, rgba(0,50,100,0.8), rgba(0,50,100,0.6)), url('/static/images/about/scale-bg.jpg');
}

.capability-card-quality {
    background: linear-gradient(135deg, rgba(100,150,0,0.8), rgba(100,150,0,0.6)), url('/static/images/about/quality-bg.jpg');
}

.capability-card-speed {
    background: linear-gradient(135deg, rgba(100,100,100,0.8), rgba(100,100,100,0.6)), url('/static/images/about/speed-bg.jpg');
}

.capability-card-video {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('/static/images/about/video-bg.jpg');
    justify-content: center;
    align-items: center;
}

.capability-card-content {
    padding: 32px;
    color: white;
    width: 100%;
}

.capability-card h3 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 16px;
}

.capability-card h4 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #C6FF00;
}

.capability-card p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.watch-label {
    display: block;
    font-size: 14px;
    color: #C6FF00;
    margin-bottom: 8px;
}

.video-duration {
    display: block;
    font-size: 14px;
    opacity: 0.8;
    margin-top: 8px;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

.cards-section__content .card__cta-button {
    position: absolute;
    bottom: 0px;
    right: 0;
}

/* About Production Section */
.about-production-section {
    padding: 80px 0;
}

.production-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.production-title h2 {
    font-size: 48px;
    font-weight: 400;
    margin: 0;
}

.production-main-heading h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 24px;
}

.production-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #808081;
}

.production-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
}

.production-block {
    display: flex;
    flex-direction: row;
}

.production-image {
    position: relative;
    margin-bottom: 32px;
    border-radius: 20px;
    overflow: hidden;
    width: 70%;
    max-height: 700px;;
}

.production-image img {
    width: -webkit-fill-available;
    height: auto;
    object-fit: cover;
}

.production-label {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 32px;
    font-weight: 300;
}

.production-list {
  align-content: end;
  margin-left: auto;
  width: 30%;
  padding: 50px;
}

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

.production-list li {
    padding: 7px 0;
    border-bottom: 1px solid #000;
    font-size: 14px;
    color: #000;
}

.production-list li:last-child {
    border-bottom: none;
}

.production-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* adjust opacity as needed */
  pointer-events: none; /* ensures clicks pass through if needed */
}

/* Leadership Section Updates */
.leadership-section {
    padding: 80px 0;
}

.leadership-grid {
    max-width: 600px;
    margin-bottom: 80px;
}

.leadership-content h2 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 24px;
    margin-top: 0;
}

.leadership-description {
    font-size: 18px;
    line-height: 1.6;
    color: #808081;
    margin-bottom: 32px;
}

.leadership-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.leadership-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.leadership-card.active {
    transform: translateY(-5px);
}

.leadership-card-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    border-bottom-right-radius: 0;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.leadership-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    object-position: top;
    transition: filter 0.3s ease;
}

.leadership-card:hover .leadership-card-image img {
    filter: grayscale(100%) brightness(0.4);
}

.leadership-card.active .leadership-card-image img {
    filter: grayscale(100%) brightness(0.4);
}

.leadership-card:nth-of-type(2) .leadership-card-image img {
    object-position: center;
}

.leadership-card-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: inherit;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.6));
    pointer-events: none;
    border-radius: inherit;
    transition: background 0.3s ease;
}

.leadership-card:hover .leadership-card-image .overlay {
    background: rgba(0, 0, 0, 0.7);
}

.leadership-card.active .leadership-card-image .overlay {
    background: rgba(0, 0, 0, 0.7);
}

.leadership-card-hover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    padding: 20px;
    width: 90%;
}

.leadership-card:hover .leadership-card-name, .leadership-card:hover .leadership-card-title {
    display: none;
}

.leadership-card.active .leadership-card-name, .leadership-card.active .leadership-card-title {
    display: none;
}

.leadership-card:hover .leadership-card-hover-content {
    opacity: 1;
}

.leadership-card.active .leadership-card-hover-content {
    opacity: 1;
}

.leadership-card-hover-name {
    text-align: left;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.leadership-card-hover-title {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.leadership-card-hover-company {
    text-align: left;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.leadership-card-hover-description {
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-height: 275px;
    overflow-y: auto;
}

.leadership-card-no-image {
    background: #ddd;
    color: #999;
    font-size: 48px;
    font-weight: 300;
}

.leadership-card-name {
    font-size: 20px;
    font-weight: 400;
    position: absolute;
    bottom: 70px;
    color: white;
    z-index: 999;
    left: 20px;
}

.leadership-card-title {
    font-size: 14px;
    position: absolute;
    bottom: 50px;
    color: white;
    left: 20px;
    width: 80%;
}

.leadership-card-company {
    font-size: 14px;
    color: #999;
}

.card__cta-button {
      position: absolute;
    bottom: 0;
    right: 0;
}

/* CTA Section */
.contact-cta-section {
    padding: 80px 0;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    border-radius: 30px;
    min-height: 50vh;
    margin-bottom: 50px;
}

.contact-cta-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    border-radius: 30px;
}

.contact-cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    align-self: end;
    margin-bottom: 75px;
}

.contact-cta-heading {
    margin-bottom: 20px;
}

.contact-cta-heading .styled-text-line {
    display: block;
    line-height: 1.2;
}

.contact-cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-cta-button {
    margin-top: 30px;
    width: fit-content;
    justify-self: center;
}

.cta-button {
    display: inline-block;
    background-color: #8BC34A;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #8BC34A;
}

.cta-button:hover {
    background-color: transparent;
    color: #8BC34A;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 195, 74, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    
    .capabilities-row {
        display: block !important;
    }

    .page-hero-heading .styled-text-line {
        font-size: 26px !important;
    }

    .card__container:nth-of-type(1),
    .card__container:nth-of-type(2) {
        max-height: 400px !important;
        min-height: 350px !important;
    }
    
    .video-details {
        font-size: 14px;
    }

    .leadership-card-title {
        width: 84% !important;
    }

    .card__container {
        aspect-ratio: auto;
        min-height: 750px !important;
    }

    .card__container:first-of-type .card__text, .video-card .card__text {
        padding: 20px 32px !important;
    }
    .who-we-are-grid,
    .what-we-do-grid,
    .our-journey-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .what-we-do-grid {
        grid-template-rows: auto auto;
    }
    
    .what-we-do-image {
        order: 1;
    }
    
    .what-we-do-content {
        order: 2;
    }
    
    .our-journey-grid {
        grid-template-rows: auto auto;
    }
    
    .our-journey-content {
        order: 2;
    }
    
    .our-journey-image {
        order: 1;
    }
    
    .capabilities-cards {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .capability-card {
        height: 200px;
    }
    
    .production-header,
    .production-content,
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .leadership-cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }
    
    .who-we-are-content h2,
    .capabilities-header h2,
    .production-title h2,
    .leadership-content h2 {
        font-size: 36px !important;
    }
    
    .what-we-do-heading,
    .our-journey-heading {
        font-size: 28px;
    }
    
    .contact-cta-heading span {
        font-size: 36px !important;
    }
}

@media (max-width: 480px) {
    .leadership-cards {
        grid-template-columns: 1fr;
    }
    
    .who-we-are-content h2,
    .capabilities-header h2,
    .production-title h2,
    .leadership-content h2 {
        font-size: 28px !important;
        margin-bottom: 12px !important;
    }
    
    .contact-cta-heading span {
        font-size: 28px !important;
    }
    
    .what-we-do-content,
    .our-journey-content {
        padding: 24px;
    }
}


/* Vimeo Popup Styles */
.vimeo-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.vimeo-popup-overlay.active {
  display: flex;
}

.vimeo-popup-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.vimeo-popup-close {
  position: absolute;
  top: 0px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  z-index: 10000;
}

.vimeo-popup-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.vimeo-popup-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.vimeo-popup-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .vimeo-popup-content {
    width: 95%;
    margin: 20px;
  }
  
  .vimeo-popup-close {
    top: 0px;
    font-size: 20px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .vimeo-popup-content {
    width: 98%;
    margin: 10px;
  }

  .icon-cards-section .styled-text-component {
    text-align: left !important;
  }
}

/* Responsive breakpoints for leadership cards */
@media (min-width: 769px) and (max-width: 1024px) {
    .leadership-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .leadership-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1401px) {
    .leadership-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .leadership-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .leadership-card-image {
        height: 400px;
    }
    
    .leadership-card-hover-content {
        padding: 15px;
    }
    
    .leadership-card-hover-name {
        font-size: 20px;
    }
    
    .leadership-card-hover-title {
        font-size: 14px;
    }
    
    .leadership-card-hover-description {
        font-size: 13px;
    }
}

/* Technical Advisory Board Section */
.technical-advisory-board-section {
    padding: 80px 0;
}

.technical-advisory-content {
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.technical-advisory-content .section-heading h2 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 24px;
    margin-top: 0;
}

.advisory-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    justify-items: center;
}

.advisory-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    max-width: 400px;
    width: 100%;
}

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

.advisory-card.active {
    transform: translateY(-5px);
}

.advisory-card-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    border-bottom-right-radius: 0;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.advisory-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    object-position: top;
    transition: filter 0.3s ease;
}

.advisory-card:hover .advisory-card-image img {
    filter: grayscale(100%) brightness(0.4);
}

.advisory-card.active .advisory-card-image img {
    filter: grayscale(100%) brightness(0.4);
}

.advisory-card-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: inherit;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.6));
    pointer-events: none;
    border-radius: inherit;
    transition: background 0.3s ease;
}

.advisory-card:hover .advisory-card-image .overlay {
    background: rgba(0, 0, 0, 0.7);
}

.advisory-card.active .advisory-card-image .overlay {
    background: rgba(0, 0, 0, 0.7);
}

.advisory-card-hover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    padding: 20px;
    width: 90%;
}

.advisory-card:hover .advisory-card-name, .advisory-card:hover .advisory-card-title {
    display: none;
}

.advisory-card.active .advisory-card-name, .advisory-card.active .advisory-card-title {
    display: none;
}

.advisory-card:hover .advisory-card-hover-content {
    opacity: 1;
}

.advisory-card.active .advisory-card-hover-content {
    opacity: 1;
}

.advisory-card-hover-name {
    text-align: left;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.advisory-card-hover-title {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.advisory-card-hover-description {
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-height: 275px;
    overflow-y: auto;
}

.advisory-card-no-image {
    background: #ddd;
    color: #999;
    font-size: 48px;
    font-weight: 300;
}

.advisory-card-name {
    font-size: 20px;
    font-weight: 400;
    position: absolute;
    bottom: 70px;
    color: white;
    z-index: 999;
    left: 20px;
}

.advisory-card-title {
    font-size: 14px;
    position: absolute;
    bottom: 30px;
    color: white;
    left: 20px;
    width: 65%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .technical-advisory-content .section-heading h2 {
        text-align: left;
        font-size: 28px !important;
    }

    .advisory-card-title {
        bottom: 38px;
        width: 80%;
    }

    .page-hero-content {
        padding: 65px 15px;
    }
    .advisory-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }
    
    .advisory-card {
        max-width: 100%;
    }
    
    .advisory-card-image {
        height: 400px;
    }
    
    .technical-advisory-board-section {
        padding: 60px 0;
    }
    
    .technical-advisory-content {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .advisory-card-image {
        height: 350px;
    }
    
    .advisory-card-name {
        font-size: 18px;
    }
    
    .advisory-card-title {
        font-size: 12px;
    }
    
    .advisory-card-hover-name {
        font-size: 20px;
    }
    
    .advisory-card-hover-title {
        font-size: 14px;
    }
    
    .advisory-card-hover-description {
        font-size: 13px;
    }
}