Office Photos Slideshow Styles
.office-slideshow {
  padding: 4rem 0;
  background: var(--bg-light);
}

.slideshow-container {
  position: relative;
  max-width: 1200px;
  max-height: fit-content;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  
}

.slideshow {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 500px;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.slide:hover .slide-overlay {
  transform: translateY(0);
}

.slide-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.slide-description {
  font-size: 1rem;
  opacity: 0.9;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: -1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-dark);
  font-size: 1.2rem;
  z-index: 10;
}

.slideshow-nav:hover {
  background: var(--primary);
  color: white;
}

.prev {
  left: 2rem;
}

.next {
  right: 2rem;
}

/* Video Section Styles */
.video-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-dark);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 4rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 15px 30px rgba(0, 0, 0, 0.2);
}

.large-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-lg);
}

.video-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.video-content h3 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.video-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.video-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--text-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 188, 212, 0.1);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .video-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .slideshow {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .video-section, .office-slideshow {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .slideshow {
    height: 300px;
  }
  
  .slideshow-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .prev {
    left: 1rem;
  }
  
  .next {
    right: 1rem;
  }
  
  .video-content h3 {
    font-size: 1.5rem;
  }
  
  .video-wrapper {
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .slideshow {
    height: 250px;
  }
  
  .video-content h3 {
    font-size: 1.3rem;
  }
  
  .video-content p {
    font-size: 1rem;
  }
  
  .video-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat {
    padding: 1.5rem 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
}


/* Team Section with 5 Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* For larger screens - 5 cards in one row when possible */
@media (min-width: 1400px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 2rem auto 0;
  }
}

/* Rest of your existing team styles remain the same */
.team-member-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: var(--transition);
}

.team-member-link:hover {
  transform: translateY(-10px);
  text-decoration: none;
  color: inherit;
}

.team-member {
  background: var(--text-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 188, 212, 0.1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-member-link:hover .team-member {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  transform: scale(1.02);
}

.member-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-light);
  position: relative;
  flex-shrink: 0;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: var(--transition);
}

.member-image-adjusted img {
  object-fit: cover;
  object-position: center 70%;
  transform: scale(1.1);
}

.team-member-link:hover .member-image img {
  transform: scale(1.15);
}

.team-member-link:hover .member-image-adjusted img {
  transform: scale(1.25) translateY(-5px);
}

.team-member h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
  flex-shrink: 0;
}

.member-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.member-bio {
  color: var(--text-dark);
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.member-portfolio-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.team-member-link:hover .member-portfolio-link {
  opacity: 1;
  transform: translateY(0);
}
/* Adjusted images for John and Jane */
.member-image-adjusted {
  width: 120px;
  height: 120px;
}

.member-image-adjusted img {
  object-fit: cover;
  object-position: center 70%; /* Moves the image down to show lower portion */
  transform: scale(1.1); /* Slightly zoomed to compensate for positioning */
}

.team-member-link:hover .member-image img {
  transform: scale(1.15);
}

.team-member-link:hover .member-image-adjusted img {
  transform: scale(1.25) translateY(-5px); /* Enhanced hover for adjusted images */
}

.team-member h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
  flex-shrink: 0;
}

.member-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.member-bio {
  color: var(--text-dark);
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.member-portfolio-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.team-member-link:hover .member-portfolio-link {
  opacity: 1;
  transform: translateY(0);
}

.member-portfolio-link i {
  transition: transform 0.3s ease;
}

.team-member-link:hover .member-portfolio-link i {
  transform: translateX(3px);
}

/* Hover overlay effect */
.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(0, 151, 167, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--border-radius-lg);
}

.team-member-link:hover .team-member::before {
  opacity: 1;
}

/* Responsive Team Section */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 3rem 0;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 2rem auto 0;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .member-image {
    width: 100px;
    height: 100px;
  }
  
  .member-image-adjusted {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .team-member {
    padding: 1.2rem;
  }
  
  .member-image {
    width: 90px;
    height: 90px;
  }
  
  .member-image-adjusted {
    width: 90px;
    height: 90px;
  }
  
  .team-member h3 {
    font-size: 1.2rem;
  }
  
  .member-role,
  .member-bio {
    font-size: 0.85rem;
  }
}



.member-image, 
.member-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-image img {
  padding-top: 14%;
  width: 110%;
  height: 110%;
  object-fit: cover;       /* Makes image cover the circle */
  object-position: center; /* Center image inside the circle */
}



.member-image, 
.member-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-image img {
  padding-top: 14%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  object-position: center;
}

/* Full Screen About Hero Section with Video Background */
.about-hero {
    position: relative;
    min-height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: none;
}

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

.about-hero .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    filter: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0);
    transform: translateX(-50%) translateY(-50%) translateZ(0);
    opacity: 0.9;
}

.about-hero .gradient-overlay {
    display: none;
}

.about-hero .hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 2rem;
    background: none;
}

.about-hero .hero-title {
    font-size: 4rem; /* Slightly larger for full screen */
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 1px 0px 1px lightskyblue;
}

.about-hero .title-line {
    display: block;
}

.about-hero .title-line.highlight {
    background: linear-gradient(135deg, #4a6cf7, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    
}

.about-hero .hero-description {
    font-size: 1.5rem; /* Slightly larger for full screen */
    color: white;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-hero .hero-title {
        font-size: 3.5rem;
        

    }
    
    .about-hero .hero-description {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 100vh; /* Still full screen on mobile */
    }
    
    .about-hero .hero-title {
        font-size: 3rem;
    }
    
    .about-hero .hero-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 580px) {
    .about-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero .hero-description {
        font-size: 1.1rem;
    }
    
    .about-hero .hero-content {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .about-hero .hero-description {
        font-size: 1rem;
    }
    
    .about-hero .hero-content {
        padding: 0 1rem;
    }
}

/* Fallback for browsers that don't support video */
.no-video .about-hero {
    background: none;
}

.no-video .about-hero .hero-background {
    display: none;
}