/* ===== Profile Page Styles ===== */
.profile-hero {
  background:
    linear-gradient(135deg, rgba(29, 59, 111, 0.9), rgba(29, 59, 111, 0.7)),
    url("../img/hero-bg.jpg") center/cover;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 80px 0 60px;
}

.profile-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.profile-hero h1 span {
  color: #e6ad00;
}

.profile-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 25px;
}

.profile-hero .btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e6ad00;
  color: #fff;
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(230, 173, 0, 0.3);
}

.profile-hero .btn-download:hover {
  background: #d19c00;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(230, 173, 0, 0.4);
}

.profile-hero .btn-download i {
  font-size: 20px;
}

/* Breadcrumb */
.profile-breadcrumb {
  background: #f5f9ff;
  padding: 15px 0;
  border-bottom: 1px solid #e8eef6;
}

.profile-breadcrumb a {
  color: #1d3b6f;
  text-decoration: none;
  transition: color 0.3s;
}

.profile-breadcrumb a:hover {
  color: #e6ad00;
}

.profile-breadcrumb span {
  color: #999;
  margin: 0 8px;
}

.profile-breadcrumb .current {
  color: #e6ad00;
  font-weight: 600;
}

/* Profile Info Bar */
.profile-info-bar {
  background: #fff;
  padding: 30px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.info-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-bar-item i {
  width: 45px;
  height: 45px;
  background: rgba(230, 173, 0, 0.1);
  color: #e6ad00;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-bar-item h5 {
  font-size: 13px;
  color: #999;
  margin: 0 0 3px;
  font-weight: 400;
}

.info-bar-item p {
  font-size: 15px;
  color: #1d3b6f;
  margin: 0;
  font-weight: 600;
}

/* Pages Gallery Section */
.profile-gallery {
  padding: 70px 0;
  background: #f5f9ff;
}

.profile-gallery .section-title-profile {
  text-align: center;
  margin-bottom: 50px;
}

.profile-gallery .section-title-profile h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1d3b6f;
  margin-bottom: 10px;
}

.profile-gallery .section-title-profile p {
  color: #777;
  font-size: 16px;
}

/* Page Card */
.profile-page-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  margin-bottom: 30px;
  border: 1px solid #eef2f7;
  position: relative;
}

.profile-page-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
  border-color: #e6ad00;
}

.profile-page-card .page-number {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(29, 59, 111, 0.85);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  z-index: 2;
  backdrop-filter: blur(5px);
}

.profile-page-card .page-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.profile-page-card .page-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.profile-page-card:hover .page-img-wrap img {
  transform: scale(1.05);
}

.profile-page-card .page-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(29, 59, 111, 0.7) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

.profile-page-card:hover .page-img-overlay {
  opacity: 1;
}

.profile-page-card .page-img-overlay .zoom-btn {
  background: #e6ad00;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.3s;
  transform: translateY(20px);
}

.profile-page-card:hover .page-img-overlay .zoom-btn {
  transform: translateY(0);
}

.profile-page-card .page-img-overlay .zoom-btn:hover {
  background: #d19c00;
  transform: scale(1.1);
}

/* Navigation Controls */
.profile-nav-controls {
  text-align: center;
  margin-top: 40px;
}

.profile-nav-controls .btn-profile-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  margin: 0 8px;
}

.btn-back-home {
  background: #1d3b6f;
  color: #fff;
}

.btn-back-home:hover {
  background: #152d55;
  color: #fff;
  transform: translateY(-2px);
}

.btn-download-pdf {
  background: #e6ad00;
  color: #fff;
}

.btn-download-pdf:hover {
  background: #d19c00;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .profile-hero h1 {
    font-size: 28px;
  }
  .profile-hero p {
    font-size: 15px;
  }
  .info-bar-item {
    margin-bottom: 15px;
  }
}
/*--------------------------------------------------------------
# MEP Sections (Mechanical, Electrical, Wood & Steel)
--------------------------------------------------------------*/
.mep-section {
  padding: 60px 0;
}

.mep-intro-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  border-radius: 16px;
  border-right: 5px solid;
}

.mep-intro-box.mechanical-intro {
  background: linear-gradient(
    135deg,
    rgba(29, 59, 111, 0.05),
    rgba(29, 59, 111, 0.02)
  );
  border-right-color: var(--heading-color);
}

.mep-intro-box.electrical-intro {
  background: linear-gradient(
    135deg,
    rgba(230, 173, 0, 0.08),
    rgba(230, 173, 0, 0.02)
  );
  border-right-color: var(--accent-color);
}

.mep-intro-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
}

.mechanical-intro .mep-intro-icon {
  background: var(--heading-color);
  color: #fff;
}

.electrical-intro .mep-intro-icon {
  background: var(--accent-color);
  color: #fff;
}

.mep-intro-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

/* Wood & Steel Cards */
.mep-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
}

.mep-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.mep-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 30px;
  color: #fff;
}

.mep-card-header.wood-header {
  background: linear-gradient(135deg, #8b4513, #a0522d, #cd853f);
}

.mep-card-header.steel-header {
  background: linear-gradient(135deg, #2c3e50, #4a6741, #34495e);
}

.mep-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mep-card-icon i {
  font-size: 24px;
  color: #fff;
}

.mep-card-header h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.mep-card-en {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-top: 2px;
}

.mep-card-body {
  padding: 25px;
}

.mep-subsection {
  margin-bottom: 20px;
}

.mep-subsection:last-child {
  margin-bottom: 0;
}

.mep-sub-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid
    color-mix(in srgb, var(--accent-color), transparent 70%);
}

.mep-sub-header i {
  font-size: 20px;
  color: var(--accent-color);
}

.mep-sub-header h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.mep-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mep-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.6;
}

.mep-list li i {
  color: var(--accent-color);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Mechanical Service Cards */
.mep-service-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 30px 25px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
}

.mep-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transition: height 0.4s ease;
}

.mep-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.mep-service-card:hover::before {
  height: 6px;
}

.mep-service-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mep-service-icon i {
  font-size: 32px;
  color: #fff;
}

.mep-service-icon.hvac-icon {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
}

.mep-service-icon.plumbing-icon {
  background: linear-gradient(135deg, #2196f3, #64b5f6);
}

.mep-service-icon.fire-icon {
  background: linear-gradient(135deg, #e53935, #ff7043);
}

.mep-service-icon.other-mech-icon {
  background: linear-gradient(135deg, #546e7a, #78909c);
}

.mep-service-card h4 {
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 4px;
}

.mep-service-en {
  display: block;
  text-align: center;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-style: italic;
  margin-bottom: 18px;
}

.mep-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mep-service-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px dashed
    color-mix(in srgb, var(--default-color), transparent 88%);
}

.mep-service-list li:last-child {
  border-bottom: none;
}

.mep-service-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 14px;
}

.mep-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  padding: 5px 14px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.mep-service-badge i {
  font-size: 12px;
}

/* Electrical Cards */
.elec-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 35px 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
}

.elec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-color);
}

.elec-card-featured {
  border: 2px solid var(--accent-color);
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--accent-color), transparent 95%),
    var(--surface-color)
  );
}

.elec-featured-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.elec-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.elec-icon-wrap {
  width: 65px;
  height: 65px;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), #ff6600 30%)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(230, 173, 0, 0.25);
  transition: transform 0.3s ease;
}

.elec-card:hover .elec-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.elec-icon-wrap i {
  font-size: 30px;
  color: #fff;
}

.elec-card-number {
  font-size: 48px;
  font-weight: 900;
  color: color-mix(in srgb, var(--default-color), transparent 90%);
  line-height: 1;
}

.elec-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 4px;
}

.elec-card-en {
  display: block;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-style: italic;
  margin-bottom: 15px;
}

.elec-divider {
  height: 3px;
  background: linear-gradient(to left, var(--accent-color), transparent);
  border-radius: 3px;
  margin-bottom: 20px;
}

.elec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.elec-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
}

.elec-list li:last-child {
  border-bottom: none;
}

.elec-list li:hover {
  padding-right: 8px;
}

.elec-list-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.elec-list li:hover .elec-list-icon {
  background: var(--accent-color);
}

.elec-list-icon i {
  font-size: 14px;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.elec-list li:hover .elec-list-icon i {
  color: #fff;
}

/* Profile Nav Link in Header */
.profile-nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}

/* Responsive MEP */
@media (max-width: 991px) {
  .mep-card-header h3 {
    font-size: 18px;
  }
  .mep-service-card {
    padding: 25px 20px;
  }
  .elec-card {
    padding: 25px 20px;
  }
}

@media (max-width: 575px) {
  .mep-intro-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .mep-card-header {
    padding: 20px;
  }
  .mep-card-header h3 {
    font-size: 16px;
  }
  .mep-card-body {
    padding: 20px;
  }
  .elec-card-number {
    font-size: 36px;
  }
  .elec-card h4 {
    font-size: 16px;
  }
}
