/* ============================================
   Main Consolidated CSS File
   ============================================ */

/* Leaflet Map Styles */
html, body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    padding-top: 56px;
    font-family: 'DM Sans', sans-serif;
}

.leaflet-container {
    height: 400px;
    width: 600px;
    max-width: 100%;
    max-height: 100%;
}

/* ============================================
   Cookie Banner Styles
   ============================================ */

@import url(https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Poppins:wght@400;500&display=swap);

:root {
    --cookieBannerLight: #ffffff;
    --cookieBannerDark: #132440;
    /* Custom Color Palette */
    --color-crimson: #BF092F;
    --color-navy: #132440;
    --color-blue: #16476A;
    --color-teal: #3B9797;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
}

#cookieBanner * {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    font-family: 'DM Sans', sans-serif;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#cookieBanner a,
#cookieBanner button {
    cursor: pointer;
    color: inherit;
    font-family: inherit;
}

#cookieBanner button {
    outline: 0;
    border: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

#cookieBanner em,
#cookieBanner strong {
    font-weight: 700;
    font-family: inherit;
}

#cookieBanner a:hover {
    text-decoration: none;
    cursor: pointer;
}

#cookieBanner a:focus,
#cookieBanner input:focus {
    outline: 0;
    list-style: none;
}

#cookieBanner.light {
    background-color: #fff;
    background-color: var(--cookieBannerLight);
    color: #393d4d;
    color: var(--cookieBannerDark);
}

#cookieBanner.light p,
#cookieBanner.light ul {
    color: #393d4d;
    color: var(--cookieBannerDark);
}

#cookieBanner.light h5 {
    color: var(--cookieBannerDark);
}

#cookieBanner.light button#cookieReject {
    background: #fff;
    background: var(--cookieBannerLight);
}

#cookieBanner.dark {
    background-color: #393d4d;
    background-color: var(--cookieBannerDark);
    color: #fff;
    color: var(--cookieBannerLight);
}

#cookieBanner.dark p,
#cookieBanner.dark ul {
    color: #fff;
    color: var(--cookieBannerLight);
}

#cookieBanner.dark h5 {
    color: #fff;
    color: var(--cookieBannerLight);
}

#cookieBanner.dark button#cookieReject {
    background: 0 0;
    color: #fff;
    color: var(--cookieBannerLight);
    border: 1px solid #fff;
    border: 1px solid var(--cookieBannerLight);
}

#cookieBanner {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    padding: 20px;
    border-radius: 10px;
    -webkit-box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
    font-family: inherit;
    z-index: 999997;
}

#cookieBanner #closeIcon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: #bfb9b9;
    overflow: hidden;
    opacity: 0.85;
    z-index: 999999;
    position: absolute;
    top: 4px;
    right: 4px;
}

#cookieBanner svg {
    display: block;
}

#cookieBanner.display-left {
    left: 30px;
    bottom: 30px;
    max-width: 395px;
}

#cookieBanner.display-right {
    right: 30px;
    bottom: 30px;
    max-width: 395px;
}

#cookieBanner.display-top {
    top: 30px;
    width: 800px;
    left: 50%;
    margin-left: -400px;
}

#cookieBanner.display-bottom {
    bottom: 30px;
    width: 800px;
    left: 50%;
    margin-left: -400px;
}

#cookieBanner.display-bottom .content-wrap,
#cookieBanner.display-top .content-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#cookieBanner.display-bottom .msg-wrap,
#cookieBanner.display-top .msg-wrap {
    max-width: 65%;
    width: 100%;
}

#cookieBanner.display-bottom .msg-wrap,
#cookieBanner.display-top .msg-wrap {
    margin-bottom: 0;
}

#cookieBanner.display-bottom #cookieSettings,
#cookieBanner.display-top #cookieSettings {
    margin-bottom: 0;
}

#cookieBanner.display-bottom #cookieTypes,
#cookieBanner.display-top #cookieTypes {
    margin-top: 20px;
}

#cookieBanner .btn-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    font-weight: 700;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 -5px 0 -5px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#cookieBanner .btn-wrap button {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 0 7px;
    margin: 0 5px 10px 5px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    min-width: 130px;
    line-height: 36px;
    border: none;
    font-family: inherit;
    font-size: 16px;
    -webkit-transition: -webkit-box-shadow 0.3s;
    transition: -webkit-box-shadow 0.3s;
    -o-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
    transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
}

#cookieBanner .btn-wrap button:hover {
    -webkit-transition: -webkit-box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: -webkit-box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    -o-transition: box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
    -webkit-transform: translate3d(0, -1px, 0);
    transform: translate3d(0, -1px, 0);
}

#cookieBanner #cookieSettings {
    font-size: 12px;
    font-weight: 700;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 20px;
}

#cookieBanner #cookieSettings svg {
    vertical-align: middle;
    margin-right: 8px;
}

#cookieBanner h4 {
    font-family: inherit;
    font-weight: 700;
    font-size: 18px;
}

#cookieBanner .title-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 10px;
}

#cookieBanner .title-wrap svg {
    margin-right: 10px;
}

#cookieBanner h5 {
    font-family: inherit;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#cookieBanner p,
#cookieBanner ul {
    font-size: 14px;
    margin-bottom: 20px;
}

#cookieBanner p:last-child {
    margin-bottom: 0;
    text-align: left;
}

#cookieBanner li {
    width: 49%;
    display: inline-block;
}

#cookieBanner a {
    text-decoration: none;
    font-size: 14px;
    padding-bottom: 2px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.75);
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

#cookieTypes label {
    text-transform: uppercase;
    font-size: 13px;
}

#cookieBanner button:disabled {
    opacity: 0.3;
}

#cookieBanner input[type="checkbox"] {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeSpeed;
    width: 14px;
    height: 14px;
    margin: 4px 10px 0 0;
    display: block;
    float: left;
    position: relative;
    outline: 0;
    border: none;
}

#cookieBanner input[type="checkbox"]:checked:after {
    background: #d3d3d3;
    content: "\2714";
    color: grey;
}

#cookieBanner input[type="checkbox"]:after {
    content: "";
    vertical-align: middle;
    text-align: center;
    line-height: 13px;
    position: absolute;
    cursor: pointer;
    height: 14px;
    width: 14px;
    left: 0;
    top: 0;
    font-size: 10px;
    background: #d3d3d3;
}

#cookieBanner.display-bottom.full-width-true,
#cookieBanner.display-top.full-width-true {
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    bottom: auto;
    top: 0;
    border-radius: 0;
    margin: auto;
}

#cookieBanner.display-bottom.full-width-true {
    bottom: 0;
    top: auto;
    -webkit-box-shadow: 0 -3px 3px rgb(0 0 0 / 25%);
    box-shadow: 0 -3px 3px rgb(0 0 0 / 25%);
}

#cookieBanner.display-bottom.full-width-true .title-wrap,
#cookieBanner.display-top.full-width-true .title-wrap {
    display: none;
}

#cookieBanner.display-bottom.full-width-true .btn-wrap button,
#cookieBanner.display-top.full-width-true .btn-wrap button {
    margin-bottom: 10px;
}

@media only screen and (max-width: 800px) {
    #cookieBanner.display-bottom,
    #cookieBanner.display-top {
        width: 100%;
        max-width: 100%;
        left: auto;
        right: auto;
        bottom: auto;
        top: 0;
        border-radius: 0;
        margin: auto;
    }

    #cookieBanner.display-bottom {
        bottom: 0;
        top: auto;
        -webkit-box-shadow: 0 -3px 3px rgb(0 0 0 / 25%);
        box-shadow: 0 -3px 3px rgb(0 0 0 / 25%);
    }

    #cookieBanner.display-bottom .btn-wrap button,
    #cookieBanner.display-top .btn-wrap button {
        margin-bottom: 10px;
    }

    #cookieBanner.display-bottom .msg-wrap,
    #cookieBanner.display-top .msg-wrap {
        margin-right: 20px;
    }
}

@media only screen and (max-width: 600px) {
    #cookieBanner.display-left,
    #cookieBanner.display-right {
        width: 100%;
        max-width: 100%;
        left: auto;
        right: auto;
        bottom: 0;
        border-radius: 0;
        -webkit-box-shadow: 0 -3px 3px rgb(0 0 0 / 25%);
        box-shadow: 0 -3px 3px rgb(0 0 0 / 25%);
    }

    #cookieBanner.display-bottom .content-wrap,
    #cookieBanner.display-top .content-wrap {
        display: block;
    }

    #cookieBanner.display-bottom .msg-wrap,
    #cookieBanner.display-top .msg-wrap {
        max-width: 100%;
    }

    #cookieBanner.display-bottom #cookieSettings,
    #cookieBanner.display-top #cookieSettings {
        margin-bottom: 20px;
    }
}

/* ============================================
   Bootstrap Customizations & Site Styles
   ============================================ */

:root {
    --primary-color: #667eea;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #0a58ca 100%);
    --secondary-color: #764ba2;
    --transition-base: all 0.3s ease-in-out;
}

/* ============================================
   Navbar Styles
   ============================================ */

.navbar {
    background: linear-gradient(180deg, #132440 0%, #0f1a2a 100%);
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    box-shadow: 0 4px 12px rgba(191, 9, 47, 0.15);
    border-bottom: 2px solid #3B9797;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #3B9797 0%, #16476A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    color: #e0e0e0 !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #BF092F 0%, #3B9797 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #3B9797 !important;
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #BF092F !important;
    font-weight: 700;
}

.nav-link.active::after {
    width: 100%;
    background: #BF092F;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #132440 0%, #1a3a52 50%, #16476A 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-section h1 {
    background: linear-gradient(135deg, #3B9797 0%, #BF092F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .btn-primary {
    background: linear-gradient(135deg, #BF092F 0%, #A00728 100%);
    border: none;
}

.hero-section .btn-primary:hover {
    background: linear-gradient(135deg, #A00728 0%, #8a0620 100%);
    box-shadow: 0 8px 20px rgba(191, 9, 47, 0.3);
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* ============================================
   About Content Styles
   ============================================ */

.about-content {
    background: linear-gradient(135deg, rgba(59, 152, 151, 0.08) 0%, rgba(22, 71, 106, 0.08) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #3B9797;
    box-shadow: 0 4px 15px rgba(59, 152, 151, 0.1);
}

.about-content h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #BF092F 0%, #16476A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    transition: all 0.3s ease;
    line-height: 1.9;
    color: #333;
}

.about-content strong {
    color: #BF092F;
    font-weight: 600;
}

.bg-circle-1,
.bg-circle-2 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.bg-circle-1 {
    width: 400px;
    height: 400px;
    background: #3B9797;
    top: -100px;
    right: -100px;
}

.bg-circle-2 {
    width: 300px;
    height: 300px;
    background: #BF092F;
    bottom: -50px;
    left: -50px;
}

/* ============================================
   Gradient Text
   ============================================ */

.gradient-text {
    background: linear-gradient(135deg, #3B9797 0%, #BF092F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Section Styles
   ============================================ */

.section-header {
    position: relative;
    display: inline-block;
}

.section-header h2 {
    background: linear-gradient(135deg, #132440 0%, #16476A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.accent-line {
    width: 80px;
    height: 5px;
    background: linear-gradient(135deg, #3B9797 0%, #BF092F 100%);
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(59, 152, 151, 0.3);
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.section-header:hover .accent-line {
    box-shadow: 0 6px 20px rgba(59, 152, 151, 0.4);
    width: 100px;
}

/* ============================================
   Card Styles
   ============================================ */

.skill-card,
.interest-card,
.cert-group {
    background: #ffffff;
    border: 1px solid rgba(59, 152, 151, 0.15);
    transition: all 0.3s ease;
}

.skill-card:hover,
.interest-card:hover {
    border-color: #3B9797;
    box-shadow: 0 10px 30px rgba(191, 9, 47, 0.1), 0 4px 12px rgba(59, 152, 151, 0.2);
    transform: translateY(-5px);
}

.skill-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-left: 4px solid #3B9797;
    box-shadow: 0 4px 15px rgba(59, 152, 151, 0.08);
}

.skill-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #3B9797 0%, #16476A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: fadeInUp 0.6s ease-out;
}

.interest-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 1px solid rgba(19, 36, 64, 0.1);
    box-shadow: 0 2px 10px rgba(19, 36, 64, 0.05);
}

.interest-card:hover {
    box-shadow: 0 10px 30px rgba(191, 9, 47, 0.12);
    border-color: #BF092F;
}

/* ============================================
   Badge Styles
   ============================================ */

.bg-primary-soft {
    background-color: rgba(191, 9, 47, 0.1) !important;
    color: #BF092F !important;
}

.bg-success-soft {
    background-color: rgba(59, 152, 151, 0.1) !important;
    color: #3B9797 !important;
}

.bg-warning-soft {
    background-color: rgba(22, 71, 106, 0.1) !important;
    color: #16476A !important;
}

.bg-info-soft {
    color: #16476A !important;
}

.bg-danger-soft {
    background-color: rgba(191, 9, 47, 0.1) !important;
    color: #BF092F !important;
}

.bg-secondary-soft {
    background-color: rgba(59, 152, 151, 0.1) !important;
    color: #3B9797 !important;
}

.badge {
    padding: 0.5rem 1rem;
    margin-bottom: 0.6rem;
    display: inline-block;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.85rem;
    border: 2px solid currentColor;
    opacity: 0.9;
    transition: all 0.3s ease;
    background: white;
}

.badge:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(191, 9, 47, 0.15);
}

/* ============================================
   Certification Styles
   ============================================ */

.cert-group {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #3B9797;
    box-shadow: 0 4px 15px rgba(59, 152, 151, 0.08);
    transition: all 0.3s ease;
}

.cert-group:hover {
    box-shadow: 0 8px 25px rgba(191, 9, 47, 0.12);
    transform: translateY(-3px);
    border-left-color: #BF092F;
}

.cert-list {
    list-style: none;
    padding-left: 0;
}

.cert-item {
    padding: 0.75rem 0;
    line-height: 1.9;
    color: #495057;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    margin-left: -1rem;
}

.cert-item:hover {
    border-left-color: #BF092F;
    padding-left: 1.25rem;
}

.cert-item i {
    color: #3B9797;
}

/* ============================================
   Button Styles
   ============================================ */

.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #BF092F 0%, #A00728 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A00728 0%, #8a0620 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(191, 9, 47, 0.35);
}

.btn-outline-primary {
    color: #BF092F;
    border-color: #BF092F;
}

.btn-outline-primary:hover {
    background: #BF092F;
    border-color: #BF092F;
    transform: translateY(-2px);
    color: white;
}

/* ============================================
   Hover Effects
   ============================================ */

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(191, 9, 47, 0.12);
}

.hover-scale {
    transition: all 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ============================================
   Footer Styles
   ============================================ */

footer {
    background: linear-gradient(135deg, #132440 0%, #0f1a2a 100%);
    border-top: 3px solid #3B9797;
    color: #e0e0e0;
}

footer h5 {
    color: #3B9797;
    font-weight: 700;
    letter-spacing: 0.5px;
}

footer p {
    color: #c8c8c8;
    line-height: 1.8;
    font-size: 0.95rem;
}

footer small {
    color: #a8a8a8;
    opacity: 0.95;
}

.social-links {
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(59, 152, 151, 0.15);
    color: #3B9797;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    text-decoration: none;
    border: 2px solid #3B9797;
}

.social-icon:hover {
    background: linear-gradient(135deg, #BF092F 0%, #3B9797 100%);
    transform: translateY(-5px) scale(1.1);
    color: #ffffff;
    text-decoration: none;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(191, 9, 47, 0.25);
}

footer a {
    color: #3B9797;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

footer a:hover {
    color: #BF092F;
    text-decoration: underline;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* ============================================
   Scroll Animations - Advanced Effects
   ============================================ */

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleInBounce {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flyInText {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Initial state - hidden off screen */
.scroll-animate-left,
.scroll-animate-right,
.scroll-animate-up {
    opacity: 0;
}

.scroll-animate-left {
    transform: translateX(-100px);
}

.scroll-animate-right {
    transform: translateX(100px);
}

.scroll-animate-up {
    transform: translateY(50px);
}

/* Animated state - play animation */
.scroll-animate-left.active {
    animation: slideInLeft 0.8s ease-out forwards;
}

.scroll-animate-right.active {
    animation: slideInRight 0.8s ease-out forwards;
}

.scroll-animate-up.active {
    animation: slideInUp 0.8s ease-out forwards;
}

/* About Section Enhanced Animations */
.about-image-wrapper {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-highlight-image {
    filter: drop-shadow(0 10px 30px rgba(59, 152, 151, 0.2));
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-image-wrapper.active .about-highlight-image {
    filter: drop-shadow(0 20px 40px rgba(59, 152, 151, 0.35));
}

.about-subtitle {
    position: relative;
    overflow: hidden;
}

.about-subtitle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3B9797, #16476A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease-out;
}

.about-subtitle.animate-underline::before {
    transform: scaleX(1);
}

/* Text highlighting for About section */
.about-text-highlight span,
.about-meta span {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.about-text-highlight.highlight-active span,
.about-meta.highlight-active span {
    color: #3B9797;
    font-weight: 500;
}

.about-section .about-content {
    opacity: 0;
}

.about-section .about-content.active {
    opacity: 1;
}

/* About Content Dark Background - Matches Section Gradient */
#about-content.about-content-dark {
    background-color: transparent;
    padding: 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

#about-content.about-content-dark .section-header h2,
#about-content.about-content-dark .about-title-highlight {
    color: #ffffff !important;
}

#about-content.about-content-dark .accent-line {
    background: linear-gradient(90deg, #3B9797, #00ffcc) !important;
}

#about-content.about-content-dark .about-subtitle {
    color: #3B9797 !important;
}

#about-content.about-content-dark .about-meta {
    color: #b0b0b0 !important;
}

#about-content.about-content-dark .about-meta span {
    color: #b0b0b0 !important;
}

/* Main text paragraphs - initially gray, transition to white on scroll */
#about-content.about-content-dark .about-text-highlight {
    color: #a0a0a0 !important;
    transition: color 0.6s ease, text-shadow 0.6s ease;
}

#about-content.about-content-dark .about-text-highlight strong {
    color: #3B9797 !important;
    font-weight: 600;
}

/* Scroll animation effects for dark about content - TEXT TURNS WHITE */
#about-content.about-content-dark .about-text-highlight.highlight-active {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(59, 152, 151, 0.4);
}

#about-content.about-content-dark .about-text-highlight.highlight-active strong {
    color: #00ffcc !important;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

/* Section Background Styles */
#about {
    background: linear-gradient(135deg, #132440 0%, #1a3a52 50%, #16476A 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

#about .section-header h2 {
    color: #ffffff;
}

#about .about-content {
    color: #e0e0e0;
}

#about .about-meta {
    color: #b0b0b0;
}

#about .about-text-highlight {
    color: #e0e0e0;
}

#about .about-subtitle {
    color: #3B9797;
}

#skills {
    background-color: #ffffff;
}

#certifications {
    background: linear-gradient(180deg, #f0f2f5 0%, #ffffff 100%);
}

#interests {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}


/* ============================================
   Parallax Depth Cards - Interests Section
   ============================================ */

@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
}

.parallax-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.parallax-card {
    position: relative;
    height: 320px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    border-radius: 12px;
}

.parallax-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from var(--rotate),
        #ff0080,
        #ff8c00,
        #40e0d0,
        #ff0080
    );
    border-radius: 12px;
    padding: 3px;
    opacity: 0;
    z-index: -1;
    animation: rotation 20s linear infinite;
    transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.parallax-card:hover::before {
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.parallax-card:not(:hover)::before {
    opacity: 0;
    transition: opacity 8s cubic-bezier(0.23, 1, 0.32, 1) 2s;
}

@keyframes rotation {
    0% {
        --rotate: 0deg;
    }
    100% {
        --rotate: 360deg;
    }
}

/* .parallax-card::after {
    content: '';
    position: absolute;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: white;
    border-radius: 10px;
    top: 3px;
    left: 3px;
    z-index: 0;
    opacity: 0;
    transition: opacity 2s cubic-bezier(0.23, 1, 0.32, 1);
}

.parallax-card:hover::after {
    opacity: 1;
} */

.parallax-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.parallax-card .card-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.parallax-card:hover .card-wrap {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: rotateX(5deg) rotateY(-5deg);
}

.parallax-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    overflow: hidden;
}

.parallax-card:hover .card-bg {
    transform: scale(1.05);
}

.parallax-card .card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    backdrop-filter: blur(2px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.parallax-card:hover .card-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(4px);
}

.parallax-card .card-info h5 {
    position: relative;
    z-index: 3;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-navy);
    transition: all 0.3s ease;
}

.parallax-card .card-info i {
    position: relative;
    z-index: 3;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.parallax-card .card-info p {
    position: relative;
    z-index: 3;
    opacity: 0;
    margin: 0;
    transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.parallax-card:hover .card-info i {
    transform: scale(1.1) rotateZ(-5deg);
}

.parallax-card:hover .card-info p {
    opacity: 1;
    transition-delay: 0.1s;
}

/* Responsive parallax cards */
@media (max-width: 1200px) {
    .parallax-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .parallax-card {
        height: 280px;
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .skill-card,
    .interest-card {
        padding: 1.5rem !important;
    }

    /* Responsive parallax cards */
    .parallax-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .parallax-card {
        height: 240px;
    }

    .parallax-card:hover .card-wrap {
        transform: rotateX(2deg) rotateY(-2deg);
    }

    .parallax-card:hover {
        transform: translateY(-10px);
    }

    .parallax-card .card-info h5 {
        font-size: 1.1rem;
    }

    .parallax-card .card-info i {
        font-size: 1.5rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-collapse {
        padding-top: 1rem;
    }

    .nav-link {
        padding-bottom: 0.5rem;
    }

    .hero-content {
        text-align: center;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

/* ============================================
   /* Full-screen Parallax Background Sections
   ============================================ */

.parallax {
    /* Set a specific height */
    height: 800px;
    
    /* Create the parallax scrolling effect */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    /* For background images */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Add pseudo-element for overlay effect to ensure text readability */
.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Responsive adjustments for parallax sections */
@media (max-width: 768px) {
    .parallax {
        height: 350px;
        /* Static background on mobile - no parallax animation */
        background-attachment: scroll;
        background-position: center;
        background-size: cover;
    }
}

@media (max-width: 576px) {
    .parallax {
        height: 250px;
        background-attachment: scroll;
        background-size: cover;
    }
}

