/* ====================================================== */
/* ============= WINDOWS 8 START MENU MODE ============== */
/* ====================================================== */

/* Windows 8 Typography (Segoe UI is a native Windows system font with system fallbacks) */

/* Hide boot screen, logon splash and password screen so Start Menu is immediately visible */
.boot-screen,
.logon-splash-screen,
.user-logon-screen {
    display: none !important;
}

/* Ensure Start Menu is always fullscreen, active and visible with authentic Windows 8 Metro background */
.start-menu {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #180052 !important;
    background-image: url("../img/start-menu-bg.jpg") !important;
    background-position: center bottom !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    z-index: 10 !important;
    font-family: 'Segoe UI', -apple-system, sans-serif !important;
    overflow: hidden !important;
}

/* Metro Grid is immediately active with full opacity */
.start-menu .metro-ui-grid {
    opacity: 1 !important;
    transform: none !important;
}

/* Smooth Metro horizontal scrollbar */
.start-menu .metro-ui::-webkit-scrollbar {
    height: 8px;
}

.start-menu .metro-ui::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.start-menu .metro-ui::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.start-menu .metro-ui::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Windows 8 Metro UI Tile Polish: Sharp 90deg, flat, no shadows, 2px white outline hover */
.start-menu .metro-ui-grid li {
    font-family: 'Segoe UI', -apple-system, sans-serif !important;
    min-width: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    outline: 2px solid transparent !important;
    outline-offset: -2px !important;
    transition: transform 120ms cubic-bezier(0.1, 0.9, 0.2, 1), outline 120ms ease, filter 120ms ease !important;
}

.start-menu .metro-ui-grid li:hover {
    transform: scale(1.025) !important;
    outline: 2px solid rgba(255, 255, 255, 0.95) !important;
    outline-offset: -2px !important;
    border: none !important;
    box-shadow: none !important;
    filter: brightness(1.06) !important;
    z-index: 10 !important;
}

.start-menu .metro-ui-grid li:active {
    transform: perspective(600px) scale(0.97) !important;
    outline: 2px solid #ffffff !important;
    filter: brightness(0.95) !important;
}

.start-menu .metro-ui-grid li *,
.start-menu .metro-ui-grid li a,
.start-menu .metro-ui-grid li img,
.modern-tile-content .pulse-tag,
.live-feed-tile .tile-badge,
.live-feed-tile .tile-live-indicator,
.tile-icon-box {
    border-radius: 0 !important;
}

.start-menu .info h1 {
    font-family: 'Segoe UI Light', 'Segoe UI', sans-serif !important;
    font-weight: 300 !important;
    font-size: 5.6vh !important;
    line-height: 1 !important;
    letter-spacing: -0.5px !important;
    color: #ffffff !important;
    margin: 0 !important;
}

/* About Me photo tile - 2x2 square tile */
.metro-ui-grid li.aboutme-tile {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: #0078d7;
}

.metro-ui-grid li.aboutme-tile a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.metro-ui-grid li.aboutme-tile img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 10% !important;
    transform: scale(1.25) !important;
    transform-origin: center 10% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    z-index: 1 !important;
    display: block !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    transition: transform 300ms ease;
}

.metro-ui-grid li.aboutme-tile:hover img {
    transform: scale(1.30) !important;
}

.metro-ui-grid li.aboutme-tile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* User Profile Picture in Start Menu Header */
.start-menu .info .user img.profile-pic {
    width: 6.5104166667vh !important;
    height: 6.5104166667vh !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center 15% !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
}

/* About Me label: typography and position */
.metro-ui-grid li.aboutme-tile .text {
    position: absolute !important;
    left: 1.3vh !important;
    bottom: 1vh !important;
    width: auto !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 1.8vh !important;
    font-weight: 600 !important;
    font-family: 'Segoe UI', -apple-system, sans-serif !important;
    text-align: left !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
    z-index: 3 !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
}

/* Charms bar hover activators (were missing from compiled CSS) */
.charms-bar-activator-top,
.charms-bar-activator-bottom {
    position: absolute;
    width: 1.95313vh;
    background-color: transparent;
    z-index: 999;
}

.charms-bar-activator-top {
    top: 0;
    right: 0;
    height: 1.95313vh;
}

.charms-bar-activator-bottom {
    bottom: 0;
    right: 0;
    height: 5.20833vh;
}

.charms-bar {
    display: none;
    position: absolute;
    top: 0;
    right: -11.06771vh;
    width: 11.06771vh;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: transparent;
    transition: background-color 200ms, right 400ms;
    z-index: 12;
}

.charms-bar li {
    display: block;
    position: relative;
    top: 50vh;
    list-style-type: none;
    margin: 0;
    padding: 2.34375vh 0;
    text-align: center;
}

.charms-bar li:first-child {
    margin-top: -32.8125vh;
}

.charms-bar li:hover {
    background-color: #424242;
}

.charms-bar i {
    display: block;
    color: #fff;
    font-size: 5.72917vh;
}

.charms-bar .text {
    visibility: hidden;
    user-select: none;
    cursor: default;
}

.charms-bar:hover {
    background-color: #212121;
}

.charms-bar:hover .text {
    visibility: visible;
}

.charms-bar:hover .ion-social-windows {
    color: #4617b4;
}

.charms-info {
    display: none;
    position: absolute;
    bottom: 6.25vh;
    left: 6.51042vh;
    width: 53.64583vh;
    height: 18.22917vh;
    background: #212121;
    z-index: 12;
}
.start-menu .desktop-activator {
    opacity: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 6.77083vh;
    height: 5.20833vh;
    text-align: center;
    font-size: 3.64583vh;
    line-height: 5.20833vh;
    background-color: #212121;
    transition: opacity 250ms;
    z-index: 13;
    cursor: pointer;
}

.start-menu .desktop-activator .ion-social-windows {
    color: #4617b4;
}

.start-menu .desktop-activator:hover {
    opacity: 1;
}
/* Logon splash screen (clock/date/status) - from original main.min.css */
.logon-splash-screen {
    width: 100%;
    height: 100vh;
    top: 0vh;
    position: absolute;
    overflow: hidden;
    display: none;
    background-image: url("../img/cover.jpg");
    background-position: center;
    background-size: cover;
    z-index: 20;
    transition: all 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Splash slides up on first key press / click to reveal the Start screen */
.logon-splash-screen.dismissed {
    top: -100vh;
}

.logon-splash-screen .date-time {
    position: absolute;
    top: 50vh;
    left: 6vw;
}

.logon-splash-screen .time {
    font-size: 900%;
}

.logon-splash-screen .date {
    font-size: 350%;
}

.logon-splash-screen .icon-set {
    position: absolute;
    bottom: 5vh;
    left: 6vw;
}

.logon-splash-screen .icon-set p {
    display: inline-block;
    padding: 1.5625vh 2.08333vh;
    font-size: 3.125vh;
}

/* Mid-right-edge charms bar activator */
.charms-bar-activator-middle {
    position: absolute;
    top: 40vh;
    right: 0;
    width: 1.95313vh;
    height: 20vh;
    background-color: transparent;
    z-index: 999;
}

/* Charms popup (signal / battery / time / date) - from original main.min.css */
.charms-info .icon-set {
    font-size: 3.90625vh;
    padding: 0.65104vh;
    margin: 2.60417vh 1.30208vh 2.60417vh 3.125vh;
    float: left;
}

.charms-info .time {
    font-size: 520%;
    float: left;
    margin-top: 1.30208vh;
    margin-right: 1.95313vh;
}

.charms-info .date {
    font-size: 180%;
    padding: 3.90625vh 0;
}

/* ====================================================== */
/* ===== AUTHENTIC WINDOWS 8 METRO UI ARCHITECTURE ====== */
/* ====================================================== */

/* Start Menu Top Header - Precision aligned with canvas at 6vw */
.start-menu .info {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 14vh !important;
    box-sizing: border-box !important;
    padding: 2.6vh 6vw 1vh 6vw !important;
    z-index: 11 !important;
}

/* Panoramic Start Canvas & Windows 8 Spacing */
.start-menu .metro-ui {
    padding: 1.5vh 6vw 3.5vh 6vw !important;
    height: 86vh !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* Metro Groups & Gutters (Signature ~48px Windows 8 group separation) */
.metro-group {
    display: inline-block !important;
    vertical-align: top !important;
    margin-right: 5.5vh !important;
}

.metro-group:last-child {
    margin-right: 8vw !important;
}

/* Group Headers */
.group-header {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    margin-bottom: 1.3vh !important;
    padding-left: 1px !important;
    height: 3.5vh !important;
}

.group-title {
    font-family: 'Segoe UI Light', 'Segoe UI', -apple-system, sans-serif !important;
    font-size: 2.6vh !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    letter-spacing: -0.3px !important;
    margin: 0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
    user-select: none !important;
}

.group-link {
    font-family: 'Segoe UI', -apple-system, sans-serif !important;
    font-size: 1.4vh !important;
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
    transition: color 120ms ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-weight: 400 !important;
    margin-bottom: 2px !important;
}

.group-link:hover {
    color: #ffffff !important;
    transform: none !important;
    text-decoration: underline !important;
}

/* Authentic Windows 8 Metro Modular Mathematics:
   Unit size U = 15.2vh, Gap G = 1.2vh
   Square tile (1x1) = U x U (15.2vh x 15.2vh) -> exact 1:1 square
   Wide tile (2x1)   = (2U + G) x U (31.6vh x 15.2vh) -> exact 2.08:1 wide
   Hero tile (2x2)   = (2U + G) x (2U + G) (31.6vh x 31.6vh) -> exact 1:1 large square
*/
.start-menu .metro-ui-grid {
    display: inline-grid !important;
    grid-template-rows: repeat(4, 15.2vh) !important;
    grid-auto-columns: 15.2vh !important;
    grid-auto-flow: column dense !important;
    gap: 1.2vh !important; /* Uniform ~10px-11px tile gap */
    align-content: start !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tile Grid Spans */
.start-menu .metro-ui-grid li.tile-wide {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
}

.start-menu .metro-ui-grid li.tile-hero,
.start-menu .metro-ui-grid li.aboutme-tile {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
}

.start-menu .metro-ui-grid li.tech-tile,
.start-menu .metro-ui-grid li.tile-square:not(.aboutme-tile) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
}

/* Dynamic Live Tile Styles */
.start-menu .metro-ui-grid li.live-feed-tile {
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-user-drag: none;
    user-drag: none;
}

.start-menu .metro-ui-grid li.live-feed-tile * {
    -webkit-user-drag: none;
    user-drag: none;
}

.start-menu .metro-ui-grid li.live-feed-tile a.tile-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: #ffffff;
    overflow: hidden;
}

/* Tile Background Image */
.live-feed-tile .tile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.live-feed-tile:hover .tile-bg {
    transform: scale(1.06);
}

/* Overlays */
.live-feed-tile .tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.youtube-feed-tile .tile-overlay {
    background: linear-gradient(180deg, rgba(20, 0, 0, 0.3) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(0, 0, 0, 0.92) 100%);
}

.blog-feed-tile .tile-overlay {
    background: linear-gradient(180deg, rgba(5, 20, 35, 0.3) 0%, rgba(10, 25, 45, 0.6) 45%, rgba(4, 12, 24, 0.94) 100%);
}

/* Badges - Windows 8 Sharp Flat Style */
.live-feed-tile .tile-badge {
    position: absolute;
    top: 0.9vh;
    left: 1vh;
    z-index: 3;
    font-size: 1.2vh;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 0 !important;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: none !important;
}

.youtube-feed-tile .tile-badge {
    background-color: #cc181e !important;
}

.blog-feed-tile .tile-badge {
    background-color: #0077b6 !important;
}

.live-feed-tile .tile-live-indicator {
    position: absolute;
    top: 0.9vh;
    right: 1vh;
    z-index: 3;
    font-size: 1.1vh;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, 0.65);
    color: #00ff88;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border: 1px solid rgba(0, 255, 136, 0.4);
    box-shadow: none !important;
}

.live-feed-tile .tile-live-indicator::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50% !important;
    background-color: #00ff88;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* YouTube Center Play Icon */
.youtube-feed-tile .yt-play-icon {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}

.youtube-feed-tile .yt-play-icon .ionicons {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    font-size: 4.8vh !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    transition: transform 200ms ease, color 200ms ease;
    display: block !important;
}

.youtube-feed-tile.tile-wide .yt-play-icon .ionicons {
    font-size: 3.2vh !important;
}

.youtube-feed-tile:hover .yt-play-icon .ionicons {
    transform: scale(1.15) !important;
    color: #ff2233 !important;
}

/* Hide superfluous large center icons in blog feed tiles so blog thumbnails & titles are crisp */
.blog-feed-tile .blog-read-icon {
    display: none !important;
}

/* Neutralize legacy centering on inline and text ionicons */
.start-menu .metro-ui-grid .tile-text-box .ionicons,
.start-menu .metro-ui-grid .tile-text-box .ion,
.start-menu .metro-ui-grid .tile-label .ionicons,
.start-menu .metro-ui-grid .tile-label .ion,
.start-menu .metro-ui-grid .tile-headline .ionicons,
.start-menu .metro-ui-grid .tile-headline .ion,
.start-menu .metro-ui-grid .tile-subtext .ionicons,
.start-menu .metro-ui-grid .tile-subtext .ion,
.start-menu .metro-ui-grid .tile-badge .ionicons,
.start-menu .metro-ui-grid .tile-badge .ion,
.start-menu .metro-ui-grid .tile-date .ionicons,
.start-menu .metro-ui-grid .tile-date .ion,
.start-menu .metro-ui-grid .pulse-tag .ionicons,
.start-menu .metro-ui-grid .pulse-tag .ion,
.group-header .ionicons,
.group-header .ion,
.group-link .ionicons,
.group-link .ion {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    font-size: 1.25vh !important;
    line-height: 1 !important;
    color: inherit !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 4px !important;
    pointer-events: auto !important;
}

/* Content Bottom */
.live-feed-tile .tile-content {
    position: absolute;
    bottom: 1vh;
    left: 1.2vh;
    right: 1.2vh;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.3vh;
    pointer-events: none;
}

.live-feed-tile .tile-title {
    font-family: 'Segoe UI', -apple-system, sans-serif !important;
    font-size: 1.6vh;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
    padding: 0;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

.tile-hero .tile-title {
    font-size: 1.95vh;
    -webkit-line-clamp: 3;
}

.live-feed-tile .tile-date {
    font-size: 1.2vh;
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Hover highlights - Crisp authentic Windows 8 white outline */
.start-menu .metro-ui-grid li.youtube-feed-tile:hover,
.start-menu .metro-ui-grid li.blog-feed-tile:hover {
    transform: scale(1.025) !important;
    outline: 2px solid rgba(255, 255, 255, 0.95) !important;
    outline-offset: -2px !important;
    border: none !important;
    box-shadow: none !important;
    filter: brightness(1.06) !important;
}

/* ====================================================== */
/* ===== MODERN CLEAN METRO TILES (GITHUB, WA, EMAIL) === */
/* ====================================================== */

.start-menu .metro-ui-grid li .modern-tile-content {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    padding: 1.5vh 2vh !important;
    gap: 1.5vh !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
}

.modern-tile-content .tile-icon-box {
    width: 5vh;
    height: 5vh;
    min-width: 5vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: transparent !important;
    border-radius: 0 !important;
}

.modern-tile-content .tile-svg-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 200ms ease;
    display: block;
    border-radius: 0 !important;
}

.start-menu .metro-ui-grid li:hover .tile-svg-logo {
    transform: scale(1.08);
}

.modern-tile-content .tile-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    text-align: left;
}

.modern-tile-content .tile-label {
    font-family: 'Segoe UI', -apple-system, sans-serif !important;
    font-size: 1.15vh;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.25vh;
    line-height: 1.1;
}

.modern-tile-content .tile-headline {
    font-family: 'Segoe UI', -apple-system, sans-serif !important;
    font-size: 1.85vh;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2vh;
}

.modern-tile-content .tile-subtext {
    font-family: 'Segoe UI', -apple-system, sans-serif !important;
    font-size: 1.25vh;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.1;
}

/* WhatsApp Specific - Windows 8 Metro Emerald */
.start-menu .metro-ui-grid li.whatsapp-tile {
    background-color: #008a00 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.whatsapp-tile .wa-dot {
    width: 6px;
    height: 6px;
    border-radius: 50% !important;
    background-color: #ffffff;
    display: inline-block;
    animation: livePulse 2s infinite ease-in-out;
}

/* GitHub Specific - Windows 8 Slate / Charcoal */
.start-menu .metro-ui-grid li.github-tile {
    background-color: #252526 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.github-tile .gh-project-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 250ms ease, transform 250ms ease;
}

/* Email Specific - Windows 8 Metro Outlook Blue */
.start-menu .metro-ui-grid li.email-tile {
    background-color: #0072c6 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* ====================================================== */
/* ===== FREELANCE CONSULTING & SERVICE TILES =========== */
/* ====================================================== */

/* Booking & TidyCal Tile - Windows 8 Electric Cobalt */
.start-menu .metro-ui-grid li.booking-tile {
    background-color: #0050ef !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.booking-tile .pulse-tag {
    font-size: 1.1vh;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    margin-bottom: 0.3vh;
}

.booking-tile .pulse-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50% !important;
    background-color: #00ff88;
    animation: livePulse 2s infinite ease-in-out;
}

/* LinkedIn Tile - Windows 8 Steel Navy */
.start-menu .metro-ui-grid li.linkedin-tile {
    background-color: #2b5797 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Resume Tile - Windows 8 Crimson */
.start-menu .metro-ui-grid li.resume-tile {
    background-color: #a20025 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Service Tiles - Windows 8 Metro Flat Colors */
.service-k8s {
    background-color: #0050ef !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.service-cloud {
    background-color: #da532c !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.service-iac {
    background-color: #603cba !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.service-cicd {
    background-color: #008272 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.service-cost {
    background-color: #008a00 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.service-cases {
    background-color: #2b5797 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.service-sec {
    background-color: #d80073 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.service-sre {
    background-color: #a20025 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Tech Stack Tiles - Windows 8 Metro 1x1 Squares */
.start-menu .metro-ui-grid li.tech-tile {
    position: relative !important;
    cursor: pointer !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}

.tech-tile .tech-icon {
    width: 5vh;
    height: 5vh;
    position: absolute;
    top: 3.2vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.tech-tile .tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0 !important;
}

.tech-tile .tech-icon .ionicons {
    font-size: 5vh;
    position: static;
    transform: none;
    line-height: 1;
}

.tech-tile .text {
    position: absolute;
    left: 1.2vh;
    bottom: 1vh;
    font-family: 'Segoe UI', -apple-system, sans-serif !important;
    font-size: 1.35vh;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    pointer-events: none;
    text-shadow: none;
}

/* Modals & Windows Polish for Booking and Services */
.app .devops-dialog {
    padding: 2.5vh 3vw;
    color: #e0e0e0;
    max-height: 70vh;
    overflow-y: auto;
}

.app .devops-dialog h2 {
    font-family: 'Segoe UI Light', 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 3.2vh;
    color: #ffffff;
    margin: 0 0 1vh 0;
}

.app .devops-dialog h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 2.2vh;
    font-weight: 600;
    color: #60cdff;
    margin: 2vh 0 0.8vh 0;
}

.app .devops-dialog p {
    font-size: 1.7vh;
    line-height: 1.5;
    color: #cccccc;
    margin: 0 0 1.2vh 0;
}

.app .service-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5vh;
    margin: 2vh 0;
}

.app .service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.8vh;
    border-radius: 4px;
}

.app .service-card h4 {
    margin: 0 0 0.8vh 0;
    color: #ffffff;
    font-size: 1.9vh;
    display: flex;
    align-items: center;
    gap: 8px;
}

.app .service-card ul {
    margin: 0;
    padding-left: 20px;
    font-size: 1.5vh;
    color: #b0b0b0;
    line-height: 1.6;
}

.app .btn-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 2.5vh;
}

.app .btn-cta-primary {
    background: #0078d7;
    color: #ffffff;
    border: none;
    padding: 1.2vh 2.4vh;
    font-size: 1.6vh;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 150ms ease;
}

.app .btn-cta-primary:hover {
    background: #1084d8;
}

.app .btn-cta-secondary {
    background: #25D366;
    color: #ffffff;
    border: none;
    padding: 1.2vh 2.4vh;
    font-size: 1.6vh;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 150ms ease;
}

.app .btn-cta-secondary:hover {
    background: #22bf5b;
}

/* ====================================================== */
/* ===== TIDYCAL SCHEDULING & EMBED STYLES ============== */
/* ====================================================== */

.btn-tidycal {
    background: #1569ee;
    color: #ffffff !important;
    padding: 0.9vh 1.6vh;
    border-radius: 3px;
    font-size: 1.35vh;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 1.4vh;
    transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-tidycal:hover {
    background: #0d52c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 105, 238, 0.45);
}

.btn-tidycal-featured {
    background: #0050ef !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.btn-tidycal-featured:hover {
    background: #1060ff !important;
    box-shadow: none !important;
}

.tidycal-direct-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.6vh 1.4vh;
    border-radius: 3px;
    background: rgba(21, 105, 238, 0.2);
    border: 1px solid rgba(21, 105, 238, 0.45);
    color: #60cdff !important;
    font-size: 1.35vh;
    font-weight: 600;
    text-decoration: none;
    transition: all 150ms ease;
}

.tidycal-direct-badge:hover {
    background: rgba(21, 105, 238, 0.45);
    color: #ffffff !important;
    border-color: #60cdff;
}

.tidycal-calendar-section {
    margin: 2.5vh 0 1vh 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    overflow: hidden;
    background: #1e1e1e;
}

.tidycal-calendar-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2vh 1.8vh;
    background: #252525;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.45vh;
    font-weight: 600;
    color: #f0f0f0;
}

.tidycal-calendar-bar .tidycal-open-ext {
    color: #60cdff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1.3vh;
    transition: color 150ms ease;
}

.tidycal-calendar-bar .tidycal-open-ext:hover {
    color: #ffffff;
    text-decoration: underline;
}

.tidycal-iframe-container {
    background: #ffffff;
    width: 100%;
    min-height: 540px;
    position: relative;
}

.tidycal-iframe {
    width: 100%;
    height: 580px;
    border: none;
    display: block;
    background: #ffffff;
}

/* ====================================================== */
/* ===== CREDLY BADGES & CERTIFICATIONS STYLING ========= */
/* ====================================================== */

/* Credly Live Tile - Windows 8 Mango Orange */
.start-menu .metro-ui-grid li.credly-tile {
    background-color: #da532c !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.credly-tile .credly-badge-rotator {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 250ms ease, transform 250ms ease;
}

/* Specific Credly Badge Tiles - Windows 8 Metro Flat Colors */
.start-menu .metro-ui-grid li.aws-cert-tile {
    background-color: #d88900 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.start-menu .metro-ui-grid li.gcp-k8s-tile {
    background-color: #1b5fb8 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.start-menu .metro-ui-grid li.aws-partner-tile {
    background-color: #008272 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.tile-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
    transition: transform 200ms ease;
    border-radius: 0 !important;
}

.start-menu .metro-ui-grid li:hover .tile-badge-img {
    transform: scale(1.08);
}

/* Credly Modal Cards & Grid */
.credly-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5vh;
    margin: 2vh 0;
}

.credly-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 1.6vh;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.credly-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 0, 0.5);
    transform: translateY(-2px);
}

.credly-card-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.credly-card-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.credly-card-title {
    font-size: 1.55vh;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3px;
    line-height: 1.3;
}

.credly-card-issuer {
    font-size: 1.25vh;
    color: #ffd43b;
    margin-bottom: 4px;
}

.credly-card-link {
    font-size: 1.2vh;
    color: #60cdff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.credly-card-link:hover {
    text-decoration: underline;
    color: #ffffff;
}

/* ====================================================== */
/* ===== FREELANCE ENHANCEMENTS: AVAILABILITY & APPS ===== */
/* ====================================================== */

/* Availability Badge in Header */
.availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 20px;
    padding: 6px 14px;
    margin-left: 20px;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.availability-pill:hover {
    background: rgba(0, 255, 136, 0.22);
    border-color: #00ff88;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}

.status-pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
    animation: statusPulse 1.8s infinite ease-in-out;
    display: inline-block;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.6; }
}

.availability-text {
    font-size: 1.35vh;
    font-weight: 600;
    color: #00ff88;
    letter-spacing: 0.3px;
    font-family: 'Segoe UI', -apple-system, sans-serif;
}

/* Productized Sprints & Retainer Cards */
.sprint-card {
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sprint-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.sprint-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.1vh;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffd43b;
    border: 1px solid rgba(255, 212, 59, 0.3);
}

.sprint-outcome {
    margin: 10px 0;
    padding: 8px 10px;
    background: rgba(0, 255, 136, 0.08);
    border-radius: 4px;
    font-size: 1.25vh;
    color: #e0e0e0;
}

.sprint-outcome i {
    color: #00ff88;
    margin-right: 4px;
}

.btn-sprint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 7px 12px;
    background: rgba(21, 105, 238, 0.25);
    border: 1px solid rgba(21, 105, 238, 0.6);
    border-radius: 4px;
    color: #60cdff;
    text-decoration: none;
    font-size: 1.25vh;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-sprint:hover {
    background: #1569ee;
    color: #ffffff;
    text-decoration: none;
}

/* Cloud Savings Calculator Styles */
.calc-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 1.3vh;
    color: #e0e0e0;
    transition: background 0.15s ease;
}

.calc-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.07);
}

.calc-checkbox-label input[type="checkbox"] {
    accent-color: #1ea482;
    margin-top: 2px;
}

.calc-result-box {
    transition: transform 0.2s ease;
}

.calc-result-box:hover {
    transform: translateY(-2px);
}

/* Interactive Terminal Styling */
.terminal-cmd-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.terminal-container::-webkit-scrollbar {
    width: 6px;
}

.terminal-container::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 3px;
}

.terminal-container::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

/* Client Testimonials Rotator */
.testimonial-rotator {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-quote {
    font-style: italic;
    color: #ffffff;
}

.testimonial-author {
    color: #ffd43b !important;
    font-weight: 600;
}



