/*Global base styles*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom right, #fce3f3, #e0ccff);
    color: #333;
    min-height: 100vh;
}

/*Background glowing effects styling*/
.bg-effect {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
    z-index: -1;
}

.bg-pink {
    background: rgba(255, 105, 180, 0.8);
    top: 5%;
    left: 10%;
}

.bg-blue {
    background: rgba(100, 149, 237, 0.8);
    bottom: 10%;
    right: 10%;
}

/*Card panel styling*/
.card {
    max-width: 800px;
    margin: 5px auto;
    background-color: #fef5ff;
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
}

/*Navbar styling*/
nav.navbar {
    background-color: #ff80e2;
    box-shadow: 0 4px 12px rgba(255, 192, 255, 0.6);
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    position: relative;
    width: 100%;
    margin: 0 auto 7px;
    z-index: 1000;
}

.navbar-brand {
    font-weight: bold;
    font-size: 45px;
    color: white;
    text-decoration: none;
    text-shadow:
        -2px -2px 3px black,
        2px -2px 3px black,
        -2px 2px 3px black,
        2px 2px 3px black;
}

.navbar-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: right;
    text-decoration: underline;
    text-decoration-color: white;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: bold;
    font-size: 18px;
    color: white !important;
    align-items: right;
    text-decoration: underline;
    text-shadow:
        -1px -1px 2px black,
        1px -1px 2px black,
        -1px 1px 2px black,
        1px 1px 2px black;
}

.nav-link:hover {
    color: #f7ff99 !important;
    text-decoration: underline;
}

/*Profile picture styling*/
.profile-pic {
    width: 160px;
    height: auto;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 12px rgba(255, 105, 180, 0.6);
    object-fit: cover;
    display: inline-block;
    margin: 0;   
}

.text-glow {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ff6699;
    text-shadow: 0 0 8px #ff6699, 0 0 26px #ff3366;
}

/*Fun fact button styling*/
.btn-fact {
    background: #0066cc;
    color: white;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    transition: box-shadow 0.3s;
    box-shadow: 0 0 10px #0066cc;
}

.btn-fact:hover {
    background: #003399;
    box-shadow: 0 0 20px #003399;
}

.text-fact {
    font-weight: bold;
    color: #0066cc;
    text-shadow: 0 0 10px #0066cc;
}

/* Social link buttons style*/
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    text-decoration: none;
    font-size: 18px;
    padding: 12px 18px;
    border-radius: 8px;
    color: white;
    transition: box-shadow 0.3s;
}

.linkedin {
    background: #dcd7ff;
    box-shadow: 0 0 10px #0077b5;
}

.linkedin:hover {
    background: #f7d7ff;
    box-shadow: 0 0 20px #0077b5;
}

.github {
    background: #dcd7ff;
    box-shadow: 0 0 10px #0077b5;
}

.github:hover {
    background: #ffd7fd;
    box-shadow: 0 0 20px #0077b5;
}

/* Column styling/wrapper*/
.experience-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 40px;
    margin-top: 2px;
    background: linear-gradient(to bottom right, #fce3f3, #e0ccff);
}

.experience-column {
    flex: 1;
    background-color: #fef5ff;
    padding: 25px;
    border-radius: 70px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 20px;
}

.experience-column h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 20px;
}

.experience-column em {
    display: block;
    margin-bottom: 10px;
    font-style: italic;
    color: #555;
}

.experience-column ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.experience-column li {
    line-height: 1.5;
}

/* Back button style*/
.back-button {
    display: inline-block;
    top: 20px;
    left: 20px;
    background: #ff80e2;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 192, 255, 0.6);
    transition: background 0.3s, box-shadow 0.3s;
    z-index: 1001;
    margin-bottom: 20px;
    text-shadow:
        -1px -1px 2px black,
        1px -1px 2px black,
        -1px 1px 2px black,
        1px 1px 2px black;
}

.back-button:hover {
    background: #e060c1;
    box-shadow: 0 0 20px #ff99dd;
}

.page-container {
    position: relative;
    padding-top: 2px;
}

.section-header {
    width: 100%;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 20px;
    text-decoration: underline;
}


/*Accessability*/
/*Focus visibility */
a:focus,
button:focus {
    outline: 2px dashed #333;
    outline-offset: 4px;
}

/*Visually hidden skip link */
.visually-hidden-focusable {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.visually-hidden-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    left: auto;
    background: #fff3ff;
    padding: 8px;
    display: inline-block;
    z-index: 10000;
}

@media (max-width: 400px) {
    .social-icon {
        font-size: 0.75rem;
        padding: 6px 10px;
        border-radius: 6px;
        margin: 4x;
    }
}