﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

html, body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif;
    background-color: #181f2a;
    color: #e6eaf1;
}

body.bg-dark {
    background-color: #181f2a !important;
    color: #e6eaf1 !important;
}

.card, .container, .navbar, .footer, .dropdown-menu {
    background-color: #232b3a !important;
    color: #e6eaf1 !important;
}

a, .nav-link, .navbar-brand, .dropdown-item {
    color: #6ec1e4 !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

a:hover, .nav-link:hover, .nav-link.active, .nav-link:focus, .dropdown-item:hover, .dropdown-item:focus {
    color: #fff !important;
    background-color: #1a2233 !important;
}

a, a:visited {
    color: #6ec1e4;
    text-decoration: none;
}

a:hover, a:focus {
    color: #fff;
    text-decoration: underline;
}

.card, .container, .section, .main-content {
    background-color: #20283a !important;
    color: #e6eaf1 !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(30,40,60,0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    color: #6ec1e4;
    font-weight: 600;
    letter-spacing: 0.5px;
}

footer {
    background-color: #232b3a !important;
    color: #b0b8c9 !important;
    border-top: 1px solid #2c3446;
}

::-webkit-scrollbar {
    width: 8px;
    background: #232b3a;
}
::-webkit-scrollbar-thumb {
    background: #6ec1e4;
    border-radius: 4px;
}

.tech-tile {
    background: #232b3a;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,40,60,0.10);
    transition: transform 0.15s, box-shadow 0.15s;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.tech-tile:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 18px rgba(30,40,60,0.18);
    background: #263045;
}
.tech-logo {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.10));
}

/* Multi-level dropdown support */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.25rem;
    margin-left: 0.1rem;
    border-radius: 0.5rem;
    min-width: 180px;
}

.dropdown-menu-dark {
    background-color: #232b3a;
    color: #e6eaf1;
}

.dropdown-menu-dark .dropdown-item {
    color: #6ec1e4;
    font-weight: 500;
}

.dropdown-menu-dark .dropdown-item:hover, 
.dropdown-menu-dark .dropdown-item:focus {
    background-color: #1a2233;
    color: #fff;
}

/* Show the submenu on hover */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Flex layout for submenu items with arrow */
.dropdown-item.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 1.5rem;
}

.submenu-arrow {
    font-size: 1.1em;
    color: #6ec1e4;
    transition: color 0.2s;
}

.dropdown-item.dropdown-toggle:hover .submenu-arrow {
    color: #fff;
}

/* Remove top border/line from nested dropdown menus */
.dropdown-menu .dropdown-menu {
    border-top: 0 !important;
}



