/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme (Default) */
    --primary-bg: #0a0e27;
    --secondary-bg: #121633;
    --card-bg: rgba(26, 31, 58, 0.9);
    --navbar-bg: rgba(10, 14, 39, 0.95);

    --primary-color: #00d9ff;
    --secondary-color: #ff006e;
    --accent-color: #8b5cf6;

    --text-main: #f5e8e8;
    --text-muted: #a1a1a5;
    --text-contrast: #ffffff;

    --border-color: rgba(0, 217, 255, 0.2);
    --shadow-color: rgba(0, 217, 255, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d9ff 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #00d9ff 0%, #ff006e 100%);
    --gradient-bg: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 50%, #1a1f3a 100%);

    --transition-speed: 0.4s;
}

[data-theme="light"] {
    --primary-bg: #f8fafc;
    --secondary-bg: #f1f5f9;
    --card-bg: rgba(255, 255, 255, 0.9);
    --navbar-bg: rgba(255, 255, 255, 0.95);

    --primary-color: #0ea5e9;
    --secondary-color: #db2777;
    --accent-color: #7c3aed;

    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-contrast: #0f172a;

    --border-color: rgba(14, 165, 233, 0.1);
    --shadow-color: rgba(14, 165, 233, 0.1);

    --gradient-bg: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 14px;
    /* Slightly smaller base for mobile */
    transition: background var(--transition-speed), color var(--transition-speed);
}

html {
    scroll-behavior: smooth;
}

/* ==================== Scrollbar Styling ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

/* ==================== Intro Screen ==================== */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.05) 0%, transparent 60%);
    animation: intro-breathe 4s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes intro-breathe {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.intro-name {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 20px var(--shadow-color);
    min-height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-name::after {
    content: '|';
    color: var(--primary-color);
    animation: intro-blink 0.7s infinite;
    margin-left: 5px;
}

@keyframes intro-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.intro-role {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.intro-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.4s;
    font-weight: 500;
}

.intro-content.show-elements .intro-role,
.intro-content.show-elements .intro-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.intro-loader {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.intro-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--gradient-secondary);
    animation: intro-loading 2.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes intro-loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@media (max-width: 768px) {
    .intro-name {
        font-size: 2.5rem;
    }
    .intro-role {
        font-size: 1.4rem;
    }
    .intro-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .intro-name {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    .intro-role {
        font-size: 1.1rem;
    }
    .intro-subtitle {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-screen {
        transition: opacity 0.1s;
    }
    .intro-overlay {
        animation: none;
    }
    .intro-loader::after {
        animation: none;
        width: 100%;
    }
}

/* ==================== Premium Navbar ==================== */
.premium-navbar {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1100px;
    z-index: 1050;
    background: rgba(10, 14, 39, 0.72);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(0, 217, 255, 0.13);
    border-radius: 60px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 0 0 1px rgba(0,217,255,0.04);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    animation: pnav-drop 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes pnav-drop {
    from { top: -80px; opacity: 0; }
    to   { top: 14px;  opacity: 1; }
}

.premium-navbar.scrolled {
    background: rgba(10, 14, 39, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 14px 44px rgba(0,0,0,0.42), 0 0 24px rgba(0,217,255,0.09);
    border-color: rgba(0,217,255,0.22);
    top: 8px;
}

[data-theme="light"] .premium-navbar {
    background: rgba(255,255,255,0.78);
    border-color: rgba(14,165,233,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

[data-theme="light"] .premium-navbar.scrolled {
    background: rgba(255,255,255,0.94);
}

/* Inner layout */
.pnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.4rem;
    gap: 1rem;
}

/* Logo */
.pnav-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    flex-shrink: 0;
}

.pnav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-secondary);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 0 14px rgba(0,217,255,0.45);
    transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
}

.pnav-logo:hover .pnav-logo-icon {
    transform: rotate(360deg) scale(1.12);
    box-shadow: 0 0 26px rgba(0,217,255,0.75);
}

.pnav-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Desktop nav links */
.pnav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pnav-item {
    animation: pnav-item-in 0.5s cubic-bezier(0.4,0,0.2,1) both;
    animation-delay: calc(var(--i) * 0.07s + 0.35s);
}

@keyframes pnav-item-in {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pnav-link {
    display: flex;
    align-items: center;
    gap: 0; /* Gap managed by span margin to animate properly */
    padding: 0.42rem 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    letter-spacing: 0.2px;
}

.pnav-link span {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.pnav-link i {
    font-size: 0.95rem; /* slightly larger icon */
    transition: all 0.3s ease;
    opacity: 0.7;
}

.pnav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: 10px;
    box-shadow: 0 0 6px var(--primary-color);
    transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
}

.pnav-link:hover {
    color: var(--primary-color);
    background: rgba(0,217,255,0.08);
    transform: translateY(-2px);
}

.pnav-link:hover span, .pnav-link.active span {
    max-width: 100px;
    opacity: 1;
    margin-left: 0.5rem;
}

.pnav-link:hover i {
    opacity: 1;
    color: var(--primary-color);
    filter: drop-shadow(0 0 4px var(--primary-color));
}

.pnav-link:hover::after { width: 50%; }

.pnav-link.active {
    color: var(--primary-color);
    background: rgba(0,217,255,0.1);
}

.pnav-link.active i { opacity: 1; color: var(--primary-color); filter: drop-shadow(0 0 4px var(--primary-color)); }

.pnav-link.active::before {
    content: '';
    position: absolute;
    top: 7px;
    right: 7px;
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 7px var(--primary-color);
    animation: pnav-dot 2s ease infinite;
}

@keyframes pnav-dot {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.4; transform:scale(0.6); }
}

.pnav-link.active::after { width: 50%; }

/* Actions */
.pnav-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.pnav-theme-btn {
    background: rgba(0,217,255,0.08);
    border: 1px solid rgba(0,217,255,0.2);
    color: var(--primary-color);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.pnav-theme-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(20deg);
    box-shadow: 0 0 14px rgba(0,217,255,0.55);
}

/* Hamburger */
.pnav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: rgba(0,217,255,0.07);
    border: 1px solid rgba(0,217,255,0.18);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pnav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    transform-origin: center;
}

.pnav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pnav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.pnav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pnav-hamburger:hover {
    background: rgba(0,217,255,0.14);
    box-shadow: 0 0 12px rgba(0,217,255,0.22);
}

/* Mobile Overlay */
.pnav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.pnav-overlay.active { opacity: 1; visibility: visible; }

/* Mobile Panel */
.pnav-mobile {
    position: fixed;
    top: 0;
    right: -320px;
    width: 290px;
    height: 100dvh;
    background: rgba(10,14,39,0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(0,217,255,0.14);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transition: right 0.42s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
}

.pnav-mobile.open { right: 0; }

[data-theme="light"] .pnav-mobile {
    background: rgba(248,250,252,0.97);
    border-left-color: rgba(14,165,233,0.14);
}

.pnav-mobile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0,217,255,0.1);
}

.pnav-mobile-close {
    background: rgba(255,0,110,0.1);
    border: 1px solid rgba(255,0,110,0.22);
    color: var(--secondary-color);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.pnav-mobile-close:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: rotate(90deg);
}

.pnav-mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.pnav-mobile-links li {
    opacity: 0;
    transform: translateX(20px);
}

.pnav-mobile.open .pnav-mobile-links li {
    animation: mobile-link-in 0.4s ease both;
    animation-delay: calc(var(--mi) * 0.06s + 0.1s);
}

@keyframes mobile-link-in {
    to { opacity: 1; transform: translateX(0); }
}

.pnav-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.82rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.pnav-mobile-link i {
    width: 18px;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.pnav-mobile-link:hover,
.pnav-mobile-link.active {
    color: var(--primary-color);
    background: rgba(0,217,255,0.08);
    border-color: rgba(0,217,255,0.14);
    transform: translateX(6px);
}

.pnav-mobile-footer {
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0,217,255,0.09);
    text-align: center;
}

.pnav-mobile-footer p {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .pnav-links { display: none; }
    .pnav-hamburger { display: flex; }
    .premium-navbar { width: calc(100% - 24px); border-radius: 20px; }
}

@media (max-width: 480px) {
    .premium-navbar { top: 8px; border-radius: 14px; }
    .pnav-logo-text { font-size: 1.1rem; }
    .premium-navbar.scrolled { top: 5px; }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-secondary);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 0 14px rgba(0, 217, 255, 0.5);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 0 22px rgba(0, 217, 255, 0.8);
}

.glow-text {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color),
        0 0 30px var(--primary-color),
        0 0 45px var(--primary-color);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 15px var(--neon-blue),
            0 0 30px var(--neon-blue),
            0 0 45px var(--neon-blue);
    }

    50% {
        text-shadow: 0 0 20px var(--neon-blue),
            0 0 40px var(--neon-blue),
            0 0 60px var(--neon-blue);
    }
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    margin: 0 0.2rem;
    padding: 0.5rem 0.9rem !important;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 8px;
    letter-spacing: 0.3px;
}

.nav-icon {
    font-size: 0.85rem;
    opacity: 0.75;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: all 0.35s ease;
    transform: translateX(-50%);
    border-radius: 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(0, 217, 255, 0.07);
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    opacity: 1;
    color: var(--primary-color);
    filter: drop-shadow(0 0 4px var(--primary-color));
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Hire Me Button */
.btn-hire-me {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.3rem;
    background: var(--gradient-secondary);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    transition: all 0.35s ease;
    box-shadow: 0 4px 18px rgba(0, 217, 255, 0.35);
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;
}

.btn-hire-me::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-hire-me:hover::before {
    width: 220px;
    height: 220px;
}

.btn-hire-me:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 28px rgba(0, 217, 255, 0.55);
    color: #fff !important;
}

.btn-cv {
    background: var(--gradient-secondary);
    color: var(--text-white);
    padding: 0.6rem 1.5rem;
    /* Reduced padding from 0.8rem 2rem */
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    /* Reduced from 1.1rem */
    border: none;
    transition: all 0.4s ease;
    /* box-shadow: 0 4px 20px rgba(1, 9, 10, 0.688); */
    position: relative;
    overflow: hidden;
}

.btn-cv::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cv:hover::before {
    width: 300px;
    height: 300px;
}

.btn-cv:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px var(--shadow-color);
    color: var(--text-contrast);
}

/* ==================== Hero Section ==================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    /* Reduced for mobile */
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 217, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: breathe 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: breathe 8s ease-in-out infinite reverse;
}

@keyframes breathe {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Profile Image Container */
.profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-image-wrapper {
    position: relative;
    width: 180px;
    /* Mobile base */
    height: 180px;
    /* Mobile base */
    margin: 0 auto 1.5rem;
    /* Centered and with margin bottom */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 6px solid var(--primary-color);
    box-shadow: 0 0 40px var(--primary-color),
        0 0 80px rgba(0, 217, 255, 0.5),
        0 0 120px rgba(0, 217, 255, 0.3),
        inset 0 0 40px rgba(0, 217, 255, 0.3);
}

.glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 108%;
    /* Reduced from 115% */
    height: 108%;
    border-radius: 50%;
    border: 4px solid transparent;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink), var(--neon-purple), var(--neon-green));
    background-clip: padding-box;
    animation: rotate 4s linear infinite;
    z-index: 1;
}

.glow-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink), var(--neon-purple), var(--neon-green));
    filter: blur(20px);
    opacity: 0.8;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Hero Content */
.hero-content {
    padding-left: 0;
    text-align: center;
    /* Centered for mobile */
    position: relative;
    z-index: 3;
}

.greeting {
    font-size: 2rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 0.8rem;
    animation: fadeInUp 1s ease;
}

.name {
    font-size: 1.8rem;
    /* Mobile base */
    /* Even more compact for mobile */
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    line-height: 1.2;
    animation: fadeInUp 1.2s ease;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); Removed to allow gradient bg clip */
}

.static-txt-anim {
    background: linear-gradient(to right,
            var(--text-main) 0%,
            var(--primary-color) 20%,
            var(--text-main) 40%,
            var(--text-main) 100%);
    background-size: 200% auto;
    color: var(--text-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.role {
    font-size: 1.2rem;
    /* Mobile base */
    /* More balanced for mobile */
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.4s ease;
}

.gradient-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
    font-size: 2rem;
    /* Scaled down */
}

@keyframes gradientShift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(30deg);
    }
}

.typing-text {
    position: relative;
    display: inline-block;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -15px;
    animation: blink 0.7s infinite;
    color: var(--neon-blue);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.description {
    font-size: 1.1rem;
    /* Scaled down */
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 100%;
    /* Full width on mobile */
    animation: fadeInUp 1.6s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    /* Centered for mobile */
    flex-wrap: wrap;
    animation: fadeInUp 1.8s ease;
}

.btn-primary-glow,
.btn-secondary-glow {
    padding: 0.8rem 2rem;
    /* Reduced padding */
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    /* Reduced from 1.2rem */
    border: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.btn-primary-glow {
    background: var(--gradient-secondary);
    color: var(--text-contrast);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-glow:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary-glow:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 217, 255, 0.7);
    color: var(--text-white);
}

.btn-secondary-glow {
    background: transparent;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.btn-secondary-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-secondary);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-secondary-glow:hover::before {
    width: 100%;
}

.btn-secondary-glow:hover {
    color: var(--text-white);
    border-color: var(--neon-pink);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(255, 0, 110, 0.5);
}



/* ==================== Hero Background Animation ==================== */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-icon {
    position: absolute;
    top: -50px;
    background: transparent;
    color: rgba(0, 217, 255, 0.1);
    font-size: 2rem;
    animation: dropAndFloat linear forwards;
    z-index: 0;
}

[data-theme="light"] .hero-bg-icon {
    color: rgba(14, 165, 233, 0.15);
    /* More visible in light mode */
}

@keyframes dropAndFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(120vh) rotate(360deg);
        opacity: 0;
    }
}

/* ==================== Stats Section ==================== */
.stats-section {
    padding: 80px 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(15px);
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem 1rem;
    /* Reduced padding */
    border-radius: 15px;
    /* Reduced from 20px */
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.stat-card:hover::after {
    width: 500px;
    height: 500px;
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--neon-blue);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4),
        0 0 60px rgba(0, 217, 255, 0.2);
}

.stat-card:hover::before {
    opacity: 0.15;
}

.stat-icon {
    font-size: 2.2rem;
    /* Reduced from 3rem */
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.2) rotateY(360deg);
}

.stat-number {
    font-size: 2.2rem;
    /* Reduced from 2.8rem */
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px var(--shadow-color);
}

.stat-label {
    font-size: 0.9rem;
    /* Reduced from 1rem */
    color: var(--text-muted);
    font-weight: 600;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

/* ==================== Section Padding ==================== */
.section-padding {
    padding: 40px 15px;
    /* Mobile base */
    /* Reduced from 120px for mobile-first */
}

.bg-darker {
    background: rgba(18, 22, 51, 0.6);
    border-top: 1px solid var(--border-color);
    transition: background var(--transition-speed);
}

[data-theme="light"] .bg-darker {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==================== Section Title ==================== */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    /* Reduced further for mobile-first */
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    /* Mobile base */
    /* Reduced from 4rem */
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.section-title p {
    font-size: 0.95rem;
    /* Slightly smaller for mobile */
    color: var(--text-muted);
    font-weight: 500;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 10px;
}

.section-title.no-line::after {
    display: none;
}

/* ==================== About Section ==================== */
.about-content h3 {
    font-size: 1.8rem;
    /* Reduced from 2.5rem */
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.2rem;
    text-shadow: 0 0 10px var(--shadow-color);
}

.about-content p {
    font-size: 1.1rem;
    /* Reduced from 1.25rem */
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-gray);
    font-size: 1rem;
    background: var(--shadow-color);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.2);
}

.info-item i {
    color: var(--neon-blue);
    font-size: 1.6rem;
    width: 40px;
    text-align: center;
}

/* Skills Progress Bars */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.skill-item {
    position: relative;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.skill-bar {
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.skill-progress {
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 10px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.6),
        0 0 30px rgba(0, 217, 255, 0.3);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ==================== Skills Cards ==================== */
.skill-card {
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        var(--primary-color), 
        var(--secondary-color),
        transparent
    );
    animation: rotate-gradient 3s linear infinite;
    z-index: -2;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--secondary-bg);
    border-radius: 23px;
    z-index: -1;
    transition: all 0.3s ease;
}

.skill-card:hover::after {
    background: var(--primary-bg);
}

.skill-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.skill-card i {
    font-size: 3.5rem;
    /* Reduced from 5rem */
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
    display: inline-block;
}

.skill-card:hover i {
    transform: scale(1.2) rotateZ(360deg);
}

.skill-card h4 {
    font-size: 1.4rem;
    /* Reduced from 1.6rem */
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}

/* ==================== Theme Toggle Button ==================== */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    padding: 0;
}

@media (min-width: 992px) {
    .theme-toggle {
        width: 40px;
        height: 40px;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Space between theme button and toggler */
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--shadow-color);
}

[data-theme="light"] .navbar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .logo .glow-text {
    text-shadow: none;
}

.service-card {
    padding: 2rem;
    /* Reduced from 3rem */
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        var(--primary-color), 
        var(--secondary-color),
        transparent
    );
    animation: rotate-gradient 3s linear infinite;
    z-index: -2;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--secondary-bg);
    border-radius: 18px;
    z-index: -1;
    transition: all 0.3s ease;
}

.service-card:hover::after {
    background: var(--primary-bg);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 3.2rem;
    /* Reduced from 4.5rem */
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotateY(360deg);
}

.service-card h4 {
    font-size: 1.5rem;
    /* Reduced from 1.8rem */
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 1rem;
    /* Reduced from 1.15rem */
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* ==================== Portfolio Section ==================== */
#portfolio {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

#portfolio .section-title h2 {
    color: var(--text-main);
}

#portfolio .section-title p {
    color: var(--text-muted);
}

#portfolio .portfolio-info {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

#portfolio .portfolio-info h4 {
    color: var(--text-main);
}

#portfolio .portfolio-info p {
    color: var(--text-muted);
}

#portfolio .portfolio-card {
    background: var(--card-bg);
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
}

#portfolio .portfolio-card:hover {
    box-shadow: 0 20px 40px var(--shadow-color);
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 20px var(--shadow-color);
    border-color: var(--primary-color);
}

.portfolio-img {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 1.2rem;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.portfolio-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-info h4 {
    color: var(--primary-color);
}

.portfolio-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Overlay for buttons - simplified */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 260px;
    /* Match image height */
    background: rgba(10, 14, 39, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay .btn {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.portfolio-card:hover .portfolio-overlay .btn {
    transform: scale(1);
    opacity: 1;
}

/* ==================== Contact Section ==================== */
.contact-info {
    background: var(--card-bg);
    padding: 2rem;
    /* Reduced from 3rem */
    border-radius: 20px;
    border: 2px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.contact-info h3 {
    font-size: 1.8rem;
    /* Reduced from 2.5rem */
    font-weight: 800;
    color: var(--text-white);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.contact-info p {
    color: var(--text-muted);
    line-height: 2;
    font-size: 1.15rem;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    /* Reduced from 2rem */
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: var(--shadow-color);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.contact-item:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

.contact-item i {
    font-size: 1.6rem;
    /* Reduced from 2rem */
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.3rem;
}

.contact-item h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.social-links a {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(255, 0, 110, 0.2) 100%);
    border-radius: 50%;
    color: var(--neon-blue);
    font-size: 1.5rem;
    transition: all 0.4s ease;
    border: 2px solid rgba(0, 217, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-secondary);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-links a:hover::before {
    width: 100px;
    height: 100px;
}

.social-links a:hover {
    color: var(--text-contrast);
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--secondary-color);
}

.social-links a i {
    position: relative;
    z-index: 2;
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    /* Reduced from 3rem */
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    color: var(--text-main);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    transition: all var(--transition-speed) ease;
    font-size: 1.1rem;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 0.3rem rgba(0, 217, 255, 0.3),
        0 0 20px rgba(0, 217, 255, 0.2);
    color: var(--text-white);
    transform: scale(1.02);
}

.contact-form .form-control::placeholder {
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* ==================== Footer ==================== */
.footer {
    background: rgba(10, 14, 39, 0.98);
    padding: 2.5rem 0;
    border-top: 2px solid rgba(0, 217, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.footer p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
    /* Reduced from 1.1rem */
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.footer i {
    color: var(--neon-pink);
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ==================== FULLY RESPONSIVE DESIGN ==================== */

/* ---- Extra Small: max 479px (small phones) ---- */
@media (max-width: 479px) {

    /* Navbar */
    .navbar {
        padding: 0.8rem 0;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .nav-link {
        font-size: 0.9rem;
        margin: 0;
        padding: 0.4rem 0.8rem !important;
    }

    /* Hero */
    .hero-section {
        padding: 90px 0 50px;
        text-align: center;
    }
    .profile-image-wrapper {
        width: 150px;
        height: 150px;
        margin: 0 auto 1.5rem;
    }
    .greeting {
        font-size: 1.2rem;
    }
    .name {
        font-size: 1.6rem;
    }
    .role {
        font-size: 1rem;
    }
    .gradient-text {
        font-size: 1rem;
    }
    .description {
        font-size: 0.9rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    .btn-primary-glow,
    .btn-secondary-glow,
    .btn-cv {
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }

    /* Section */
    .section-padding {
        padding: 40px 0;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .section-title p {
        font-size: 0.85rem;
    }

    /* About */
    .about-content h3 {
        font-size: 1.3rem;
    }
    .about-content p {
        font-size: 0.95rem;
    }
    .skill-info {
        font-size: 0.95rem;
    }

    /* Skills cards */
    .skill-card {
        padding: 1.5rem 1rem;
    }
    .skill-card i {
        font-size: 2.5rem;
    }
    .skill-card h4 {
        font-size: 1rem;
    }

    /* Service cards */
    .service-card {
        padding: 1.5rem 1rem;
    }
    .service-icon {
        font-size: 2.2rem;
    }
    .service-card h4 {
        font-size: 1.1rem;
    }

    /* Portfolio */
    .portfolio-img {
        height: 180px;
    }
    .portfolio-overlay {
        height: 180px;
    }
    .portfolio-info h4 {
        font-size: 0.95rem;
    }

    /* Contact */
    .contact-info {
        padding: 1.2rem;
    }
    .contact-info h3 {
        font-size: 1.3rem;
    }
    .contact-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    .contact-item h5 {
        font-size: 1rem;
    }
    .contact-item p {
        font-size: 0.9rem;
    }
    .contact-item i {
        font-size: 1.2rem;
    }
    .social-links a {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    .contact-form {
        padding: 1.2rem;
    }
    .contact-form .form-control {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    /* Footer */
    .footer p {
        font-size: 0.8rem;
    }

    /* Scroll to top btn */
    .scroll-to-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
}

/* ---- Small Phones: 480px – 575px ---- */
@media (min-width: 480px) and (max-width: 575px) {

    .hero-section {
        padding: 95px 0 55px;
        text-align: center;
    }
    .profile-image-wrapper {
        width: 170px;
        height: 170px;
        margin: 0 auto 1.5rem;
    }
    .greeting { font-size: 1.3rem; }
    .name { font-size: 1.8rem; }
    .role { font-size: 1.1rem; }
    .gradient-text { font-size: 1.1rem; }
    .description { font-size: 0.95rem; }
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .section-padding { padding: 45px 0; }
    .section-title h2 { font-size: 2rem; }
    .skill-card { padding: 1.8rem 1rem; }
    .portfolio-img { height: 200px; }
    .portfolio-overlay { height: 200px; }
}

/* ---- Medium-Small: 576px – 767px ---- */
@media (min-width: 576px) and (max-width: 767px) {

    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    .profile-image-wrapper {
        width: 200px;
        height: 200px;
        margin: 0 auto 2rem;
    }
    .greeting { font-size: 1.5rem; }
    .name { font-size: 2.2rem; }
    .role { font-size: 1.3rem; }
    .gradient-text { font-size: 1.3rem; }
    .description { font-size: 1rem; }
    .hero-buttons { justify-content: center; }
    .hero-content { text-align: center; }

    .section-padding { padding: 55px 0; }
    .section-title h2 { font-size: 2.3rem; }

    .skill-card { padding: 2rem 1.2rem; }
    .portfolio-img { height: 220px; }
    .portfolio-overlay { height: 220px; }

    .contact-info { margin-bottom: 1.5rem; }
}

/* ---- Tablets: 768px – 991px ---- */
@media (min-width: 768px) and (max-width: 991px) {

    body { font-size: 15px; }

    .hero-section {
        padding: 110px 0 70px;
    }
    .profile-image-wrapper {
        width: 240px;
        height: 240px;
        margin: 0 auto 2rem;
    }
    .hero-content {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .greeting { font-size: 1.6rem; }
    .name { font-size: 2.6rem; }
    .role { font-size: 1.4rem; }
    .gradient-text { font-size: 1.6rem; }
    .description { font-size: 1rem; }

    .section-padding { padding: 65px 0; }
    .section-title h2 { font-size: 2.6rem; }

    /* About columns stack properly */
    .about-content h3 { font-size: 1.7rem; }
    .about-content p { font-size: 1rem; }

    /* Skills */
    .skill-card { padding: 2rem 1rem; }
    .skill-card i { font-size: 3rem; }

    /* Portfolio */
    .portfolio-img { height: 230px; }
    .portfolio-overlay { height: 230px; }

    /* Contact — stack vertically */
    .contact-info {
        margin-bottom: 2rem;
        height: auto;
    }
    .contact-form { height: auto; }

    .navbar-brand { font-size: 1.4rem; }
}

/* ---- Desktops: 992px – 1199px ---- */
@media (min-width: 992px) and (max-width: 1199px) {

    .hero-section { padding: 130px 0 90px; }
    .hero-content { padding-left: 1.5rem; text-align: left; }
    .hero-buttons { justify-content: flex-start; }

    .name { font-size: 3.5rem; }
    .role { font-size: 1.8rem; }
    .gradient-text { font-size: 2rem; }
    .description { font-size: 1.1rem; max-width: 550px; }
    .greeting { font-size: 1.6rem; }

    .profile-image-wrapper {
        width: 280px;
        height: 280px;
        margin: 0;
    }

    .section-padding { padding: 90px 0; }
    .section-title h2 { font-size: 3rem; }
    .about-content h3 { font-size: 2rem; }

    .skill-card { padding: 2rem 1.5rem; }
    .portfolio-img { height: 240px; }
    .portfolio-overlay { height: 240px; }
}

/* ---- Large Desktops: 1200px – 1399px ---- */
@media (min-width: 1200px) and (max-width: 1399px) {

    .hero-section { padding: 140px 0 100px; }
    .hero-content { padding-left: 2rem; text-align: left; }
    .hero-buttons { justify-content: flex-start; }

    .name { font-size: 4rem; }
    .role { font-size: 2rem; }
    .gradient-text { font-size: 2.3rem; }
    .description { font-size: 1.15rem; max-width: 600px; }
    .greeting { font-size: 1.8rem; }

    .profile-image-wrapper {
        width: 340px;
        height: 340px;
        margin: 0;
    }

    .section-padding { padding: 100px 0; }
    .section-title h2 { font-size: 3.5rem; }
    .about-content h3 { font-size: 2.2rem; }
}

/* ---- XL Desktops: 1400px+ ---- */
@media (min-width: 1400px) {

    .hero-section { padding: 150px 0 110px; }
    .hero-content { padding-left: 2.5rem; text-align: left; }
    .hero-buttons { justify-content: flex-start; }

    .name { font-size: 4.8rem; }
    .role { font-size: 2.2rem; }
    .gradient-text { font-size: 2.6rem; }
    .description { font-size: 1.2rem; max-width: 680px; }
    .greeting { font-size: 2rem; }

    .profile-image-wrapper {
        width: 400px;
        height: 400px;
        margin: 0;
    }

    .section-padding { padding: 110px 0; }
    .section-title h2 { font-size: 4.2rem; }
    .about-content h3 { font-size: 2.5rem; }
}

/* ---- Universal Mobile Fixes (max 767px) ---- */
@media (max-width: 767px) {

    /* Navbar collapse: full background when open */
    .navbar-collapse {
        background: var(--navbar-bg);
        border-radius: 0 0 15px 15px;
        padding: 1rem 1.5rem;
        margin-top: 0.5rem;
        border: 1px solid var(--border-color);
        border-top: none;
    }
    .nav-link {
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 0.6rem 0 !important;
        margin: 0;
    }
    .nav-link:last-child {
        border-bottom: none;
    }

    /* Hero: always center on mobile */
    .hero-content { text-align: center; }
    .hero-buttons { justify-content: center; }
    .profile-container { margin-bottom: 2rem; }

    /* Section title underline */
    .section-title::after {
        width: 70px;
        height: 3px;
        bottom: -15px;
    }

    /* Skills progress bars */
    .skills-list { gap: 1.8rem; }

    /* Skill cards: 2 columns on mobile */
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }

    /* Portfolio overlay always visible on touch */
    .portfolio-overlay {
        opacity: 0.9;
    }
    .portfolio-overlay .btn {
        transform: scale(1);
        opacity: 1;
    }

    /* Contact items */
    .contact-item { flex-direction: row; }
    .social-links { gap: 1rem; }

    /* Reduce card paddings */
    .skill-card { padding: 1.5rem 1rem; }
    .service-card { padding: 1.5rem; }
    .contact-info { padding: 1.5rem; }
    .contact-form { padding: 1.5rem; }
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== About Page Specific Styles ==================== */
.page-header {
    background: var(--secondary-bg);
    padding: 120px 0 60px;
    /* Account for fixed navbar */
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.about-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.about-main-img {
    width: 100%;
    border: 5px solid var(--card-bg);
    transition: transform 0.4s ease;
}

.about-main-img:hover {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-secondary);
    color: #fff;
    padding: 1rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 5px solid var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
}

@media (max-width: 768px) {
    .experience-badge {
        right: 0;
        bottom: -10px;
        width: 80px;
        height: 80px;
        padding: 0.5rem;
    }

    .experience-badge .count {
        font-size: 1.5rem;
    }

    .experience-badge .text {
        font-size: 0.7rem;
    }
}

.experience-badge .count {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
}

.journey-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.journey-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.journey-item h5 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.journey-item .institute {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.journey-item .year {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.journey-item .details {
    color: var(--text-muted);
}

.cta-section {
    padding: 80px 0;
    background: rgba(18, 22, 51, 0.6);
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.cta-content h2 {
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.text-justify {
    text-align: justify;
}

.btn-primary-glow {
    background: var(--gradient-primary);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

.btn-primary-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.6);
}

.btn-primary-glow:hover::after {
    opacity: 1;
}

.btn-secondary-glow {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-secondary-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.btn-secondary-glow:hover {
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

.btn-secondary-glow:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ==================== Custom Professional Cursor ==================== */
@media (pointer: fine) {
    body {
        cursor: none;
    }
    a, button, input, textarea, select, .pnav-link, .pnav-hamburger {
        cursor: none;
    }
    
    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--primary-color);
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50%;
        z-index: 999999;
        pointer-events: none;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s, background-color 0.2s;
    }
    
    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 2px solid rgba(0, 217, 255, 0.5);
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50%;
        z-index: 999998;
        pointer-events: none;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s, border-color 0.2s, transform 0.1s ease-out;
    }
    
    /* Hover effects for cursor */
    body.hovering .cursor-dot {
        width: 12px;
        height: 12px;
        background-color: var(--secondary-color);
    }
    body.hovering .cursor-outline {
        width: 60px;
        height: 60px;
        border-color: var(--secondary-color);
        background-color: rgba(255, 0, 110, 0.1);
    }
}

/* ==================== Trusted Technologies Marquee ==================== */
.trusted-tech-section {
    padding: 60px 0;
    overflow: hidden;
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tech-marquee-wrapper {
    position: relative;
    overflow: hidden;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.tech-marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.tech-track {
    display: flex;
    gap: 1.5rem;
    animation: marquee-scroll 28s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.tech-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.7rem 1.4rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: default;
    flex-shrink: 0;
}

.tech-badge:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 217, 255, 0.08);
    box-shadow: 0 4px 18px rgba(0, 217, 255, 0.2);
    transform: translateY(-3px);
}

.tech-badge i {
    font-size: 1.2rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 576px) {
    .tech-badge {
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
    }
    .tech-badge i {
        font-size: 1rem;
    }
}

/* ==================== Testimonials ==================== */
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,217,255,0.2);
    border-color: var(--primary-color);
}

.testimonial-card:hover::before {
    opacity: 0.05;
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    font-size: 2rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.testimonial-avatar {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.testimonial-info h5 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0.1rem;
    font-size: 1rem;
}

.testimonial-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.testimonial-stars {
    margin-top: 0.3rem;
    color: #f59e0b;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

/* ==================== FAQ ==================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0,217,255,0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 0.8rem;
    color: var(--primary-color);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* ==================== CTA Work Together ==================== */
.cta-work-section {
    background: linear-gradient(135deg, rgba(0,217,255,0.05) 0%, rgba(139,92,246,0.05) 100%);
}

.cta-work-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 3.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.cta-work-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0,217,255,0.06) 0%, transparent 60%);
    animation: intro-breathe 5s ease-in-out infinite alternate;
    pointer-events: none;
}

.cta-work-card:hover {
    box-shadow: 0 20px 60px rgba(0,217,255,0.2);
}

.cta-work-icon {
    font-size: 3.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.cta-work-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.cta-work-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-work-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.cta-stat i {
    color: var(--primary-color);
    font-size: 1rem;
}

@media (max-width: 576px) {
    .cta-work-card {
        padding: 2.5rem 1.2rem;
    }
    .cta-work-card h2 {
        font-size: 1.6rem;
    }
    .cta-work-stats {
        gap: 1rem;
    }
}