/* ============================================
   Utkarsh Research Network - Custom Styles
   Fully responsive: Desktop, Tablet, Mobile
   ============================================ */

:root {
    --primary: #00629F;
    --primary-dark: #004d7a;
    --primary-light: #e8f4fd;
    --accent: #EC7E31;
    --accent-dark: #D86718;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-500: #848E9F;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, #0078c2 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #f4a460 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2d3748;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-weight: 700; color: var(--dark); }
a { color: var(--primary); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--accent); }
.section-padding { padding: 80px 0; }

/* ---- Top Bar ---- */
.top-bar {
    background: var(--dark);
    color: white;
    padding: 8px 0;
    font-size: 0.82rem;
}
.top-bar a { transition: opacity 0.3s; }
.top-bar a:hover { opacity: 0.7; }

/* ---- Navbar ---- */
.navbar { padding: 12px 0; transition: all 0.3s; }
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-brand img {
    transition: transform 0.3s;
    height: 55px !important;
    max-height: 55px;
    background: white;
    padding: 4px 8px;
    border-radius: 8px;
    filter: contrast(1.15) brightness(1.02);
}
.navbar-brand:hover img { transform: scale(1.05); }
.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark) !important;
    padding: 8px 12px !important;
    border-radius: 8px;
    transition: all 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 8px;
}
.dropdown-item { border-radius: 8px; padding: 8px 16px; font-size: 0.88rem; }
.dropdown-item:hover { background: var(--primary-light); color: var(--primary); }

/* ---- Buttons ---- */
.btn-primary-custom {
    background: var(--gradient);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,98,159,0.3);
}
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,98,159,0.4);
    color: white;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.btn-outline-light { border-width: 2px; font-weight: 600; border-radius: 8px; }
.btn-outline-light:hover { background: white; color: var(--primary); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); font-weight: 600; border-radius: 8px; }
.btn-outline-primary:hover { background: var(--primary); color: white; }

/* ---- Hero Section ---- */
.hero-section {
    background: linear-gradient(135deg, #0a1628 0%, #112240 40%, #0d2137 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,98,159,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236,126,49,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.min-vh-80 { min-height: 80vh; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}
.text-gradient {
    background: linear-gradient(135deg, #4da8da, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    max-width: 560px;
}
.hero-trust { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.trust-item { display: flex; align-items: center; gap: 6px; }

/* Floating Cards */
.hero-visual { position: relative; height: 450px; }
.floating-card {
    position: absolute;
    background: white;
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 190px;
    animation: float 6s ease-in-out infinite;
}
.floating-card h6 { font-size: 0.85rem; margin-bottom: 2px; }
.card-1 { top: 5%; left: 5%; animation-delay: 0s; }
.card-2 { top: 0%; right: 0%; animation-delay: 1.5s; }
.card-3 { bottom: 30%; left: 0%; animation-delay: 3s; }
.card-4 { bottom: 18%; right: 0%; animation-delay: 4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- Stats ---- */
.stats-section { background: var(--gradient); padding: 50px 0; }
.stat-item { color: white; }
.stat-number { font-size: 2.8rem; font-weight: 800; display: inline; line-height: 1; }
.stat-suffix { font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.86rem; opacity: 0.85; margin-top: 4px; font-weight: 500; }

/* ---- Section Headers ---- */
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title { font-size: 2.1rem; font-weight: 800; margin-bottom: 12px; }
.section-subtitle { color: var(--gray-500); max-width: 620px; margin: 0 auto; font-size: 1.02rem; }

/* ---- Core Service Cards ---- */
.core-service-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.core-service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateY(-4px);
}
.service-icon-lg {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-list li {
    padding: 3px 0;
    font-size: 0.85rem;
    color: #4a5568;
}
.feature-list li i {
    color: #48bb78;
    margin-right: 6px;
    font-size: 0.7rem;
}
.price-box {
    background: var(--gray-100);
    padding: 20px 16px;
    border-radius: var(--radius);
    border: 1px dashed var(--gray-200);
}
.price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

/* ---- Training Cards ---- */
.training-card {
    background: white;
    padding: 28px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.training-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--primary);
}
.training-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

/* ---- Simple Service Cards ---- */
.service-card {
    background: white;
    padding: 26px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

/* ---- How It Works / Steps ---- */
.step-card {
    padding: 30px 20px;
    position: relative;
}
.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: -10px;
}
.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 14px;
}

/* ---- Why Choose Us ---- */
.why-card {
    background: white;
    padding: 18px;
    border-radius: var(--radius);
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}
.why-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.why-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

/* Trust Badges */
.trust-badges-grid {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.trust-badge-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}
.trust-badge-item:last-child { border-bottom: none; }
.trust-badge-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Pricing Cards ---- */
.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-200);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.pricing-card.featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient);
}
.pricing-badge {
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pricing-name { font-size: 1.05rem; margin-bottom: 14px; }
.pricing-amount { margin-bottom: 20px; }
.pricing-amount .currency { font-size: 1.2rem; font-weight: 600; vertical-align: top; color: var(--primary); }
.pricing-amount .price { font-size: 2.4rem; font-weight: 800; color: var(--dark); line-height: 1; }
.pricing-amount .period { font-size: 0.88rem; color: var(--gray-500); }
.pricing-features { list-style: none; padding: 0; margin-bottom: 22px; }
.pricing-features li { padding: 5px 0; font-size: 0.88rem; color: #4a5568; border-bottom: 1px solid var(--gray-200); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features i { color: #48bb78; margin-right: 8px; font-size: 0.78rem; }

/* ---- Testimonials ---- */
.testimonial-card {
    background: white;
    padding: 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    height: 100%;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-stars { color: #f6ad55; margin-bottom: 10px; font-size: 0.82rem; }
.testimonial-text { font-size: 0.9rem; color: #4a5568; font-style: italic; line-height: 1.7; margin-bottom: 14px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.82rem;
}

/* ---- Contact / Lead Form ---- */
.contact-info-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item {
    display: flex; gap: 14px; align-items: center;
    padding: 14px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}
.contact-info-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-icon {
    width: 46px; height: 46px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.contact-info-item h6 { color: var(--dark); margin-bottom: 0; }
.contact-info-item p { font-size: 0.88rem; color: var(--gray-500); }

.lead-form-card {
    background: white;
    padding: 34px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}
.form-control, .form-select {
    border-radius: 8px;
    border-color: var(--gray-200);
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,98,159,0.1);
}
.form-label { font-weight: 500; font-size: 0.86rem; color: var(--dark); }

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--primary-dark) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(236,126,49,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-section h2 { font-size: 2rem; }

/* ---- Footer ---- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}
.footer-logo {
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}
.footer-heading {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--accent);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 3px 0; font-size: 0.86rem; color: rgba(255,255,255,0.6); }
.footer-links a { color: rgba(255,255,255,0.6); transition: all 0.3s; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.social-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s;
}
.social-icon:hover { background: var(--accent); color: white; transform: translateY(-2px); }

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---- About Page ---- */
.about-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    padding: 100px 0 60px;
    color: white;
}
.about-hero h1 { color: white; font-size: 2.4rem; }
.value-card {
    text-align: center;
    padding: 28px 18px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    height: 100%;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-icon {
    width: 64px; height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 14px;
}

/* ---- Booking Form ---- */
.booking-form-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

/* ---- Payment Pages ---- */
.payment-result {
    min-height: 70vh;
    display: flex; align-items: center; justify-content: center;
}
.result-card {
    background: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 500px;
    width: 100%;
}
.result-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}
.result-icon.success { background: #c6f6d5; color: #38a169; }
.result-icon.failure { background: #fed7d7; color: #e53e3e; }

/* ---- Legal Pages ---- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h3 { font-size: 1.2rem; margin-top: 30px; margin-bottom: 10px; color: var(--primary); }
.legal-content p, .legal-content li { font-size: 0.92rem; color: #4a5568; }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 85px; right: 30px;
    width: 52px; height: 52px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 998;
    transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; box-shadow: 0 6px 25px rgba(37,211,102,0.5); }

/* ---- Spinner ---- */
.spinner {
    display: inline-block;
    width: 20px; height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

html { scroll-behavior: smooth; }

/* ---- 2025 Modern Enhancements ---- */
/* Glassmorphism for nav on scroll */
.navbar.scrolled {
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Subtle gradient borders */
.core-service-card.featured-glow::after,
.pricing-card.featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

/* Smooth reveal animation for cards */
[data-aos] { transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important; }

/* Better focus states for accessibility */
.btn:focus-visible, .form-control:focus-visible, .form-select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* Modern table styling for legal pages */
.legal-content .table { border-radius: 8px; overflow: hidden; }
.legal-content .table thead { background: var(--primary-light); }
.legal-content .table th { font-weight: 600; font-size: 0.85rem; color: var(--primary); border-bottom-width: 2px; }
.legal-content .table td { font-size: 0.88rem; vertical-align: top; }

/* Smooth page transitions */
body { animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Selection color */
::selection { background: var(--primary-light); color: var(--primary); }

/* ---- Blog Cards ---- */
.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.blog-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-excerpt { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; flex: 1; }
.blog-meta { font-size: 0.78rem; color: var(--gray-500); margin-top: 10px; }

/* Blog Card Links */
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.blog-card-link:hover { color: inherit; text-decoration: none; }
.blog-card-link:hover .blog-title { color: var(--primary); }
.blog-card-link .img-overlay-card { cursor: pointer; }

/* Blog Article (Full View) */
.blog-article-img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.blog-article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
}
.blog-article-content h2 {
    font-size: 1.45rem;
    color: var(--dark);
    margin-top: 36px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}
.blog-article-content h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-top: 28px;
    margin-bottom: 12px;
}
.blog-article-content p {
    margin-bottom: 16px;
}
.blog-article-content ul, .blog-article-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}
.blog-article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.blog-article-content strong {
    color: var(--dark);
}
.blog-article-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--primary-light);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* ---- Publication Cards ---- */
.pub-card {
    padding: 18px;
    background: white;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    margin-bottom: 12px;
}
.pub-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.pub-title { font-size: 0.9rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.pub-journal { font-size: 0.82rem; color: var(--primary); font-style: italic; }
.pub-authors { font-size: 0.78rem; color: var(--gray-500); }
.pub-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 4px;
}
.pub-badge.pubmed { background: #e8f5e9; color: #2e7d32; }
.pub-badge.pmc { background: #e3f2fd; color: #1565c0; }
.pub-badge.scopus { background: #fff3e0; color: #e65100; }
.pub-badge.lancet { background: #fce4ec; color: #c62828; font-weight: 700; }

/* ---- Institutional Partnership Section ---- */
.partner-card {
    background: white;
    padding: 30px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}
.partner-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--primary); }
.partner-icon {
    width: 64px; height: 64px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 14px;
}

/* ---- Image with overlay text ---- */
.img-overlay-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
}
.img-overlay-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.img-overlay-card:hover img { transform: scale(1.05); }
.img-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    padding: 20px;
    color: white;
}
.img-overlay h5 { color: white; font-size: 1rem; margin-bottom: 2px; }
.img-overlay p { font-size: 0.82rem; opacity: 0.85; margin: 0; }

/* ---- Scholar Stats ---- */
.scholar-stat {
    text-align: center;
    padding: 16px;
    background: var(--primary-light);
    border-radius: var(--radius);
}
.scholar-stat .number { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.scholar-stat .label { font-size: 0.78rem; color: var(--gray-500); }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .hero-title { font-size: 3.2rem; }
    .container { max-width: 1320px; }
}

/* Desktop (992px - 1399px) */
@media (max-width: 1399px) {
    .hero-title { font-size: 2.6rem; }
    .floating-card { width: 175px; padding: 14px; }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .hero-title { font-size: 2.2rem; }
    .hero-section { padding: 80px 0 60px; }
    .min-vh-80 { min-height: auto; padding: 40px 0; }
    .section-title { font-size: 1.75rem; }
    .section-padding { padding: 60px 0; }
    .lead-form-card { padding: 24px; }
    .booking-form-card { padding: 24px; }
    .core-service-card { padding: 22px; }
    .price-box { margin-top: 16px; }
    .trust-badges-grid { padding: 22px; }

    /* Stack core service card content on tablet */
    .core-service-card .row .col-lg-7,
    .core-service-card .row .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-badge { font-size: 0.72rem; padding: 6px 14px; }
    .section-padding { padding: 50px 0; }
    .section-title { font-size: 1.5rem; }
    .stat-number { font-size: 2rem; }
    .stat-suffix { font-size: 1.5rem; }
    .stat-label { font-size: 0.78rem; }
    .pricing-card { padding: 24px 18px; }
    .pricing-amount .price { font-size: 2rem; }
    .hero-section { padding: 70px 0 50px; }
    .hero-trust { flex-direction: column; gap: 8px !important; }
    .core-service-card { padding: 20px; }
    .price-amount { font-size: 1.5rem; }
    .lead-form-card { padding: 20px; }
    .result-card { padding: 30px 20px; }
    .footer { padding: 40px 0 20px; }
    .cta-section { padding: 50px 0; }
    .cta-section h2 { font-size: 1.5rem; }

    .btn-lg { padding: 10px 20px; font-size: 0.92rem; }

    /* Contact info stacks nicely */
    .contact-info-item { padding: 12px; }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
    .hero-title { font-size: 1.5rem; line-height: 1.3; }
    .hero-subtitle { font-size: 0.88rem; }
    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.88rem; }
    .top-bar { font-size: 0.75rem; }
    .nav-link { font-size: 0.88rem; }
    .stats-section { padding: 35px 0; }
    .stat-number { font-size: 1.8rem; }
    .training-card { padding: 20px 16px; }
    .testimonial-card { padding: 20px; }
    .testimonial-text { font-size: 0.85rem; }
    .step-card { padding: 20px 10px; }
    .whatsapp-float { bottom: 75px; right: 20px; width: 46px; height: 46px; font-size: 1.3rem; }
    .back-to-top { bottom: 20px; right: 20px; width: 38px; height: 38px; }
}
