@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

.profile-img {
    max-width: 100%;
    height: auto;
    border-radius: 50%; /* Assuming it's a circular profile picture */
    object-fit: cover; /* This prevents the image from being stretched or skewed */
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .profile-img {
        width: 200px; /* Adjust size for mobile */
        height: 200px;
    }

    .scroll-down-arrow {
        position: relative; /* Change positioning context */
        display: block;
        text-align: center;
        margin-top: 2rem; /* Add space above the arrow */
        bottom: auto; /* Reset bottom positioning */
        left: auto; /* Reset left positioning */
        transform: none; /* Reset transform */
    }

    .hero-body {
        padding-bottom: 4rem; /* Add padding to the bottom of the hero section */
    }
}

:root {
    --navy: #0a192f;
    --light-navy: #172a45;
    --lightest-navy: #303C55;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --orange: #ff9a00;
    --orange-tint: rgba(255, 154, 0, 0.1);
    --font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 3.25rem; /* Offset for fixed navbar */
}

body {
    background-color: var(--navy);
    color: var(--slate);
    font-family: var(--font-family);
    padding-left: 80px; /* Space for left sidebar */
    padding-right: 80px; /* Space for right sidebar */
}

/* --- Navbar --- */
.navbar-item.logo {
    font-weight: bold;
    font-size: 1.5rem;
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 0.5rem;
    margin: 0.5rem 1rem;
    line-height: 1;
}

.nav-number {
    color: var(--orange);
    margin-right: 0.5rem;
}

.navbar-item .button.is-primary.is-outlined {
    border-color: var(--orange);
    color: var(--orange);
}

.navbar-item .button.is-primary.is-outlined:hover {
    background-color: var(--orange-tint);
    border-color: var(--orange);
    color: var(--orange);
}
.navbar {
    background-color: rgba(10, 25, 47, 0.85); /* navy with transparency */
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: top 0.3s;
}

.navbar-item, .navbar-link {
    color: var(--slate);
    font-weight: 500;
}

.navbar-item:hover, .navbar-link:hover {
    background-color: transparent;
    color: var(--orange);
}

.navbar-burger span {
    background-color: var(--slate);
}

/* --- Hero Section --- */
.hero {
    background-color: var(--navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3.25rem; /* Offset for navbar */
    position: relative; /* For positioning the scroll arrow */
}

.hero .title {
    color: var(--lightest-slate);
}

.hero .subtitle {
    color: var(--light-slate);
}

.hero .button.is-primary.is-outlined {
    border-color: var(--orange);
    color: var(--orange);
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
}

.hero .button.is-primary.is-outlined:hover {
    background-color: var(--orange-tint);
    border-color: var(--orange);
    color: var(--orange);
}

.hero p {
    color: var(--slate);
}

.profile-img {
    border-radius: 50%;
    border: 3px solid var(--orange);
    width: 400px;
    height: 400px;
    object-fit: cover; /* This crops the image to fit without skewing */
}

/* --- Sidebars --- */
.left-sidebar, .right-sidebar {
    position: fixed;
    bottom: 0;
    width: 40px;
    z-index: 10;
    color: var(--slate);
}

.left-sidebar {
    left: 40px;
}

.right-sidebar {
    right: 40px;
}

.left-sidebar a, .right-sidebar a {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 1.25rem;
    color: var(--slate);
    transition: all 0.3s ease-in-out;
}

.left-sidebar a:hover, .right-sidebar a:hover {
    color: var(--orange);
    transform: translateY(-5px);
}

.right-sidebar a {
    writing-mode: vertical-rl;
    letter-spacing: 0.1em;
}

.left-sidebar::after, .right-sidebar::after {
    content: '';
    display: block;
    width: 1px;
    height: 90px;
    margin: 0 auto;
    background-color: var(--slate);
}

/* --- General Content --- */
.section {
    background-color: var(--navy);
    padding: 6rem 1.5rem;
}

.box {
    background-color: var(--light-navy);
    border: 1px solid var(--lightest-navy);
    box-shadow: 0 4px 12px rgba(2, 12, 27, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(2, 12, 27, 0.7);
}

.title {
    color: var(--lightest-slate);
}

.subtitle {
    color: var(--slate);
}

h4.title {
    color: var(--orange);
}

p, li {
    color: var(--light-slate);
}

strong {
    color: var(--lightest-slate);
}

.tag.is-primary {
    background-color: var(--orange);
    color: var(--navy);
    font-weight: 500;
}

/* --- Buttons --- */
.button.is-primary {
    background-color: transparent;
    border-color: var(--orange);
    color: var(--orange);
    font-weight: 600;
}

.button.is-primary:hover {
    background-color: var(--orange-tint);
}

.button.is-info {
    background-color: var(--slate);
    color: var(--navy);
    font-weight: 600;
    border-color: transparent;
}

.button.is-info:hover {
    background-color: var(--light-slate);
}

/* --- Responsive --- */
@media screen and (max-width: 1024px) {
    body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .left-sidebar,
    .right-sidebar {
        display: none;
    }
}

/* --- Scroll Down Arrow --- */
.scroll-down-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--orange);
    font-size: 2rem;
    z-index: 15; /* Ensure it's above other elements */
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
}

.scroll-down-arrow:hover {
    color: var(--lightest-slate);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* --- Employment Section --- */
.employment-card .image img {
    object-fit: contain; /* Ensures logos scale properly without distortion */
    height: 100%;
}

/* --- Footer --- */
.footer {
    background-color: var(--navy);
    color: var(--slate);
    border-top: 1px solid var(--lightest-navy);
}
