/* ============================================
   SUDHIR SAH PORTFOLIO — style.css
   Premium Dark Theme with Glassmorphism
   ============================================ */

/* === CSS VARIABLES === */
:root {
    --bg-primary: #000000;
    --bg-secondary: #080d1a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    --accent: #00d2ff;
    --accent-2: #a855f7;
    --accent-3: #ff007f;
    --accent-gradient: linear-gradient(135deg, #00d2ff, #a855f7);
    --accent-gradient-2: linear-gradient(135deg, #a855f7, #ff007f);
    --text-primary: #f0f4ff;
    --text-secondary: rgba(240, 244, 255, 0.6);
    --text-muted: rgba(240, 244, 255, 0.35);
    --font-main: 'Space Grotesk', 'Inter', sans-serif;
    --font-display: 'Poppins', sans-serif;
    --font-hand: 'Caveat', cursive;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-glow: 0 0 40px rgba(0, 210, 255, 0.12);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 72px;
    --header-bg: rgba(0, 0, 0, 0.7);
    --card-title-color: #ffffff;
}

[data-theme="light"] {
    --bg-primary: #f0f8ff;
    --bg-secondary: #e6f2fe;
    --bg-card: rgba(0, 0, 0, 0.04);
    --bg-card-hover: rgba(0, 0, 0, 0.08);
    --border-glass: rgba(0, 0, 0, 0.1);
    --border-glass-hover: rgba(0, 0, 0, 0.22);
    --text-primary: #0a0e1a;
    --text-secondary: rgba(10, 14, 26, 0.75);
    --text-muted: rgba(10, 14, 26, 0.55);
    --shadow-card: 0 8px 32px rgba(0, 210, 255, 0.06);
    --header-bg: #f0f8ff;
    --card-title-color: #0a0e1a;
}

/* Light Theme Component Overrides */
[data-theme="light"] .nav-link {
    color: #0a0e1a;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--accent);
    background: rgba(0, 210, 255, 0.1);
}

[data-theme="light"] .hero-availability {
    color: #0077b6;
    font-weight: 700;
}

[data-theme="light"] .hero-sub-title {
    background: linear-gradient(to right, #0077b6 0%, #7b2cbf 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 800 !important;
}

[data-theme="light"] .logo-sub {
    color: #0a0e1a;
}

[data-theme="light"] .hero-title-main {
    background: linear-gradient(to right, #0099ff 0%, #a855f7 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: none !important;
    drop-shadow: none !important;
    text-shadow: none !important;
}

[data-theme="light"] .hero-title-sub {
    color: #050810 !important;
    filter: none !important;
    drop-shadow: none !important;
    text-shadow: none !important;
}

[data-theme="light"] .hero-social-link,
[data-theme="light"] .social-links a {
    color: #0a0e1a;
    border-color: rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .hero-actions .btn.btn-primary {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.25) !important;
    color: #0a0e1a !important;
}

[data-theme="light"] .hero-actions .btn.btn-primary:hover {
    background: var(--accent-gradient) !important;
    color: #000000 !important;
    border-color: #000000 !important;
}

[data-theme="light"] .hero-actions .btn.btn-outline {
    background: var(--accent-gradient) !important;
    border: 1px solid rgba(0, 0, 0, 0.8) !important;
    color: #050810 !important;
}

[data-theme="light"] .hero-actions .btn.btn-outline:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
    color: #0a0e1a !important;
}

[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: #0a0e1a;
    border-color: rgba(0, 0, 0, 0.15);
}

/* High contrast card hover borders in Day Mode */
[data-theme="light"] .card-glass:hover,
[data-theme="light"] .portfolio-item:hover,
[data-theme="light"] .skill-compact-card:hover,
[data-theme="light"] .capability-card:hover,
[data-theme="light"] .service-card:hover,
[data-theme="light"] .promo-card:hover {
    border-color: rgba(0, 140, 220, 0.85) !important;
    box-shadow: 0 10px 30px rgba(0, 140, 220, 0.22) !important;
}

[data-theme="light"] .nav-cta .btn {
    border-color: #ffffff !important;
}

[data-theme="light"] #header.scrolled {
    background: #f0f8ff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .nav-menu {
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 1024px) {
    [data-theme="light"] .nav-menu {
        background: #f0f8ff !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    }
}

[data-theme="light"] .tab-btn.active,
[data-theme="light"] .portfolio-tab-btn.active {
    color: #ffffff;
}

[data-theme="light"] .hero-image-glow {
    display: none !important;
    opacity: 0 !important;
}

[data-theme="light"] .hero-image-wrap {
    box-shadow: none !important;
    filter: none !important;
}

[data-theme="light"] .hero-image-fade {
    background: linear-gradient(to top,
            #f0f8ff 0%,
            rgba(240, 248, 255, 0.7) 40%,
            transparent 100%) !important;
}

[data-theme="light"] .hero-profile-img {
    filter: none !important;
    box-shadow: none !important;
    drop-shadow: none !important;
}

/* Modal Light Mode Overrides */
[data-theme="light"] .modal-overlay {
    background: rgba(240, 248, 255, 0.75);
}

[data-theme="light"] .modal-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 30px rgba(0, 140, 220, 0.15);
}

[data-theme="light"] .modal-title {
    color: #0a0e1a;
}

[data-theme="light"] .modal-desc {
    color: rgba(10, 14, 26, 0.75);
}

[data-theme="light"] .modal-close {
    color: rgba(10, 14, 26, 0.5);
}

[data-theme="light"] .modal-close:hover {
    color: #0a0e1a;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: var(--transition);
}

[data-theme="light"] .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.2);
}

.theme-toggle-btn:hover {
    transform: scale(1.08);
    border-color: var(--accent);
    color: var(--accent);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* === INTRO LOADER === */
#intro-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#intro-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ripple {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(0, 210, 255, 0.3);
    animation: ripple-expand 2s ease-out infinite;
}

.loader-ripple::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.3);
    animation: ripple-expand 2s ease-out infinite 0.5s;
}

@keyframes ripple-expand {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.loader-content {
    text-align: center;
    z-index: 1;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.3em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: loader-fadeIn 0.8s ease forwards;
}

.loader-line {
    height: 2px;
    background: var(--accent-gradient);
    width: 0;
    margin: 12px auto 0;
    border-radius: 2px;
    animation: loader-line-grow 1.2s ease 0.3s forwards;
}

@keyframes loader-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loader-line-grow {
    to {
        width: 100%;
    }
}

/* === MOBILE NOTICE === */
.mobile-notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9990;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mobile-notice-overlay.active {
    display: flex;
}

.mobile-notice-card {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 380px;
    text-align: center;
    position: relative;
    animation: modal-slide-up 0.4s ease;
}

@keyframes modal-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-notice-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.4rem;
    color: var(--text-secondary);
    padding: 4px 8px;
    transition: var(--transition);
}

.mobile-notice-close:hover {
    color: var(--text-primary);
}

.mobile-notice-icon {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.mobile-notice-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.mobile-notice-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* === PARTICLES CANVAS === */
#particles-bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    display: none;
}

/* === HERO SCROLL CANVAS === */
#hero-scroll-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    display: none;
}

/* === GLASSMORPHISM CARD === */
.card-glass {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
}

.card-glass:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 210, 255, 0.3) !important;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.15) !important;
    transform: translateY(-2px);
}

/* === BUTTONS === */
/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #050810;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.35);
}

.btn-primary:hover {
    background: rgba(0, 210, 255, 0.05) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25) !important;
    transform: translateY(-2px) !important;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass-hover);
}

.btn-outline:hover {
    background: rgba(0, 210, 255, 0.05) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25) !important;
    transform: translateY(-2px) !important;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(0, 210, 255, 0.05) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* Navbar Hire Me CTA */
.nav-cta .btn {
    position: relative;
    background: var(--accent-gradient) !important;
    color: #050810 !important;
    border: 1px solid #000000 !important;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3) !important;
    transition: var(--transition) !important;
    z-index: 1;
}

.nav-cta .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5) !important;
    filter: brightness(1.15) !important;
    color: #050810 !important;
}

.btn-small-cv {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* === HEADER === */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: transparent;
    transition: var(--transition);
}

#header.scrolled {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    top: 12px;
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto;
    left: 0;
    right: 0;
    border-radius: 50px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition);
}

.logo:hover .logo-text {
    filter: brightness(1.2);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.35);
}

.logo-text {
    background: linear-gradient(135deg, #00d2ff, #a855f7, #ff007f, #00ff88, #00d2ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGradientShift 4s ease infinite;
    transition: var(--transition);
}

.logo-dot {
    color: var(--accent-3);
    animation: logoDotCycle 4s ease infinite;
}

.logo-sub {
    color: #ffffff;
    font-size: 0.85rem;
}

@keyframes logoGradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes logoDotCycle {
    0%, 100% {
        color: #ff007f;
    }
    25% {
        color: #00d2ff;
    }
    50% {
        color: #a855f7;
    }
    75% {
        color: #00ff88;
    }
}

.nav-menu {
    margin-left: auto;
    margin-right: auto;
}

.nav-menu ul {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: rgba(0, 210, 255, 0.08);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === SECTION TITLES === */
.section-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 36px;
}

.section-title .sub-title {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.title-bar {
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* === SCROLL REVEAL === */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}



/* Common Section Styles */
section {
    position: relative;
    z-index: 1;
}



/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-content .fade-in:nth-child(1) {
    animation-delay: 1.9s;
}

.hero-content .fade-in:nth-child(2) {
    animation-delay: 2.1s;
}

.hero-content .fade-in:nth-child(3) {
    animation-delay: 2.3s;
}

.hero-content .fade-in:nth-child(4) {
    animation-delay: 2.5s;
}

.hero-content .fade-in:nth-child(5) {
    animation-delay: 2.7s;
}

.hero-content .fade-in:nth-child(6) {
    animation-delay: 2.9s;
}

.hero-image-wrap.fade-in {
    animation-delay: 2.0s;
    animation-name: fadeInScale;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 1;
    padding-top: var(--header-h);
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: flex-start;
    gap: 0 0;
    min-height: 100vh;
    padding-bottom: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 110px;
    padding-right: 16px;
    padding-bottom: 80px;
    height: 100%;
    min-height: 100vh;
    justify-content: center;
}

/* === HERO IMAGE === */
.hero-image-wrap {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    animation-delay: 0.4s;
}

.hero-image-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 55%;
    background: radial-gradient(ellipse at center top,
            rgba(0, 210, 255, 0.18) 0%,
            rgba(168, 85, 247, 0.10) 40%,
            transparent 70%);
    filter: blur(40px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-profile-img {
    position: relative;
    z-index: 1;
    width: 108%;
    max-width: 108%;
    height: 100vh;
    object-fit: contain;
    object-position: top center;
    display: block;
    filter: drop-shadow(0 0 50px rgba(0, 210, 255, 0.15));
    animation: heroImgFloat 6s ease-in-out infinite;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 95%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 95%);
    margin-top: -65px;
}

@keyframes heroImgFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Bottom fade — blends image into page background */
.hero-image-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top,
            var(--bg-primary) 0%,
            rgba(0, 0, 0, 0.8) 50%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    background: transparent;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.hero-availability::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px #00ff88;
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 16px #00ff88;
    }
}

.hero-heading-stack {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.hero-sub-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    background: var(--accent-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: none;
    margin-bottom: 8px;
    display: inline-block;
}

.hero-title-group {
    display: flex;
    flex-direction: column;
}

.hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7.2vw, 7.2rem);
    font-weight: 900;
    line-height: 0.85;
    background: linear-gradient(to right, #00d2ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.01em;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.hero-title-main::after {
    content: '';
    display: block;
    height: 0;
}

.hero-title-sub {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.4vw, 5.4rem);
    font-weight: 900;
    line-height: 0.85;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* Custom hero actions buttons - fully rounded */
.hero-actions .btn {
    position: relative;
    border-radius: 50px !important;
    box-shadow: none !important;
    font-size: 0.88rem;
    padding: 12px 28px !important;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
}

/* Explore Work button (primary) - normal styling */
/* Explore Work button (primary) - styled like social button */
.hero-actions .btn.btn-primary {
    background: var(--bg-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.hero-actions .btn.btn-primary:hover {
    background: var(--accent-gradient) !important;
    border-color: #000000 !important;
    color: #000000 !important;
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.25) !important;
    transform: translateY(-3px) !important;
}

/* Resume button (outline) - solid gradient like Hire Me with black border */
.hero-actions .btn.btn-outline {
    background: var(--accent-gradient) !important;
    border: 1px solid #000000 !important;
    color: #050810 !important;
}

.hero-actions .btn.btn-outline:hover {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.25) !important;
}

.hero-lead {
    max-width: 560px;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

/* Hero Social Links matching contact section but with brand gradient hover */
.hero-social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-social-link {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    background: var(--bg-card);
    transition: var(--transition);
}

.hero-social-link:hover {
    background: var(--accent-gradient) !important;
    color: #000000 !important;
    border-color: #000000 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.25);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-quick-stats {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

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

.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    z-index: 1;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* Mobile scroll hint */
.scroll-hint-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.scroll-hint-mouse {
    width: 18px;
    height: 28px;
    border: 2px solid var(--text-muted);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.scroll-hint-wheel {
    width: 3px;
    height: 5px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}


/* === ABOUT SECTION === */
.about-section {
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.about-info {
    padding: 40px;
}

.about-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-info p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.strengths-list {
    margin-top: 24px;
}

.strengths-list h4 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.strengths-list ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.strengths-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.strengths-list li i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 0.85rem;
}

/* Read more toggle */
.read-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    margin-top: 16px;
    transition: var(--transition);
    user-select: none;
}

.read-more-toggle:hover {
    opacity: 0.8;
}

.read-more-toggle i {
    transition: transform 0.3s ease;
}

.read-more-toggle.open i {
    transform: rotate(180deg);
}

/* Collapsible */
.collapsible-mobile {
    overflow: hidden;
    max-height: 2000px;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 1;
}

.collapsible-mobile.collapsed {
    max-height: 0;
    opacity: 0;
}

/* About meta grid */
.about-meta-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edu-card,
.lang-card {
    padding: 28px;
}

.card-heading-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.card-heading-icon i {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.meta-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-glass);
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-duration {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.meta-item h5 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.meta-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Language dots */
.lang-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lang-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lang-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.lang-info span:first-child {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lang-level {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lang-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-glass);
    border: 1px solid var(--border-glass-hover);
    transition: var(--transition);
}

.dot.filled {
    background: var(--accent-gradient);
    border-color: transparent;
}

/* === SERVICES SECTION === */
.services-section {
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    padding: 32px 28px;
    transition: var(--transition);
    cursor: default;
}

.service-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
    display: inline-block;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === EXPERIENCE SECTION === */
.experience-section {
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent);
}

.timeline-item {
    position: relative;
.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

/* Bright scrolling dot on timeline */
.timeline-scroll-dot {
    position: absolute;
    left: 22px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent);
    transform: translateX(-6px);
    transition: top 0.2s ease-out;
}

}

.timeline-marker-logo {
    position: absolute;
    left: -49px;
    top: 28px;
}

.company-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--border-glass);
    background: var(--bg-card);
}

.company-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.85) saturate(0.7);
}

.company-initial {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.timeline-content {
    padding: 28px 32px;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.timeline-location-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.company-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-geo {
    display: inline-flex;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 210, 255, 0.2);
    letter-spacing: 0.05em;
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.timeline-date i {
    color: var(--accent-2);
}

.timeline-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0 8px;
}

.timeline-details li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.timeline-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.7rem;
    top: 2px;
}

/* === SKILLS SECTION === */
.skills-section {
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

.skills-tab-nav {
    position: relative;
    display: inline-flex;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 6px;
    margin: 0 auto 48px;
    gap: 4px;
    display: flex;
    justify-content: center;
    max-width: fit-content;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.tab-slider-indicator {
    position: absolute;
    background: var(--accent-gradient);
    border-radius: 50px;
    height: calc(100% - 12px);
    top: 6px;
    left: 6px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.tab-btn {
    position: relative;
    z-index: 1;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn.active {
    color: #050810;
}

.skills-tab-content {
    display: none;
}

.skills-tab-content.active {
    display: block;
    animation: tabFadeIn 0.4s ease;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skills-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.skill-compact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    transition: var(--transition);
    cursor: default;
    opacity: 0;
    transform: translateY(12px);
    animation: cardEntrance 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.skill-compact-card:hover {
    border-color: rgba(0, 210, 255, 0.25);
    transform: translateY(-3px);
}

.skill-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.skill-icon svg {
    width: 100%;
    height: 100%;
}

.FA-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 12px;
}

.skill-details {
    flex: 1;
    min-width: 0;
}

.skill-details h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.skill-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.capability-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    transition: var(--transition);
    cursor: default;
    opacity: 0;
    transform: translateY(12px);
    animation: cardEntrance 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.capability-card:hover {
    border-color: rgba(0, 210, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cap-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: var(--transition);
}

.capability-card:hover .cap-icon {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.08);
}

.cap-body {
    flex: 1;
    min-width: 0;
}

.cap-body h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.cap-body p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 12px;
}

.cap-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cap-tags span {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: rgba(0, 210, 255, 0.08);
    color: var(--accent);
    border: 1px solid rgba(0, 210, 255, 0.2);
    transition: var(--transition);
}

.capability-card:hover .cap-tags span {
    background: rgba(0, 210, 255, 0.12);
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
    padding: 40px 0 80px;
    position: relative;
    z-index: 1;
}

.portfolio-external-promo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

.promo-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    transition: var(--transition);
}

.card-blue-glow:hover {
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.15);
}

.card-purple-glow:hover {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.15);
}

.promo-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-text h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.promo-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.portfolio-tabs {
    position: relative;
    display: flex;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 6px;
    max-width: fit-content;
    margin: 0 auto 40px;
    gap: 4px;
}

.portfolio-slider-indicator {
    position: absolute;
    background: var(--accent-gradient);
    border-radius: 50px;
    height: calc(100% - 12px);
    top: 6px;
    left: 6px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.portfolio-tab-btn {
    position: relative;
    z-index: 1;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.portfolio-tab-btn.active {
    color: #fff;
}

.portfolio-grid-wrap {
    overflow: hidden;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

/* also apply card-glass when portfolio-item is an anchor */
a.portfolio-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-item {
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes portfolioEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Portfolio items visible by default; JS will hide non-active tab items */
.portfolio-item {
    display: block;
}

a.portfolio-item {
    display: block;
}

.portfolio-item.hidden {
    display: none !important;
}

/* Real image thumbnails */
.portfolio-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    border-radius: inherit;
}

.portfolio-item:hover .portfolio-thumb-img {
    transform: scale(1.05);
}

/* Decorative inner for placeholder cards */
.portfolio-thumb-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.portfolio-project-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.18);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-project-icon {
    color: rgba(0, 210, 255, 0.5);
    transform: scale(1.1);
}

.portfolio-project-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 120px;
}

.portfolio-project-lines span {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.portfolio-project-lines span:nth-child(1) {
    width: 100%;
}

.portfolio-project-lines span:nth-child(2) {
    width: 75%;
}

.portfolio-project-lines span:nth-child(3) {
    width: 55%;
}

.portfolio-item:hover .portfolio-project-lines span {
    background: rgba(0, 210, 255, 0.3);
}

.portfolio-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 62%;
    overflow: hidden;
}

/* Background layer for non-image (gradient) cards */
.portfolio-card-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

.project-thumb-placeholder {
    position: absolute;
    inset: 0;
    padding-bottom: 0;
    display: flex;
    align-items: flex-end;
    border-radius: inherit;
}

.project-info-overlay {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.project-info-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.project-info-overlay p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tags span {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(0, 210, 255, 0.2);
    color: var(--accent);
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.portfolio-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-icon {
    opacity: 1;
    transform: scale(1);
}

.portfolio-more-actions {
    text-align: center;
    margin-top: 40px;
}

/* === BRANDS MARQUEE === */
.brands-section {
    padding: 25px 0 60px;
    position: relative;
    z-index: 1;
}

.marquee-container {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

.marquee-left {
    animation: marquee-left 30s linear infinite;
}

.marquee-right {
    animation: marquee-right 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    flex-shrink: 0;
    transition: var(--transition);
    min-width: 130px;
}

.brand-logo:hover {
    border-color: rgba(0, 210, 255, 0.3);
    background: var(--bg-card-hover);
}

.brand-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.7) saturate(0);
    transition: var(--transition);
}

.brand-logo:hover img {
    filter: brightness(1) saturate(1);
}

.brand-logo span {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    white-space: nowrap;
}

.brand-logo:hover span {
    color: var(--accent);
}

/* === CONTACT SECTION === */
.contact-section {
    padding: 40px 0 0;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 80px;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-br {
    display: none;
}

.contact-lead {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.details-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
}

.item-icon {
    width: 42px;
    height: 42px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-content span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.item-content a,
.item-content p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.item-content a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    background: var(--bg-card);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gradient) !important;
    color: #000000 !important;
    border-color: #000000 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.25);
}

/* Contact Form */
.contact-form-wrap {
    padding: 36px;
    position: relative;
}

.contact-form-wrap h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(0, 210, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.1);
}

.form-feedback {
    font-size: 0.95rem;
    text-align: center;
    padding: 24px;
    border-radius: var(--radius);
    display: none;
}

.form-feedback.success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 48px);
    max-width: 320px;
    height: auto;
    min-height: 180px;
    padding: 24px;
    background: rgba(5, 8, 16, 0.98) !important;
    border: 2px solid var(--accent) !important;
    border-radius: var(--radius);
    backdrop-filter: blur(15px);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 210, 255, 0.35);
    animation: fadeIn 0.4s ease;
}

/* Gradient success text styled like hero logo */
.form-feedback.success .success-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    text-align: center;
}

.form-feedback.success .success-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
}

.form-feedback.error {
    display: block;
    color: #ff6347;
    background: rgba(255, 99, 71, 0.1);
    border: 1px solid rgba(255, 99, 71, 0.2);
}

/* === THANK YOU BANNER === */
/* === THANK YOU BANNER === */
.thank-you-section {
    position: relative;
    padding: 30px 0 40px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thank-you-glow-backdrop {
    position: absolute;
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 100%);
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.thank-you-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.thank-you-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: float-badge 3s ease-in-out infinite;
}

.thank-you-badge i {
    color: var(--accent);
}

.thank-you-title {
    font-family: var(--font-hand);
    font-size: clamp(3.8rem, 11vw, 7.5rem);
    font-weight: 500;
    line-height: 1.1;
    background: linear-gradient(to right, #00d2ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    text-transform: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.thank-you-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Decorative sparks */
.thank-you-sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.spark {
    position: absolute;
    font-size: 1.2rem;
    color: var(--accent);
    opacity: 0.6;
    animation: float-spark 4s ease-in-out infinite;
}

.spark.s1 {
    top: -10px;
    left: 10%;
    animation-delay: 0s;
}

.spark.s2 {
    bottom: 20px;
    right: 8%;
    color: #a855f7;
    animation-delay: 1.5s;
}

.spark.s3 {
    top: 40px;
    right: 15%;
    color: #fff;
    font-size: 0.8rem;
    animation-delay: 3s;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes float-spark {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-10px) rotate(45deg);
        opacity: 0.8;
    }
}

/* === FOOTER === */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 28px 0;
    position: relative;
    z-index: 1;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

footer p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* === FLOATING WHATSAPP FAB === */
#whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 900;
    transition: var(--transition);
}

#whatsapp-fab:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-external-promo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    :root {
        --header-h: 64px;
    }

    #header {
        height: var(--header-h);
    }

    #header.scrolled {
        width: calc(100% - 24px);
        top: 8px;
    }

    .header-container {
        padding: 0 16px;
        gap: 12px;
        justify-content: space-between;
    }

    .logo {
        font-size: 1.05rem;
    }

    .nav-cta {
        margin-left: auto;
        gap: 0 !important;
    }

    .nav-cta .btn {
        display: none !important;
    }

    .theme-toggle-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
        z-index: 1001;
        margin-left: 6px;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 1px solid var(--border-glass);
        padding: 24px 20px 32px;
        transform: translateY(-130%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }

    .nav-link {
        display: inline-block;
        padding: 12px 24px;
        border-radius: 50px;
        width: 100%;
        max-width: 280px;
        font-size: 0.98rem;
    }

    .hero-title-group {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
        white-space: nowrap;
        width: 100%;
        max-width: 100%;
    }

    .hero-title-main,
    .hero-title-sub {
        font-size: clamp(1.55rem, 7.2vw, 3.2rem) !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        align-items: center;
        padding-top: calc(var(--header-h) + 16px);
        padding-bottom: 48px;
        min-height: 100vh;
        gap: 0;
    }

    .hero-content {
        order: 2;
        padding-top: 16px;
        padding-bottom: 0;
        min-height: unset;
        padding-right: 0;
        position: relative;
        z-index: 2;
    }

    .hero-lead {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    .hero-image-wrap {
        order: 1;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: unset;
        position: relative;
        overflow: hidden;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .hero-profile-img {
        width: 100%;
        height: auto;
        max-height: 480px;
        object-fit: contain;
        object-position: bottom center;
        animation: none;
    }

    .hero-image-glow {
        display: none;
    }

    .hero-actions {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1;
        justify-content: center;
        padding: 12px 8px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .scroll-indicator {
        display: none;
    }

    .scroll-hint-mobile {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 44px;
    }

    .skills-tab-nav {
        flex-wrap: wrap;
        border-radius: var(--radius);
        max-width: 100%;
        gap: 8px;
        justify-content: center;
    }

    .tab-slider-indicator {
        display: none !important;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
        border-radius: 50px;
    }

    .tab-btn.active {
        background: var(--accent-gradient) !important;
        color: #050810 !important;
    }

    .skills-compact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .capability-card {
        padding: 20px;
    }

    .portfolio-tabs {
        flex-wrap: wrap;
        border-radius: var(--radius);
        max-width: 100%;
        gap: 8px;
        justify-content: center;
    }

    .portfolio-slider-indicator {
        display: none !important;
    }

    .portfolio-tab-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .portfolio-tab-btn.active {
        background: var(--accent-gradient) !important;
        color: #050810 !important;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    /* Mobile collapsibles */
    .collapsible-mobile {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }

    .collapsible-mobile.open {
        max-height: 2000px;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .hero-title-main,
    .hero-title-sub {
        font-size: clamp(1.4rem, 6.8vw, 2.2rem) !important;
    }

    .hero-availability {
        font-size: 0.72rem;
    }

    .skills-compact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .skill-compact-card .skill-tag {
        display: none !important;
    }

    .skill-compact-card {
        background: transparent !important;
        border: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 8px 4px;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 6px;
        width: 100%;
        overflow: hidden;
    }

    .skill-compact-card .skill-details {
        width: 100%;
        overflow: hidden;
    }

    .skill-compact-card h4 {
        font-size: 0.78rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        margin: 0;
    }

    .skill-compact-card .skill-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin: 0 auto;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .capability-card {
        flex-direction: column;
        gap: 12px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .promo-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }

    .promo-icon {
        margin: 0 auto;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .hero-actions .btn {
        flex: 1 !important;
        padding: 12px 6px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }

    .hero-quick-stats {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .stat-item {
        flex: 1 !important;
        text-align: center !important;
    }

    .stat-num {
        font-size: 1.4rem !important;
    }

    .stat-label {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .contact-info h3 {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
    }

    .mobile-br {
        display: block !important;
    }

    .timeline::before {
        left: 16px;
    }

    .timeline {
        padding-left: 36px;
    }

    .timeline-marker-logo {
        left: -36px;
    }

    .company-logo-wrap {
        width: 36px;
        height: 36px;
    }

    .marquee-container {
        display: block !important;
    }
}

/* === SKILLS SHOW MORE TOGGLE === */
.skills-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    animation: fadeIn 0.4s ease;
}

.skills-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    justify-content: center;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent), var(--accent-2));
    border-radius: 3px;
}

/* === SELECTION === */
::selection {
    background: rgba(0, 210, 255, 0.25);
    color: var(--text-primary);
}

/* === CONFIRMATION MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: rgba(15, 20, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.15);
    border-radius: 20px;
    padding: 40px 32px 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-secondary, #94a3b8);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary, #ffffff);
    transform: scale(1.1);
}

.modal-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.4));
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.modal-desc {
    font-size: 0.98rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.6;
    margin-bottom: 28px;
}

.modal-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 12px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    min-width: 140px;
}

@media (max-width: 480px) {
    .modal-card {
        padding: 32px 20px 24px;
        border-radius: 16px;
    }

    .modal-icon {
        font-size: 2.8rem;
        margin-bottom: 12px;
    }

    .modal-title {
        font-size: 1.35rem;
    }

    .modal-desc {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    .modal-btn {
        padding: 10px 28px;
        font-size: 0.9rem;
        min-width: 120px;
    }
}