
:root { 
    font-size: 16px; 
    --blue: #00bfff;
    --blue-on-light: #0077b6;
    --dark: #0A0F1F;
    --gray: #0c162e;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-light-bg: #111827;
    --surface-dark: linear-gradient(145deg, #0f172a, #020617);
} 
html { 
    font-family: "Varela Round", sans-serif; 
    font-weight: 500; 
    scroll-behavior: smooth;
} 
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
} 

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: var(--text-light-bg);
    line-height: 1.6;
}

img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}
h2 {
    color: white;
    font-size: 26px;
}

h1, h2, h3, p, footer {
    user-select: none;
}

[data-i18n] {
  white-space: pre-line;
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0a0f1f;
    color: white;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.14);
    min-height: 72px;
}

.nav-links li {
    width: 100%;
    height: 100%;
    white-space: nowrap;
    cursor: pointer;
}

.nav-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    text-align: center;
    user-select: none;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links a {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 10px 14px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0%;
    height: 2px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: #f8981d;
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 72%;
}

.nav-links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-links a:focus-visible {
    outline: 2px solid rgba(0, 191, 255, 0.9);
    outline-offset: 2px;
}

.nav-links li a.active {
    color: #ffffff;
}

.nav-links li a.active::after {
    width: 72%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-right: 10px;
    padding-bottom: 2px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1034px) {

    .hamburger {
        display: flex;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #0a0f1f;

        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;

        transition: max-height 0.4s ease;
    }

    .nav-links.active {
        max-height: 400px;
    }
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 900;
    color: white;
    padding: 0 25px;
    text-decoration: none;
    line-height: 1.15;
}

.logo-subtitle {
    font-size: 0.62rem;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.9;
}

#tech, #clients, #skills, #services, #experience, #faq {
    display: flex;
    flex-direction: column;
    padding: 72px 96px;
    align-items: center;
    box-sizing: border-box;
    background: #0a0f1f;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.feedback {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    background: #0a0f1f;
}

#contact {
    display: flex;
    flex-direction: column;
    padding: 72px 96px;
    align-items: center;
    box-sizing: border-box;
    background: white;
    color: black;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.gray {
    background: #0c162e !important;
}

.white {
    background: white !important;
}

.white .title {
    color: var(--blue-on-light);
}

.white .subtitle {
    color: #1f2937;
}

.card {
    height: 100px;
    background: white;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact {
    display: flex;
    justify-content: center;
    padding: 24px 0 0 0;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    width: 100%;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin-top: 4px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #111827;
    background: #f9fafb;
    padding: 12px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible {
    outline: 2px solid rgba(0, 119, 182, 0.35);
    border-color: #0077b6;
}

.details-counter {
    margin-top: -2px;
    text-align: right;
    color: #4b5563;
    font-size: 0.8rem;
}

.captcha-error {
    color: #b91c1c;
    min-height: 1.2em;
    font-size: 0.82rem;
}

.contact-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.contact-form-actions button {
    border: 1px solid #0a0f1f;
    background: #0a0f1f;
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contact-form-actions button[type="reset"] {
    background: #ffffff;
    color: #0a0f1f;
}

.contact-form-actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

footer {
    border-top: 1px solid #eee;
    text-align: left;
    padding: 28px 96px;
    background: #0a0f1f;
    color: white;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto 16px auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px;
}

.footer-linkedin img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.footer-company-address {
    color: #cbd5e1;
    font-size: 0.92rem;
}

.footer-cta-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-cta {
    margin-left: 72px;
}

.footer-cta-list {
    list-style: disc;
    margin-left: 18px;
    color: #cbd5e1;
    display: grid;
    gap: 6px;
}

.footer-copyright {
    text-align: center;
    color: #cbd5e1;
    font-size: 0.82rem;
}

.info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.info-author {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-author-name {
    color: #111827;
    font-weight: 900;
    font-size: 30px;
}

.info-author-title {
    letter-spacing: 1px;
    color: #6B7280;
}

.info-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.info-data p {
    font-size: 30px;
    font-weight: 900;
    color: black;
}

.link {
    display: block;
    text-decoration: none;
    color: black;
}

.info-data a {
    font-size: 18px;
}

.lang-switch {
    position: relative;
    margin-right: 10px;
}

.lang-dropdown {
    width: 50px;
    height: 34px;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.lang-dropdown img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lang-menu {
    user-select: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    border-radius: 6px;
    overflow: hidden;
    background: transparent;
    width: 50px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.lang-item {
    width: 50px;
    height: 34px;
    cursor: pointer;
}

.lang-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lang-item:hover {
    filter: brightness(0.9);
}

.hidden {
    display: none;
}

.contact-button {
    background: none;
    border: none;
    cursor: pointer;
    border: 4px solid black;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 900;
    padding: 10px;
    min-height: 64px;
    min-width: 260px;
}

.contact-button:hover {
    background: black;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

@media (max-width: 768px) {

    #feedback, #tech, #clients, #contact, #skills, #services, #experience, #faq {
        padding: 20px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        flex: 0 0 50%;
        display: flex;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    footer {
        padding: 24px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-cta {
        margin-left: 0;
    }

    .footer-cta-list {
        justify-content: flex-start;
        align-items: flex-start;
    }
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.clients-card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding-top: 40px;
}

.client-card {
    perspective: 1000px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feedbacks-card-grid {
    column-count: 3;
    padding: 20px;
    align-items: start;
}

.feedback-card {
    break-inside: avoid;
    margin-bottom: 40px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 4px;
    transition: all 0.25s ease;
    transform: scale(1);
    background: var(--surface-dark);
}

.feedback-card .name {
    font-weight: 900;
    color: var(--blue);
    padding: 5px;
    text-align: center;
    font-size: 16px;
}

.feedback-name-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.feedback-name-link img {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 3px;
    padding: 1px;
}

.feedback-name-link:hover {
    text-decoration: underline;
}

.feedback-card .role {
    text-align: center;
    font-size: 0.75rem;
    color: white;
}

.feedback-card .opinion {
    padding: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    font-style: italic;
    color: var(--text-muted);
}

.feedback-card:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(59,130,246,0.5);
    box-shadow: 0 10px 30px rgba(59,130,246,0.2);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding-top: 1.5rem;
}

.faq-item {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.75rem;
    background: var(--surface-dark);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item.is-open {
    border: 1px solid rgba(59,130,246,0.5);
    box-shadow: 0 0.5rem 1.5rem rgba(59,130,246,0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.05rem;
    padding: 1rem 1.2rem;
    width: 100%;
    text-align: left;
}

.faq-question::after {
    content: "+";
    color: var(--blue);
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-question::after {
    content: "−";
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}

.faq-item.is-open .faq-panel {
    opacity: 1;
}

.faq-answer {
    padding: 0 1.2rem 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    width: 100%;
}

@media (max-width: 900px) {
    .feedbacks-card-grid {
        column-count: 1;
    }
}

@media (max-width: 600px) {
    .feedbacks-card-grid {
        column-count: 1;
    }
}

.hero-text {
    padding-top: 40px;
    opacity: 0;
    transform: translateX(-250px);
    animation: slideInLeft 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    will-change: transform, opacity;
    position: relative;
    color: var(--gray);
}

.hero h1.hero-text {
    min-height: 2.75em;
}

.container {
    display: flex;
    flex-wrap: wrap;
}

.hero {
    min-height: 100vh;
    box-sizing: border-box;
}

.hero-content {
    flex: 0 0 50%;
    padding: 0px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    
}

.hero-content :last-child {
    align-self: center;
}

.hero-content,
.hero-image {
  position: relative;
  z-index: 1;
}


.hero-content p {
    background: #0c162e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 14px;
    max-width: 80ch;
    font-family: "Inter", sans-serif;
    color: var(--text-main);
}

.hero-image {
    flex: 0 0 50%;
    display: flex;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    color: var(--gray);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 900;
    margin-bottom: 20px;
}

.hero p {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 30px;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-250px);
    }
    to {
        opacity: 0.85;
        transform: translateX(0);
    }
}


@media (max-width: 768px) {
  .hero-text {
    animation: none;
    transform: none;
    opacity: 0.85;
  }
}

.service-card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 80px;
    padding-top: 20px;
}

.service-card {
    height: 250px;
    width: 250px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.6s ease;
    box-sizing: border-box;
    padding: 20px;
    
}

.service-card {
    position: relative;
}

.service-card-front {
    background: var(--surface-dark);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    gap: 10px;
}

.service-card-front p {
    font-size: 0.9rem;
    font-weight: 900;
    text-align: center;
}

.service-card-back {
    background: var(--surface-dark);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    transform: rotateY(180deg);
    gap: 10px;
}

.service-card-back p {
    color: white;
    gap: 10px;
    text-align: center;
}

.service-card-content-back p {
    font-size: 0.8rem;
}

.service-card-icon {
    width: 100px;
    height: auto; 
    filter: brightness(0) invert(1);
}

.service-card-icon-big {
    width: 60px;
    height: auto;
    filter: brightness(0) invert(1);
}

.service-card:hover .service-card-front {
    transform: rotateY(180deg);
    border: 1px solid rgba(59,130,246,0.5);
    box-shadow: 0 10px 30px rgba(59,130,246,0.2);
}

.service-card:hover .service-card-back {
    transform: rotateY(360deg);
    border: 1px solid rgba(59,130,246,0.5);
    box-shadow: 0 10px 30px rgba(59,130,246,0.2);
}

.title {
    user-select: none;
    color: var(--blue);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 900;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

.subtitle {
    user-select: none;
    color: white;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    letter-spacing: 0.4px;
    margin-bottom: 14px;
    line-height: 1.55;
}

.cards {
    padding: 25px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.card {
    flex: 1 1 350px;
    max-width: 380px;
    background: var(--surface-dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 25px;
    height: auto;
    min-height: 120px;
    min-width: 0;
    transition: 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: flex-start;
}


.card h3 {
    font-size: 1rem;
    color: white;
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9rem;
}

.card h3,
.card p {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.card:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(59,130,246,0.5);
    box-shadow: 0 10px 30px rgba(59,130,246,0.2);
}


@media (max-width: 600px) {

    .card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .subtitle {
        word-break: keep-all;
    }
}

.section-description {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: 20px 10px;
    padding-left: 5rem;
    gap: 6px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

#experience .section-inner {
  width: 100%;
}

.experience-accordion-section {
    margin-top: 10px
}

.card-content {
    padding: 5px;
    min-width: 0;
    flex: 1;
}

@media (max-width: 600px) {
    .section-inner {
        width: 100%;
    }

    .section-description {
        padding-left: 0;
    }
}

.timeline {
  margin-top: 20px;
  border-left: 3px solid var(--blue);
  padding-left: 20px;
}

.timeline-item {
  max-width: 620px;
  width: 100%;
  background-color: transparent;
  padding: 8px;
}

.timeline-section-toggle {
  align-self: flex-start;
  border: 1px solid rgba(0, 191, 255, 0.55);
  background: transparent;
  color: #bae6fd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.timeline-section-toggle:hover {
  background: rgba(0, 191, 255, 0.12);
  border-color: rgba(0, 191, 255, 0.8);
  color: #ffffff;
}

.timeline-section-panel {
  display: none;
}

.timeline-section-panel.is-open {
  display: block;
}

.experience-feedback-block {
  background-color: var(--gray) !important;
}

.feedback-section-toggle {
  align-self: flex-start;
  border: 1px solid rgba(0, 191, 255, 0.55);
  background: transparent;
  color: #bae6fd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.feedback-section-toggle:hover {
  background: rgba(0, 191, 255, 0.12);
  border-color: rgba(0, 191, 255, 0.8);
  color: #ffffff;
}

.certificates-section-toggle {
  align-self: flex-start;
  border: 1px solid rgba(0, 191, 255, 0.55);
  background: transparent;
  color: #bae6fd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.certificates-section-toggle:hover {
  background: rgba(0, 191, 255, 0.12);
  border-color: rgba(0, 191, 255, 0.8);
  color: #ffffff;
}

.certificates-section-panel {
  display: none;
}

.certificates-section-panel.is-open {
  display: block;
}

.certificates-badges-space {
  margin-top: 12px;
  background-color: white;
  border-radius: 10px;
  min-height: 480px;
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feedback-section-panel {
  display: none;
}

.feedback-section-panel.is-open {
  display: block;
}

.feedback-section-panel .feedback-card {
  margin-bottom: 22px;
}

.feedback-section-panel .feedback-card:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  margin-left: -26px;
  margin-top: 8px;
}

.timeline .icon {
  font-size: 16px;
  flex-shrink: 0;
}

.timeline p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.timeline-hint {
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px dashed rgba(0, 191, 255, 0.55);
  border-radius: 8px;
  color: #bae6fd;
  font-size: 0.85rem;
  font-weight: 700;
}

.tech-stack,
.projects-description {
  position: relative;
  display: inline-block;
  transition: 0.3s ease;
}

.tech-stack > button,
.projects-description > button {
  min-width: 200px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(0, 191, 255, 0.55);
  border-radius: 8px;
  color: #bae6fd;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tech-stack .tech-stack-popup,
.projects-description .projects-popup {
  display: none;
  position: absolute;
  left: 0;
  top: 110%;
  color: white;
  background: #0f172a;
  border: 1px solid var(--blue);
  padding: 10px;
  width: 260px;
  border-radius: 8px;
  font-size: 0.8rem;
  z-index: 10;
}

.popup-content {
  padding-top: 6px;
  padding-right: 20px;
}

.popup-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 191, 255, 0.45);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 191, 255, 0.22), rgba(15, 23, 42, 0.95));
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 191, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.popup-close:hover {
  color: #ffffff;
  border-color: rgba(0, 191, 255, 0.95);
  background: radial-gradient(circle at 30% 30%, rgba(0, 191, 255, 0.4), rgba(15, 23, 42, 0.98));
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 191, 255, 0.4);
}

.popup-close:active {
  transform: scale(0.95);
}

.popup-close:focus-visible {
  outline: 2px solid rgba(0, 191, 255, 0.95);
  outline-offset: 2px;
}

.tech-stack > button:hover, .projects-description > button:hover {
  background: rgba(0, 191, 255, 0.12);
  border-color: rgba(0, 191, 255, 0.8);
  color: #ffffff;
}

.tech-stack-popup.active,
.projects-popup.active {
    display: block;
}

@media (max-width: 600px) {
  .timeline {
    padding-left: 15px;
  }

  .tech-stack,
  .projects-description {
    margin-top: 4px;
  }

  .tech-stack > button,
  .projects-description > button {
    min-width: 200px;
  }
}

.company_and_role {
    display: flex;
    flex-direction: column;
    color: white;
}

.timeline-company {
    letter-spacing: 1.5px;
    padding: 5px;
    color: var(--blue);
}

.timeline-role {
    padding: 5px;
    font-size: 1rem;
    font-weight: 900;
}

.simple-role {
    color: white;
    font-size: 20px;
    padding: 5px;
}

.simple-description {
    padding: 5px;
}

.timeline-date {
  user-select: none;
  letter-spacing: 1.5px;
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 6px;
  border-bottom: 1px solid #94a3b8;
}

