/* ===== PAGE BANNER (reuse from gallery) ===== */
.page-banner {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--primary-dark) 100%);
  padding: 140px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  animation: heroGlow 8s infinite ease-in-out alternate;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
  animation: heroGlow 10s infinite ease-in-out alternate-reverse;
}

.page-banner h1 {
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.page-banner p {
  font-size: 17px;
  opacity: 0.8;
  max-width: 550px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.breadcrumb-custom li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb-custom li a:hover {
  color: var(--accent-light);
}

.breadcrumb-custom li.active {
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 600;
}

.breadcrumb-custom li.active::before {
  content: '›';
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  margin-right: 0;
}


/* ============================================
   MATERNITY CLINIC PAGE STYLES
   Co-operative Hospital Kurunegala
   ============================================ */

/* ===== MAIN SECTION ===== */
.mat-main {
    padding: 80px 0 40px;
}

/* ===== MATERNITY BLOCKS ===== */
.mat-block {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mat-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #f472b6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mat-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.mat-block:hover::before {
    opacity: 1;
}

/* ===== VISUAL PANEL ===== */
.mat-visual {
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mat-visual.antenatal-bg {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), rgba(244, 114, 182, 0.04));
    border: 1px solid rgba(236, 72, 153, 0.1);
}

.mat-visual.delivery-bg {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.04));
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.mat-visual.postnatal-bg {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.06), rgba(6, 182, 212, 0.04));
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.mat-visual.nicu-bg {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(251, 191, 36, 0.04));
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.mat-visual-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.mat-block:hover .mat-visual-icon {
    transform: scale(1.1);
}

.mat-visual-icon.antenatal-icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(244, 114, 182, 0.12));
    color: #ec4899;
}

.mat-visual-icon.delivery-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.12));
    color: #6366f1;
}

.mat-visual-icon.postnatal-icon {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(6, 182, 212, 0.12));
    color: var(--primary);
}

.mat-visual-icon.nicu-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.12));
    color: #f59e0b;
}

.mat-visual-label {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #94a3b8;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* ===== CONTENT PANEL ===== */
.mat-content {
    position: relative;
}

.mat-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.mat-badge.antenatal-badge {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(244, 114, 182, 0.08));
    color: #ec4899;
}

.mat-badge.delivery-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
    color: #6366f1;
}

.mat-badge.postnatal-badge {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.08));
    color: var(--primary);
}

.mat-badge.nicu-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.08));
    color: #f59e0b;
}

.mat-content h3 {
    font-weight: 700;
    font-size: 22px;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.mat-content h3::after {
    display: none;
}

.mat-content > p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Details Grid */
.mat-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.md-item {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 12px 16px;
    transition: background 0.3s ease;
}

.md-item:hover {
    background: rgba(236, 72, 153, 0.04);
}

.md-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.md-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-dark);
}

/* Includes Tags */
.mat-includes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inc-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.inc-tags span {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), rgba(244, 114, 182, 0.04));
    color: #db2777;
    border: 1px solid rgba(236, 72, 153, 0.1);
    transition: all 0.3s ease;
}

.inc-tags span:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(244, 114, 182, 0.08));
    transform: translateY(-1px);
}

/* ===== DARK SECTION ===== */
.mat-dark-section {
    padding: 80px 0;
}

/* ===== TIPS SECTION ===== */
.mat-tips-section {
    padding: 80px 0;
}

.mtip-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
}

.mtip-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.mtip-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, #ec4899, #db2777);
    transition: transform 0.3s ease;
}

.mtip-card:hover .mtip-icon {
    transform: scale(1.15);
}

.mtip-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.mtip-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.mtip-icon.amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.mtip-icon.purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.mtip-icon.rose { background: linear-gradient(135deg, #ef4444, #dc2626); }

.mtip-card h6 {
    font-weight: 700;
    font-size: 14px;
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.mtip-card p {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .mat-main {
        padding: 60px 0 30px;
    }

    .mat-block {
        padding: 28px;
    }

    .mat-block::before {
        width: 100%;
        height: 4px;
        left: 0;
        top: 0;
    }

    .mat-visual {
        min-height: 180px;
        padding: 30px 20px;
        margin-bottom: 10px;
    }

    .mat-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .mat-block {
        padding: 22px 18px;
    }

    .mat-visual {
        min-height: 160px;
        padding: 28px 16px;
        border-radius: 16px;
    }

    .mat-visual-icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
        border-radius: 16px;
    }

    .mat-visual-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .mat-content h3 {
        font-size: 18px;
    }

    .mat-content > p {
        font-size: 13px;
    }

    .mat-details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .md-item {
        padding: 10px 12px;
    }

    .md-label {
        font-size: 10px;
    }

    .md-value {
        font-size: 13px;
    }

    .inc-tags span {
        padding: 4px 10px;
        font-size: 11px;
    }

    .mtip-card {
        padding: 22px 12px;
    }

    .mtip-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .mtip-card h6 {
        font-size: 12px;
    }

    .mtip-card p {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .mat-block {
        padding: 18px 14px;
        border-radius: 18px;
        margin-bottom: 20px;
    }

    .mat-visual {
        min-height: 140px;
        padding: 24px 14px;
        border-radius: 14px;
    }

    .mat-visual-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-radius: 14px;
    }

    .mat-visual-label {
        font-size: 11px;
    }

    .mat-badge {
        font-size: 10px;
        padding: 4px 12px;
    }

    .mat-content h3 {
        font-size: 16px;
    }

    .mat-content > p {
        font-size: 12px;
    }

    .mat-details-grid {
        grid-template-columns: 1fr 1fr;
    }

    .md-item {
        padding: 8px 10px;
        border-radius: 10px;
    }

    .md-label {
        font-size: 9px;
    }

    .md-value {
        font-size: 12px;
    }

    .inc-tags {
        gap: 4px;
    }

    .inc-tags span {
        padding: 3px 8px;
        font-size: 10px;
    }

    .mtip-card {
        padding: 18px 10px;
        border-radius: 14px;
    }

    .mtip-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .mtip-card h6 {
        font-size: 11px;
    }

    .mtip-card p {
        font-size: 10px;
    }
}



    /* ===== TENDER INFO CARD (Dark Section) ===== */


.tender-info-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.tender-info-header {
  background: rgba(255, 255, 255, 0.06);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tender-info-header i {
  font-size: 20px;
  color: var(--accent-light);
}

.tender-info-header h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.tender-info-header h5::after {
  display: none;
}

.tender-info-body {
  padding: 8px 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 12px;
}

.info-row:last-child {
  border: none;
}

.info-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: right;
}

.tender-info-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-tender-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(13, 148, 136, 0.2));
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 14px;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-tender-contact:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}






     .about-section {
        background: linear-gradient(160deg, var(--navy-dark), var(--navy), var(--primary-dark));
        color: #fff;
        position: relative;
        overflow: hidden;
    }

    .about-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .about-glass {
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius);
        padding: 40px;
    }

    .about-feature {
        display: flex;
        gap: 16px;
        margin-bottom: 28px;
    }

    .about-feature-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(13, 148, 136, 0.2));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--accent-light);
        flex-shrink: 0;
    }

    .about-feature h6 {
        font-weight: 600;
        margin-bottom: 4px;
    }

    .about-feature p {
        font-size: 14px;
        opacity: 0.7;
        margin: 0;
    }