

/* About Us Styles */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text ul {
  margin-left: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
}

.about-image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Approach Styles */
.approach-steps {
  margin-top: 40px;
}

.step {
  display: flex;
  margin-bottom: 30px;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* Contact Styles */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  width: 30px;
  text-align: center;
}

.contact-item h3 {
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.map-container {
  margin-top: 50px;
}

.map-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.map {
  height: 400px;
  border-radius: 5px;
  overflow: hidden;
}

/* Portfolio Filter */
.portfolio-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  margin: 0 5px 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: white;
}



/* Enhanced Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 40px auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    animation: modalFadeIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #333;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #e74c3c;
}

#modal-content-container {
    padding: 30px;
}

/* Enhanced Project Detail Styles */
.project-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 992px) {
    .project-detail {
        grid-template-columns: 1fr 1fr;
    }
}

.project-main-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-main-image:hover img {
    transform: scale(1.03);
}

.project-info h1 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2.2em;
    color: #333;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.meta-label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9em;
    text-transform: uppercase;
}

.meta-value {
    font-size: 1.1em;
    color: #333;
}

.project-description {
    margin-bottom: 40px;
}

.project-description h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.project-description h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db;
}

.project-description p {
    line-height: 1.7;
    color: #555;
}

/* Enhanced Gallery Styles */
.project-gallery.full-width {
    grid-column: 1 / -1; /* Make it span all columns */
    width: 100%;
    margin-bottom: 30px;
}

.project-gallery h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.project-gallery h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Enhanced Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container {
    position: relative;
    max-width: 80%;
    max-height: 80vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-counter {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 14px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

/* Make navigation buttons more visible on hover */
.lightbox-container:hover .lightbox-nav {
    opacity: 1;
}

/* Responsive adjustments for navigation buttons */
@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
}

/* Larger screens get even bigger nav buttons */
@media (min-width: 1200px) {
    .lightbox-nav {
        font-size: 50px;
        width: 70px;
        height: 70px;
    }
    
    .lightbox-nav.prev {
        left: 30px;
    }
    
    .lightbox-nav.next {
        right: 30px;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 30px;
    color: #e74c3c;
    font-size: 18px;

  object-fit: cover;
  transition: transform 0.8s ease;
}

#full-width-showcase:hover .showcase-image img {
  transform: scale(1.05);
}

.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
  display: flex;
  align-items: center;
}

.showcase-content {
  /* max-width: 600px; */
  color: white;
  padding: 0 20px;
}

.showcase-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.showcase-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  text-align: center;
}

.showcase-buttons {
  display: flex;
  gap: 20px;
  justify-content: center; /* Center the buttons horizontally */
  margin-top: 30px;
}

.btn-outline.light {
  border: 2px solid white;
  color: white;
  background-color: transparent;
}

.btn-outline.light:hover {
  background-color: white;
  color: var(--secondary-color);
}

/* Testimonials Section with responsive carousel */
#testimonials {
  width: 100%;
  background-color: #f9f9f9;
  padding: 60px 0;
  text-align: center;
}

.testimonial-slider {
  width: 90%;
  max-width: 1800px;
  margin: 30px auto 0;
  position: relative;
  padding: 0 40px;
}

.testimonial-slide {
  position: relative;
  min-height: 250px; /* Minimum height */
  height: auto; /* Allow auto height */
  width: 100%;
  overflow: hidden;
  transition: height 0.3s ease; /* Smooth height transitions */
}

.testimonial-content {
  background-color: white;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  height: auto !important; /* Force auto height with !important */
  min-height: 200px; /* Minimum height */
  display: flex;
  flex-direction: column;
  position: absolute;
  box-sizing: border-box;
  transition: left 0.5s ease, opacity 0.3s ease;
  opacity: 0; /* Start invisible */
}

/* Make first few testimonials visible by default */
.testimonial-content:nth-child(-n+6) {
  opacity: 1;
}

.testimonial-content .quote-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.testimonial-content p {
  flex-grow: 1;
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.6;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: auto; /* Push to bottom */
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.client-info h4 {
  margin: 0;
  font-size: 1rem;
}

.client-info p {
  margin: 0;
  font-size: 0.8rem;
  color: #777;
  font-style: normal;
}

.testimonial-prev,
.testimonial-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  color: var(--secondary-color);
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-prev {
  left: 0;
}

.testimonial-next {
  right: 0;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: var(--primary-color);
  color: white;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
}
/* Who We Are Section with Overlapping Text - Enhanced Overlap */
/* Enhanced Value Items */
.who-we-are-values {
  margin: 30px 0;
}

.value-item {
  display: flex;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
  padding: 5px;
  border-radius: 8px;
}

.value-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.value-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), #f39c12);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.value-item:hover .value-icon {
  transform: rotate(10deg) scale(1.1);
}

.value-content h3 {
  margin-bottom: 8px;
  color: var(--secondary-color);
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

.value-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.value-content p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}
#who-we-are {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

#who-we-are::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern-light.jpeg');
  opacity: 0.05;
  z-index: 0;
}

.who-we-are-content.overlap-style {
  display: grid;
  /* Grid template columns will be set by JavaScript */
  position: relative;
  z-index: 1;
  gap: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo img,
  .footer-logo img {
    padding-left: 3%; /* Less padding on smaller screens */
  }
}

.who-we-are-text {
  padding: 50px;
  background-color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 2;
  /* Margin right will be set by JavaScript */
  align-self: center;
}

.who-we-are-image {
  position: relative;
  z-index: 1;
  display: flex;
  overflow: hidden; /* Keep overflow hidden to prevent image from extending outside */
  align-items: center;
  justify-content: center;
}

.who-we-are-image img {
  max-width: none; /* Allow image to exceed container width if needed */
  max-height: none; /* Allow image to exceed container height if needed */
}

/* Responsive adjustments - let JS handle desktop, CSS handles mobile */
@media (max-width: 992px) {
  .who-we-are-content.overlap-style {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .who-we-are-text {
    margin-right: 0;
    padding: 40px;
  }
  
  .who-we-are-image {
    min-height: auto;
    order: -1;
  }
  
  .who-we-are-image img {
    width: 100%;
    height: auto;
    min-height: auto;
  }
}

@media (max-width: 576px) {
  #who-we-are {
    padding: 60px 0;
  }
  
  .who-we-are-text h2 {
    font-size: 2.2rem;
  }
  
  .lead-text {
    font-size: 1.1rem;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
  
  .video-wrapper {
    height: 300px;
  }
}

