/* Base and Common Styles - Alphabetically Organized */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@font-face {
    font-family: 'Korataki';
    src: url('../Korataki/korataki.otf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
:root {
    --font-family: 'Korataki', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --black: #0a0a0a;
    --white: #ffffff;
    --accent: #00aba2;
    --gray: #bfbfbf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.7;
}

.btn {
    font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    display: inline-block;
    padding: 0;
    border: none;
    font-size: 20px;
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
    width: fit-content;
    position: relative;
}

.btn::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.btn:hover {
    background: transparent;
    color: var(--white);
    border: none;
}

.btn:hover::after {
    width: 100%;
}

.btn.dark {
    font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    display: inline-block;
    padding: 0;
    border: none;
    font-size: 20px;
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
    width: fit-content;
    position: relative;
}

.btn.dark::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.btn.dark:hover {
    background: transparent;
    color: var(--white);
    border: none;
}

.btn.dark:hover::after {
    width: 100%;
}

.container {
    max-width: 1300px;
    margin: auto;
}

.dropdown-menu {
    font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--accent);
    border-radius: 4px;
    list-style: none;
    min-width: 220px;
    backdrop-filter: blur(5px);
    z-index: 1001;
    padding: 8px 0;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.8rem;
    position: relative;
    transition: 0.3s;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(0, 171, 162, 0.1);
    color: var(--white);
}

.dropdown-menu a::after {
    display: none;
}

footer {
    font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #050505;
    text-align: center;
    padding: 20px 20px;
    color: #d6d5d5;
    font-size: 0.8rem;
}

h1, h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

h3 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    scroll-margin-top: 100px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 20px 40px;
}



html {
    font-family: var(--font-family);
    scroll-behavior: smooth;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
}

.logo:visited,
.logo:hover,
.logo:active {
    color: var(--white);
    text-decoration: none;
}

.logo img {
    max-width: 80px;
    max-height: 40px;
    width: auto;
    height: auto;
    margin-right: 0;
    padding-top: 0;
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 25px;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    font-size: 0.8rem;
    margin-left: auto;
    align-items: center;
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown > a.active::after,
.nav-links .nav-item.dropdown > a.active::after {
    width: 0;
}

.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown:focus-within .dropdown-menu,
.nav-links .nav-item.dropdown:hover .dropdown-menu,
.nav-links .nav-item.dropdown:focus-within .dropdown-menu {
    display: flex;
}

.nav-links .dropdown:hover > a::after,
.nav-links .nav-item.dropdown:hover > a::after,
.nav-links .dropdown:focus-within > a::after,
.nav-links .nav-item.dropdown:focus-within > a::after {
    width: 100%;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 300;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--white);
    background: none;
    border: none;
    padding: 5px 10px;
    margin-left: auto;
    transition: 0.3s;
}

.nav-toggle-label:hover {
    color: var(--accent);
}

section {
    padding: 90px 8%;
}

@media (max-width: 900px) {
    nav {
        padding: 15px 20px;
    }
}

.linkedin-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1);
}

.linkedin-icon:hover {
    transform: scale(1.1);
    filter: brightness(1.3);
}
