/* =======================
   PAGE-SPECIFIC STYLES
   (Digital Platforms & Designs)
======================= */
.card-desc {
    font-size: 14px;
    color: #c9d8e6;
    margin-top: 10px;
    line-height: 1.6;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.navbar a:hover,
.navbar a.active {
  color: #22c7e8;
}
.btn {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 500;
}

.btn.github {
    background: rgba(0,0,0,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn.live { background: #22c7e8; color: #06131d; }

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.header.header-page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-icons {
    display: flex;
    gap: 16px;
    color: #ffffff;
}

.header-icons svg {
    cursor: pointer;
    transition: color 0.3s;
}

.header-icons svg:hover {
    color: #22c7e8;
}

.user-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c7e8;
    color: #06131d;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 0 40px rgba(34, 199, 232, 0.25);
    cursor: pointer;
    transition: transform 0.2s;
}

.user-badge:hover {
    transform: scale(1.05);
}

.user-menu-wrapper {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 60px;
    left: 0;
    background: rgba(10, 25, 40, 0.95);
    border: 1px solid rgba(34, 199, 232, 0.3);
    border-radius: 16px;
    width: 280px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 50px rgba(34, 199, 232, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2000;
    padding: 16px 0;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(34, 199, 232, 0.15);
    margin-bottom: 8px;
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #22c7e8;
}

.dropdown-user-info h4 {
    font-size: 15px;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

.admin-badge {
    display: inline-block;
    background: rgba(34, 199, 232, 0.2);
    color: #22c7e8;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
}

.dropdown-menu {
    display: flex;
    flex-direction: column;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #c9d8e6;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: rgba(34, 199, 232, 0.1);
    color: #22c7e8;
    border-left-color: #22c7e8;
}

.dropdown-item svg {
    color: currentColor;
    flex-shrink: 0;
}

.dropdown-item.logout {
    color: #ff6b6b;
    border-top: 1px solid rgba(34, 199, 232, 0.15);
    margin-top: 8px;
    padding-top: 12px;
}

.dropdown-item.logout:hover {
    background: rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
}

.search-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 36px;
    padding: 8px 16px;
}


.search-box input {
    width: 320px;
    max-width: 340px;
    border: none;
    background: transparent;
    color: #ffffff;
    outline: none;
    font-size: 14px;
}

.page-hero {
    min-height: calc(100vh - 120px);
    padding: 160px 8% 80px;
    position: relative;
}

.page-title h1 {
    font-size: 56px;
    color: #22c7e8;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.digital-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    max-width: 1180px;
    margin: 120px auto 60px;
    padding: 0 8%;
    width: 100%;
    box-sizing: border-box;
}

.digital-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    padding: 22px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.digital-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 199, 232, 0.65);
    box-shadow: 0 20px 50px rgba(34, 199, 232, 0.2);
}

.digital-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 470px;
}

.digital-card img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.digital-card h3 {
    font-size: 24px;
    margin-top: 8px;
    color: #f2fbff;
    font-weight: 700;
}

.digital-card p {
    margin-top: 12px;
    color: #c9d8e6;
    line-height: 1.75;
}

/* Responsive */
@media(max-width:768px){
    .digital-grid {
        grid-template-columns: 1fr;
    }

    .page-title h1 {
        font-size: 42px;
    }

    .search-box input {
        width: 100%;
        max-width: 260px;
    }

    .digital-card {
        min-height: auto;
    }
    
}
