


/* Universal Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #020617;
    color: #e5e7eb;
    line-height: 1.7;
}

/* Banner */
.banner {
    width: 100%;
    background-color: #0f172a;
    border-bottom: 2px solid #38bdf8;
}

.banner-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #111827;
}

.banner-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Bootstrap Navigation */
.site-navbar {
    background-color: #0f172a;
    border: 1px solid #334155;
    border-bottom: 2px solid #38bdf8;
    padding: 12px 16px;
}

.site-navbar .navbar-brand {
    color: #38bdf8;
    font-family: "Orbitron", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
}

.site-navbar .navbar-brand:hover {
    color: #7dd3fc;
}

.site-navbar .nav-link {
    color: #e5e7eb;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 5px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    color: #38bdf8;
    background-color: #1e293b;
}

.site-navbar .nav-link.active {
    color: #38bdf8;
}

.site-navbar .navbar-toggler {
    border-color: #38bdf8;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.35);
}

/* Main Content */
.content-panel {
    width: 100%;
    margin: 24px auto 40px;
    padding: 30px;
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 10px;
    overflow-wrap: anywhere;
}

/* Headings */
h1 {
    margin: 0 0 24px;
    color: #38bdf8;
    text-align: center;
    font-family: "Orbitron", Arial, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.4;
}

h2 {
    margin-bottom: 16px;
    color: #7dd3fc;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h3 {
    margin-bottom: 12px;
    color: #bae6fd;
    font-size: 1.15rem;
}

p {
    overflow-wrap: anywhere;
}

.bio {
    margin-bottom: 20px;
    color: #dbeafe;
    line-height: 1.8;
}

/* Sections */
section {
    margin: 26px 0;
    padding: 22px;
    background-color: #111827;
    border: 1px solid #243449;
    border-left: 3px solid #38bdf8;
    border-radius: 7px;
    transition: border-color 0.25s ease;
}

section:hover {
    border-left-color: #7dd3fc;
}

section ul {
    padding-left: 24px;
}

section li {
    margin-bottom: 9px;
}

section li::marker {
    color: #38bdf8;
}

/* Links */
a {
    color: #38bdf8;
    overflow-wrap: anywhere;
}

a:hover {
    color: #7dd3fc;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 3px;
}

/* Project Images */
.project-image {
    text-align: center;
}

.project-image img {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    border: 2px solid #38bdf8;
    border-radius: 8px;
}

/* Bootstrap Buttons */
.project-button {
    padding: 11px 20px;
    font-weight: 700;
    white-space: normal;
}

.btn-primary {
    --bs-btn-bg: #0284c7;
    --bs-btn-border-color: #0284c7;
    --bs-btn-hover-bg: #0369a1;
    --bs-btn-hover-border-color: #0369a1;
    --bs-btn-active-bg: #075985;
    --bs-btn-active-border-color: #075985;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
}

.btn-outline-info {
    --bs-btn-color: #7dd3fc;
    --bs-btn-border-color: #38bdf8;
    --bs-btn-hover-bg: #164e63;
    --bs-btn-hover-border-color: #7dd3fc;
    --bs-btn-hover-color: #ffffff;
}

/* Bootstrap Contact Form */
form {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

.form-label {
    display: block;
    margin-bottom: 7px;
    color: #bae6fd;
    font-weight: 700;
}

.form-control {
    min-height: 46px;
    padding: 11px 13px;
    color: #e5e7eb;
    background-color: #020617;
    border: 1px solid #475569;
    border-radius: 6px;
}

.form-control:focus {
    color: #ffffff;
    background-color: #020617;
    border-color: #38bdf8;
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.2);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #f87171;
}

.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #4ade80;
}

.invalid-feedback {
    color: #fca5a5;
}

.valid-feedback {
    color: #86efac;
}

/* Confirmation Page */
dl dt {
    color: #bae6fd;
}

dl dd {
    color: #e5e7eb;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

/* Footer */
#site-footer {
    width: 100%;
    margin-top: 25px;
    padding: 22px 15px;
    text-align: center;
    background-color: #0f172a;
    border-top: 2px solid #38bdf8;
    color: #94a3b8;
    font-size: 0.9rem;
}

#site-footer p {
    margin: 0;
}

/* Tablet and Mobile Responsive Design */
@media screen and (max-width: 767.98px) {
    .banner-image {
        height: 130px;
    }

    .content-panel {
        margin-top: 18px;
        padding: 18px;
    }

    section {
        margin: 20px 0;
        padding: 16px;
    }

    .site-navbar {
        padding: 10px;
    }

    .site-navbar .nav-link {
        padding: 11px 12px;
    }

    .project-button {
        width: 100%;
    }

    #site-footer {
        padding: 18px 12px;
    }
}

/* Small Phones */
@media screen and (max-width: 380px) {
    .banner-image {
        height: 100px;
    }

    .content-panel {
        padding: 12px;
    }

    section {
        padding: 12px;
    }

    .site-navbar .navbar-brand {
        font-size: 0.9rem;
    }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}