/* CSS Variables & Reset */
:root {
    /* Default - LIGHT MODE (As per reference) */
    --bg-color: #ffffff;
    --bg-secondary: #f9f9fb;
    --text-primary: #121212;
    --text-secondary: #666666;
    --accent-color: #6c63ff;
    --accent-glow: rgba(108, 99, 255, 0.2);
    --secondary-accent: #ff6584;
    --font-main: 'Outfit', sans-serif;
    --nav-height: 80px;
    --transition: all 0.3s ease;
    --card-bg: #ffffff;
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);
    --capsule-bg: #fff;
    --capsule-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --grid-color: rgba(0, 0, 0, 0.03);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.9);
    --primary-color: #10b981;
    /* Added defining primary green */
}

[data-theme="dark"] {
    --bg-color: #0b0d17;
    --bg-secondary: #131525;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #6c63ff;
    --accent-glow: rgba(108, 99, 255, 0.4);
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --capsule-bg: rgba(255, 255, 255, 0.05);
    --capsule-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --grid-color: rgba(255, 255, 255, 0.1);
    --nav-bg-scrolled: rgba(11, 13, 23, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: difference;
    /* Visible on both backgrounds */
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-color);
    transition: transform 0.1s ease-out;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 100px 0;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--nav-bg-scrolled);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    /* Reduced to fit name */
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 1002;
    white-space: nowrap;
}

.logo span {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

/* Header Controls (Resume & Theme) */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 20px;
}

.btn-resume {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    transition: var(--transition);
    background-color: #10b981 !important;
    /* Green color with !important */
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    text-decoration: none;
}

.btn-resume:hover {
    background-color: #059669 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
    color: #ffffff !important;
    border-color: transparent;
}

/* Helper for mobile specific items */
.mobile-only {
    display: none;
}

/* Sun/Moon Toggle Switch */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    /* Light grey for day */
    transition: 0.4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sun-icon {
    color: #ffd700;
    /* Bright Gold/Yellow */
    font-size: 14px;
    margin-left: 6px;
    transition: 0.4s;
    opacity: 1;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.moon-icon {
    color: #ffffff;
    /* Pure White */
    font-size: 14px;
    margin-right: 6px;
    transition: 0.4s;
    opacity: 0.3;
    /* Dimmed when not active */
}

/* Toggle Active States */
input:checked+.slider .sun-icon {
    opacity: 0.3;
}

input:checked+.slider .moon-icon {
    opacity: 1;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Dark Mode State */
[data-theme="dark"] .slider {
    background-color: #1e293b;
    /* Dark bg */
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .slider:before {
    transform: translateX(30px);
    background-color: #334155;
    /* Slate color knob */
}

input:checked+.slider .sun-icon {
    opacity: 0.5;
}

input:checked+.slider .moon-icon {
    opacity: 1;
}


.btn-featured {
    background: var(--accent-color);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
}

.btn-featured:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.contact-btn {
    display: inline-block;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* HERO SECTION - REFINED */
.hero-new {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 180px;
    /* Increased from nav-height (80px) for desktop breathing room */
    overflow: hidden;
}

.dot-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Bigger & More visible dots */
    background-image: radial-gradient(var(--text-secondary) 2px, transparent 2px);
    /* Increased from 1px to 2px */
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.3;
    /* Increased from 0.15 to 0.3 */
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-new-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 1;
}

.hero-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    opacity: 0;
    /* Init hidden for animation */
    animation: fadeInUp 0.8s ease forwards;
}

.row-1 {
    animation-delay: 0.2s;
}

.row-2 {
    animation-delay: 0.4s;
}

.row-3 {
    animation-delay: 0.6s;
}

.hero-text {
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.text-large {
    font-size: 4rem;
}

.text-medium {
    font-size: 3rem;
}

/* Capsules - Clean */
.capsule {
    padding: 12px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: var(--capsule-bg);
    color: var(--text-primary);
    box-shadow: var(--capsule-shadow);
    border: 1px solid var(--glass-border);
    /* Subtle float animation */
    animation: float 6s ease-in-out infinite;
}

.capsule-primary {
    color: var(--accent-color);
}

.capsule-dark {
    background: var(--text-primary);
    color: var(--bg-color);
}

.capsule-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    box-shadow: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Stagger floating for natural feel */
.capsule-primary {
    animation-delay: 0s;
}

.capsule-dark {
    animation-delay: 2s;
}

.capsule-outline {
    animation-delay: 4s;
}


.hero-cta {
    margin-top: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

.scroll-instruction {
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-instruction i {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Skills Section */
.skills {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.skill-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.skill-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-img {
    height: 220px;
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.project-card:hover .img-placeholder {
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tags span {
    font-size: 0.8rem;
    background: var(--bg-secondary);
    padding: 5px 12px;
    border-radius: 15px;
    color: var(--text-secondary);
}

.project-links {
    display: flex;
    gap: 20px;
}

.link-btn {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-btn:hover {
    color: var(--accent-color);
}

/* Services Section */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.service-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.2;
    margin-right: 40px;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.service-info p {
    color: var(--text-secondary);
}

.service-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-item:hover .service-arrow {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: rotate(-45deg);
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    resize: none;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--accent-color);
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.footer-socials a:hover {
    color: var(--accent-color);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsiveness */
/* Responsiveness & Dynamic Sizing */

/* Tablet & Smaller Laptops */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 991px) {
    .text-large {
        font-size: 3.5rem;
    }

    .text-medium {
        font-size: 2.5rem;
    }

    .capsule {
        font-size: 1.3rem;
        padding: 10px 35px;
    }

    .hero-new {
        padding-top: 100px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }

    .container {
        padding: 0 20px;
    }

    .hamburger {
        display: block;
    }

    .contact-btn {
        display: none;
    }

    /* Mobile Nav */
    .nav-list {
        position: fixed;
        right: -100%;
        top: 0;
        width: 80%;
        /* Slightly wider for better touch targets */
        max-width: 300px;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        right: 0;
    }

    .mobile-only {
        display: block;
        margin-top: 30px;
    }

    .mobile-resume {
        color: #10b981 !important;
        font-weight: 600;
        font-size: 1.1rem;
        border: 2px solid #10b981;
        padding: 10px 30px;
        border-radius: 50px;
        display: inline-block;
        /* Ensure it overrides any other display:none */
    }

    /* Header Controls Mobile */
    .header-controls {
        margin-right: 15px;
        gap: 12px;
    }

    .btn-resume {
        display: flex;
        padding: 0;
        width: 40px;
        height: 40px;
        justify-content: center;
        border-radius: 50%;
    }

    .btn-resume .resume-text {
        display: none;
    }
}

/* Timeline Styles for Experience (Global) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 50px;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    background: var(--bg-secondary);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    display: inline-block;
    margin-bottom: 12px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 44px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Media Queries for Interaction & Layout adjustments */

/* Disable Cursor on Touch Devices & Mobile */
@media (hover: none) and (pointer: coarse),
(max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* Mobile Layout Adjustments (768px) */
@media (max-width: 768px) {

    /* Contact Form & Wrapper Mobile Fix */
    .contact-form {
        padding: 20px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        /* Critical to keep padding inside width */
        margin: 0;
        overflow-x: hidden;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Timeline Mobile Adjustments */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 14px;
    }

    .timeline-date {
        position: relative;
        left: 0;
        top: 0;
        display: inline-block;
        margin-bottom: 10px;
        background: transparent;
        padding: 0;
        border: none;
    }

    /* Resume Button Fix for Mobile Header - Hide it to save space, show in menu instead */
    .header-controls .btn-resume {
        display: none;
    }

    /* Ensure Logo has space */
    .logo {
        font-size: 1.1rem;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-container {
        gap: 10px;
    }

    .header-controls {
        margin-right: 0;
        gap: 15px;
    }

    /* Hero Layout Adjustments */
    .hero-new-container {
        padding: 0 15px;
        gap: 20px;
        width: 100%;
    }

    .hero-row {
        gap: 8px;
        width: 100%;
    }

    /* Dynamic Capsules */
    .capsule {
        width: auto;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        padding: 8px 20px;
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        line-height: 1.3;
        height: auto;
    }

    /* Ensure timeline lines connect properly */
    .timeline-item:last-child {
        margin-bottom: 0;
    }
}

/* Small Mobile Devices (480px) */
@media (max-width: 480px) {
    .text-large {
        font-size: 2rem;
    }

    .text-medium {
        font-size: 1.3rem;
    }

    /* Refine spacing for small screens */
    .hero-new {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .header-controls {
        gap: 10px;
    }

    .sun-icon,
    .moon-icon {
        font-size: 12px;
    }

    .theme-switch {
        width: 50px;
        height: 26px;
    }

    .slider:before {
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 3px;
    }

    [data-theme="dark"] .slider:before {
        transform: translateX(24px);
    }

    .logo {
        font-size: 0.9rem;
    }

    /* Ensure no overflow */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
    }
}

/* Hero Resume Button */
.btn-hero-resume {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero-resume:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.scroll-instruction.mt-4 {
    margin-top: 20px;
}

/* Certifications Specifics */
#certifications .service-num {
    font-size: 1.5rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-cta {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-resume {
        width: auto;
        min-width: 200px;
        justify-content: center;
    }
}

/* Music Control Button */
.music-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-right: 5px;
}

.music-btn:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.music-btn.playing {
    color: var(--primary-color);
    animation: pulse-music 2s infinite;
}

@keyframes pulse-music {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}