/* PALETTE:
    Salmon: #FC7869
    Orange: #F5AE52
    Pale Lavender: #E7E8FB (Background Base)
    Soft Periwinkle: #D3D6FD
    Medium Purple: #9EA3F3
*/

:root {
    --col-salmon: #FC7869;
    --col-orange: #F5AE52;
    --col-lavender: #E7E8FB;
    --col-periwinkle: #D3D6FD;
    --col-purple: #9EA3F3;
    --text-dark: #4A4A6A;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Quicksand', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--col-lavender);
    overflow-x: hidden;
    position: relative;
}

#aboutGreeting {
    display: inline-block;
    min-height: 1.3em;
}

#aboutGreeting::after {
    content: "|";
    display: inline-block;
    margin-left: 2px;
    color: var(--col-salmon);
    animation: greetingCaretBlink 0.9s step-end infinite;
}

@keyframes greetingCaretBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    #aboutGreeting::after {
        animation: none;
        opacity: 1;
    }
}

body.turbulence-shake {
    animation: turbulenceShake 0.28s ease-in-out 7;
}

@keyframes turbulenceShake {
    0% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(-2px, 1px) rotate(-0.4deg); }
    40% { transform: translate(2px, -1px) rotate(0.45deg); }
    60% { transform: translate(-1px, -1px) rotate(-0.3deg); }
    80% { transform: translate(2px, 1px) rotate(0.35deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.seatbelt-alert {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translate(-50%, -120%);
    background: linear-gradient(45deg, var(--col-salmon), var(--col-orange));
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    box-shadow: 0 10px 24px rgba(74, 74, 106, 0.22);
    z-index: 2100;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    white-space: nowrap;
}

.seatbelt-alert.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

@media (max-width: 768px) {
    .seatbelt-alert {
        top: 66px;
        font-size: 0.78rem;
        padding: 9px 14px;
    }
}

body.intro-lock {
    overflow: hidden;
}

.luggage-intro {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: radial-gradient(circle at 20% 20%, rgba(252,120,105,0.2), transparent 45%),
                radial-gradient(circle at 80% 80%, rgba(158,163,243,0.25), transparent 45%),
                rgba(231, 232, 251, 0.96);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 34px;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.luggage-intro.intro-hidden {
    opacity: 0;
    visibility: hidden;
}

.tag-hanger {
    position: absolute;
    top: 0;
    width: 2px;
    height: 38px;
    background: rgba(74, 74, 106, 0.4);
}

.luggage-tag {
    width: min(92vw, 360px);
    background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%);
    border: 1px solid rgba(158, 163, 243, 0.35);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(74, 74, 106, 0.2);
    padding: 18px 18px 16px;
    position: relative;
    overflow: hidden;
    transform-origin: top center;
}

.luggage-tag::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid rgba(158, 163, 243, 0.55);
    border-radius: 50%;
}

.tag-header {
    margin-top: 30px;
    margin-bottom: 14px;
    font-size: 0.72rem;
    letter-spacing: 2.3px;
    font-weight: 700;
    color: rgba(74, 74, 106, 0.7);
    text-align: center;
}

.tag-line {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed rgba(158, 163, 243, 0.35);
    padding-bottom: 8px;
}

.tag-line-label {
    font-size: 0.74rem;
    letter-spacing: 1.1px;
    font-weight: 700;
    color: rgba(74, 74, 106, 0.8);
}

.tag-line-value {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--col-purple);
    min-height: 1.2em;
}

.scan-line {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--col-salmon), transparent);
    box-shadow: 0 0 12px rgba(252, 120, 105, 0.75);
    animation: tagScan 1.7s linear infinite;
}

@keyframes tagScan {
    0% { transform: translateY(0); opacity: 0.85; }
    100% { transform: translateY(170px); opacity: 0.35; }
}

.tag-barcode {
    margin-top: 8px;
    height: 72px;
    border: 1px solid rgba(74, 74, 106, 0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.7);
    overflow: hidden;
}

.tag-barcode-lines {
    height: 100%;
    width: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            #2f2f46 0 2px,
            transparent 2px 4px,
            #4a4a6a 4px 5px,
            transparent 5px 8px,
            #2f2f46 8px 11px,
            transparent 11px 14px
        );
    transform-origin: left center;
    transform: scaleX(0);
}

.luggage-tag.barcode-ready .tag-barcode-lines {
    animation: barcodePrint 1s ease forwards;
}

@keyframes barcodePrint {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.luggage-tag.tag-rip {
    animation: tagRipAway 0.65s cubic-bezier(0.25, 0.8, 0.3, 1) forwards;
}

.luggage-tag.await-tear {
    cursor: pointer;
}

.luggage-tag.await-tear .scan-line {
    animation-duration: 2.3s;
    opacity: 0.5;
}

.tear-prompt {
    margin: 12px auto 0;
    width: 100%;
    border: none;
    border-top: 2px dotted rgba(74, 74, 106, 0.45);
    background: transparent;
    color: var(--col-salmon);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    padding-top: 10px;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tear-prompt.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: tearPromptPulse 1.35s ease-in-out infinite;
}

@keyframes tearPromptPulse {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; }
}

@keyframes tagRipAway {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
    45% { transform: translateY(-10px) rotate(1deg) scale(1.01); opacity: 1; }
    100% { transform: translateY(-130vh) rotate(-7deg) scale(0.95); opacity: 0; }
}

/* Ambient Background */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--col-periwinkle);
    top: -100px;
    left: -100px;
    animation: float 10s infinite alternate;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--col-salmon);
    bottom: 10%;
    right: -50px;
    opacity: 0.4;
    animation: float 8s infinite alternate-reverse;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: var(--col-orange);
    top: 40%;
    left: 40%;
    opacity: 0.3;
    animation: float 12s infinite alternate;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(45deg, var(--col-salmon), var(--col-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-heading {
    position: relative;
    margin-bottom: 1rem;
    color: var(--col-purple);
}

.section-padding {
    padding: 100px 0;
}

/* Glass UI Components */
.glass-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.glass-nav.nav-scrolled {
    background: rgba(255, 255, 255, 0.92);
    padding: 10px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.navbar-brand {
    padding: 0;
}

.logo {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: invert(1);
    transition: filter 0.25s ease;
}

/* Navbar link states */
.navbar .nav-link {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0.75rem;
}

.navbar .nav-link:hover {
    color: var(--col-purple);
}

.navbar .nav-link.active {
    color: var(--col-purple);
}

/* Animated underline */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: -4px;
    height: 2px;
    background: linear-gradient(45deg, var(--col-salmon), var(--col-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
    opacity: 0.9;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus-visible::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .nav-link:focus-visible {
    outline: 3px solid rgba(158, 163, 243, 0.35);
    outline-offset: 2px;
    border-radius: 8px;
}

.navbar-toggler {
    border: none;
    border-radius: 12px;
    padding: 6px 10px;
}

.navbar-toggler:focus {
    outline: 3px solid rgba(158, 163, 243, 0.35);
    outline-offset: 2px;
}

.split-flap-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border: 1px solid rgba(74, 74, 106, 0.24);
    border-radius: 8px;
    padding: 6px;
    background: linear-gradient(180deg, #1f2434, #151926);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease;
}

.split-flap-toggle:hover {
    border-color: rgba(252, 120, 105, 0.65);
}

.split-flap-toggle:focus-visible {
    outline: 3px solid rgba(158, 163, 243, 0.45);
    outline-offset: 2px;
}

.split-flap-char {
    width: 22px;
    height: 26px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    letter-spacing: 0.8px;
    font-weight: 800;
    color: #f3f5ff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 44%),
        linear-gradient(180deg, #2c3144 0%, #1d2233 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transform-origin: center;
    backface-visibility: hidden;
}

.split-flap-char::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0, 0, 0, 0.45);
}

.split-flap-char.flipping {
    animation: flapFlip 0.12s linear;
}

@keyframes flapFlip {
    0% { transform: rotateX(0deg); filter: brightness(1); }
    50% { transform: rotateX(90deg); filter: brightness(1.15); }
    100% { transform: rotateX(0deg); filter: brightness(1); }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(158, 163, 243, 0.1);
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(45deg, var(--col-salmon), var(--col-orange));
    border: none;
    color: white;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(252, 120, 105, 0.4);
    color: white;
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid var(--col-purple);
    color: var(--col-purple);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary-custom:hover {
    background: var(--col-purple);
    color: white;
}

/* .btn-cta {
    background-color: var(--col-periwinkle);
    color: #4A4A6A !important;
    border-radius: 30px;
    padding: 8px 25px !important;
}

.btn-cta:hover {
    background-color: var(--col-salmon);
    color: white !important;
} */

.btn-cta {
    background-color: var(--col-salmon);
    color: white !important;
    border-radius: 30px;
    padding: 8px 25px !important;
}

/* .btn-cta:hover {
    background-color: var(--col-salmon);
    color: white !important;
} */

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
}

.image-frame-organic {
    position: relative;
    width: 350px;
    height: 450px;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 150px 150px 20px 20px;
    box-shadow: 20px 20px 0 var(--col-periwinkle);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    padding: 15px 25px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    font-weight: 600;
    color: var(--text-dark);
    animation: float 6s infinite alternate;
}

.badge-soft {
    background-color: var(--col-purple);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
}

/* Skills Pills */
.skill-pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-pill {
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--col-periwinkle);
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s;
    cursor: default;
}

.skill-pill:hover {
    background: var(--col-periwinkle);
    color: var(--col-purple);
    transform: scale(1.05);
}

/* Boarding Pass Training Cards */
.boarding-pass {
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s;
}

.boarding-pass:hover {
    transform: translateY(-5px);
}

.pass-left {
    flex: 2;
    padding: 25px;
    border-right: 2px dashed var(--col-lavender);
    position: relative;
}

.pass-left::after, .pass-left::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--col-lavender);
    border-radius: 50%;
    right: -10px;
}
.pass-left::after { top: -10px; }
.pass-left::before { bottom: -10px; }

.pass-right {
    flex: 1;
    background: linear-gradient(135deg, var(--col-purple), var(--col-periwinkle));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    opacity: 0.9;
}

.pass-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.label {
    font-size: 0.7rem;
    color: #aaa;
    letter-spacing: 1px;
    display: block;
}

.value {
    font-weight: 700;
    color: var(--col-salmon);
}

.pass-body h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pass-details {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: #666;
}

.pass-footer {
    display: flex;
    gap: 40px;
    margin-top: 15px;
}

/* Language Cards */
.lang-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.5);
}

.progress-bar-custom {
    height: 6px;
    background: var(--col-lavender);
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

/* Education Cards */
.education-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(231, 232, 251, 0.4) 100%);
    border: 1px solid rgba(158, 163, 243, 0.2);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.22, 0.9, 0.23, 1);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(252, 120, 105, 0.05) 0%, rgba(158, 163, 243, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(158, 163, 243, 0.2);
    border-color: rgba(158, 163, 243, 0.4);
}

.education-card:hover::before {
    opacity: 1;
}

.education-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.education-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--col-salmon), var(--col-orange));
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(252, 120, 105, 0.3);
    transition: transform 0.4s ease;
}

.education-card:hover .education-icon-wrapper {
    transform: rotate(5deg) scale(1.08);
}

.education-icon-wrapper.success {
    background: linear-gradient(135deg, var(--col-purple), #7c84e8);
    box-shadow: 0 8px 16px rgba(158, 163, 243, 0.3);
}

.education-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--col-salmon), var(--col-orange));
    color: white;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}

.education-badge.success {
    background: linear-gradient(135deg, var(--col-purple), #7c84e8);
}

.education-content {
    flex-grow: 1;
}

.education-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.education-school {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--col-salmon);
    margin-bottom: 16px;
    line-height: 1.4;
}

.education-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.education-footer {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
    padding-top: 12px;
    border-top: 1px solid rgba(158, 163, 243, 0.15);
}

@media (max-width: 768px) {
    .education-card {
        padding: 20px;
    }
    
    .education-title {
        font-size: 1.15rem;
    }
    
    .education-school {
        font-size: 0.95rem;
    }
    
    .education-details {
        grid-template-columns: 1fr;
    }
}

.progress-bar-custom .fill {
    height: 100%;
    background: var(--col-orange);
    border-radius: 10px;
}

/* Contact Section */
.contact-panel {
    overflow: hidden;
    padding: 0;
}

.contact-info {
    background: linear-gradient(135deg, var(--col-purple), #8A8FD9);
}

.social-bubble {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.social-bubble:hover {
    background: white;
    color: var(--col-purple);
}

.social-bubble-footer {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #9EA3F3;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.social-bubble-footer:hover {
    background: white;
    color: var(--col-purple);
}

.pill-input {
    border-radius: 50px;
    padding: 12px 20px;
    border: 1px solid var(--col-lavender);
    background: #f9f9ff;
}

.pill-input:focus, textarea:focus {
    box-shadow: none;
    border-color: var(--col-salmon);
    background: white;
}

/* Scroll Animations */
.hidden-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.visible-element {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Mobile adjustments */
@media (max-width: 768px) {
    .boarding-pass {
        flex-direction: column;
    }
    .pass-left {
        border-right: none;
        border-bottom: 2px dashed var(--col-lavender);
    }
    .pass-right {
        padding: 20px;
    }
    .image-frame-organic {
        width: 280px;
        height: 350px;
    }

    .split-flap-toggle {
        margin-left: 0;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .glass-nav,
    .navbar .nav-link::after {
        transition: none !important;
    }
}

/* Competency Cards */
.competency-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, background 0.4s ease;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
}

.competency-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(158, 163, 243, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.lang-flag {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease;
}

.competency-card i {
    transition: transform 0.4s ease;
}

/* Interactive Hover Effects */
.competency-card:hover .icon-wrapper {
    background: white;
    box-shadow: 0 8px 25px rgba(158, 163, 243, 0.3);
    transform: translateY(-5px);
}

.competency-card:hover i {
    transform: scale(1.15);
}

.competency-card:hover .lang-flag {
    transform: scale(1.12);
}

/* About Section */

.polaroid-wrapper {
    position: relative;
    display: inline-block;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.polaroid-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.polaroid-frame {
    background: white;
    padding: 15px 15px 50px 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.polaroid-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 2px;
    filter: sepia(10%);
}

.polaroid-caption {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
}

.handwritten-font {
    font-family: 'Sacramento', cursive;
    font-size: 1.4rem;
    color: #555;
    transform: rotate(-2deg);
    display: block;
}

.tape-strip {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.4);
    border-left: 1px dashed rgba(0,0,0,0.1);
    border-right: 1px dashed rgba(0,0,0,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    z-index: 2;
    opacity: 0.7;
}

.philosophy-card {
    background-color: var(--col-lavender);
    padding: 15px 20px;
    border-radius: 15px;
    border-left: 4px solid var(--col-salmon);
}

.text-salmon {
    color: var(--col-salmon);
}

.text-purple {
    color: var(--col-purple);
}

.icon-gradient {
    background: linear-gradient(45deg, var(--col-salmon), var(--col-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signature {
    font-family: 'Sacramento', cursive;
    font-size: 2.5rem;
    line-height: 1.5;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* 3D GLOBE STYLES */
.globe-container {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(231,232,251,0.5) 100%);
}

.airport-label {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--col-purple);
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    pointer-events: none;
    transform: translate(-50%, -150%);
    text-align: center;
    white-space: nowrap;
}

.airport-code {
    font-weight: 800;
    color: var(--col-salmon);
    font-size: 14px;
    display: block;
}

.airport-time {
    display: block;
    margin-top: 2px;
    font-weight: 600;
    color: #555;
}

body.dark-mode {
    --col-lavender: #12182b;
    --col-periwinkle: #232c48;
    --col-purple: #b1b8ff;
    --text-dark: #e8ebff;
    background-color: var(--col-lavender);
    color: var(--text-dark);
}

body.dark-mode .glass-nav {
    background: rgba(18, 24, 43, 0.88) !important;
    border-bottom: 1px solid rgba(177, 184, 255, 0.2);
}

body.dark-mode .glass-nav.nav-scrolled {
    background: rgba(16, 21, 39, 0.94) !important;
}

body.dark-mode .logo {
    filter: invert(0) brightness(1.25) contrast(1.08);
}

body.dark-mode .glass-panel,
body.dark-mode .boarding-pass,
body.dark-mode .lang-card,
body.dark-mode .education-card,
body.dark-mode .footer-main,
body.dark-mode .bg-white {
    background: rgba(31, 39, 66, 0.8) !important;
    border-color: rgba(177, 184, 255, 0.18);
    color: var(--text-dark);
}

body.dark-mode .education-card {
    background: linear-gradient(135deg, rgba(31, 39, 66, 0.9) 0%, rgba(22, 29, 51, 0.85) 100%) !important;
}

body.dark-mode .contact-info {
    background: linear-gradient(135deg, #3f4c85, #2a335a);
}

body.dark-mode .navbar .nav-link,
body.dark-mode .text-muted,
body.dark-mode .footer-text,
body.dark-mode .footer-contact span,
body.dark-mode .footer-links a,
body.dark-mode .footer-contact a,
body.dark-mode .pass-details,
body.dark-mode .label {
    color: rgba(232, 235, 255, 0.86) !important;
}

body.dark-mode .philosophy-card,
body.dark-mode .pass-left,
body.dark-mode .pill-input,
body.dark-mode textarea {
    background: rgba(22, 29, 51, 0.7) !important;
    color: var(--text-dark);
    border-color: rgba(177, 184, 255, 0.2);
}

body.dark-mode .tag-barcode {
    background: rgba(255,255,255,0.7) !important;
    border: 1px solid rgba(74, 74, 106, 0.2) !important;
}

body.dark-mode .glass-panel .text-dark,
body.dark-mode .boarding-pass .text-dark,
body.dark-mode .lang-card .text-dark,
body.dark-mode .education-card .text-dark,
body.dark-mode .education-title,
body.dark-mode .education-school,
body.dark-mode .detail-value,
body.dark-mode .footer-main .text-dark,
body.dark-mode .contact-panel .form-label,
body.dark-mode .contact-panel h4,
body.dark-mode .contact-panel h5,
body.dark-mode .contact-panel h6 {
    color: rgba(232, 235, 255, 0.94) !important;
}

body.dark-mode .detail-label {
    color: rgba(177, 184, 255, 0.6) !important;
}

body.dark-mode .polaroid-frame {
    background: #ffffff !important;
    color: #4A4A6A !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.dark-mode .polaroid-caption,
body.dark-mode .polaroid-frame .text-dark,
body.dark-mode .polaroid-frame .handwritten-font {
    color: #555 !important;
}

body.dark-mode .split-flap-toggle {
    border-color: rgba(177, 184, 255, 0.35);
    background: linear-gradient(180deg, #111625, #0a0e1a);
}

body.dark-mode .split-flap-char {
    color: #f7f8ff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 44%),
        linear-gradient(180deg, #2b3150 0%, #1a1f34 100%);
}

/* Polaroid Gallery Section */
.polaroid-item {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.polaroid-item .polaroid-img {
    width: 100%;
    max-width: none;
    height: 280px;
    object-fit: cover;
    transition: transform 0.35s ease;
    cursor: zoom-in;
}

.polaroid-item.tilt-left {
    transform: rotate(-4deg);
}

.polaroid-item.tilt-right {
    transform: rotate(4deg);
}

.polaroid-item.tilt-soft {
    transform: rotate(2deg);
}

.polaroid-item:hover {
    transform: rotate(0deg);
}

.polaroid-item:focus-within {
    transform: rotate(0deg);
}

.polaroid-item .polaroid-img:focus-visible {
    outline: 3px solid rgba(158, 163, 243, 0.55);
    outline-offset: 2px;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 35, 0.92);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: min(94vw, 1100px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.lightbox-close:focus-visible {
    outline: 3px solid rgba(158, 163, 243, 0.7);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .polaroid-item {
        max-width: 280px;
    }

    .polaroid-item .polaroid-img {
        height: 240px;
    }
}

/* Footer */
.site-footer {
    padding-bottom: 20px;
}

.footer-main {
    border-radius: 24px;
}

.footer-title {
    color: var(--col-purple);
    margin-bottom: 12px;
}

.footer-heading {
    color: var(--col-purple);
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-text {
    color: var(--text-dark);
    opacity: 0.9;
    line-height: 1.7;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--col-salmon);
}

.footer-contact span {
    color: var(--text-dark);
}

.footer-bottom {
    color: var(--text-dark);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-main {
        border-radius: 20px;
    }
}

/* Back To Top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--col-salmon), var(--col-orange));
    color: #fff;
    box-shadow: 0 10px 20px rgba(252, 120, 105, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1040;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(252, 120, 105, 0.4);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(158, 163, 243, 0.45);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 14px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none !important;
    }
}