/* ========== MEDCALGOO PRESTIGE DESIGN SYSTEM ========== */

:root {
    /* Precise Medical Prestige Palette */
    --p-navy: #0f172a;
    --p-navy-light: #1e293b;
    --p-blue: #0284c7;
    --p-blue-light: #e0f2fe;
    --p-red: #ef4444;
    --p-red-dark: #dc2626;
    --p-gold: #b45309;
    --p-gold-light: #fbbf24;
    
    /* Functional Surfaces */
    --bg-main: #ffffff;
    --bg-soft: #f8fafc;
    --bg-accent: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    /* Decoration & Brand Items */
    --whatsapp: #25d366;
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 30px;
    --radius-full: 100px;
    
    /* Shadow & Transition Mastery */
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.12);
    --trans: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Gradients */
    --grad-navy: linear-gradient(135deg, var(--p-navy) 0%, var(--p-navy-light) 100%);
    --grad-red: linear-gradient(135deg, var(--p-red) 0%, var(--p-red-dark) 100%);

    /* Glassmorphism Ultra */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: 20px;
}

/* --- Modern Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--trans); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

/* --- Scrollbar Performance --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--p-red); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--p-red-dark); }

/* --- Typography System --- */
h1, h2, h3, h4, h5 { color: var(--p-navy); font-weight: 800; line-height: 1.25; margin-bottom: 1.2rem; }
h1 { font-size: clamp(2.2rem, 8vw, 4rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.8rem, 5vw, 3rem); text-align: center; position: relative; padding-bottom: 20px; }
h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 5px; background: var(--p-red); border-radius: 5px; }
h3 { font-size: 1.6rem; }
p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.1rem; }

/* --- Global Utility Classes --- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.bg-soft { background-color: var(--bg-soft); }
.bg-navy { background-color: var(--p-navy); color: white; }
.bg-navy h2, .bg-navy h3 { color: white; }
.bg-navy p { color: var(--p-slate); }
.text-red { color: var(--p-red); }
.glass { background: var(--glass-bg); backdrop-filter: blur(var(--glass-blur)); border: 1px solid var(--glass-border); }

/* --- Premium Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--trans);
    white-space: nowrap;
}

.btn-primary { background: var(--p-red); color: white; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--p-red-dark); transform: translateY(-4px); box-shadow: 0 15px 35px rgba(229, 57, 53, 0.4); }

.btn-whatsapp { background: var(--whatsapp); color: white; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); }

.btn-outline { background: transparent; border: 2px solid var(--p-red); color: var(--p-red); }
.btn-outline:hover { background: var(--p-red); color: white; }

.btn-pulse { position: relative; }
.btn-pulse::before {
    content: ''; position: absolute; inset: -5px; border-radius: var(--radius-full); border: 2px solid var(--p-red);
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 0; }
}

/* --- Navigation (Glass Header) --- */
#header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 2000; padding: 20px 0; transition: var(--trans);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); padding: 12px 0; box-shadow: var(--shadow-sm);
}

.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.8rem; font-weight: 900; color: var(--p-navy); }
.logo span { color: var(--p-red); }

.animate-pulse {
    animation: electricPulse 2s infinite;
    color: var(--p-electric);
}

@keyframes electricPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0px var(--p-electric)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 10px var(--p-electric)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0px var(--p-electric)); }
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 700; color: var(--p-navy); font-size: 1.1rem; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -8px; right: 0; width: 0; height: 2px; background: var(--p-red); transition: var(--trans); }
.nav-links a:hover, .nav-links a.active { color: var(--p-red); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn-nav { background: var(--p-red); color: white !important; padding: 10px 24px !important; box-shadow: var(--shadow-red); }

.menu-toggle { display: none; font-size: 1.6rem; cursor: pointer; color: var(--p-navy); }

/* --- Mobile Nav Overlay --- */
@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: white;
        flex-direction: column; justify-content: center; transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1); padding: 40px;
    }
    .nav-links.active { right: 0; }
}



/* ========== Floating Contact Buttons Redesigned ========== */
.floating-wa, .floating-call {
    position: fixed;
    bottom: 25px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa {
    left: 20px;
    background-color: #25d366;
}

.floating-call {
    right: 20px;
    background-color: var(--primary-red);
}

.floating-wa:hover, .floating-call:hover {
    transform: scale(1.1);
}

/* ========== Back to Top Button ========== */
#back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--text-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-norm);
    border: none;
    box-shadow: var(--shadow-sm);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--primary-red);
    transform: translateY(-5px);
}

@media (max-width: 600px) {
    #back-to-top {
        bottom: 70px;
        right: 15px;
    }
}

/* ========== Header & Nav ========== */
#header {
    position: sticky;
    top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-norm);
    padding: 15px 0;
}
#header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
    display: flex;
    align-items: center;
}
.logo span { color: #333; }
.logo svg { filter: drop-shadow(0 4px 6px rgba(229, 57, 53, 0.3)); }

.logo span { color: var(--text-dark); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}
.nav-links a {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
}
.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px; right: 0;
    width: 0; height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition-norm);
}
.nav-links a:hover:not(.btn-nav)::after,
.nav-links a.active:not(.btn-nav)::after {
    width: 100%;
}
.nav-links a.active {
    color: var(--primary-red) !important;
}
.btn-nav {
    background-color: var(--primary-red);
    color: white !important;
    padding: 8px 20px;
    border-radius: var(--radius-full);
}
.nav-social {
    color: #1877f2;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}
.nav-social:hover {
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1538108149393-ceb66fae9441?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 700px;
    margin: 0; /* Override center auto */
}
.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-content p {
    color: #e0e0e0;
    font-size: 1.3rem;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    gap: 15px;

/* --- Hero Section Prestige --- */
.hero {
    min-height: 95vh; display: flex; align-items: center; position: relative; overflow: hidden;
    background: var(--p-navy); padding-top: 120px;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.5) 100%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 10; color: white; max-width: 850px; }
.hero-content h1 { color: white; margin-bottom: 2rem; }
.hero-content p { color: var(--p-slate); font-size: 1.3rem; margin-bottom: 3rem; max-width: 700px; }

.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.featured-badges {
    display: flex; gap: 20px; margin-top: 40px; flex-wrap: wrap;
}
.badge-item {
    display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05);
    padding: 10px 20px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem;
    backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1);
}
.photo-badge i { margin-left: 5px; color: var(--p-gold-light); }

/* --- Luxury Portal Enhancements --- */

.headline-badge {
    border-color: var(--p-gold);
    color: var(--p-gold-light);
    border-width: 2px;
}

.card-luxury {
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
}

.card-luxury:hover {
    border-color: var(--p-gold);
    box-shadow: 0 30px 60px rgba(5, 22, 48, 0.12);
}

.card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--p-red);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.compare-wrapper {
    padding: 20px;
}

@media (max-width: 992px) {
    .compare-card { 
        transform: scale(1) !important; 
        margin-bottom: 30px;
    }
}

/* --- Stats Counters --- */
.stats-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px;
    margin-top: 60px; text-align: center;
}
.stat-item h4 { font-size: 2.5rem; color: var(--gold); margin-bottom: 5px; font-family: 'Outfit', sans-serif; }
.stat-item p { font-size: 1rem; color: var(--p-slate); text-transform: uppercase; letter-spacing: 1px; }

/* --- Premium Service Cards --- */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px;
}

.service-card {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); transition: var(--trans); position: relative;
    display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-15px); box-shadow: var(--shadow-lg);
}

.card-img-wrapper { height: 260px; overflow: hidden; position: relative; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; }
.service-card:hover .card-img-wrapper img { transform: scale(1.1); }

.card-icon-float {
    position: absolute; bottom: -35px; left: 35px; width: 80px; height: 80px;
    background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 2rem; color: var(--p-red); box-shadow: var(--shadow-md); z-index: 5;
    border: 5px solid white;
}

.card-content { padding: 60px 40px 40px; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { margin-bottom: 1.2rem; font-size: 1.8rem; }
.card-content p { font-size: 1.15rem; line-height: 1.8; flex-grow: 1; margin-bottom: 2rem; }

.card-footer { padding: 0 40px 40px; }
.card-link {
    color: var(--p-red); font-weight: 800; display: inline-flex; align-items: center; gap: 10px;
    font-size: 1.2rem;
}
.card-link:hover { gap: 15px; }

/* --- Feature Comparison --- */
.compare-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px;
    margin-top: 50px;
}
.compare-card {
    background: white; padding: 50px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); border: 2px solid transparent;
}
.compare-card.highlight { border-color: var(--p-red); position: relative; }
.highlight-tag {
    position: absolute; top: -18px; left: 40px; background: var(--p-red); color: white;
    padding: 8px 24px; border-radius: 50px; font-weight: 800; font-size: 0.9rem;
}

.compare-list li {
    display: flex; align-items: center; gap: 18px; margin-bottom: 25px; font-weight: 700; font-size: 1.1rem;
}
.compare-list li i { font-size: 1.4rem; }
.fa-check-circle { color: #2ecc71; }
.fa-times-circle { color: #eb4d4b; opacity: 0.5; }

/* --- Calculator Tool --- */
.calculator-box {
    background: var(--p-navy); color: white; border-radius: var(--radius-lg); padding: 80px;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;
}
@media (max-width: 992px) {
    .calculator-box { grid-template-columns: 1fr; padding: 40px; }
}

.calc-info h2 { color: white; text-align: right; }
.calc-info p { color: var(--p-slate); }

.calc-form {
    background: rgba(255,255,255,0.03); padding: 50px; border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
}
.form-group { margin-bottom: 30px; }
.form-group label { display: block; margin-bottom: 12px; font-weight: 700; color: var(--p-white); }
.form-control {
    width: 100%; padding: 18px 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm); color: white; font-family: inherit; font-size: 1.1rem; transition: var(--trans);
}
.form-control:focus { outline: none; border-color: var(--p-red); background: rgba(255,255,255,0.1); }

.result-box {
    margin-top: 40px; padding: 30px; background: rgba(229, 57, 53, 0.1); border-radius: var(--radius-sm);
    text-align: center; border: 1px dashed var(--p-red);
}
.price-display { font-size: 3rem; font-weight: 900; color: white; margin: 15px 0; font-family: 'Outfit'; }
.content p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.8;
}
.content ul {
    margin-bottom: 20px;
    padding-right: 20px;
}
.content li {
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
}
.content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--primary-red);
}
blockquote {
    border-right: 5px solid var(--primary-red);
    padding: 25px;
    background: #fff5f5;
    font-style: italic;
    font-size: 1.2rem;
    margin: 40px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Sidebar */
.sidebar {
    flex: 1;
    min-width: 280px;
}
.sidebar-box {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}
.contact-box {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-dark) 100%);
    color: white;
}
.contact-box h3, .contact-box p {
    color: white;
}
.contact-box .btn {
    background: white;
    color: var(--primary-red);
}
.related-links li {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}
.related-links a:hover {
    color: var(--primary-red);
    padding-right: 5px;
}

@media (max-width: 768px) {
    .main-article h1 { font-size: 2rem; }
    .featured-image { height: 250px; }
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 30px auto 0;
    gap: 10px;
}
.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid #ddd;
    outline: none;
}
.newsletter-form input:focus {
    border-color: var(--primary-red);
}

@media (max-width: 500px) {
    .newsletter-form { flex-direction: column; }
}

/* ========== Conversion & CRO Elements ========== */

/* Pulse Animation for CTA */
@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(229, 57, 53, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}
.btn-pulse {
    animation: pulse-red 2s infinite;
}

/* Trust Bar & Stats */
.stats-bar {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.stat-item {
    text-align: center;
}
.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #ffda79;
}
.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FAQ Prestige --- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.faq-item {
    background: white; padding: 40px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
    border-right: 6px solid var(--p-red); transition: var(--trans);
}
.faq-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.faq-item h3 { font-size: 1.5rem; color: var(--p-navy); margin-bottom: 1.2rem; }
.faq-item p { font-size: 1.1rem; line-height: 1.8; color: var(--text-muted); }

/* --- Footer Dark Prestige --- */
.footer { background: #020617; color: white; padding: 100px 0 40px; position: relative; overflow: hidden; }
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--p-red), var(--gold), var(--p-red));
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 60px; }

.footer-logo { font-size: 2.2rem; font-weight: 900; margin-bottom: 25px; display: block; }
.footer-logo span { color: var(--p-red); }

.footer-links li { margin-bottom: 18px; }
.footer-links a { 
    color: var(--p-slate); font-weight: 500; font-size: 1.1rem; 
    transition: var(--trans); display: inline-block;
}
.footer-links a:hover { color: white; transform: translateX(-10px); }

.footer-title { 
    font-size: 1.4rem; font-weight: 800; margin-bottom: 35px; color: white; 
    position: relative; padding-bottom: 15px; 
}
.footer-title::after { content: ''; position: absolute; bottom: 0; right: 0; width: 50px; height: 3px; background: var(--p-red); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.footer-contact-item i { color: var(--p-red); font-size: 1.3rem; margin-top: 5px; }
.footer-contact-item div { font-size: 1.05rem; color: var(--p-slate); }
.footer-contact-item strong { display: block; color: white; margin-bottom: 5px; }

/* --- Region Tags Prestige --- */
.footer-tags { margin-top: 80px; padding-top: 50px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.tag-item {
    padding: 8px 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px; font-size: 0.9rem; color: var(--p-slate); transition: var(--trans);
}
.tag-item:hover { background: var(--p-red); color: white; border-color: var(--p-red); transform: translateY(-3px); }

.footer-bottom { 
    margin-top: 80px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); 
    text-align: center; color: var(--p-slate); font-size: 1rem; 
}

/* --- Floating CTAs --- */
.fixed-ctas { position: fixed; bottom: 40px; left: 30px; z-index: 5000; display: flex; flex-direction: column; gap: 20px; }
.cta-fab {
    width: 65px; height: 65px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    color: white; font-size: 1.8rem; box-shadow: var(--shadow-lg); transition: var(--trans);
}
.cta-fab:hover { transform: scale(1.1) translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.fab-wa { background: var(--whatsapp); }
.fab-call { background: var(--p-red); }

/* --- Mobile Bottom Nav --- */
.mobile-action-bar {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 65px;
    display: none; z-index: 4500; background: white; box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}
.bar-item {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
    color: white; font-weight: 800; font-size: 1.1rem;
}
.bar-call { background: var(--p-red); }
.bar-wa { background: var(--whatsapp); }

@media (max-width: 768px) {
    .mobile-action-bar { display: flex; }
    .fixed-ctas { display: none; }
    .footer { padding-bottom: 100px; }
}

/* --- Smooth Animations --- */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Article & Details Pages --- */
.details-page-header { background: var(--p-navy); padding: 180px 0 100px; color: white; text-align: center; }
.details-container { display: grid; grid-template-columns: 1fr 350px; gap: 60px; margin-top: -60px; position: relative; z-index: 10; }
.main-content { background: white; padding: 60px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.sidebar-sticky { position: sticky; top: 100px; }

@media (max-width: 992px) {
    .details-container { grid-template-columns: 1fr; margin-top: 30px; }
    .main-content { padding: 30px; }
}

.content-body h2 { text-align: right; margin: 40px 0 20px; color: var(--p-navy); }
.content-body p { margin-bottom: 25px; line-height: 1.8; }
.content-body ul { margin-bottom: 30px; padding-right: 25px; }
.content-body li { margin-bottom: 15px; list-style: disc; }

/* ========== NEW PORTAL HUB STYLES ========== */

.hero-portal {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.8) 100%), 
                url('hero-premium.png') center/cover no-repeat;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.prestige-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #2ecc71;
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.dot-live {
    width: 12px;
    height: 12px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 15px #2ecc71;
    animation: pulseGlow 1.5s infinite;
}

.quick-service-selectors {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.q-service {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    width: 120px;
    height: 120px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--trans);
    cursor: pointer;
    text-align: center;
    color: white;
}

.q-service i {
    font-size: 1.8rem;
    color: var(--p-red);
    transition: var(--trans);
}

.q-service span {
    font-size: 0.85rem;
    font-weight: 700;
}

.q-service:hover {
    background: var(--p-red);
    transform: translateY(-10px);
    border-color: var(--p-red);
}

.q-service:hover i {
    color: white;
    transform: scale(1.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: -80px;
    position: relative;
    z-index: 20;
}

.stats-grid .stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.stats-grid .stat-item:last-child {
    border-right: none;
}

.stats-grid .stat-item i {
    font-size: 2.2rem;
    color: var(--p-red);
}

.stats-grid .stat-item h4 {
    margin-bottom: 2px;
    font-size: 1.4rem;
}

.stats-grid .stat-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--p-red);
    margin: 20px auto;
    border-radius: 2px;
}

/* Portal Cards */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portal-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--trans);
    border: 1px solid #f1f5f9;
}

.portal-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: var(--trans);
}

.portal-card-body {
    padding: 30px;
}

.portal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portal-card:hover .portal-card-img {
    transform: scale(1.05);
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--p-red);
    font-weight: 800;
    margin-top: 15px;
    font-size: 1rem;
}

.dual-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.prestige-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--p-navy);
}

.prestige-list i {
    color: var(--p-red);
    font-size: 1.2rem;
}

.tag-link {
    padding: 10px 25px;
    background: var(--bg-soft);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--p-navy);
    border: 1px solid #e2e8f0;
    transition: var(--trans);
}

.tag-link:hover {
    background: var(--p-red);
    color: white;
    border-color: var(--p-red);
    transform: translateY(-3px);
}

/* --- Global Premium Gallery --- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.photo-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 400px;
    border: 5px solid white;
    transition: var(--trans);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.photo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.photo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-banner {
    background: linear-gradient(rgba(229, 57, 53, 0.95), rgba(229, 57, 53, 0.95)), 
                url('hero-premium.png') center/cover fixed;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.cta-banner h2 { color: white; border-bottom: none; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.3rem; margin-bottom: 40px; }

@media (max-width: 992px) {
    .dual-feature { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .quick-service-selectors { justify-content: center; }
}

@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; padding: 30px; }
}
