/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    /* Light Mode Colors */
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --accent-light: #ff6b6b;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-light: #6c757d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-alt: #f0f2f5;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-color: #e1e1e1;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Sizing */
    --max-width: 1200px;
    --nav-height: 80px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #e94560;
    --secondary-color: #0f0f23;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --text-light: #8888a0;
    --bg-white: #0f0f23;
    --bg-light: #16213e;
    --bg-alt: #1a1a3e;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --border-color: #2a2a4a;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ==========================================
   Utility Classes
   ========================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
    margin-top: 1rem;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-item svg {
    fill: #25D366;
}

.whatsapp-link {
    color: #25D366;
    font-weight: 600;
}

.whatsapp-link:hover {
    color: #128C7E;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 15, 35, 0.98);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo .dot {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-alt);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--accent-color);
}

.theme-toggle:hover svg {
    stroke: #fff;
}

.theme-toggle svg {
    stroke: var(--text-primary);
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-alt) 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: var(--nav-height);
}

.hero-content {
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 0.5rem;
}

.hero-role {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    opacity: 0.1;
    position: absolute;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.scroll-down:hover {
    color: var(--accent-color);
}

.scroll-down svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Page Hero */
.page-hero {
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-alt) 100%);
    overflow: hidden;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
}

.page-title {
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-200px) translateX(-30px);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-100px) translateX(-50px);
        opacity: 0.6;
    }
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    opacity: 0.1;
}

/* ==========================================
   About Section
   ========================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 350px;
    height: 400px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--accent-color);
    z-index: 0;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    position: relative;
    z-index: 1;
}

/* Resume Profile Card */
.profile-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-image-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-placeholder span {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.profile-card h4 {
    margin-bottom: 0.25rem;
}

.profile-card > p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.profile-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-contact a {
    color: var(--accent-color);
    font-size: 0.875rem;
}

.profile-contact a:hover {
    color: var(--accent-light);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.image-placeholder span {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   Skills Section
   ========================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.skill-card h4 {
    margin-bottom: 0.5rem;
}

.skill-card p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-alt);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-radius: 3px;
    transition: width 1s ease;
}

/* ==========================================
   Projects Section
   ========================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(233, 69, 96, 0.1);
}

.project-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-alt);
    color: var(--text-secondary);
    border-radius: 20px;
}

.project-content h4 {
    margin-bottom: 0.5rem;
}

.project-content p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-link:hover {
    color: var(--accent-light);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item svg {
    color: var(--accent-color);
}

.contact-item span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    transition: var(--transition);
    resize: vertical;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-white);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
    background: transparent;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.75rem;
    background: var(--bg-white);
    padding: 0 0.25rem;
    color: var(--accent-color);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.show {
    display: block;
}

.form-success svg {
    width: 60px;
    height: 60px;
    stroke: #28a745;
    margin: 0 auto 1rem;
}

.form-success h4 {
    margin-bottom: 0.5rem;
}

/* ==========================================
   Blog Styles
   ========================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.post-image {
    position: relative;
    min-height: 300px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image .image-placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.post-content h3 {
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card .post-image {
    min-height: 180px;
}

.blog-card .post-content {
    padding: 1.5rem;
}

.blog-card .post-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.blog-card .post-content p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sidebar-widget h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-primary);
}

.search-box button {
    background: var(--accent-color);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    border-radius: 8px;
    color: var(--text-secondary);
}

.category-list a:hover,
.category-list a.active {
    background: var(--bg-alt);
    color: var(--accent-color);
}

.category-list span {
    background: var(--bg-alt);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.recent-posts .post-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.recent-posts .post-item:last-child {
    border-bottom: none;
}

.recent-posts .post-thumb {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recent-posts .post-thumb span {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.recent-posts .post-info h5 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.recent-posts .post-info span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tag:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.page-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Newsletter */
.newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 3rem;
    border-radius: 16px;
    color: #fff;
}

.newsletter h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 50px;
    width: 300px;
    color: var(--text-primary);
}

/* ==========================================
   Services Styles
   ========================================== */
.services-hero {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-alt) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
}

.service-card h4 {
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.service-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.author-info h5 {
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    padding: 4rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cta-box .btn-primary {
    background: #fff;
    color: var(--accent-color);
    border-color: #fff;
}

.cta-box .btn-primary:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ==========================================
   Resume Styles
   ========================================== */
.resume-hero {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-alt) 100%);
}

.resume-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.resume-section {
    margin-bottom: 3rem;
}

.resume-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.resume-heading svg {
    stroke: var(--accent-color);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-6px);
}

.timeline-content {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-date {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    margin-bottom: 0.25rem;
}

.timeline-content .company {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* Resume Sidebar */
.resume-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sidebar-card h4 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-color);
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    margin-bottom: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-alt);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 4px;
    transition: width 1s ease;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-item {
    display: flex;
    gap: 1rem;
}

.cert-year {
    font-weight: 700;
    color: var(--accent-color);
}

.cert-item p {
    margin: 0;
    font-size: 0.9375rem;
}

.lang-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-item > span:first-child {
    min-width: 80px;
    font-size: 0.9375rem;
}

.lang-level {
    flex: 1;
    height: 6px;
    background: var(--bg-alt);
    border-radius: 3px;
    overflow: hidden;
}

.lang-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 3px;
}

.lang-label {
    min-width: 100px;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ==========================================
   Gallery Styles
   ========================================== */
.gallery-hero {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-alt) 100%);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item .item-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.gallery-item .item-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item .item-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.gallery-item .item-overlay h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.gallery-item .item-overlay span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-item.hidden {
    display: none;
}

.load-more {
    text-align: center;
    margin-top: 3rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: var(--accent-color);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-image {
    width: 800px;
    height: 500px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.lightbox-image span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 4rem;
    font-weight: 700;
}

.lightbox-info h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.lightbox-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    stroke: #fff;
}

.stat-count {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .dot {
    color: var(--accent-color);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-5px);
}

/* ==========================================
   Animations
   ========================================== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Typing Animation */
.typing-text {
    display: block;
    font-size: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--accent-color);
    margin-left: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ==========================================
   Contact Page Styles
   ========================================== */
.contact-hero {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-alt) 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-intro {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.email-icon {
    background: linear-gradient(135deg, #4285F4, #34A853);
}

.email-icon svg {
    stroke: #fff;
}

.phone-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.phone-icon svg {
    stroke: #fff;
}

.whatsapp-icon {
    background: #25D366;
}

.whatsapp-icon svg {
    fill: #fff;
}

.location-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.location-icon svg {
    stroke: #fff;
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h4 {
    margin-bottom: 0.25rem;
}

.contact-card-content p {
    font-size: 0.875rem;
    margin: 0;
}

.contact-link {
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-link:hover {
    color: var(--accent-light);
}

.contact-text {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.whatsapp-card {
    border-color: #25D366;
}

.whatsapp-btn {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #25D366;
    color: #fff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-50%) scale(1.05);
}

.whatsapp-link {
    color: #25D366;
}

.social-section {
    margin-top: 2rem;
}

.social-section h4 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.whatsapp-social {
    background: #25D366;
}

.whatsapp-social:hover {
    background: #128C7E;
}

/* Contact Form Section */
.contact-form-section {
    position: sticky;
    top: 100px;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
    margin-bottom: 2rem;
}

.form-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.form-divider span {
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Form Select Styling */
.form-group select {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--bg-white);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

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

    .resume-layout {
        grid-template-columns: 1fr;
    }

    .resume-sidebar {
        order: -1;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

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

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

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-step,
    .process-step:nth-child(even) {
        flex-direction: column;
        text-align: left;
        padding-left: 60px;
    }

    .step-number {
        position: absolute;
        left: 0;
    }

    .lightbox-image {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
        padding: 0.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .nav-toggle:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }

    .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        transition: all 0.3s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    [data-theme="dark"] .nav-menu {
        background: var(--bg-white);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        right: 0;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .section {
        padding: 4rem 0;
    }

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

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .image-frame {
        width: 280px;
        height: 320px;
    }

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

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

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

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

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-card-icon {
        margin: 0 auto;
    }

    .whatsapp-btn {
        position: static;
        transform: none;
        margin-top: 1rem;
        justify-content: center;
    }

    .whatsapp-btn:hover {
        transform: scale(1.05);
    }

    .sidebar-card {
        margin-bottom: 1.5rem;
    }

    .blog-sidebar {
        order: 2;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }

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

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

    .contact-form-section {
        position: static;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .hero-role {
        font-size: 1.125rem;
    }

    .about-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .skill-card,
    .service-card,
    .project-card {
        padding: 1.5rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem;
        font-size: 0.9375rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 2rem;
    }

    .newsletter {
        padding: 2rem;
    }

    .footer-content {
        padding: 2rem 0;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* Extra Small Devices (Small Phones) */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-link {
        font-size: 1.125rem;
        padding: 0.5rem 1rem;
    }

    .page-hero {
        padding: 8rem 0 4rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding-top: 6rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
    }

    .image-frame {
        width: 240px;
        height: 280px;
    }

    .gallery-filters {
        gap: 0.25rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .page-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .floating-whatsapp {
        width: 48px;
        height: 48px;
        bottom: 0.75rem;
        right: 0.75rem;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero .container {
        gap: 2rem;
    }

    .about-content {
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        gap: 2rem;
    }

    .resume-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Large Screens */
@media (min-width: 1400px) {
    html {
        font-size: 18px;
    }

    .container {
        max-width: 1320px;
    }

    .hero .container {
        max-width: 1200px;
    }

    .section {
        padding: 8rem 0;
    }

    .hero {
        min-height: 90vh;
    }

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

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1000px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        max-width: 900px;
        margin: 0 auto;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .back-to-top,
    .floating-whatsapp,
    .hero-image,
    .particles,
    .nav-toggle,
    .theme-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        padding: 2rem 0;
    }

    .hero {
        min-height: auto;
        padding-top: 6rem;
    }

    .page-hero {
        padding: 4rem 0 2rem;
    }

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

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

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

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

    .contact-form-section {
        position: static;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-card-icon {
        margin: 0 auto;
    }

    .whatsapp-btn {
        position: static;
        transform: none;
        margin-top: 1rem;
        justify-content: center;
    }

    .whatsapp-btn:hover {
        transform: scale(1.05);
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}
