:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --accent-primary: #d97706;
  --accent-secondary: #ea580c;
  --accent-gradient: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  --surface: #ffffff;
  --surface-elevated: #f8fafc;
  --border: #cbd5e1;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.12);
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
}

[data-theme="dark"] {
  --bg-primary: #1e293b;
  --bg-secondary: #334155;
  --bg-tertiary: #475569;
  --text-primary: #e2e8f0;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --accent-primary: #f97316;
  --accent-secondary: #fb923c;
  --accent-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --surface: #334155;
  --surface-elevated: #475569;
  --border: #64748b;
  --shadow: rgba(0, 0, 0, 0.25);
  --shadow-lg: rgba(0, 0, 0, 0.35);
  --success: #34d399;
  --warning: #fbbf24;
  --error: #f87171;
  --info: #60a5fa;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
}

/* Header */
.header {
position: fixed;
top: 0;
width: 100%;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-bottom: 1px solid var(--border);
z-index: 1000;
padding: 1rem 0;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .header {
background: rgba(15, 23, 42, 0.8);
}

.header.scrolled {
padding: 0.75rem 0;
box-shadow: 0 4px 32px var(--shadow);
}

.nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 2rem;
}

.logo a{
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.nav-menu {
display: flex;
list-style: none;
gap: 2.5rem;
align-items: center;
}

.nav-menu a {
text-decoration: none;
color: var(--text-secondary);
font-weight: 500;
font-size: 0.95rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
padding: 0.5rem 0;
}

.nav-menu a:hover {
color: var(--text-primary);
}

.nav-menu a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 0;
background: var(--accent-gradient);
transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
width: 100%;
}

.nav-actions {
display: flex;
align-items: center;
gap: 1rem;
}

.theme-toggle {
background: var(--surface);
border: 1px solid var(--border);
color: var(--text-secondary);
padding: 0.5rem;
border-radius: 8px;
cursor: pointer;
font-size: 1.1rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}

.theme-toggle:hover {
background: var(--accent-primary);
border-color: var(--accent-primary);
color: white;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.theme-icon {
position: absolute;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-icon.hidden {
opacity: 0;
transform: rotate(180deg) scale(0.8);
}

.cta-nav {
background: var(--accent-gradient);
color: white;
padding: 0.5rem 1.25rem;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid transparent;
}

.cta-nav:hover {
transform: translateY(-1px);
box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

.mobile-menu {
display: none;
flex-direction: column;
cursor: pointer;
padding: 0.5rem;
border-radius: 6px;
transition: background-color 0.3s ease;
}

.mobile-menu:hover {
background: var(--bg-secondary);
}

.mobile-menu span {
width: 20px;
height: 2px;
background: var(--text-primary);
margin: 2px 0;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border-radius: 1px;
}

.mobile-menu.active span:nth-child(1) {
transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu.active span:nth-child(2) {
opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
transform: rotate(-45deg) translate(4px, -4px);
}

/* Hero Section */
.hero {
min-height: 100vh;
background: var(--bg-primary);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
overflow: hidden;
padding: 2rem;
}

.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(217, 119, 6, 0.1) 0%, transparent 60%);
pointer-events: none;
}

.hero-content {
max-width: 900px;
z-index: 2;
position: relative;
}

.hero-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: var(--surface);
border: 1px solid var(--border);
padding: 0.5rem 1rem;
border-radius: 50px;
font-size: 0.85rem;
color: var(--text-secondary);
margin-bottom: 2rem;
transition: all 0.3s ease;
animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
color: var(--accent-primary);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    padding-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
font-size: clamp(1.1rem, 2vw, 1.3rem);
margin-bottom: 3rem;
color: var(--text-secondary);
line-height: 1.6;
animation: fadeInUp 0.8s ease-out 0.4s both;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}

.hero-actions {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-button {
background: var(--accent-gradient);
color: white;
padding: 1rem 2rem;
text-decoration: none;
border-radius: 12px;
font-weight: 600;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid transparent;
position: relative;
overflow: hidden;
}

.cta-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s;
}

.cta-button:hover::before {
left: 100%;
}

.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 12px 40px rgba(217, 119, 6, 0.3);
}

.cta-secondary {
background: transparent;
color: var(--text-primary);
padding: 1rem 2rem;
text-decoration: none;
border-radius: 12px;
font-weight: 600;
border: 1px solid var(--border);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-secondary:hover {
background: var(--surface);
transform: translateY(-2px);
box-shadow: 0 8px 25px var(--shadow);
}

/* Sections */
.section {
padding: 6rem 0;
position: relative;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}

.section-header {
text-align: center;
margin-bottom: 4rem;
}

.section-badge {
display: inline-block;
background: var(--accent-gradient);
color: white;
padding: 0.5rem 1rem;
border-radius: 50px;
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 1rem;
letter-spacing: 0.025em;
}

.section-title {
font-size: clamp(2rem, 4vw, 2.75rem);
font-weight: 700;
margin-bottom: 1rem;
line-height: 1.2;
letter-spacing: -0.025em;
}

.section-subtitle {
font-size: 1.1rem;
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto;
line-height: 1.6;
}

/* About Section */
.about {
background: var(--bg-secondary);
}

.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
margin-top: 3rem;
}

.about-text {
font-size: 1.1rem;
line-height: 1.7;
color: var(--text-secondary);
}

.about-text p {
margin-bottom: 1.5rem;
}

.about-features {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}

.feature-card {
background: var(--surface);
padding: 2rem;
border-radius: 16px;
border: 1px solid var(--border);
text-align: center;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}

.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: var(--accent-gradient);
transform: scaleX(0);
transition: transform 0.3s ease;
transform-origin: left;
}

.feature-card:hover::before {
transform: scaleX(1);
}

.feature-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 40px var(--shadow-lg);
}

.feature-card i {
font-size: 2.5rem;
background: var(--accent-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1rem;
display: block;
}

.feature-card h3 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--text-primary);
}

.feature-card p {
color: var(--text-secondary);
font-size: 0.9rem;
line-height: 1.5;
}

/* Services Section */
.services {
background: var(--bg-primary);
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.service-card {
background: var(--surface);
border: 1px solid var(--border);
padding: 2.5rem 2rem;
border-radius: 20px;
text-align: left;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
group: true;
}

.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--accent-gradient);
opacity: 0;
transition: opacity 0.3s ease;
}

.service-card:hover::before {
opacity: 0.05;
}

.service-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 60px var(--shadow-lg);
border-color: var(--accent-primary);
}

.service-card i {
font-size: 2.5rem;
color: var(--accent-primary);
margin-bottom: 1.5rem;
display: block;
transition: transform 0.3s ease;
}

.service-card:hover i {
transform: scale(1.1);
}

.service-card h3 {
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--text-primary);
}

.service-card p {
color: var(--text-secondary);
line-height: 1.6;
}

/* Portfolio Section */

        .portfolio {
            background: var(--bg-secondary);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .portfolio-item {
            background: var(--surface);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        }

        .portfolio-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 60px var(--shadow-lg);
            border-color: var(--accent-primary);
        }

        .portfolio-item-header {
            padding: 2rem 2rem 1.5rem;
            border-bottom: 1px solid var(--border);
            background: linear-gradient(135deg, var(--surface) 0%, var(--bg-primary) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .portfolio-logo {
            width: 250px;
            height: 80px;
            object-fit: contain;
        
        }

        .portfolio-tags {
            margin-top: 20px;
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-bottom: 1rem;
        }

        .portfolio-tag {
            background: var(--accent-gradient);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.025em;
            text-transform: uppercase;
        }

        .portfolio-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
            line-height: 1.3;
        }

        .portfolio-content {
            padding: 0 2rem 2rem;
            z-index: 4;
        }

        .portfolio-summary {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 2rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .read-more-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--accent-gradient);
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            cursor: pointer;
        }

        .read-more-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
        }

        .read-more-btn i {
            transition: transform 0.3s ease;
        }

        .read-more-btn:hover i {
            transform: translateX(2px);
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .modal.show {
            opacity: 1;
        }

        .modal-content {
            background: var(--surface);
            margin: 5% auto;
            padding: 0;
            border-radius: 24px;
            width: 90%;
            max-width: 700px;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 25px 100px rgba(0, 0, 0, 0.3);
            transform: scale(0.7) translateY(50px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .modal.show .modal-content {
            transform: scale(1) translateY(0);
        }

        .modal-header {
            padding: 2.5rem 2.5rem 1.5rem;
            border-bottom: 1px solid var(--border);
            background: linear-gradient(135deg, var(--surface) 0%, var(--bg-primary) 100%);
            border-radius: 24px 24px 0 0;
        }

        .close-modal {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            color: var(--text-tertiary);
            font-size: 1.5rem;
            font-weight: bold;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--bg-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }

        .close-modal:hover {
            background: var(--accent-primary);
            color: white;
            transform: scale(1.1);
        }

        .modal-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .modal-tags {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .modal-body {
            padding: 2rem 2.5rem 2.5rem;
        }

        .modal-text {
            color: var(--text-secondary);
            line-height: 1.7;
            font-size: 1rem;
        }

        .modal-text p {
            margin-bottom: 1.5rem;
        }

        .modal-text p:last-child {
            margin-bottom: 0;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .portfolio-item {
            animation: fadeInUp 0.6s ease-out;
        }

        .portfolio-item:nth-child(2) {
            animation-delay: 0.1s;
        }

        .portfolio-item:nth-child(3) {
            animation-delay: 0.2s;
        }

        .portfolio-item:nth-child(4) {
            animation-delay: 0.3s;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .portfolio-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .portfolio-item-header,
            .portfolio-content {
                padding: 1.5rem;
            }

            .modal-content {
                width: 95%;
                margin: 2% auto;
                max-height: 95vh;
            }

            .modal-header,
            .modal-body {
                padding: 2rem 1.5rem;
            }

            .modal-title {
                font-size: 1.5rem;
            }

            .close-modal {
                top: 1rem;
                right: 1rem;
                width: 35px;
                height: 35px;
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 1rem;
            }

            .section {
                padding: 4rem 0;
            }

            .portfolio-item-header,
            .portfolio-content {
                padding: 1.25rem;
            }

            .modal-header,
            .modal-body {
                padding: 1.5rem;
            }
        }

        /* Custom Scrollbar for Modal */
        .modal-content::-webkit-scrollbar {
            width: 6px;
        }

        .modal-content::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }

        .modal-content::-webkit-scrollbar-thumb {
            background: var(--accent-primary);
            border-radius: 3px;
        }

/* Contact Section */
.contact {
background: var(--bg-primary);
}

.contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
margin-top: 3rem;
}

.contact-info {
display: flex;
flex-direction: column;
gap: 2rem;
}

.contact-item {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 1.5rem;
background: var(--surface);
border-radius: 12px;
border: 1px solid var(--border);
transition: all 0.3s ease;
}

.contact-item:hover {
transform: translateX(4px);
box-shadow: 0 8px 25px var(--shadow);
}

.contact-item i {
font-size: 1.5rem;
width: 50px;
height: 50px;
background: var(--accent-gradient);
color: white;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.contact-item-content h3 {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.25rem;
color: var(--text-primary);
}

.contact-item-content p {
color: var(--text-secondary);
}

.contact-form {
background: var(--surface);
padding: 2.5rem;
border-radius: 16px;
border: 1px solid var(--border);
display: grid;
gap: 1.5rem;
}

.form-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.form-group label {
font-weight: 500;
color: var(--text-primary);
font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
padding: 1rem;
border: 1px solid var(--border);
border-radius: 8px;
font-size: 1rem;
background: var(--bg-primary);
color: var(--text-primary);
transition: all 0.3s ease;
font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--accent-primary);
box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: var(--text-tertiary);
}

.submit-btn {
background: var(--accent-gradient);
color: white;
padding: 1rem 2rem;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-family: inherit;
font-size: 1rem;
position: relative;
overflow: hidden;
}

.submit-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s;
}

.submit-btn:hover::before {
left: 100%;
}

.submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 12px 40px rgba(217, 119, 6, 0.3);
}

.submit-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}

/* Footer */
.footer {
background: var(--bg-secondary);
border-top: 1px solid var(--border);
padding: 3rem 0 2rem;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
margin-bottom: 2rem;
}

.footer-section h3 {
color: var(--text-primary);
font-weight: 600;
margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
color: var(--text-secondary);
text-decoration: none;
line-height: 1.6;
transition: color 0.3s ease;
}

.footer-section a:hover {
color: var(--accent-primary);
}

.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid var(--border);
color: var(--text-secondary);
}

.social-links {
display: flex;
gap: 1rem;
justify-content: center;
margin-bottom: 1rem;
}

.social-link {
width: 40px;
height: 40px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-secondary);
transition: all 0.3s ease;
text-decoration: none;
}

.social-link:hover {
background: var(--accent-primary);
border-color: var(--accent-primary);
color: white;
transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

.fade-in {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}

/* Scroll Progress */
.scroll-progress {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: var(--bg-secondary);
z-index: 9999;
}

.scroll-progress-bar {
height: 100%;
background: var(--accent-gradient);
width: 0%;
transition: width 0.1s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {

.about-content,
.contact-content {
grid-template-columns: 1fr;
gap: 3rem;
}

.about-features {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
.nav-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
margin: 1rem;
padding: 1rem 0;
flex-direction: column;
gap: 0;
box-shadow: 0 8px 30px var(--shadow);
}

.nav-menu.active {
display: flex;
}

.nav-menu li {
width: 100%;
}

.nav-menu a {
display: block;
padding: 0.75rem 1.5rem;
width: 100%;
}

.nav-menu a::after {
display: none;
}

.mobile-menu {
display: flex;
}

.nav-actions {
gap: 0.5rem;
}

.cta-nav {
padding: 0.4rem 1rem;
font-size: 0.85rem;
}

.hero {
padding: 6rem 1rem 2rem;
min-height: 90vh;
}

.hero-actions {
flex-direction: column;
align-items: center;
}

.cta-button,
.cta-secondary {
width: 100%;
max-width: 280px;
text-align: center;
}

.services-grid {
grid-template-columns: 1fr;
}

.portfolio-grid {
grid-template-columns: 1fr;
}

.contact-form {
padding: 2rem 1.5rem;
}

.container {
padding: 0 1rem;
}

.section {
padding: 4rem 0;
}

.section-title {
font-size: 2rem;
}
}

@media (max-width: 480px) {
.nav-container {
padding: 0 1rem;
}

.hero-badge {
font-size: 0.8rem;
padding: 0.4rem 0.8rem;
}

.feature-card,
.service-card,
.contact-item {
padding: 1.5rem;
}

.contact-form {
padding: 1.5rem;
}

.footer-content {
grid-template-columns: 1fr;
gap: 2rem;
}
}

/* Loading Animation */
.loading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--bg-primary);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
transition: opacity 0.5s ease;
}

.loading.hidden {
opacity: 0;
pointer-events: none;
}

.loading-spinner {
width: 50px;
height: 50px;
border: 3px solid var(--border);
border-top: 3px solid var(--accent-primary);
border-radius: 50%;
animation: spin 1s linear infinite;
}

@keyframes spin {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
}

/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
}

::-webkit-scrollbar-track {
background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
background: var(--accent-primary);
border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
background: var(--accent-secondary);
}

/* Selection */
::selection {
background: rgba(217, 119, 6, 0.2);
}



.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* remove sublinhado */
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
