html {
  scroll-behavior: smooth;
}
/* Hide all page sections by default */
.page-content {
  display: none;
}

/* Show only the active section */
.page-content.active {
  display: block;
}
/* Base Styles with Enhanced Theme */
:root {
    --primary: #1a1a1a;
    --primary-light: #3a3a3a;
    --accent: #FF3E78;
    --accent-light: #FF6B9C;
    --accent-dark: #d1004e;
    --text: #2D2D2D;
    --text-secondary: #5A5A5A;
    --background: #f9f9f9;
    --background-alt: #f0f0f0;
    --card-bg: #FFFFFF;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.08);
    --footer-bg: #1a1a1a;
    --footer-text: #FFFFFF;
    --dark-gray: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: all 0.6s ease;
    opacity: 0.5;
}

.cursor.hover, .cursor-follower.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: var(--accent-light);
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--accent-dark);
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.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: 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 62, 120, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
}

.section-title {
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 20px auto;
}

.page-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.preloader-content {
    text-align: center;
}

.loader {
    width: 50px;
    height: 50px;
    position: relative;
}

.loader:before, .loader:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.6;
    animation: pulse 2.0s infinite ease-in-out;
}

.loader:after {
    animation-delay: -1.0s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(0);
        opacity: 0.6;
    }
    50% {
        transform: scale(1);
        opacity: 0;
    }
}

.loader-text {
    color: var(--primary);
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* === HEADER & NAVIGATION === */
header {
    background-color: var(--background);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
    padding: 20px 0;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 7px 12px; /* Add vertical padding to increase nav height */
    /* OR use min-height: */
    /* min-height: 80px; */
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px; /* ✅ Increased from 40px to 50px */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

header.scrolled .logo img {
    transform: scale(0.95);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px; /* ✅ Increased from 30px to 36px for better spacing */
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    margin: 0;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem; /* ✅ Slightly larger text */
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--card-bg);
        width: 90%; /* ✅ Reduced from 100% → more compact */
        max-width: 300px; /* ✅ Prevents over-expansion on large phones */
        text-align: left;
        transition: right 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border-radius: 12px; /* ✅ Rounded corners for modern look */
        padding: 20px 0; /* ✅ Tight but clean */
        z-index: 1001;
        margin: 0 auto; /* ✅ Center the menu */
        right: -320px; /* ✅ Start hidden */
    }

    .nav-links.active {
        right: 20px; /* ✅ Slide in from right with margin */
    }

    .nav-links li {
        margin: 12px 0; /* ✅ Tight spacing */
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 10px 24px; /* ✅ Compact vertical padding */
        display: block;
        color: var(--text);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease;
        border-radius: 8px;
        margin: 0 12px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 62, 120, 0.08); /* ✅ Subtle pink hover */
        color: var(--accent);
    }

    .nav-links a:after {
        display: none;
    }

    /* Optional: Add close button if needed */
    .close-menu {
        display: none;
    }
}

/* Dark Mode Toggle Styles */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.theme-switch {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 34px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background-alt);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.theme-text {
    margin-left: 10px;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

/* Dark Mode Specific Adjustments */
[data-theme="dark"] .logo-img {
    filter: brightness(0.9);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .stat-item,
[data-theme="dark"] .testimonial,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .contact-item {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .geometric-background .shape {
    opacity: 0.05;
}

[data-theme="dark"] .particle {
    opacity: 0.15;
}


/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.hero-bg:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* New Geometric Animation Background */
.geometric-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.circle {
    border-radius: 50%;
    background: var(--accent);
}

.square {
    background: var(--accent-light);
    transform: rotate(45deg);
}

.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 86.6px 50px;
    border-color: transparent transparent var(--accent) transparent;
    background: transparent;
}

.line {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) translateX(20px) rotate(10deg);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
}

/* Particle Animation Background */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.3;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    100% {
        transform: translateY(-1000px) translateX(500px) rotate(720deg);
    }
}
/* === Elegant, Responsive Professional Title === */
.hero-title-stack {
  text-align: center;
  margin-top: 16px;
}

.hero-name {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 12px 0;
  line-height: 1.2;
  position: relative;
}

.hero-role-wrapper {
  position: relative;
  display: inline-block;
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.hero-role {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-role.active {
  opacity: 1;
  transform: translateY(0);
}

.typing-cursor {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 6px;
  color: var(--accent);
  font-weight: 600;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Animation Sequence (JS-controlled for precision) */
/* We’ll use minimal JS for reliability */
/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--accent);
    transition: height 0.5s ease;
}

.service-card:hover:before {
    height: 100%;
}

.service-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.4s; }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    background: rgba(255, 62, 120, 0.1);
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon {
    transform: rotate(15deg) scale(1.1);
}



/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.about-image:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--accent);
    border-radius: 15px;
    opacity: 0.5;
    animation: pulse 3s infinite;
    z-index: -1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-portrait {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.about-portrait:hover {
    transform: scale(1.05);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.skill-item {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.skill-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 62, 120, 0.1), transparent);
    transition: 0.5s;
}

.skill-item:hover:before {
    left: 100%;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: var(--accent);
}

.skill-item:hover h4 {
    color: white;
}

/* About Preview Section */
.about-preview {
    background: linear-gradient(135deg, var(--background) 0%, var(--background-alt) 100%);
    position: relative;
    overflow: hidden;
}

.about-preview:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 62, 120, 0.1);
    top: -150px;
    right: -150px;
}

.about-preview:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 62, 120, 0.05);
    bottom: -100px;
    left: -100px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.stat-item.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-item:hover {
    transform: translateY(-10px);
    background: var(--accent);
}

.stat-item:hover h3,
.stat-item:hover p {
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: white;
}

/* Testimonials */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(255, 62, 120, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.testimonial:nth-child(2) { animation-delay: 0.2s; }

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--accent);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px var(--shadow);
    border: 1px solid var(--border);
}

.contact-item:hover {
    transform: translateX(10px);
    background: var(--accent);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    color: white;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.social-section {
    margin-top: 40px;
}

/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.blog-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
    line-height: 1.4;
    min-height: 67.2px;
}

.blog-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.blog-date, .blog-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 12px;
    color: var(--accent-dark);
}


/* Process Section */
.process-section {
    background-color: var(--dark-gray);
    color: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-item {
    text-align: center;
}

.process-number {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.process-item h3 {
    color: white;
}

.process-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* Approach Section */
.approach-section {
    background-color: var(--dark-gray);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.approach-item {
    text-align: center;
}

.approach-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    background: rgba(255, 62, 120, 0.1);
}

.approach-item h3 {
    color: white;
}

.approach-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* Enhanced Portfolio Styles */
.portfolio-preview {
    background-color: var(--dark-gray);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.portfolio-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 26, 26, 0.9), rgba(58, 58, 58, 0.7));
    z-index: 1;
}

.portfolio-preview .container {
    position: relative;
    z-index: 2;
}

.portfolio-preview .section-title {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.portfolio-preview .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.accent-text {
    color: var(--accent);
}

/* Case Studies */
.case-studies-container {
    max-width: 1200px;
    margin: 0 auto;
}

.case-study {
    background: var(--card-bg);
    border-radius: 20px;
    margin-bottom: 50px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.case-study.featured {
    border: 2px solid var(--accent);
}

.case-study-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
}

.case-study-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.case-study-category {
    background: var(--accent);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.case-study-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.case-study-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}

.case-study-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.5;
}

.case-study-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.case-study-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 350px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    display: flex;
    justify-content: center;
}

.btn-accent {
    background: var(--accent);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 62, 120, 0.3);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.platform-badges {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.badge {
    background: var(--background-alt);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-study-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.case-study-section {
    padding: 25px;
    background: var(--background);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.case-study-section.full-width {
    grid-column: 1 / -1;
}

.case-study-section h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accent-icon {
    color: var(--accent);
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.result-card {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.result-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}

.result-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.client-quote {
    font-style: italic;
    color: var(--text);
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 0;
}

.client-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Enhanced CTA */
.portfolio-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ff3e78' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 62, 120, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Portfolio Page Styles */
.page-hero {
    padding-top: 150px;
    padding-bottom: 80px;
    background: var(--background);
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--background-alt);
    color: var(--text);
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 62, 120, 0.2);
}

/* Projects Grid */
.portfolio-projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--accent-dark);
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-category {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-category.remote {
    background: rgba(255, 62, 120, 0.1);
    color: var(--accent);
}

.project-category.healthcare {
    background: rgba(0, 150, 136, 0.1);
    color: #009688;
}

.project-category.nonprofit {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.project-category.design {
    background: rgba(156, 39, 176, 0.1);
    color: #9C27B0;
}

.project-category.web {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.project-year {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: var(--background-alt);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .case-study-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .portfolio-projects {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .portfolio-preview .section-title {
        font-size: 2.4rem;
    }
    
    .page-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .case-study-header,
    .case-study-body {
        padding: 25px;
    }
    
    .case-study-title {
        font-size: 1.8rem;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-projects {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .portfolio-preview {
        padding: 60px 0;
    }
    
    .portfolio-preview .section-title {
        font-size: 2rem;
    }
    
    .case-study-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .page-hero {
        padding-top: 120px;
        padding-bottom: 50px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--footer-text);
    margin-bottom: 20px;
    display: block;
}

.footer-logo span {
    color: var(--accent);
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--footer-text);
    margin-right: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a: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: 0.5s;
}

.social-links a:hover:before {
    left: 100%;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--footer-text);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.footer-links a:hover:before {
    transform: translateX(5px);
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Page Content */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .process-grid,
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--background);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s ease;
        box-shadow: -5px 0 25px var(--shadow);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-buttons .btn:first-child {
        margin-right: 0;
    }
    
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
        min-height: auto;
    }
    
    .process-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    /* Show default cursor on mobile */
    * {
        cursor: auto;
    }
    
    .cursor, .cursor-follower {
        display: none;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}