/* includes/style.css */
/* Design System: Accessible & Ethical (UI UX Pro Max) */
/* Custom Palette: Medical Blue & Professional Gray */

:root {
    /* Color Palette - Sophisticated Medical */
    --primary: #2563EB; /* Vibrant Medical Blue */
    --primary-hover: #1D4ED8;
    --on-primary: #FFFFFF;
    
    --header-bg: #0B2447; /* Dark Sapphire */
    --footer-bg: #081B36; /* Deeper Sapphire */
    --text-on-dark: #F8FAFC;
    
    --secondary: #0F172A; /* Slate 900 - High contrast text */
    --text-main: #334155; /* Slate 700 - Body text */
    --text-muted: #64748b; /* Slate 500 - Secondary text */
    
    --bg-main: #ffffff; /* Pure white background */
    --bg-alt: #F1F5F9; /* Slightly darker slate for product background */
    
    --border: #E2E8F0; /* Slate 200 */
    --ring: rgba(37, 99, 235, 0.4); /* Blue focus ring */
    
    /* Status Colors */
    --success: #16A34A; /* Accessible Green */
    --success-bg: #DCFCE7;
    --warning: #D97706; /* Accessible Orange */
    --warning-bg: #FEF3C7;
    --whatsapp: #16A34A;
    --whatsapp-hover: #15803D;
    
    /* Shadows & Effects - Accessible & Soft */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-glow: 0 10px 25px -5px rgba(37, 99, 235, 0.15);
    
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Typography */
    --font-heading: 'Figtree', sans-serif;
    --font-body: 'Noto Sans', sans-serif;
}

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

/* Accessibility Focus States */
*:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
}

body {
    background-color: var(--bg-alt); /* Overall background is light gray */
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px; /* Accessible base size */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Vertical Medical Pattern on Right Side Fading to Center */
body::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; width: 45%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 10h4v8h8v4h-8v8h-4v-8h-8v-4h8v-8z' fill='%232563eb' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 40px 40px;
    background-repeat: repeat;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(15px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes pulse-ring {
        0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
        70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
        100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
    }

    @keyframes pulse-ring-warning {
        0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.5); }
        70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(217, 119, 6, 0); }
        100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
    }

    .fade-in {
        animation: fadeInUp 0.5s ease-out forwards;
    }
}

/* Sophisticated Dark Header */
header {
    background: var(--header-bg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 30px rgba(11, 36, 71, 0.6); /* Enhanced shadow */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px; /* Compacted height */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-on-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}
.logo i {
    color: #38BDF8; /* Sky Blue accent for logo icon */
}
.logo:hover {
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #CBD5E1; /* Slate 300 */
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.25); /* Soft medical blue background */
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Hero Section - Aesthetic Medical Pattern */
.hero {
    position: relative;
    padding: 3rem 0 2rem 0;
    text-align: center;
    background-color: #F8FAFC;
    
    /* Elegant Medical Crosses & Molecules Texture (Highly Visible) */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.18), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.22), transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 20h4v8h8v4h-8v8h-4v-8h-8v-4h8v-8zm12 25a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM20 15a2 2 0 1 1 0-4 2 2 0 0 1 0 4z' fill='%232563eb' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 100% 100%, 100% 100%, 60px 60px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

/* Optional: Top edge glow to blend with the dark header */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 10px;
    background: linear-gradient(180deg, rgba(11,36,71,0.05), transparent);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

/* Search Bar - High Contrast */
.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.25rem 1.5rem 1.25rem 3.5rem;
    border: 2px solid var(--primary); /* Strong border for contrast */
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: var(--font-body);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2);
    outline: none;
    background: #F8FAFC; /* Slightly darker background for contrast */
    color: var(--secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    background: var(--bg-main);
    box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Category Pills Navigation */
.category-nav {
    max-width: 800px;
    margin: 1.5rem auto 0 auto;
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.5rem 1rem;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.category-nav::-webkit-scrollbar {
    display: none;
}

.category-pill {
    white-space: nowrap;
    padding: 0.6rem 1.2rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.category-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.category-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Subcategory Pills */
.subcategory-nav {
    max-width: 700px;
    margin: 1rem auto 0 auto;
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.5rem 1rem;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.subcategory-nav::-webkit-scrollbar {
    display: none;
}

.subcategory-pill {
    white-space: nowrap;
    padding: 0.4rem 0.9rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.subcategory-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: white;
}

.subcategory-pill.active {
    background: var(--bg-main);
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Product Grid */
.products-section {
    padding: 2rem 0 5rem 0;
    background: #ffffff; /* User requested white background */
    position: relative;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Product Card - Elaborate Light Medical Gray */
.product-card {
    background: linear-gradient(145deg, #F8FAFC 0%, #E2E8F0 100%); /* Light Medical Blue Gray */
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 25px rgba(11, 36, 71, 0.06); /* Sophisticated sharp shadow */
}

/* Metallic/Neon Top Border Accent */
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38BDF8, var(--primary), #818CF8);
    background-size: 200% auto;
    transition: all 0.5s ease;
    z-index: 2;
}

.product-card:hover {
    text-decoration: none;
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(11, 36, 71, 0.3);
    border-color: rgba(56, 189, 248, 0.3);
}

.product-card:hover::before {
    background-position: right center;
}

.product-img-wrap {
    width: 100%;
    padding-top: 85%; 
    position: relative;
    background: #ffffff; /* Keep white for product photos */
    border-bottom: 2px solid rgba(56, 189, 248, 0.3); /* Electric blue divider */
    overflow: hidden;
}

.product-img-wrap img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05)); /* Subtle shadow on the device itself */
}

.product-card:hover .product-img-wrap img {
    transform: translate(-50%, -50%) scale(1.08);
}

/* Badges */
.status-badge-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95); /* Light badge */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-stock .status-dot { background: var(--success); animation: pulse-ring 2s infinite; }
.status-transit .status-dot { background: var(--warning); animation: pulse-ring-warning 2s infinite; }

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: transparent; /* Inherits the elegant light gradient from card */
}

.product-info-top {
    padding: 1.25rem 1.25rem 0.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary); /* Medical Blue */
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 0.35rem; /* Intermediate gap */
    color: var(--secondary); /* Dark text on light card */
    font-weight: 700;
}

.product-footer {
    padding: 0.85rem 1.25rem 1rem 1.25rem; /* Intermediate top padding */
    background: rgba(255, 255, 255, 0.4); /* Frosty light inset for footer */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    font-size: 0.95rem;
    text-decoration: none !important;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background-color: transparent; 
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white; 
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
    border: 2px solid #ffffff;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.8);
    transform: translateY(-2px);
    border-color: #ffffff;
}

/* Product Details Page */
.product-detail-section {
    padding: 2rem 0 5rem 0;
    position: relative;
    z-index: 1;
}

/* Subtle Medical Pattern on Right Side Fading to Center */
/* (Moved to body::after for full page vertical effect) */

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: stretch;
}

.detail-main-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.detail-top-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: static;
}

/* Sidebar Elements */
.detail-img-container {
    background: #ffffff;
    border: 1px solid #CBD5E1; /* Darker, more visible border */
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 15px 35px rgba(11, 36, 71, 0.1); /* Stronger outer shadow to clearly define the box */
    position: relative;
}

.detail-img-container img {
    max-width: 100%;
    max-height: 380px; /* Restored original size constraint */
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05)); /* Soft shadow for 3D pop */
    transition: transform 0.3s ease;
}

.sidebar-card {
    background: linear-gradient(145deg, #F8FAFC 0%, #E2E8F0 100%);
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(11, 36, 71, 0.06);
}

.price-contado {
    font-size: 2.2rem;
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.finance-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.05);
}

.finance-box h4 {
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Main Content Blocks */
.content-block {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(11, 36, 71, 0.03);
}

.detail-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 0.5rem 0 1rem 0;
}

.content-block h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--secondary);
}

.content-block h3 i {
    color: var(--primary);
}

.content-text {
    color: var(--text-main);
    line-height: 1.7;
    white-space: pre-wrap;
}

/* Technical Specs Grid */
.detail-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-card {
    background: #F1F5F9; /* Faint gray-blue */
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid #E2E8F0;
    border-left: 3px solid var(--primary); /* Left accent border */
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.spec-card:hover {
    background: #E2E8F0; /* Slightly darker on hover */
    border-color: #CBD5E1;
    border-left-color: #38BDF8;
    box-shadow: 0 4px 12px rgba(11, 36, 71, 0.05);
    transform: translateX(2px);
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.spec-value {
    font-size: 1.05rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Downloads */
.downloads-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: #F1F5F9; /* Faint gray-blue */
    border: 1px solid #E2E8F0;
    border-left: 3px solid var(--primary); /* Left accent border */
    border-radius: var(--radius);
    gap: 1.25rem;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.downloads-card:hover {
    border-color: #CBD5E1;
    border-left-color: #38BDF8;
    text-decoration: none;
    background: #E2E8F0; /* Slightly darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 36, 71, 0.06);
}

.downloads-icon {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.downloads-card:hover .downloads-icon {
    transform: scale(1.15) rotate(-5deg);
}

.downloads-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
    color: var(--secondary);
}

.downloads-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer - Sophisticated Dark */
footer {
    background-color: var(--footer-bg);
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 2rem 0 1rem 0; /* Compacted height significantly */
    margin-top: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -15px 40px rgba(11, 36, 71, 0.4); /* Strong outer shadow upward */
}

/* Subtle Glow in Footer */
footer::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(11,36,71,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem; /* Reduced gap before certifications */
    position: relative;
    z-index: 1;
}
.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--text-on-dark);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    display: inline-block;
    color: #94A3B8; /* Slate 400 */
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    margin-left: -1rem; /* Adjust alignment to offset padding */
}
.footer-links a:hover {
    color: #ffffff; /* Pure white text */
    background: rgba(37, 99, 235, 0.25); /* Soft medical blue background */
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
    text-decoration: none;
    transform: translateX(5px); /* Smooth slide right */
}
.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0 1.5rem 0; /* Tighter padding */
    border-top: 1px dashed rgba(255,255,255,0.1);
}
.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #CBD5E1;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transition: all 0.3s ease;
}
.cert-badge i {
    font-size: 1.2rem;
    color: var(--primary);
}
.cert-badge:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: white;
    transform: translateY(-2px);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748B;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}
