
        /* === VARIABLES & RESET === */
        :root {
            --primary: #1e73be;
            --secondary: #f4f8fb;
            --accent: #b01f24;
            --text-dark: #2c3e50;
            --text-gray: #666666;
            --white: #ffffff;
            --border: #eaedf1;
            --font-main: 'Poppins', sans-serif;
            --transition: all 0.3s ease;
        }

        body {
            font-family: var(--font-main);
            color: var(--text-gray);
            line-height: 1.7;
            overflow-x: hidden;
            background-color: var(--white);
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;
        }

        .section-padding {
            padding: 80px 0;
        }

        .section-title {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 15px;
            position: relative;
            padding-bottom: 15px;
        }

        /* .section-title::after blocks removed to hide red line */

        /* === TOP BAR === */
        .top-bar {
            background-color: var(--primary);
            color: var(--white);
            padding: 10px 0;
            font-size: 13px;
            font-weight: 500;
        }

        .top-bar-left span {
            margin-right: 25px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .top-bar-right {
            display: flex;
            gap: 15px;
        }

        .top-bar-right a:hover {
            color: rgba(255,255,255,0.7);
        }

        /* === NAVBAR === */
        .navbar-custom {
            background-color: var(--white);
            padding: 20px 0;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo i {
            font-size: 36px;
            color: var(--accent);
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
        }

        .logo-text strong {
            font-size: 20px;
            color: var(--accent);
            font-weight: 700;
        }

        .logo-text span {
            font-size: 13px;
            color: var(--text-dark);
            font-weight: 500;
        }
        
        /* Add overrides for default bootstrap menu logic injected by CMS */
        .navbar-custom .navbar-nav .nav-link {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-dark);
            margin-left: 15px;
        }
        .navbar-custom .navbar-nav .nav-link:hover, .navbar-custom .navbar-nav .nav-link.active {
            color: var(--primary);
        }

        /* === HERO SLIDER === */
        .ncc-hero-slider::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: url('../images/abstract.jpg') center/cover no-repeat;
            opacity: 0.15; /* Subtle blend with background color */
            pointer-events: none;
            z-index: 0;
            mix-blend-mode: multiply;
        }
        .hero {
            position: relative;
            background-color: var(--secondary);
            overflow: hidden;
            height: 500px;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
            display: flex;
            align-items: center;
            z-index: 1;
        }

        .slide.active {
            opacity: 1;
            z-index: 2;
        }

        .slide-content {
            transform: translateY(30px);
            opacity: 0;
            transition: all 0.8s ease 0.3s;
        }

        .slide.active .slide-content {
            transform: translateY(0);
            opacity: 1;
        }

        .slide-content h1 {
            color: var(--text-dark);
            font-size: 40px;
            line-height: 1.2;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .slide-content p {
            font-size: 16px;
            margin-bottom: 30px;
            max-width: 90%;
        }

        .slide-image {
            height: 400px;
            border-radius: 20px 100px 20px 100px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            transform: scale(0.95);
            transition: all 0.8s ease 0.3s;
        }

        .slide.active .slide-image {
            transform: scale(1);
        }

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

        .slider-controls {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .dot {
            width: 12px;
            height: 12px;
            background-color: #cbd5e1;
            border-radius: 50%;
            cursor: pointer;
            transition: var(--transition);
        }

        .dot.active {
            background-color: var(--accent);
            width: 30px;
            border-radius: 10px;
        }

        /* === ABOUT SECTION === */
        .about-section {
            background-color: var(--accent);
            color: var(--white);
        }

        .about-icon-box {
            background: rgba(255,255,255,0.1);
            padding: 40px;
            border-radius: 20px;
            text-align: center;
        }

        .about-icon-box i {
            font-size: 80px;
            margin-bottom: 20px;
        }

        .about-content h2 {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .btn-light-custom {
            display: inline-block;
            background: var(--white);
            color: var(--accent);
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 15px;
        }

        .btn-light-custom:hover {
            background: var(--text-dark);
            color: var(--white);
        }

        /* === VISION & MISSION === */
        .vision-mission {
            background-color: var(--white);
        }

        .vision-box {
            background-color: var(--secondary);
            padding: 40px;
            border-radius: 15px;
            border-left: 5px solid var(--primary);
            margin-bottom: 60px;
        }

        .vision-box h3 {
            color: var(--primary);
            font-size: 24px;
            margin-bottom: 15px;
        }

        .mission-item {
            display: flex;
            gap: 20px;
            align-items: flex-start;
            margin-bottom: 30px;
        }

        .mission-icon {
            background-color: var(--secondary);
            color: var(--accent);
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            font-size: 24px;
            flex-shrink: 0;
        }

        .mission-text h4 {
            font-size: 18px;
            color: var(--text-dark);
            margin-bottom: 10px;
        }

        /* === SERVICES === */
        .services {
            background-color: var(--secondary);
        }

        .service-card {
            background: var(--white);
            padding: 40px 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            transition: var(--transition);
            border-bottom: 3px solid transparent;
            height: 100%;
            margin-bottom: 30px;
        }

        .service-card:hover {
            transform: translateY(-10px);
            border-bottom-color: var(--primary);
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
        }

        .service-card i {
            font-size: 40px;
            color: var(--primary);
            margin-bottom: 25px;
            display: inline-block;
        }

        .service-card h3 {
            font-size: 20px;
            color: var(--text-dark);
            margin-bottom: 15px;
        }

        .service-link {
            color: var(--primary);
            font-weight: 600;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .service-link:hover {
            color: var(--accent);
            gap: 12px;
        }

        /* === STATS SECTION === */
        .stats {
            background: linear-gradient(rgba(30, 115, 190, 0.9), rgba(30, 115, 190, 0.9)), url('https://images.unsplash.com/photo-1538108149393-ceb44afe504b?auto=format&fit=crop&q=80') center/cover fixed;
            color: var(--white);
            text-align: center;
        }

        .stat-box { margin-bottom: 30px; }

        .stat-box i {
            font-size: 40px;
            margin-bottom: 20px;
            color: rgba(255,255,255,0.8);
        }

        .stat-box h3 {
            font-size: 48px;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .stat-box p {
            font-size: 15px;
            font-weight: 500;
            opacity: 0.9;
        }

        /* === NEWS & EVENTS === */
        .news-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            transition: var(--transition);
            margin-bottom: 30px;
            height: 100%;
        }

        .news-card:hover {
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .news-img {
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .news-card:hover .news-img img {
            transform: scale(1.1);
        }

        .news-date {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--accent);
            color: var(--white);
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            z-index: 2;
        }

        .news-content {
            padding: 25px;
        }

        .news-content h3 {
            font-size: 18px;
            color: var(--text-dark);
            line-height: 1.4;
            margin-bottom: 15px;
        }

        .news-content h3 a:hover {
            color: var(--primary);
        }

        /* === PARTNERS === */
        .partners {
            background: linear-gradient(180deg, #e2e8f0 0%, #cee5fa 100%) !important;
            text-align: center;
        }

        .partners-count h2 {
            font-size: 70px;
            color: var(--primary);
            line-height: 1;
        }

        .partners-logos img {
            height: 70px;
            filter: grayscale(100%) opacity(0.6);
            transition: var(--transition);
            margin: 10px;
        }

        .partners-logos img:hover {
            filter: grayscale(0%) opacity(1);
        }

        /* === FOOTER === */
        .footer {
            background-color: #1a252f;
            color: #a0aab2;
            padding: 80px 0 30px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
        }

        .footer-logo i {
            font-size: 40px;
            color: var(--accent);
        }

        .footer-logo-text {
            color: var(--white);
            font-size: 18px;
            font-weight: 700;
            line-height: 1.2;
        }

        .footer-title {
            color: var(--white);
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background-color: var(--accent);
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-links a::before {
            content: '\f105';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 12px;
            color: var(--primary);
        }

        .footer-links a:hover {
            color: var(--white);
            transform: translateX(5px);
        }

        .contact-list li {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }

        .contact-list i {
            color: var(--primary);
            font-size: 20px;
            margin-top: 5px;
        }

        .contact-list strong {
            display: block;
            color: var(--white);
            margin-bottom: 5px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.05);
            font-size: 14px;
        }
    
        @media (min-width: 992px) {
            .navbar .dropdown:hover .dropdown-menu { display: block; margin-top: 0; }
        }
    
        
        .navbar-custom .dropdown-menu .dropdown-item:hover {
            color: var(--primary) !important;
            background-color: var(--secondary) !important;
            padding-left: 25px !important;
        }
    
        .navbar-custom .dropdown-menu {
            padding: 6px 0 !important;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
            border: 1px solid var(--border) !important;
            border-radius: 8px !important;
        }
        .navbar-custom .dropdown-menu .dropdown-item {
            font-size: 13px !important;
            font-weight: 500 !important;
            color: var(--text-dark) !important;
            padding: 7px 20px !important;
            line-height: 1.2 !important;
            transition: var(--transition) !important;
        }
    

/* Custom Page CSS */ /* ===================== FONTS ===================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Red+Hat+Display:wght@400;500;700;900&display=swap');

/* ===================== BASE ===================== */
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* ===================== ABOUT NCC ===================== */
.about-ncc { background: #c02f1f; position: relative; overflow: hidden; }
.about-ncc .video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.25; pointer-events: none; }
.about-ncc .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #c02f1f; opacity: 0.78; mix-blend-mode: multiply; }
.about-ncc-inner { position: relative; z-index: 10; display: flex; align-items: center; gap: 40px; padding: 3.5rem 0; color: #fff; }
.about-ncc-logo { flex-shrink: 0; padding-left: 60px; }
.about-ncc-logo img { max-width: 170px; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2)); }
.about-ncc-text { flex: 1; padding-right: 3rem; }
.about-ncc-text h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; text-shadow: 2px 2px 5px rgba(0,0,0,0.2); }
.about-ncc-text p { font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 850px; }
.btn-about { display: inline-flex; align-items: center; gap: 0.8rem; background: rgba(255,255,255,0.2); padding: 0.7rem 2rem; border-radius: 50px; font-size: 1.1rem; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,0.4); transition: all 0.3s; }
.btn-about:hover { background: rgba(255,255,255,0.35); transform: translateY(-3px); }

/* ===================== VISION & MISSION ===================== */
.vision-mission { background: linear-gradient(180deg, #fff 0%, #ecf3fa 100%); padding: 60px 0; }
.vm-block { margin-bottom: 30px; }
.vm-block h3 { font-size: 24px; font-weight: 500; text-decoration: underline; color: #242424; margin-bottom: 10px; }
.vm-block p { font-size: 15px; color: #8c8c8c; max-width: 700px; }
.vm-divider { border: none; border-top: 1px solid #c9c9c9; margin: 25px 0; max-width: 85%; }
.infobox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 20px; }
.infobox { display: flex; align-items: flex-start; gap: 15px; }
.infobox-icon { font-size: 28px; color: #e41d1d; flex-shrink: 0; margin-top: 4px; }
.infobox h4 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.infobox p { font-size: 14px; color: #8c8c8c; }

/* ===================== CARDIAC SERVICES ===================== */
.cardiac-services { background: linear-gradient(180deg, #fff 0%, #c2e0fd 100%); padding: 60px 0 80px; overflow: hidden; }
.section-title { text-align: center; margin-bottom: 15px; }
.section-title h2 { font-family: 'Poppins', sans-serif; font-size: 40px; font-weight: 500; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 40px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: #fff; border-radius: 24px; padding: 2rem 1.8rem; box-shadow: 0 10px 25px -8px rgba(0,60,100,0.15); transition: all 0.3s; border: 1px solid rgba(42,136,226,0.1); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, #2a88e2, #6bb5ff); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 25px 40px -12px rgba(0,90,150,0.3); }
.service-card-icon { width: 60px; height: 60px; background: #e8f1fd; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: #2a88e2; font-size: 1.8rem; transition: 0.3s; }
.service-card:hover .service-card-icon { background: #2a88e2; color: #fff; }
.service-card h3 { font-size: 1.3rem; font-weight: 600; color: #0b2b40; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; color: #2f4f68; line-height: 1.6; margin-bottom: 1.5rem; }
.service-card .read-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: #2a88e2; border-top: 1px solid rgba(42,136,226,0.2); padding-top: 0.8rem; width: 100%; }
.service-card:hover .read-more i { transform: translateX(5px); }
.service-card .read-more i { transition: transform 0.3s; }

/* ===================== STATISTICS ===================== */
.statistics { background: #fff; padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number { font-family: 'Red Hat Display', sans-serif; font-size: 3rem; font-weight: 900; color: #1d2864; }
.stat-suffix { color: #0071dc; }
.stat-label { font-family: 'Poppins', sans-serif; font-size: 15px; color: #6f7f90; margin-top: 5px; }

/* ===================== NEWS & EVENTS ===================== */
.news-events { padding: 70px 0 20px !important; background: #f8fbff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: all 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.news-card-image { position: relative; height: 220px; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-date { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.6); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; }
.news-card-body { padding: 20px; }
.news-card-body h3 { font-family: 'Red Hat Display', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.4; color: #333; }
.news-card-body h3 a:hover { color: #2a88e2; }

/* ===================== PARTNERS ===================== */
.partners { background: #fff; padding: 50px 0; }
.partners-inner { display: flex; gap: 40px; align-items: center; }
.partners-left { flex: 0 0 35%; }
.partners-left h2 { font-family: 'Red Hat Display', sans-serif; font-size: 42px; font-weight: 700; margin-bottom: 15px; }
.partners-counter { font-family: 'Red Hat Display', sans-serif; font-size: 80px; font-weight: 900; color: #1d2864; }
.partners-counter .suffix { color: #0071dc; font-size: 60px; }
.partners-right { flex: 1; }
.partners-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; align-items: center; }
.partners-logos img { border-radius: 8px; object-fit: contain; max-height: 80px; margin: 0 auto; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .about-ncc-inner { flex-direction: column; text-align: center; }
    .about-ncc-logo { padding-left: 0; }
    .about-ncc-text { padding-right: 0; }
    .infobox-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .partners-inner { flex-direction: column; text-align: center; }
    .partners-logos { grid-template-columns: repeat(3, 1fr); }
}

.card-modern {
  width: 100%; height: 100%; max-width: 400px; margin: 0 auto;
  padding: 32px 28px;
  border-radius: 28px;
  background-color: #f4f7fb;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px; 
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-modern::before { 
  content: ""; 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 6px; 
  background: linear-gradient(90deg, #2a88e2, #6bb5ff); 
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.4s ease; 
}
[dir="rtl"] .card-modern::before { 
  transform-origin: right; 
}
.card-modern:hover::before { 
  transform: scaleX(1); 
}

.card-modern:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 25px 40px -12px rgba(0,90,150,0.3); 
}

.card-modern .card-icon {
  width: 64px; height: 64px; border-radius: 18px; background: #e3ecf7; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.card-modern .card-icon i {
  font-size: 28px; color: #2f6fb2;
  transition: all 0.3s ease;
}
.card-modern:hover .card-icon { 
  background: #2a88e2; 
}
.card-modern:hover .card-icon i {
  color: #fff;
}

.card-modern .card-title {
  font-size: 22px; font-weight: 700; line-height: 1.3; color: #0f2a44; margin: 0;
}
.card-modern .card-description {
  font-size: 15px; line-height: 1.6; color: #5b7288; max-width: 90%; margin: 0;
}
.card-modern .card-divider {
  width: 100%; height: 1px; background-color: #d6e0eb; margin: 8px 0;
}
.card-modern .card-link {
  font-size: 15px; font-weight: 600; color: #2f80ed; text-decoration: none; display: inline-block; position: relative; padding-right: 20px; align-self: flex-start;
}
.card-modern .card-link::after {
  content: "→"; font-size: 16px; position: absolute; right: 0; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease;
}
.card-modern .card-link:hover::after {
  transform: translate(6px, -50%);
}

/* RTL Support */
[dir="rtl"] .card-modern .card-link {
  padding-right: 0; padding-left: 20px;
}
[dir="rtl"] .card-modern .card-link::after {
  content: "←"; right: auto; left: 0;
}
[dir="rtl"] .card-modern .card-link:hover::after {
  transform: translate(-6px, -50%);
}

@media (max-width: 768px) {
  .card-modern { padding: 24px; border-radius: 20px; }
  .card-modern .card-title { font-size: 20px; }
  .card-modern .card-description { font-size: 14px; }
}
        @media (min-width: 992px) {
            .navbar .dropdown:hover .dropdown-menu { display: block; margin-top: 0; }
        }
    
        
        .navbar-custom .dropdown-menu .dropdown-item:hover {
            color: var(--primary) !important;
            background-color: var(--secondary) !important;
            padding-left: 25px !important;
        }
    
        .navbar-custom .dropdown-menu {
            padding: 6px 0 !important;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
            border: 1px solid var(--border) !important;
            border-radius: 8px !important;
        }
        .navbar-custom .dropdown-menu .dropdown-item {
            font-size: 13px !important;
            font-weight: 500 !important;
            color: var(--text-dark) !important;
            padding: 7px 20px !important;
            line-height: 1.2 !important;
            transition: var(--transition) !important;
        }
    


.card-modern {
  width: 100%; height: 100%; max-width: 400px; margin: 0 auto;
  padding: 32px 28px;
  border-radius: 28px;
  background-color: #f4f7fb;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px; 
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-modern::before { 
  content: ""; 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 6px; 
  background: linear-gradient(90deg, #2a88e2, #6bb5ff); 
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.4s ease; 
}
[dir="rtl"] .card-modern::before { 
  transform-origin: right; 
}
.card-modern:hover::before { 
  transform: scaleX(1); 
}

.card-modern:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 25px 40px -12px rgba(0,90,150,0.3); 
}

.card-modern .card-icon {
  width: 64px; height: 64px; border-radius: 18px; background: #e3ecf7; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.card-modern .card-icon i {
  font-size: 28px; color: #2f6fb2;
  transition: all 0.3s ease;
}
.card-modern:hover .card-icon { 
  background: #2a88e2; 
}
.card-modern:hover .card-icon i {
  color: #fff;
}

.card-modern .card-title {
  font-size: 22px; font-weight: 700; line-height: 1.3; color: #0f2a44; margin: 0;
}
.card-modern .card-description {
  font-size: 15px; line-height: 1.6; color: #5b7288; max-width: 90%; margin: 0;
}
.card-modern .card-divider {
  width: 100%; height: 1px; background-color: #d6e0eb; margin: 8px 0;
}
.card-modern .card-link {
  font-size: 15px; font-weight: 600; color: #2f80ed; text-decoration: none; display: inline-block; position: relative; padding-right: 20px; align-self: flex-start;
}
.card-modern .card-link::after {
  content: "→"; font-size: 16px; position: absolute; right: 0; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease;
}
.card-modern .card-link:hover::after {
  transform: translate(6px, -50%);
}

/* RTL Support */
[dir="rtl"] .card-modern .card-link {
  padding-right: 0; padding-left: 20px;
}
[dir="rtl"] .card-modern .card-link::after {
  content: "←"; right: auto; left: 0;
}
[dir="rtl"] .card-modern .card-link:hover::after {
  transform: translate(-6px, -50%);
}

@media (max-width: 768px) {
  .card-modern { padding: 24px; border-radius: 20px; }
  .card-modern .card-title { font-size: 20px; }
  .card-modern .card-description { font-size: 14px; }
}



/* ===================== FONTS ===================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Red+Hat+Display:wght@400;500;700;900&display=swap');

/* ===================== BASE ===================== */
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* ===================== ABOUT NCC ===================== */
.about-ncc { background: #c02f1f; position: relative; overflow: hidden; }
.about-ncc .video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.25; pointer-events: none; }
.about-ncc .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #c02f1f; opacity: 0.78; mix-blend-mode: multiply; }
.about-ncc-inner { position: relative; z-index: 10; display: flex; align-items: center; gap: 40px; padding: 3.5rem 0; color: #fff; }
.about-ncc-logo { flex-shrink: 0; padding-left: 60px; }
.about-ncc-logo img { max-width: 170px; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2)); }
.about-ncc-text { flex: 1; padding-right: 3rem; }
.about-ncc-text h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; text-shadow: 2px 2px 5px rgba(0,0,0,0.2); }
.about-ncc-text p { font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 850px; }
.btn-about { display: inline-flex; align-items: center; gap: 0.8rem; background: rgba(255,255,255,0.2); padding: 0.7rem 2rem; border-radius: 50px; font-size: 1.1rem; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,0.4); transition: all 0.3s; }
.btn-about:hover { background: rgba(255,255,255,0.35); transform: translateY(-3px); }

/* ===================== VISION & MISSION ===================== */
.vision-mission { background: linear-gradient(180deg, #fff 0%, #ecf3fa 100%); padding: 60px 0; }
.vm-block { margin-bottom: 30px; }
.vm-block h3 { font-size: 24px; font-weight: 500; text-decoration: underline; color: #242424; margin-bottom: 10px; }
.vm-block p { font-size: 15px; color: #8c8c8c; max-width: 700px; }
.vm-divider { border: none; border-top: 1px solid #c9c9c9; margin: 25px 0; max-width: 85%; }
.infobox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 20px; }
.infobox { display: flex; align-items: flex-start; gap: 15px; }
.infobox-icon { font-size: 28px; color: #e41d1d; flex-shrink: 0; margin-top: 4px; }
.infobox h4 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.infobox p { font-size: 14px; color: #8c8c8c; }

/* ===================== CARDIAC SERVICES ===================== */
.cardiac-services { background: linear-gradient(180deg, #fff 0%, #c2e0fd 100%); padding: 60px 0 80px; overflow: hidden; }
.section-title { text-align: center; margin-bottom: 15px; }
.section-title h2 { font-family: 'Poppins', sans-serif; font-size: 40px; font-weight: 500; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 40px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: #fff; border-radius: 24px; padding: 2rem 1.8rem; box-shadow: 0 10px 25px -8px rgba(0,60,100,0.15); transition: all 0.3s; border: 1px solid rgba(42,136,226,0.1); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, #2a88e2, #6bb5ff); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 25px 40px -12px rgba(0,90,150,0.3); }
.service-card-icon { width: 60px; height: 60px; background: #e8f1fd; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: #2a88e2; font-size: 1.8rem; transition: 0.3s; }
.service-card:hover .service-card-icon { background: #2a88e2; color: #fff; }
.service-card h3 { font-size: 1.3rem; font-weight: 600; color: #0b2b40; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; color: #2f4f68; line-height: 1.6; margin-bottom: 1.5rem; }
.service-card .read-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: #2a88e2; border-top: 1px solid rgba(42,136,226,0.2); padding-top: 0.8rem; width: 100%; }
.service-card:hover .read-more i { transform: translateX(5px); }
.service-card .read-more i { transition: transform 0.3s; }

/* ===================== STATISTICS ===================== */
.statistics { background: #fff; padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number { font-family: 'Red Hat Display', sans-serif; font-size: 3rem; font-weight: 900; color: #1d2864; }
.stat-suffix { color: #0071dc; }
.stat-label { font-family: 'Poppins', sans-serif; font-size: 15px; color: #6f7f90; margin-top: 5px; }

/* ===================== NEWS & EVENTS ===================== */
.news-events { padding: 70px 0 20px !important; background: #f8fbff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: all 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.news-card-image { position: relative; height: 220px; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-date { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.6); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; }
.news-card-body { padding: 20px; }
.news-card-body h3 { font-family: 'Red Hat Display', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.4; color: #333; }
.news-card-body h3 a:hover { color: #2a88e2; }

/* ===================== PARTNERS ===================== */
.partners { background: #fff; padding: 50px 0; }
.partners-inner { display: flex; gap: 40px; align-items: center; }
.partners-left { flex: 0 0 35%; }
.partners-left h2 { font-family: 'Red Hat Display', sans-serif; font-size: 42px; font-weight: 700; margin-bottom: 15px; }
.partners-counter { font-family: 'Red Hat Display', sans-serif; font-size: 80px; font-weight: 900; color: #1d2864; }
.partners-counter .suffix { color: #0071dc; font-size: 60px; }

.partners-left h2, .partners-counter, .partners-counter .suffix { color: #1d2864 !important; }
.partners .carousel-indicators { margin-top: 40px !important; }
.partners .carousel-indicators button { background-color: #2c3e50 !important; opacity: 0.3 !important; }
.partners .carousel-indicators button.active { opacity: 1 !important; }
.partners .carousel-control-prev { left: -55px !important; }
.partners .carousel-control-next { right: -55px !important; }
.partners-right { flex: 1; }
.partners-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; align-items: center; }
.partners-logos img { border-radius: 8px; object-fit: contain; max-height: 80px; margin: 0 auto; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .about-ncc-inner { flex-direction: column; text-align: center; }
    .about-ncc-logo { padding-left: 0; }
    .about-ncc-text { padding-right: 0; }
    .infobox-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .partners-inner { flex-direction: column; text-align: center; }
    .partners-logos { grid-template-columns: repeat(3, 1fr); }
}

.card-modern {
  width: 100%; height: 100%; max-width: 400px; margin: 0 auto;
  padding: 32px 28px;
  border-radius: 28px;
  background-color: #f4f7fb;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px; 
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-modern::before { 
  content: ""; 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 6px; 
  background: linear-gradient(90deg, #2a88e2, #6bb5ff); 
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.4s ease; 
}
[dir="rtl"] .card-modern::before { 
  transform-origin: right; 
}
.card-modern:hover::before { 
  transform: scaleX(1); 
}

.card-modern:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 25px 40px -12px rgba(0,90,150,0.3); 
}

.card-modern .card-icon {
  width: 64px; height: 64px; border-radius: 18px; background: #e3ecf7; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.card-modern .card-icon i {
  font-size: 28px; color: #2f6fb2;
  transition: all 0.3s ease;
}
.card-modern:hover .card-icon { 
  background: #2a88e2; 
}
.card-modern:hover .card-icon i {
  color: #fff;
}

.card-modern .card-title {
  font-size: 22px; font-weight: 700; line-height: 1.3; color: #0f2a44; margin: 0;
}
.card-modern .card-description {
  font-size: 15px; line-height: 1.6; color: #5b7288; max-width: 90%; margin: 0;
}
.card-modern .card-divider {
  width: 100%; height: 1px; background-color: #d6e0eb; margin: 8px 0;
}
.card-modern .card-link {
  font-size: 15px; font-weight: 600; color: #2f80ed; text-decoration: none; display: inline-block; position: relative; padding-right: 20px; align-self: flex-start;
}
.card-modern .card-link::after {
  content: "→"; font-size: 16px; position: absolute; right: 0; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease;
}
.card-modern .card-link:hover::after {
  transform: translate(6px, -50%);
}

/* RTL Support */
[dir="rtl"] .card-modern .card-link {
  padding-right: 0; padding-left: 20px;
}
[dir="rtl"] .card-modern .card-link::after {
  content: "←"; right: auto; left: 0;
}
[dir="rtl"] .card-modern .card-link:hover::after {
  transform: translate(-6px, -50%);
}

@media (max-width: 768px) {
  .card-modern { padding: 24px; border-radius: 20px; }
  .card-modern .card-title { font-size: 20px; }
  .card-modern .card-description { font-size: 14px; }
}



.navbar-nav { margin-left: 15px !important; }



/* Match all Bootstrap .container widths to the header (1300px) */
.container { max-width: 1300px !important; }
/* Default page-wrapper spacing — editable per-page in the builder */
#page-wrapper { padding: 40px 20px; max-width: 1300px; margin: 0 auto; }
#page-wrapper > section { margin-bottom: 0; }
/* Breadcrumb aligns to same width */
.ncc-breadcrumb-inner { max-width: 1300px; }
/* ── Header navbar protection: prevent page-content CSS from leaking (desktop only) ── */
.navbar-custom .navbar-nav .nav-item { margin-bottom: 0 !important; width: auto !important; background: none !important; }
@media (min-width: 992px) {
    .navbar-custom .navbar-nav .nav-link { display: inline-block !important; padding: 8px 15px !important; background-color: transparent !important; border-radius: 0 !important; border-left: none !important; border: none !important; width: auto !important; box-sizing: border-box !important; font-weight: 500 !important; color: var(--text-dark, #333) !important; }
    .navbar-custom .navbar-nav .nav-link:hover { background-color: transparent !important; color: var(--primary, #1e73be) !important; border-left-color: transparent !important; }
    .navbar-custom .navbar-nav .nav-link.active { background-color: transparent !important; color: var(--primary, #1e73be) !important; border-left-color: transparent !important; }
}
.navbar-custom .navbar-nav .nav-link i { margin-right: 0 !important; width: auto !important; }
.navbar-custom .container { max-width: 1300px !important; padding: 0 15px !important; }
/* Protect Logo layout from being crushed by generic .logo classes */
.navbar-custom .logo { width: auto !important; height: auto !important; display: inline-block !important; padding: 5px 0 !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
.navbar-custom .logo img { max-height: 65px !important; width: auto !important; object-fit: contain !important; display: block !important; }
/* Prevent unexpected overflow:hidden leaks from clipping dropdowns */
.navbar-custom, .navbar-custom .container, .navbar-custom .navbar-collapse, .navbar-custom .navbar-nav { overflow: visible !important; }

/* ── Premium Dropdown Submenu ── */
@media (min-width: 992px) {
    .navbar-custom .dropdown:hover .dropdown-menu { display: block !important; opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
    .navbar-custom .dropdown-menu { display: block !important; opacity: 0 !important; visibility: hidden !important; transform: translateY(10px) !important; transition: all 0.3s ease !important; margin-top: 0 !important; }
}
.navbar-custom .dropdown-menu { border: none !important; border-radius: 12px !important; box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important; padding: 8px 0 !important; background: #ffffff !important; min-width: 240px !important; position: absolute !important; z-index: 1050 !important; }
.navbar-custom .dropdown-menu::before { content: '' !important; position: absolute !important; top: -8px !important; left: 24px !important; border-left: 8px solid transparent !important; border-right: 8px solid transparent !important; border-bottom: 8px solid #ffffff !important; }
html[dir="rtl"] .navbar-custom .dropdown-menu::before { left: auto !important; right: 24px !important; }
.navbar-custom .dropdown-menu .dropdown-item { padding: 10px 24px !important; font-size: 14px !important; font-weight: 500 !important; color: #4a5568 !important; transition: all 0.2s ease !important; position: relative !important; text-wrap: wrap !important; }
.navbar-custom .dropdown-menu .dropdown-item:not(:last-child) { border-bottom: 1px solid #f1f5f9 !important; }
.navbar-custom .dropdown-menu .dropdown-item:hover, .navbar-custom .dropdown-menu .dropdown-item:focus { background-color: transparent !important; color: var(--primary, #1e73be) !important; padding-left: 32px !important; }
.navbar-custom .dropdown-menu .dropdown-item::before { content: '\f105' !important; font-family: 'Font Awesome 6 Free' !important; font-weight: 900 !important; position: absolute !important; left: 16px !important; top: 50% !important; transform: translateY(-50%) !important; color: var(--primary, #1e73be) !important; opacity: 0 !important; transition: all 0.2s ease !important; }
.navbar-custom .dropdown-menu .dropdown-item:hover::before { opacity: 1 !important; }
/* RTL Dropdown Item Hover */
html[dir="rtl"] .navbar-custom .dropdown-menu .dropdown-item { padding-left: 24px !important; padding-right: 24px !important; text-align: right !important; }
html[dir="rtl"] .navbar-custom .dropdown-menu .dropdown-item:hover { padding-left: 24px !important; padding-right: 32px !important; text-align: right !important; }
html[dir="rtl"] .navbar-custom .dropdown-menu .dropdown-item::before { content: '\f104' !important; left: auto !important; right: 16px !important; }


:root{--primary:#1e73be;--secondary:#f4f8fb;--accent:#b01f24;--text-dark:#2c3e50;--text-gray:#666666;--white:#ffffff;--border:#eaedf1;}


/* About Banner: NCC red background and logo */
.ncc-about-banner .about-ncc { background: #c02f1f; position: relative; overflow: hidden; display: block; }
.ncc-about-banner .about-ncc .video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.25; pointer-events: none; }
.ncc-about-banner .about-ncc .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #c02f1f; opacity: 0.78; mix-blend-mode: multiply; }
.ncc-about-banner .about-ncc-inner { position: relative; z-index: 10; display: flex; align-items: center; gap: 40px; padding: 3.5rem 0; color: #fff; }
.ncc-about-banner .about-ncc-logo { flex-shrink: 0; padding-left: 60px; }
.ncc-about-banner .about-ncc-logo img { max-width: 170px; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2)); }
.ncc-about-banner .about-ncc-text { flex: 1; padding-right: 3rem; }
.ncc-about-banner .about-ncc-text h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; text-shadow: 2px 2px 5px rgba(0,0,0,0.2); margin-top: 0; }
.ncc-about-banner .about-ncc-text p { font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 850px; }
.ncc-about-banner .btn-about { display: inline-flex; align-items: center; gap: 0.8rem; background: rgba(255,255,255,0.2); padding: 0.7rem 2rem; border-radius: 50px; font-size: 1.1rem; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,0.4); transition: all 0.3s; text-decoration: none; }

/* Enforce maximum size for banner titles across ALL internal pages (overrides Bootstrap display-5) */
h1.display-5, .ncc-about-banner h1, .page-header h1 {
    font-size: 1.8rem !important; 
}
@media (max-width: 768px) {
    h1.display-5, .ncc-about-banner h1, .page-header h1 {
        font-size: 1.5rem !important;
    }
}
.ncc-about-banner .btn-about:hover { background: rgba(255,255,255,0.35); transform: translateY(-3px); color: #fff; }
.ncc-builder-chrome { display: none !important; }

@media (max-width: 768px) {
    .ncc-about-banner .about-ncc-inner { flex-direction: column; text-align: center; }
    .ncc-about-banner .about-ncc-logo { padding-left: 0; }
    .ncc-about-banner .about-ncc-text { padding-right: 0; }
}



html[dir="rtl"] {
    --font-main: 'Cairo', sans-serif !important;
}
html[dir="rtl"] *:not(i):not([class*="fa-"]) {
    font-family: 'Cairo', sans-serif !important;
}
@media (min-width: 992px) {
    html[dir="rtl"] .navbar-collapse {
        justify-content: flex-start !important;
    }
    html[dir="rtl"] .navbar-nav {
        margin-right: 15px !important;
        margin-left: auto !important;
    }
}

html[dir="rtl"] .service-link i {
    font-size: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(2px);
}

/* === RTL HERO SLIDER FIXES === */
@media (min-width: 992px) {
    html[dir="rtl"] .ncc-hero-slide {
        flex-direction: row !important;
        justify-content: flex-end !important;
    }

    html[dir="rtl"] .ncc-hero-slide-content {
        width: 50% !important;
        order: 2 !important;
        position: relative !important;
        right: 0 !important;
        left: auto !important;
        margin-right: 0 !important;
        margin-left: auto !important;
    }

    html[dir="rtl"] .ncc-hero-slide-image {
        left: 0 !important;
        right: auto !important;
        width: 45% !important;
    }

    html[dir="rtl"] .ncc-curve-mask {
        border-radius: 0 100vw 100vw 0 !important;
        border: 10px solid #fff !important;
        border-left: none !important;
        border-right: 10px solid #fff !important;
        box-shadow: 20px 0 40px rgba(0,0,0,0.12) !important;
        left: 0 !important;
        right: auto !important;
    }
}

/* RTL slider: text/padding overrides — desktop only */
@media (min-width: 992px) {
    html[dir="rtl"] .ncc-hero-slide-content {
        padding: 3rem 5% 3rem 0 !important;
        text-align: right !important;
    }

    html[dir="rtl"] .ncc-hero-slide-content h2,
    html[dir="rtl"] .ncc-hero-slide-content p {
        text-align: right !important;
        max-width: 500px !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    html[dir="rtl"] .ncc-hero-slide .ncc-hero-slide-content h2 {
        margin-bottom: 60px !important;
    }

    html[dir="rtl"] .ncc-hero-slide-content h2,
    html[dir="rtl"] .ncc-hero-slide-content p {
        margin-right: 20px !important;
    }

    html[dir="rtl"] .ncc-hero-arrow.prev {
        left: auto !important;
        right: 15px !important;
    }

    html[dir="rtl"] .ncc-hero-arrow.next {
        right: auto !important;
        left: 15px !important;
    }

    html[dir="rtl"] .ncc-hero-arrow.prev i::before {
        content: "\f054";
    }

    html[dir="rtl"] .ncc-hero-arrow.next i::before {
        content: "\f053";
    }
}



#carousel-partners.carousel.slide { opacity:1!important; position:relative!important; top:auto!important; left:auto!important; width:100%!important; height:auto!important; z-index:auto!important; display:block!important; transition:none!important; }
#carousel-partners .carousel-indicators .active { opacity:1!important; }
#carousel-partners .carousel-control-prev:hover, #carousel-partners .carousel-control-next:hover { background:rgba(0,0,0,0.25)!important; }



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f0f7fc;
    
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}



/* footer background: clean #2a88e2 */
.cardiac-footer {
    width: 100%;
    background: #2a88e2;
    color: white;
    padding: 1.8rem 2.5rem;
    box-shadow: 0 -4px 12px rgba(0, 50, 100, 0.2);
    
}

/* single row, four equal blocks with neat spacing */
.footer-row {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    gap: 1.5rem;
    justify-content: space-between;
}

/* each block – clean, professional, NO borders */
.info-block {
    flex: 1 1 220px;          /* flexible, min width 220px */
    background: transparent;   /* removed background */
    border: none;              /* removed border */
    padding: 1.5rem 1.2rem;
    /* no border, no background, just clean content */
}

/* block title – simple line with icon */
.block-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 0.6rem;
    margin-bottom: 1.1rem;
    text-transform: none;
    color: white;
}

.block-title i {
    color: white;
    font-size: 1.2rem;
    width: 1.6rem;
    opacity: 0.9;
}

/* text / description styling */
.desc-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

/* simple list */
.item-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
}

.item i {
    width: 1.4rem;
    font-size: 0.9rem;
    color: white;
    opacity: 0.8;
}

.item span {
    font-weight: 400;
}

.item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* package items – minimal, no extra bg */
.package-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.package-simple i {
    width: 1.4rem;
    color: white;
}

.package-simple a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.package-simple a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* contact info styling */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.contact-line i {
    width: 1.4rem;
    font-size: 0.9rem;
    color: white;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.contact-line div {
    line-height: 1.4;
}

.contact-line a {
    color: white;
    text-decoration: none;
}

.contact-line a:hover {
    text-decoration: underline;
}

/* no yellow, only clean white/blue */
.cardiac-footer a, .cardiac-footer a:visited {
    color: white;
    text-decoration: none;
}

/* responsive: wrap gracefully */
@media (max-width: 1000px) {
    .cardiac-footer {
        padding: 1.5rem;
    }
    .info-block {
        min-width: 240px;
    }
}

/* logo treatment – small, clean */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}
.logo-wrap img {
    max-height: 42px;
    width: auto;
    background: white;
    border-radius: 30px;
    padding: 0.2rem 0.9rem;
}



/* =========================================
   HOMEPAGE SECTION FIXES (STATISTICS, PARTNERS, NEWS) 
   ========================================= */

/* 1. Force Full Width Backgrounds (Break out of #page-wrapper constraints) */
#page-wrapper .pb-5,
#page-wrapper .partners,
#page-wrapper .news-events {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
}

/* Ensure inner content remains aligned within normal grid limits */
#page-wrapper .pb-5 .container,
#page-wrapper .partners .container,
#page-wrapper .news-events .container {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* 2. News Section Hover & Grid Features */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.news-card-image {
    position: relative;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary, #1e73be);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* RTL Support for News Date */
html[dir="rtl"] .news-card-date {
    left: auto;
    right: 15px;
}

.news-card-body {
    padding: 25px 20px;
    flex-grow: 1;
}

.news-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.news-card-body h3 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-body h3 a {
    color: var(--primary, #1e73be);
}


/* Removed hardcoded partner styles to allow visual builder background colors */
