/* --- CẤU HÌNH CHUNG --- */
:root {
    --bg-body: #000;
    --text-main: #fff;
    --text-muted: #eee;
    --text-sub: #ccc;
    --header-bg: rgba(0, 0, 0, 0.95);
    --header-border: #333;
    --card-bg: rgba(255,255,255,0.03);
    --card-border: #333;
    --gradient-split: radial-gradient(circle at top right, #1a1a1a, #000);
    --section-bg-dark: #050505; 
    --quatest-bg: radial-gradient(ellipse at center, #1a1a1a 0%, #000 70%);
    --footer-bg: #0a0a0a;
    --gold: #FFD700;
    --gold-glow: rgba(255, 215, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- TIỆN ÍCH ĐỒ HỌA --- */
.text-gradient-gold {
    background: linear-gradient(to right, #FFF, var(--gold), #FFA500, #FFF);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 6s linear infinite;
    font-weight: 800;
}
@keyframes shineText { to { background-position: 200% center; } }

.cta-button {
    display: inline-block; padding: 0.8rem 2.5rem;
    position: relative; overflow: hidden;
    background: transparent; color: var(--gold);
    border: 1px solid var(--gold); border-radius: 50px;
    font-weight: bold; transition: all 0.4s ease;
    z-index: 1; cursor: pointer; margin-top: 1rem;
}
.cta-button::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 0%; height: 100%; background: var(--gold);
    z-index: -1; transition: width 0.4s ease;
}
.cta-button:hover { color: #000; box-shadow: 0 0 20px var(--gold-glow); }
.cta-button:hover::before { width: 100%; }

.text-link {
    color: var(--gold); font-weight: bold;
    margin-top: 1rem; display: inline-block;
    transition: transform 0.3s;
}
.text-link:hover { transform: translateX(5px); }
.divider-gold { width: 60px; height: 4px; background: var(--gold); margin-bottom: 2rem; }

/* --- HEADER & MENU --- */
header {
    position: fixed; top: 0; width: 100%;
    background: var(--header-bg); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--header-border);
    z-index: 1000; animation: slideDown 0.5s ease-out;
}
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.header-content {
    max-width: 1400px; margin: 0 auto; padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.logo-header { display: flex; align-items: center; gap: 1rem; z-index: 1002; }
.logo-header img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 0 15px var(--gold-glow)); }
.logo-header h1 {
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--gold), var(--text-main));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.header-right-group { display: flex; align-items: center; gap: 2rem; }
.nav-menu ul { display: flex; gap: 2rem; }
.nav-menu a {
    font-size: 1rem; position: relative; padding: 0.5rem 0;
    transition: color 0.3s ease; color: var(--text-main);
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--gold); transition: width 0.3s ease;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu a:hover::after { width: 100%; }

/* --- HAMBURGER MENU --- */
.hamburger { display: none; cursor: pointer; z-index: 1001; margin-left: 1rem; }
.bar {
    display: block; width: 25px; height: 3px; margin: 5px auto;
    background-color: var(--text-main); transition: all 0.3s ease-in-out;
}
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--gold); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--gold); }

/* --- LAYOUT SECTIONS --- */
main { margin-top: 90px; }
.section { padding: 5rem 2rem; max-width: 1400px; margin: 0 auto; position: relative;}
.brand-title { font-size: 2.5rem; color: var(--gold); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 2px; }
.sub-title { font-size: 1.5rem; color: var(--text-main); margin-bottom: 1.5rem; font-weight: 300; }
.section-subtitle { color: var(--text-muted); text-align: center; }

.brand-split-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    background: var(--gradient-split);
}
.brand-desc, .feature-list li { color: var(--text-muted); }
.feature-list li { margin-bottom: 1rem; }

.brand-floating-image {
    width: 100%; height: auto; max-width: 450px; 
    margin: 0 auto; display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 247, 255, 0.15));
    animation: float-gentle 6s ease-in-out infinite; 
}
@keyframes float-gentle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Section Intellihome */
.section-intellihome { background-color: var(--section-bg-dark); }
.header-center { text-align: center; margin-bottom: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.intellihome-card { 
    text-align: center; padding: 2.5rem; border-radius: 15px; 
    background: var(--card-bg); border: 1px solid var(--card-border); 
    transition: 0.3s; color: var(--text-muted);
}
.intellihome-card:hover { transform: translateY(-10px); border-color: var(--gold); }
.intellihome-card h3 { color: var(--text-main); margin-bottom: 0.5rem; }
.card-icon { font-size: 3rem; margin-bottom: 1.5rem; text-shadow: 0 0 15px rgba(255, 215, 0, 0.2); }

/* Section Emolux */
.emolux-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.emolux-info p { color: var(--text-muted); }
.stats-row { display: flex; gap: 3rem; margin-bottom: 2rem; }
.stat-num { font-size: 2rem; font-weight: bold; color: var(--gold); }
.stat-label { font-size: 0.9rem; color: var(--text-sub); text-transform: uppercase; display: block; }
.emolux-showcase { position: relative; height: 400px; display: flex; justify-content: center; align-items: center; }
.lamp-image { max-width: 80%; z-index: 2; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8)); border-radius: 10px; }
.spotlight-effect { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 200px; height: 500px; background: linear-gradient(to bottom, rgba(255, 215, 0, 0.2), transparent); filter: blur(40px); }

.section-intellihome .emolux-container { direction: rtl; }
.section-intellihome .emolux-info, .section-intellihome .emolux-showcase { direction: ltr; text-align: left; }

/* Simulation 3D */
.simulation-section {
    background: radial-gradient(circle at bottom left, #0f0f0f, #000);
    border-top: 1px solid #222;
}
.cta-group { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.secondary-cta { margin-top: 0; font-weight: normal; font-size: 0.9rem; opacity: 0.8; }
.secondary-cta:hover { opacity: 1; }

.sim-3d-container {
    width: 100%; height: 400px; background: #000;
    border: 1px solid #333; border-radius: 20px;
    position: relative; overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.1);
    display: flex; justify-content: center; align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.sim-3d-container:hover { border-color: var(--gold); box-shadow: 0 0 30px rgba(255, 215, 0, 0.3); }
.sim-video { width: 100%; height: 100%; object-fit: cover; outline: none; }

/* Quatest & Mission */
.quatest-section {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center;
    background: var(--quatest-bg);
}
.quatest-logo img { width: 100%; max-width: 350px; filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4)); }
.quatest-info h2 { color: var(--text-main); font-size: 2rem; margin-bottom: 1rem; }
.quatest-info p { color: var(--text-muted); margin-bottom: 2rem; }

.mission-section { text-align: center; padding: 6rem 2rem; }
.sun-slogan {
    font-size: 1.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 2rem;
    background: linear-gradient(to right, #FFF, var(--gold), #FFA500, #FFF); background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: shineText 5s linear infinite;
}
.mission-section p { color: var(--text-muted); }

/* --- FOOTER --- */
footer { background: var(--footer-bg); border-top: 1px solid #333; padding: 3rem 2rem 1rem; }
.footer-content {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 2rem;
}
.footer-section h3 { color: var(--gold); margin-bottom: 1.5rem; }
.footer-logo { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 1rem; }
.footer-logo img { width: 80px; height: auto; margin-bottom: 0.5rem; }
.footer-info p { margin-bottom: 0.5rem; color: #ccc; }
.footer-links a { color: #ccc; display: block; margin-bottom: 0.8rem; transition: 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #333; color: #666; }

/* --- BACK TO TOP --- */
#back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px; background: rgba(0, 0, 0, 0.8);
    color: var(--gold); border: 2px solid var(--gold); border-radius: 50%;
    font-size: 1.5rem; font-weight: bold; cursor: pointer; z-index: 900;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center; padding-bottom: 5px;
}
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover {
    background: var(--gold); color: #000;
    box-shadow: 0 0 20px var(--gold-glow); transform: translateY(-5px);
}

/* --- RESPONSIVE TABLET & MOBILE --- */
@media (max-width: 1024px) {
    .section { padding: 4rem 2rem; }
    .brand-title { font-size: 2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    main { margin-top: 70px; }
    .section { padding: 3rem 1rem !important; }
    .brand-title { font-size: 1.8rem !important; line-height: 1.3; word-wrap: break-word; }
    .sub-title { font-size: 1.1rem !important; margin-bottom: 1rem; }
    p { font-size: 1rem; text-align: justify; }

    .header-content { padding: 0.8rem 1rem; }
    .logo-header img { width: 45px; height: 45px; }
    .logo-header h1 { font-size: 1.2rem; }
    
    .hamburger { display: block; margin-left: 1rem; }
    
    .nav-menu {
        position: fixed; left: -100%; top: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        width: 100%; height: 100vh;
        text-align: center; padding-top: 100px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999; display: flex; justify-content: flex-start; gap: 0;
    }
    .nav-menu.active { left: 0; }
    
    .nav-menu ul { flex-direction: column; gap: 0; width: 100%; }
    .nav-menu a { 
        font-size: 1.3rem; display: block; padding: 1.2rem; 
        border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%;
    }

    .brand-split-layout, .emolux-container, .quatest-section {
        display: flex; flex-direction: column; gap: 2.5rem; text-align: center;
    }
    .brand-visual-right, .emolux-showcase { order: -1; margin-bottom: 1rem; width: 100%; }
    .brand-content-left, .emolux-info { width: 100%; order: 1; }

    .section-intellihome .emolux-container { direction: ltr; }
    .emolux-info { text-align: center; }
    .emolux-info > div { text-align: left !important; padding-left: 10px; }
    .emolux-info h3 { text-align: left; }
    .feature-list { display: block; text-align: left; margin: 0; padding-left: 1.2rem; }

    .divider-gold { margin: 0 auto 2rem auto; }
    .cta-button, .btn-outline { width: 100%; display: block; text-align: center; margin-top: 1.5rem; }
    .cta-group { flex-direction: column; width: 100%; }
    
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .intellihome-card:hover { transform: none; }
    .intellihome-card { padding: 1.5rem; background: rgba(255,255,255,0.05); }

    .brand-floating-image, .lamp-image, .emolux-showcase img { 
        max-width: 60% !important; max-height: 250px; width: auto;
        object-fit: contain; margin: 0 auto 1.5rem auto; display: block;
    }
    .brand-visual-right img { max-width: 50% !important; }
    .spotlight-effect { width: 150px; height: 150px; filter: blur(30px); }
    .stats-row { justify-content: space-around; gap: 1rem; }
    .stat-num { font-size: 1.5rem; }
    .sim-3d-container { height: 220px; }

    .footer-content { display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-logo { align-items: center; }
    .footer-map iframe { height: 200px; }
    
    #back-to-top { width: 45px; height: 45px; bottom: 80px; right: 20px; font-size: 1.2rem; }
    
    .modal-container { width: 95%; max-height: 85vh; }
    .modal-header, .modal-body { padding: 1.5rem 1rem; }
    .secondary-cta-btn { width: 100%; margin-top: 0.5rem; }
}

/* --- MODAL STYLES --- */
.secondary-cta-btn {
    margin-top: 0; font-size: 0.95rem; padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.5); color: #fff;
    background: rgba(0,0,0,0.3);
}
.secondary-cta-btn:hover {
    border-color: var(--gold); box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    color: var(--gold);
}
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); 
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-container {
    background: #0f0f0f; border: 1px solid #333;
    width: 90%; max-width: 600px; max-height: 90vh; 
    border-radius: 15px; position: relative; display: flex; flex-direction: column;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
    transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.open .modal-container { transform: translateY(0); }

.modal-close-btn {
    position: absolute; top: 10px; right: 15px;
    background: none; border: none; color: #666; font-size: 2rem;
    cursor: pointer; transition: color 0.3s; z-index: 10;
}
.modal-close-btn:hover { color: var(--gold); }
.modal-header { padding: 2rem 2rem 1rem; border-bottom: 1px solid #222; text-align: center; flex-shrink: 0; }
.modal-header h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.modal-header p { color: #888; font-size: 0.9rem; margin: 0; }

.modal-body {
    padding: 1.5rem 2rem; overflow-y: auto; 
    scrollbar-width: thin; scrollbar-color: #333 #0f0f0f;
}
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.guide-intro { color: #ccc; margin-bottom: 2rem; text-align: center; font-size: 0.95rem; line-height: 1.6; }
.step-item {
    margin-bottom: 1.5rem; background: rgba(255,255,255,0.03);
    padding: 1rem; border-radius: 8px; border-left: 3px solid #333;
    transition: all 0.3s;
}
.step-item:hover { background: rgba(255,255,255,0.05); border-left-color: var(--gold); }
.step-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.step-num { font-weight: bold; color: var(--gold); opacity: 0.5; font-size: 1.2rem; }
.step-item h3 { color: #fff; font-size: 1.1rem; margin: 0; }
.step-content ul { padding-left: 2.5rem; list-style: disc; color: #aaa; font-size: 0.9rem; }
.step-content li { margin-bottom: 0.3rem; }
.modal-footer { text-align: center; margin-top: 1rem; }

@keyframes floatGentle { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
.brand-floating-image, .lamp-image { animation: floatGentle 4s ease-in-out infinite; will-change: transform; position: relative; z-index: 2; }

/* --- DROPDOWN MENU (SỬA LỖI MOBILE) --- */
.nav-menu ul li { position: relative; }

.arrow-down {
    display: inline-block; font-size: 0.7em;
    margin-left: 6px; transition: transform 0.3s ease;
}
.has-dropdown.open .arrow-down { transform: rotate(180deg); color: var(--gold); }

/* Desktop */
.dropdown-menu {
    position: absolute; top: 100%; left: 0;
    width: 220px; background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--header-border); border-top: 2px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    opacity: 0; visibility: hidden; transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; padding: 0;
    border-radius: 0 0 8px 8px; z-index: 1100;
}
.has-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { width: 100%; margin: 0; }
.dropdown-menu a {
    display: block; padding: 12px 20px; font-size: 0.95rem;
    color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: left; transition: all 0.2s;
}
.dropdown-menu a:hover {
    background: rgba(255, 215, 0, 0.1); color: var(--gold); padding-left: 25px;
}
.dropdown-menu a:hover::after { width: 0; }

/* Mobile */
@media (max-width: 768px) {
    .has-dropdown { display: flex; flex-direction: column; width: 100%; }
    .dropdown-toggle { width: 100%; display: flex; justify-content: center; align-items: center; }

    .dropdown-menu {
        position: static; width: 100%; box-shadow: none; border: none;
        background: rgba(255, 255, 255, 0.03);
        max-height: 0; opacity: 0; overflow: hidden; transform: none;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }
    .has-dropdown.open .dropdown-menu {
        max-height: 500px; opacity: 1; padding-bottom: 10px;
        border-top: 1px solid rgba(255,255,255,0.05);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .dropdown-menu a { text-align: center; padding: 12px 0; font-size: 1rem; color: #bbb; }
    .dropdown-menu a:hover, .dropdown-menu a:active {
        color: var(--gold); background: transparent; padding-left: 0;
    }
}

@media (max-width: 768px) {
    /* 1. Giảm khoảng cách giữa 2 cột (Ảnh & Text) trong Flexbox */
    .section-intellihome .emolux-container,
    .emolux-section .emolux-container {
        gap: 0.5rem;
    }

    /* 2. Xử lý khung bao ngoài của ảnh */
    .section-intellihome .emolux-showcase,
    .emolux-section .emolux-showcase {
        margin-bottom: 0;
        padding-bottom: 0;
        height: auto; 
        min-height: auto; 
    }

    /* 3. Xử lý trực tiếp đối tượng ảnh (.lamp-image) */
    .section-intellihome .lamp-image,
    .emolux-section .lamp-image {
        margin-bottom: 0.5rem;
    }

    /* 4. Đẩy khối nội dung text lên sát hơn nếu cần */
    .section-intellihome .emolux-info,
    .emolux-section .emolux-info {
        margin-top: 0;
        padding-top: 0;
    }
    
    /* Tinh chỉnh tiêu đề section để không bị quá sát mép trên sau khi co lại */
    .section-intellihome .brand-title, 
    .emolux-section .brand-title {
        margin-top: 0.5rem;
    }
}
/* --- MOBILE HORIZONTAL SCROLL FOR COLLECTION --- */
@media screen and (max-width: 768px) {
    /* Thiết lập khung chứa thành hàng ngang có thể cuộn */
    #collection .services-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1rem; /* Giảm gap một chút để các thẻ gần nhau hơn */
        padding: 0.5rem 1rem 1.5rem 1rem;
        
        /* Hiệu ứng bắt dính khi cuộn */
        scroll-snap-type: x mandatory; 
        -webkit-overflow-scrolling: touch;
        
        /* Căn chỉnh vị trí bắt đầu */
        justify-content: flex-start;
    }

    /* Thiết lập kích thước cho từng thẻ */
    #collection .intellihome-card {
        /* ĐIỀU CHỈNH QUAN TRỌNG TẠI ĐÂY */
        min-width: 70vw; /* Giảm từ 85vw xuống 70vw để lộ thẻ tiếp theo rõ hơn */
        max-width: 300px; /* Giới hạn chiều rộng tối đa để thẻ gọn gàng hơn */
        
        margin-bottom: 0 !important;
        scroll-snap-align: center; /* Thẻ sẽ nằm giữa khi dừng cuộn */
        flex-shrink: 0;
        
        /* Tối ưu padding nội dung bên trong thẻ cho mobile */
        padding: 1.2rem; 
        
        box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    }

    /* Ẩn thanh cuộn */
    #collection .services-grid::-webkit-scrollbar {
        display: none;
    }
    #collection .services-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}
.certification-badge {
    position: relative;
    padding: 15px 25px;
    margin: 10px;
    color: #e0c385;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    border: 1px solid rgba(224, 195, 133, 0.3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    transition: all 0.4s ease;
    cursor: default;
    user-select: none;
    flex: 1 1 250px;
    max-width: 300px;
}

.certification-badge:hover {
    color: #fff;
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), inset 0 0 10px rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.certification-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.4s ease;
}

.certification-badge:hover::after {
    width: 50%;
}