﻿@import url('https://fonts.googleapis.com/css2?family=PoppinsLwght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: "Poppins", sans-serif;
}

html,
body {
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
}

:root {
    --bg-color: #000040;
    --second-bg-color: rgba(255, 255, 255, 0.05);
    --main-color: #ffffff;
    --white-color: #ffffff;
    --pure-white: #ffffff;
    --navy-color: #000040;
    --disabled-color: rgba(255, 255, 255, 0.1);
}

/* ══ LIGHT MODE ══ */
body.light-mode {
    --bg-color: #f4f7ff;
    --second-bg-color: rgba(0, 0, 0, 0.05);
    --main-color: #000000;
    --white-color: #000000;
    --pure-white: #ffffff;
    --navy-color: #000000;
    --disabled-color: rgba(0, 0, 0, 0.06);
}

body.light-mode header {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode nav a {
    color: #000000;
}

body.light-mode .msb {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .msb-section-title {
    color: rgba(0, 0, 0, 0.45);
}

body.light-mode .msb-ring {
    background: #0088cc;
}

body.light-mode .msb-ring img {
    border-color: #ffffff;
}

body.light-mode .msb-online {
    background: #0088cc;
    border-color: #ffffff;
}

body.light-mode .msb-status-pill {
    background: rgba(0, 136, 204, 0.08);
    border-color: rgba(0, 136, 204, 0.2);
    color: #0088cc;
}

body.light-mode .msb-info h2 {
    color: #000000;
}

body.light-mode .msb-info p {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .msb-stats {
    background: rgba(0, 136, 204, 0.04);
    border-color: rgba(0, 136, 204, 0.1);
}

body.light-mode .msb-stat b {
    background: linear-gradient(135deg, #0088cc, #0055ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .msb-stat small {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .msb-link {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .msb-link:hover {
    color: #000000;
    background: rgba(0, 136, 204, 0.06);
}

body.light-mode .msb-toggle-row {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .msb-close {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .msb-ver {
    color: rgba(0, 0, 0, 0.35);
}

body.light-mode .msb-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .msb-socials a {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .msb-toggle-track {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-mode .msb-toggle-thumb {
    background: #000000;
}

body.light-mode .msb-dl-btn:hover {
    background: #000000 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    color: #ffffff !important;
}

body.light-mode .btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: #000000 !important;
}

body.light-mode .sci a {
    color: #000000 !important;
}

body.light-mode .sci a:hover {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc !important;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

/* Light Mode Footer Overrides */
body.light-mode .footer {
    background: #ffffff;
    color: #000000;
}

body.light-mode .footer::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

body.light-mode .footer-logo img {
    filter: none;
}

body.light-mode .footer-tagline,
body.light-mode .footer-bottom p {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .footer-social a {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #000000;
}

body.light-mode .footer-social a:hover {
    background: #0088cc;
    color: #ffffff;
    border-color: #0088cc;
}

body.light-mode .footer-links h3,
body.light-mode .footer-contact h3 {
    color: #000000;
}

body.light-mode .footer-links h3::after,
body.light-mode .footer-contact h3::after {
    background: #0088cc;
}

body.light-mode .footer-links ul li a,
body.light-mode .footer-contact ul li a {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .footer-links ul li a:hover,
body.light-mode .footer-contact ul li a:hover {
    color: #0088cc;
}

body.light-mode .footer-contact ul li {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .footer-contact ul li i {
    color: #0088cc;
}

body.light-mode .footer-bottom-links a {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .footer-bottom-links a:hover {
    color: #0088cc;
}

body.light-mode .footer-bottom-links span {
    color: rgba(0, 0, 0, 0.2);
}






html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    /* Makes manual scrolling snap to sections */
}

body {
    color: var(--white-color);
    background: var(--bg-color);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Custom Scrollbar - Visible for normal scrolling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--second-bg-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--main-color);
}

/* For Firefox */
html {
    scrollbar-width: none;
}

/* For IE and Edge */
body {
    -ms-overflow-style: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE SIDEBAR (msb) â€” Full Redesign
   Slide-in panel with profile, nav, skills & footer
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Backdrop */
.msb-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.msb-backdrop.show {
    display: block;
    opacity: 1;
}

/* Panel */
.msb {
    position: fixed;
    top: 0;
    left: 0;
    width: 310px;
    height: 100vh;
    background: rgba(10, 12, 30, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0, 212, 255, 0.15);
    z-index: 3100;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    transform: translateX(-110%);
    transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
    padding-bottom: 20px;
}

.msb::-webkit-scrollbar {
    display: none;
}

.msb.open {
    transform: translateX(0);
}

/* Cyan top glow */
.msb::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Close button */
.msb-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.msb-close:hover {
    background: rgba(255, 80, 80, 0.12);
    border-color: rgba(255, 80, 80, 0.3);
    color: #ff5252;
    transform: rotate(90deg);
}

/* â”€â”€ Profile Card â”€â”€ */
.msb-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 22px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
    margin-top: 12px;
}

.msb-ring {
    position: relative;
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 3px;
    background: #00d4ff;
}

.msb-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid #0a0c1e;
    display: block;
}

.msb-online {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2.5px solid #0a0c1e;
    border-radius: 50%;
    animation: msb-pulse 2s ease-in-out infinite;
}

@keyframes msb-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
    }
}

.msb-info {
    flex: 1;
    min-width: 0;
}

.msb-info h2 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.msb-info p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}

.msb-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

/* â”€â”€ Stats Row â”€â”€ */
.msb-stats {
    display: flex;
    align-items: center;
    margin: 0 16px 6px;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.msb-stat {
    flex: 1;
    text-align: center;
}

.msb-stat b {
    display: block;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #7b4fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.msb-stat small {
    display: block;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 3px;
}

.msb-stat-sep {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* â”€â”€ Section Title â”€â”€ */
.msb-section-title {
    font-size: 9px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.22);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 18px 22px 7px;
}

/* â”€â”€ Navigation â”€â”€ */
.msb-nav {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.msb-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    border-left: 3px solid transparent;
}

.msb-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

.msb-link.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
    border-left-color: #00d4ff;
}

.msb-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.msb-link.active .msb-icon {
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

.msb-link:hover .msb-icon {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.msb-text {
    flex: 1;
}

.msb-arrow {
    font-size: 18px;
    opacity: 0.3;
    transition: 0.25s;
}

.msb-link:hover .msb-arrow,
.msb-link.active .msb-arrow {
    opacity: 0.8;
}

.msb-badge-num {
    background: linear-gradient(135deg, #00d4ff, #7b4fff);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* â”€â”€ Skills â”€â”€ */
.msb-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 6px 14px 14px;
}

.msb-skills span {
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: rgba(0, 212, 255, 0.85);
    font-size: 10.5px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.msb-skills span:hover {
    background: rgba(0, 212, 255, 0.14);
    border-color: rgba(0, 212, 255, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 212, 255, 0.15);
}

/* â”€â”€ Contact List â”€â”€ */
.msb-contact-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 10px 10px;
}

.msb-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.25s ease;
}

.msb-contact-item i {
    font-size: 18px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.msb-contact-item:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.msb-contact-item:hover i {
    background: rgba(0, 212, 255, 0.12);
    color: #00d4ff;
}

/* ── Quick Nav Grid ── */
.msb-grid-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 10px 18px 20px;
}

.msb-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.msb-tile i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.msb-tile span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.msb-tile:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.15);
}

.msb-tile:hover i {
    transform: scale(1.15);
}

.msb-tile.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 79, 255, 0.15));
    border-color: rgba(0, 212, 255, 0.4);
    color: #00d4ff;
    box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.1);
}

/* ── Specializations ── */
.msb-spec-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 18px 20px;
}

.msb-spec-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.msb-spec-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #00d4ff;
    flex-shrink: 0;
}

.msb-spec-card p {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

.msb-spec-card small {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    margin-top: 2px;
}

.msb-spec-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

/* ── Light Mode Fixes ── */
body.light-mode .msb-tile {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

body.light-mode .msb-tile:hover {
    background: #ffffff;
    border-color: #0088cc;
    color: #0088cc;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.12);
}

body.light-mode .msb-tile.active {
    background: #0088cc;
    border-color: #0088cc;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

body.light-mode .msb-spec-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

body.light-mode .msb-spec-card p {
    color: #000000 !important;
}

body.light-mode .msb-spec-card small {
    color: rgba(0, 0, 0, 0.6) !important;
}

body.light-mode .msb-spec-icon {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}

body.light-mode .msb-spec-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
}





/* â”€â”€ Footer â”€â”€ */
.msb-footer {
    margin: 14px 14px 0;
    padding: 18px 14px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Toggle Row */
.msb-toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
}

.msb-toggle-switch {
    display: flex;
    cursor: pointer;
}

.msb-toggle-track {
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: 0.3s;
}

.msb-toggle-switch input {
    display: none;
}

.msb-toggle-switch input:checked~.msb-toggle-track {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
}

.msb-toggle-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.msb-toggle-switch input:checked~.msb-toggle-track .msb-toggle-thumb {
    transform: translateX(20px);
    background: #00d4ff;
}

/* Socials */
.msb-socials {
    display: flex;
    gap: 10px;
}

.msb-socials a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.msb-socials a:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.35);
    color: #00d4ff;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
}

/* Download CV Button */
.msb-dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #00d4ff, #7b4fff);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.25);
}

.msb-dl-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 212, 255, 0.4);
}

.msb-dl-btn i {
    font-size: 20px;
}

/* Version */
.msb-ver {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: 1px;
    text-align: center;
}

/* Stagger nav items on open */
.msb.open .msb-link {
    animation: msb-slide-in 0.4s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.msb.open .msb-link:nth-child(1) {
    animation-delay: 0.04s;
}

.msb.open .msb-link:nth-child(2) {
    animation-delay: 0.08s;
}

.msb.open .msb-link:nth-child(3) {
    animation-delay: 0.12s;
}

.msb.open .msb-link:nth-child(4) {
    animation-delay: 0.16s;
}

.msb.open .msb-link:nth-child(5) {
    animation-delay: 0.20s;
}

.msb.open .msb-link:nth-child(6) {
    animation-delay: 0.24s;
}

@keyframes msb-slide-in {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Desktop: hide sidebar */
@media (min-width: 769px) {

    .msb,
    .msb-backdrop {
        display: none !important;
    }
}










header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* this line cut after completed the web*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1100;
}

.logo {
    position: absolute;
    margin-top: 8%;
    font-size: 2.5rem;
    color: var(--white-color);
    font-weight: 600;
    z-index: 101;
}

.logo img {
    height: 80px;
    width: auto;
    transition: .3s;
    /* This stack removes the solid background and makes the icon white */
    filter: invert(1) grayscale(1) brightness(2) contrast(5);
    mix-blend-mode: screen;
}

.logo:hover img {
    transform: scale(1.1);
}

nav a {
    top: .9rem;
    left: 76rem;
    font-size: 1rem;
    color: var(--white-color);
    font-weight: 700;
    margin-left: 3.5rem;
    transition: .5s;
}

nav a:hover,
nav a.active {
    color: var(--main-color);
}

nav a {
    position: relative;
}

/* Hover underline effect */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    /* adjust this as needed */
    width: 0;
    height: 2px;
    background-color: var(--white-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}


/* ---- */

#menu-icon {
    font-size: 4rem;
    display: none;
    z-index: 1101;
    transition: 0.3s;
    cursor: pointer;
}

#menu-icon.bx-x {
    color: var(--main-color);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}


/* Home section */

section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    background: var(--bg-color);
    display: block;
    scroll-snap-align: start;
    /* Snap each section to top */
    scroll-snap-stop: always;
}

section.active {
    transform: scale(1);
    /* Resolved lint: base state for scrolling */
}

.home {
    display: flex;
    align-items: center;
    gap: 5rem;
}




.home-detail h1 {
    font-size: 5.5rem;
}


.home-detail h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 3.2rem;
    margin-top: -1rem;
    height: 4.5rem;
    position: relative;
    white-space: nowrap;
}

.home-detail h2 span {
    position: absolute;
    left: 8.5rem;
    /* Adjusted for desktop alignment after "I'm a" */
    color: transparent;
    -webkit-text-stroke: 0;
    /* Remove legacy stroke */
    animation: display-cycle 64s linear infinite;
    animation-delay: calc(-8s * var(--i));
    z-index: calc(10 - var(--i));
}

@keyframes display-cycle {

    0%,
    12.4% {
        opacity: 1;
        visibility: visible;
    }

    12.5%,
    100% {
        opacity: 0;
        visibility: hidden;
    }
}



.home-detail h2 span::before {
    content: attr(data-text);
    position: absolute;
    width: 0;
    border-right: .25rem solid var(--main-color);
    color: var(--main-color);
    white-space: nowrap;
    overflow: hidden;
    animation:
        pro-type 8s steps(30, end) infinite,
        pro-cursor .8s step-end infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

@keyframes pro-type {
    0% {
        width: 0;
    }

    40% {
        width: 100%;
    }

    /* Writing slowly - 3.2s */
    65% {
        width: 100%;
    }

    /* Holding - 2s */
    100% {
        width: 0;
    }

    /* Deleting slowly - 2.8s */
}

@keyframes pro-cursor {
    50% {
        border-color: transparent;
    }
}





.home-detail p {
    color: #929090;
    font-size: 1.6rem;
    margin: 1rem 0 2.5rem;
}

.home-detail .btn-sci {
    display: flex;
    align-items: center;
    background: transparent;
    box-shadow: none;
    border: none;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--pure-white);
    border: .2rem solid var(--pure-white);
    border-radius: 4rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
    font-size: 1.6rem;
    color: var(--navy-color);
    font-weight: 600;
    transition: .5s;
}

.btn:hover {
    background: transparent;
    color: var(--pure-white);
    box-shadow: 0 0 1.5rem var(--pure-white);
}

/* Nav Flexbox to align links and toggle */
nav {
    display: flex;
    align-items: center;
}

/* Hide icons on desktop */
nav a i {
    display: none;
}

/* View Project Button (Portfolio) */
.view-project {
    /* Existing styles preserved */
}

/* ================= THEME TOGGLE SWITCH ================= */
.theme-switch-wrapper {
    /* Desktop: Hide by default */
    display: none;
    position: absolute;
    right: 2%;
    top: 65%;
    transform: translateY(-50%);
    z-index: 100;
}

/* Tablet/Mobile Adjustments */
@media (max-width: 991px) {
    .theme-switch-wrapper {
        display: flex;
        right: 12%;
        /* Pull back slightly for smaller laptops/tablets */
        transform: translateY(-50%) scale(0.9);
    }
}

@media (max-width: 768px) {

    /* Mobile Menu: Reset to flow layout */
    .theme-switch-wrapper {
        position: static;
        /* Remove absolute */
        right: auto;
        top: auto;
        transform: translateY(30px);
        /* Prepare for animation */
        display: inline-flex;
        margin-left: 0;
        margin-top: 2rem;
        /* Spacing in vertical menu */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem;
        width: 100%;
        /* Center in menu */
        justify-content: center;
    }
}



.theme-switch {
    display: inline-block;
    height: 38px;
    position: relative;
    width: 145px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #000020;
    /* Deep navy for Night Mode match */
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.slider .text-night {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 1;
    transition: opacity 0.3s;
}

.slider .text-day {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.slider .thumb {
    position: absolute;
    height: 28px;
    width: 28px;
    left: 4px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.slider .thumb i {
    font-size: 18px;
    color: #000;
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

.slider .thumb .sun {
    opacity: 0;
    transform: rotate(-90deg);
}

.slider .thumb .moon {
    opacity: 1;
    transform: rotate(0);
}

/* Checked State (Light/Day Mode) */
input:checked+.slider {
    background-color: #e8e8e8;
    border-color: #ccc;
}

input:checked+.slider .text-night {
    opacity: 0;
}

input:checked+.slider .text-day {
    opacity: 1;
}

input:checked+.slider .thumb {
    transform: translateX(107px);
    /* 145 - 28 - 4 - 6ish padding */
}

input:checked+.slider .thumb .sun {
    opacity: 1;
    transform: rotate(0);
}

input:checked+.slider .thumb .moon {
    opacity: 0;
    transform: rotate(90deg);
}



/* Light Mode Footer (Light Background) */
body.light-mode .footer {
    background: #ffffff !important;
    color: #000000 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .footer h3,
body.light-mode .footer p,
body.light-mode .footer a,
body.light-mode .footer-tagline {
    color: #000000 !important;
}

body.light-mode .footer-social a {
    color: #000000;
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .footer-social a:hover {
    background: #000000;
    color: #ffffff !important;
}


body.light-mode .footer img,
body.light-mode .footer-logo img {
    filter: none !important;
    /* Restore normal navy logo */
    mix-blend-mode: multiply !important;
}

/* Fix Mobile Nav Background in Light Mode */
@media (max-width: 768px) {
    body.light-mode nav {
        background: transparent;
        /* Keep transparent like dark mode */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

/* Fix Hardcoded Colors in Light Mode */
body.light-mode .services-box {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .services-box p {
    color: rgba(0, 0, 64, 0.85);
    /* Dark Navy transparency */
}

body.light-mode .services-box h3 {
    color: var(--main-color);
}

body.light-mode .services-container .services-box:hover {
    background: #ffffff;
    border-color: #0088cc;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.15);
}

body.light-mode .services-box .icon i {
    background: rgba(0, 136, 204, 0.05);
    border-color: rgba(0, 136, 204, 0.2);
    color: #0088cc;
}

body.light-mode .services-box:hover .icon i:not(.bx-right-arrow-alt) {
    background: #0088cc;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.4);
    border-color: #0088cc;
}

body.light-mode .services-box:hover h3 {
    color: #0088cc;
}

body.light-mode .info-box p,
body.light-mode .info-item p {
    color: rgba(0, 0, 64, 0.85);
}

body.light-mode .contact-container {
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .portfolio-header p {
    color: #444;
}

body.light-mode .portfolio-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .portfolio-links a {
    color: #000000;
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .portfolio-container {
    background: #f8f8f8;
    /* Visible light grey background */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

body.light-mode .portfolio-header h1 {
    background: none;
    -webkit-text-fill-color: #000000;
    color: #000000;
}

body.light-mode .portfolio-content h3 {
    color: #000000;
}

body.light-mode .portfolio-content p {
    color: #555;
}

body.light-mode .portfolio-tags span {
    background: #e0e0e0;
    color: #333;
}

body.light-mode .filter-btn {
    color: #555;
    background: #e0e0e0;
}

body.light-mode .filter-btn.active,
body.light-mode .filter-btn:hover {
    background: #000000;
    color: #ffffff;
}

body.light-mode .home-detail p {
    color: #333;
    /* Darker grey for home description */
}

/* Fix Logo in Light Mode (Reveal Original Dark/Navy) */
body.light-mode .logo img {
    filter: none;
    mix-blend-mode: multiply;
}

/* ======================================================== */


/* Fix About Me details in Light Mode */
body.light-mode .detail-item {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .detail-item h4 {
    color: #555;
    /* Dark grey for labels like 'Name:' */
}

body.light-mode .detail-item p {
    color: #000000;
    /* Navy for the values */
}

/* ======================================================== */

.home-detail .btn-sci .sci {
    margin-left: 2rem;
}

.home-detail .btn-sci .sci a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: transparent;
    color: var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.home-detail .btn-sci .sci a:hover {
    box-shadow: 0 0 1rem var(--main-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--main-color);
}


/* Image style */

.home-img .img-box {
    position: relative;
    width: 32vw;
    height: 32vw;
    border-radius: 50%;
    padding: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home-img .img-box::before,
.home-img .img-box::after {
    content: '';
    position: absolute;
    width: 50rem;
    height: 50rem;
    background: conic-gradient(from 0deg, transparent 0% 65%, var(--main-color) 100%);
    transform: rotate(0deg);
    animation: rotate-border 10s linear infinite;
}

.home-img .img-box::after {
    animation-delay: -5s;
}

@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}

.home-img .img-box .img-item {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border-radius: 50%;
    border: .01rem solid var(--bg-color);
    display: flex;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.home-img .img-box .img-item img {
    position: absolute;
    top: 3rem;
    display: block;
    width: 85%;
    object-fit: cover;
    /* mix-blend-mode: luminosity; */
}


/* Service style */


.heading {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.heading span {
    color: var(--main-color);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Responsive Breakpoints for Services */
@media (max-width: 1200px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .services-container .services-box {
        padding: 2rem;
    }

    .services-box h3 {
        font-size: 1.8rem;
    }

    .services-box p {
        font-size: 1rem;
    }
}

@media (max-width: 450px) {
    .heading {
        font-size: 3.5rem;
    }

    .services-box .icon i {
        width: 55px;
        height: 55px;
        font-size: 2.2rem;
    }

    .services-box .icon a {
        width: 40px;
        height: 40px;
    }
}

.services-container .services-box {
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    transition: all 0.4s ease;
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
}

/* Glass Shimmer Light Effect */
.services-container .services-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: 0.6s;
    pointer-events: none;
}

.services-container .services-box:hover {
    border-color: var(--main-color);
    transform: translateY(-8px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.services-container .services-box:hover::before {
    left: 100%;
}

.services-box .icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    /* Increased spacing */
}

/* Main Service Icon Styling */
.services-box .icon i {
    font-size: 2.8rem;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    /* Circle */
    color: var(--white-color);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bouncy transition */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hover Effect for Main Icon */
.services-box:hover .icon i:not(.bx-right-arrow-alt) {
    background: var(--white-color);
    color: #068fff;
    /* Blue color for visibility */
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px #068fff, 0 0 40px rgba(6, 143, 255, 0.4);
    border-color: #068fff;
}

/* Arrow Button Styling */
.services-box .icon a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid var(--white-color);
    border-radius: 50%;
    color: var(--white-color);
    transition: all 0.4s ease;
    z-index: 5;
}

.services-box .icon a i {
    /* Reset specific styles for the arrow icon inside the link */
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    font-size: 1.5rem;
    color: inherit;
    transform: rotate(-45deg);
    /* Initial Diagonal */
}

/* Hover Effect for Arrow Button */
.services-box:hover .icon a {
    background: var(--white-color);
    border-color: var(--white-color);
    color: #068fff;
    /* Blue arrow */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.services-box:hover .icon a i {
    transform: rotate(0deg);
    /* Rotate to horizontal */
    background: transparent;
    /* Ensure no background for inner icon */
    color: #068fff;
    /* Blue arrow icon */
    box-shadow: none;
}

/* Specific hover just for the arrow button itself */
.services-box .icon a:hover {
    background: #068fff;
    /* Blue background */
    border-color: #068fff;
    color: var(--white-color);
    /* White arrow */
    transform: scale(1.1);
}

.services-box .icon a:hover i {
    color: var(--white-color);
}

.services-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0 0.8rem;
    transition: 0.4s;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.services-box:hover h3 {
    color: var(--main-color);
}

.services-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    transition: 0.4s;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.services-box:hover p {
    color: var(--pure-white);
}

/* cv section */


/* tets */

.cv-container {
    position: relative;

}

/* The small profile in the corner */
.corner-profile {
    position: absolute;
    top: 1.5rem;
    left: 92rem;
    z-index: 10;
}

.corner-profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .corner-profile-pic {
        width: 45px;
        height: 45px;
    }
}



/* test */

.cv-detail#MyInfo .profile-info {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-direction: row-reverse;

}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 10rem;
    margin-right: 8%;

}

.cv-detail#MyInfo .profile-info>div {
    flex-grow: 1;
}

.cv {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.cv-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    margin: 4rem auto;
    border-radius: 1px;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-height: 85vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cv-navigation h2 {
    margin-top: 1rem;
    margin-left: .5rem;
    font-size: 30rem;
    font-weight: 800;

}


/* --- Left Side: Navigation --- */
.cv-navigation {
    display: flex;
    flex-direction: column;
    padding-right: 2rem;
    border-right: 2px solid var(--white-color);
}



.cv-navigation h2 {

    color: var(--white-color);
    font-size: 3.4rem;
    margin-bottom: 0.1rem;
    margin-left: 10rem;

}

.cv-navigation h2 .new {
    color: var(--main-color);
}

.cv-navigation .desc {
    font-size: 1.2rem;
    margin-top: 5rem;
    margin-bottom: 2rem;
    max-width: 87%;
    line-height: 1.6;
}


.cv-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cv-btn {
    background: transparent;
    border: 2px solid var(--disabled-color);
    color: var(--white-color);
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cv-btn:hover {
    background: var(--main-color);
    color: var(--bg-color);
    border-color: var(--main-color);
    font-weight: 600;
}

.cv-btn.active {
    background: var(--main-color);
    color: var(--bg-color);
    border-color: var(--main-color);
    font-weight: 400;
}

.cv-content {
    position: relative;
    overflow-y: auto;
}

.cv-detail {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.cv-detail.active {
    display: block;
}

.cv-detail .heading {
    font-size: 2.2rem;
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.cv-detail .heading span {
    color: var(--main-color);
}

.cv-detail .professional {
    font-weight: 500;
    color: var(--main-color);
}

.cv-detail .change {
    font-size: 1.9rem;
    color: var(--main-color);
    font-weight: 600;
}


.cv-detail p,
.cv-detail li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;

}

.cv-detail ul {
    list-style-position: inside;
    padding-left: 1rem;
}




/* --- Specific Section Styles --- */
.timeline-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--main-color);
    margin-left: 5rem;
}

.timeline-item h3 {
    color: var(--white-color);
}

.timeline-item p {
    margin-bottom: 0.2rem;
    color: #2c3e50;
}

.timeline-item p span {
    color: var(--white-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
}

.skill-tag {
    background-color: var(--bg-color);
    color: var(--main-color);
    border-radius: 1.5rem;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    color: var(--white-color);
    font-size: 1.1rem;
    font-weight: 700;
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-tag {
    position: relative;
}

.skill-tag .skill-level {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10rem;
    color: #fff;
    display: flex;
    text-align: right;
    justify-content: right;
    font-weight: 700;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;

}

.skill-tag:hover .skill-level {
    opacity: .7;
    visibility: visible;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.course-item {
    background-color: var(--bg-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.course-item:hover {
    transform: translateY(-4px);
}

.course-item li {
    font-weight: 600;
    list-style: none;
    color: var(--main-color);
}

.course-item p {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #2c3e50;
}

/* Responsive behavior for smaller screens */
@media (max-width: 600px) {
    .course-item {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .course-item p {
        font-size: 0.85rem;
    }
}



.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.interest-item {
    background-color: var(--bg-color);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interest-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.interest-item strong {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--main-color);
    display: block;
    margin-bottom: 0.4rem;
}

.interest-item p {
    font-size: 0.95rem;
    color: #2c3e50;
    line-height: 1.5;
}

/* Small screen tweaks */
@media (max-width: 480px) {
    .interest-item {
        padding: 0.9rem;
    }

    .interest-item p {
        font-size: 0.88rem;
    }
}


.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 6rem;
}

.certificate-item {
    background-color: var(--bg-color);
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--main-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.certificate-item h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--main-color);
}

.certificate-item p {
    font-size: 0.95rem;
    color: #2c3e50;
    line-height: 1.4;
}

.certificate-item.upcoming {
    border-left: 4px dashed var(--main-color);
    opacity: 0.85;
}

@media (max-width: 480px) {
    .certificate-item {
        padding: 0.9rem;
    }

    .certificate-item h3 {
        font-size: 0.95rem;
    }

    .certificate-item p {
        font-size: 0.85rem;
    }
}






























/* About section styles */

.about-section {

    max-width: 1200px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-section.active {
    opacity: 1;
    transform: translateY(0);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 350px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);

    /* Reduced rounding to a sharp modern corner */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin: 1rem;
}

/* Beautiful glow behind the image */
.about-image::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--main-color);
    border-radius: 1.5rem;
    /* Match container */
    filter: blur(60px);
    opacity: 0.15;
    z-index: 0;
}

.image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 1.5rem;
    /* Modern square with slight rounding */
    overflow: hidden;
    border: none;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7);
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 255, 255, 0.15);
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.about-content {
    flex: 2;
    min-width: 300px;
    padding: 40px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white-color);
    position: relative;
    padding-bottom: 15px;
}

.about-content span {
    color: var(--main-color);
}


.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--bg-color), var(--white-color));
    border-radius: 2px;
}

.about-content>p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--main-color);
}

.about-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
}

.detail-item {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.detail-item h4 {
    font-size: 1rem;
    color: var(--pure-white);
    margin-bottom: 5px;
    opacity: 0.7;
}

.detail-item p {
    font-size: 1.1rem;
    color: var(--pure-white);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: transparent;
    color: var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    color: #0055ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-image {
        min-width: 100%;
        padding: 30px;
        margin: 0 0 3rem 0;
    }

    .image-wrapper {
        width: 220px;
        height: 220px;
    }

    .about-content {
        padding: 30px;
    }

    .about-content h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-details {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .about-section {
        border-radius: 10px;
    }

    .about-image {
        padding: 20px;
    }

    .image-wrapper {
        width: 180px;
        height: 180px;
    }

    .about-content {
        padding: 20px;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .detail-item {
        min-width: 100%;
    }
}

/* Portfolio Style */

.portfolio-container {
    max-width: 1500px;
    width: 100%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: var(--second-bg-color);
    border: 1px solid var(--bg-color);
}

/* Header Styles */
.portfolio-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.portfolio-header h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--pure-white), rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.portfolio-header p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.header-decoration {
    position: absolute;
    width: 315px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--pure-white), transparent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 12px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--pure-white);
    color: var(--navy-color);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;

}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.15);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.view-project {
    background: linear-gradient(135deg, #00f2ff, #7000ff);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-item:hover .view-project {
    transform: translateY(0);
}

.view-project:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(112, 0, 255, 0.4);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--main-color);
}

.portfolio-content p {
    color: #6d6969;
    margin-bottom: 20px;
    line-height: 1.5;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.portfolio-tags span {
    background: var(--second-bg-color);
    color: var(--main-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
}

.portfolio-links {
    display: flex;
    gap: 15px;
}

.portfolio-links a {
    text-decoration: none;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    transition: all 0.4s ease;
}

.portfolio-links a:hover {
    background: linear-gradient(135deg, #00f2ff, #7000ff);
    border-color: transparent;
    color: #fff;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.3);
}

.portfolio-links i {
    font-size: 1.8rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .portfolio-header h1 {
        font-size: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .filter-buttons {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    body {
        padding: 15px;
    }

    .portfolio-container {
        padding: 20px;
    }

    .portfolio-header h1 {
        font-size: 2.2rem;
    }

    .portfolio-header p {
        font-size: 1rem;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 80%;
        margin-bottom: 10px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-content {
        padding: 20px;
    }
}







/*  */






.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 950px;
    width: 100%;
    margin: 2rem auto;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Left Form */
.form-box {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: linear-gradient(135deg, #068fff, #068fff);
    color: #fff;
}

.form-box h2 {
    margin-bottom: 20px;
    font-size: 22px;
    margin-left: 70px;
    color: var(--white-color);
    /* Changed to white for better contrast on blue */
}

.form-box input,
.form-box textarea {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: none;
    border-bottom: 1px solid var(--disabled-color);
    background: transparent;
    color: #fff;
    outline: none;
}

.form-box input::placeholder,
.form-box textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
    /* Increased visibility */
}

.form-box textarea {
    resize: none;
    height: 100px;
}


.form-box button {
    background: var(--white-color);
    /* White button */
    border: none;
    margin-left: 4.5rem;
    margin-top: 4rem;
    padding: 12px 100px;
    border-radius: 20px;
    color: #068fff;
    /* Blue text for contrast */
    font-weight: 600;
    font-size: 1.4rem;
    cursor: pointer;
    transition: 0.3s;
}

.form-box button:hover {
    background: var(--bg-color);
    /* Navy on hover */
    color: var(--white-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Right Info */
.info-box {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}

.info-box h2 {
    margin-bottom: 3rem;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white-color);
}

.info-box h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--main-color);
    margin-top: 1rem;
    border-radius: 2px;
}

.info-box p.info-desc {
    margin-bottom: 3rem;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: center;
    margin: 2.5rem 0;
    color: var(--white-color);
}

.info-item div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-item .icon {
    width: 45px;
    height: 45px;
    background: var(--second-bg-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 18px;
    color: var(--main-color);
    transition: .5s;
}

.info-item .icon:hover {
    background: transparent;
    color: var(--white-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--main-color);
}

.info-item span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
}

.info-item p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@media(max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}

/* Contact Form Styles */






/* Responsive Styles */
@media (max-width: 991px) {
    header {
        padding: 2rem 4%;
    }

    section {
        padding: 10rem 4% 2rem;
    }
}

@media (max-width: 768px) {



    #menu-icon {
        display: block;
        cursor: pointer;
    }

    nav {
        display: none;
    }

}

@media (max-width: 617px) {
    .home {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        gap: 3rem;
    }

    .home-detail {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-img .img-box {
        width: 280px;
        height: 280px;
        margin: 2rem auto 2rem;
    }

    .home-detail h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .home-detail h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 7rem;
        gap: 0.5rem;
    }

    .home-detail h2 span {
        position: relative;
        /* Change to relative for better stacked flow on mobile */
        left: 0;
        transform: none;
        display: block;
        margin-top: 0.5rem;
    }

    @keyframes display-cycle {

        0%,
        12.4% {
            opacity: 1;
            visibility: visible;
            display: block;
        }

        12.5%,
        100% {
            opacity: 0;
            visibility: hidden;
            display: none;
        }
    }

    .home-detail .btn-sci {
        flex-direction: column;
        gap: 2rem;
        justify-content: center;
        align-items: center;
        padding-bottom: 3rem;
    }

    .home-detail .btn-sci .sci {
        display: flex;
        gap: 2.5rem;
        justify-content: center;
        margin-left: 0;
        margin-top: 1rem;
        order: 2;
    }

    .home-detail .btn-sci .sci a {
        width: 55px;
        height: 55px;
        font-size: 2.8rem;
        color: var(--main-color) !important;
    }

    .home-detail .btn-sci .btn {
        order: 1;
    }
}


@media (max-width: 768px) {
    header {
        position: fixed;
        padding: 0.6rem 9%;
    }

    .logo {
        position: relative;
        margin-top: 0;
    }

    .logo img {
        height: 75px;
    }

    #menu-icon {
        font-size: 4.2rem;
    }

    nav a {
        top: 0;
        left: 0;
    }

    .cv-container {
        position: relative;
        margin: 10rem 4rem 4rem 4rem;
        width: auto;
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
    }

    .cv-navigation {
        border-right: none;
        border-bottom: 2px solid var(--white-color);
        padding-right: 0;
        padding-bottom: 2rem;
    }

    .cv-navigation h2 {
        margin-left: 0;
        text-align: center;
    }

    .cv-navigation .desc {
        max-width: 100%;
        text-align: center;
    }

    .cv-detail#MyInfo .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-pic {
        margin-top: 2rem;
        margin-right: 0;
    }

    .corner-profile {
        display: none;
    }

    .skills-grid {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .timeline-item {
        margin-left: 0;
    }

    .contact-container {
        width: 95%;
        margin: 2rem auto;
        flex-direction: column;
    }

    .form-box {
        padding: 30px;
    }

    .form-box h2 {
        margin-left: 0;
        text-align: center;
    }

    .form-box button {
        margin-left: 0;
        width: 100%;
        padding: 14px;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 45%;
    }

    .home-detail h1 {
        font-size: 3rem;
    }

    .home-detail h2 {
        font-size: 2rem;
    }

    .home-img .img-box {
        width: 220px;
        height: 220px;
    }

    /* Fix contact form layout on small screens */
    .form-box {
        padding: 25px;
    }

    .form-box h2 {
        margin-left: 0;
        text-align: center;
        font-size: 2rem;
    }

    .form-box button {
        margin-left: 0;
        margin-top: 2rem;
        width: 100%;
        padding: 12px;
    }


    header {
        padding: 0.4rem 5%;
    }

    .logo img {
        height: 65px;
    }

    #menu-icon {
        font-size: 4rem;
    }

    section {
        padding: 8rem 5% 2rem;
    }
}

/* ==================== FOOTER STYLES ==================== */

.footer {
    background: var(--bg-color);
    color: var(--pure-white);
    padding: 6rem 9% 2rem;
    margin-top: 8rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-tagline {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--pure-white);
    color: var(--navy-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Footer Links */
.footer-links h3,
.footer-contact h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--pure-white);
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--pure-white);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--pure-white);
    transform: translateX(8px);
}

/* Footer Contact */
.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
}

.footer-contact ul li i {
    font-size: 2rem;
    color: var(--pure-white);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact ul li a:hover {
    color: var(--pure-white);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-links a {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--pure-white);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 5% 2rem;
        margin-top: 5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-links ul,
    .footer-contact ul {
        align-items: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 450px) {
    .footer {
        padding: 3rem 5% 2rem;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.6rem;
    }
}

/* Custom Alert Styles */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.custom-alert.active {
    opacity: 1;
    visibility: visible;
}

.alert-content {
    background: rgba(0, 0, 64, 0.95);
    /* Dark Navy */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    width: 90%;
    max-width: 400px;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Glass shine effect */
.alert-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.alert-content:hover::before {
    left: 100%;
}

.custom-alert.active .alert-content {
    transform: scale(1);
}

.alert-icon {
    width: 70px;
    height: 70px;
    background: rgba(6, 143, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.alert-icon i {
    font-size: 3.5rem;
    color: #068fff;
    /* Blue */
}

.alert-content.error .alert-icon {
    background: rgba(255, 0, 0, 0.1);
}

.alert-content.error .alert-icon i {
    color: #ff3333;
}

.alert-content h3 {
    font-size: 2.2rem;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.alert-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.alert-content button {
    background: #068fff;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(6, 143, 255, 0.3);
}

.alert-content button:hover {
    background: #0077d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 143, 255, 0.4);
}

.alert-content.error button {
    background: #ff3333;
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

.alert-content.error button:hover {
    background: #d90000;
    box-shadow: 0 8px 20px rgba(255, 51, 51, 0.4);
}