/* Works/Portfolio Page Specific Styles */
@import url("base.css");

/* Portfolio Hero Section */
.portfolio-hero {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  padding: 120px 0 80px;
  margin-top: 70px;
}

.portfolio-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.portfolio-hero p {
  font-size: 1.2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Enhanced Portfolio Grid */
.portfolio .portfolio-item {
  position: relative;
  cursor: pointer;
}

.portfolio .portfolio-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #2563eb, #7c3aed);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 15px;
}

.portfolio .portfolio-item:hover::before {
  opacity: 0.1;
}

/* Project Details Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #1f2937;
}

.modal-body {
  padding: 2rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.project-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

/* Statistics Section */
.stats-section {
  padding: 80px 0;
  background: #f9fafb;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card i {
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-card .label {
  color: #6b7280;
  font-weight: 500;
}

/* Client Logos Section */
.clients-section {
  padding: 80px 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: center;
}

.client-logo {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  filter: grayscale(100%);
}

.client-logo:hover {
  transform: translateY(-3px);
  filter: grayscale(0%);
}

.client-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}
.about-banner {
    padding-top: 95px;
    height: 350px;
    background: #0955ac;
    align-items: center;
    display: block;
    background-image: url(images/bim-image-02.jpg);
    position: relative;
}
.about-banner h1 {
    color: #ffffff;
    font-weight: 500;
}
.about-banner p {
    color: #fff;
}
nav.breadcrumb {
    color: #fff;
}
nav.breadcrumb a {
    color: #fff;
}
.page-header-content {
    display: inline-block;
    background: #00000087;
    padding: 20px;
    margin-top: 70px;
    font-weight: 300;
    border-radius: 7px;
}
section.values {
    margin-bottom: 50px;
}
@media (max-width: 768px) {
  .portfolio-hero {
    padding: 100px 0 60px;
  }

  .portfolio-hero h1 {
    font-size: 2.5rem;
  }

  .stats-section,
  .clients-section {
    padding: 60px 0;
  }

  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }
}
