/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark theme colors inspired by dashboard UI */
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a2e;
    --tertiary-bg: #16213e;
    --card-bg: #1e1e2e;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #2d1b69 0%, #11998e 100%);
    --gradient-3: linear-gradient(135deg, #7209b7 0%, #0891b2 100%);
    --accent-purple: #7209b7;
    --accent-cyan: #06b6d4;
    --accent-blue: #2563eb;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #6b7280;
    --border-color: #2a2a3a;
    --shadow-primary: 0 10px 40px rgba(114, 9, 183, 0.2);
    --shadow-secondary: 0 4px 20px rgba(37, 99, 235, 0.15);
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(114, 9, 183, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    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.1), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-3);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(114, 9, 183, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-3);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000000;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    opacity: 1;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: calc(100vh - 80px);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-greeting {
    display: block;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.hero-name {
    display: block;
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-primary);
    margin: 16px 0;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

/* Dot Portrait Styles */
.dot-portrait-container {
    width: 100%;
    max-width: 500px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.dot-portrait-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(114, 9, 183, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    transition: var(--transition);
}

.dot-portrait-container:hover::before {
    background: radial-gradient(circle, rgba(114, 9, 183, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(1.1);
}

#dotPortraitCanvas {
    border-radius: 20px;
    transition: var(--transition);
    filter: drop-shadow(0 10px 40px rgba(114, 9, 183, 0.2));
}

.dot-portrait-container:hover #dotPortraitCanvas {
    transform: scale(1.03);
    filter: drop-shadow(0 15px 50px rgba(114, 9, 183, 0.4));
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--secondary-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-secondary);
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.skill-tag {
    padding: 8px 16px;
    background: rgba(114, 9, 183, 0.2);
    border: 1px solid rgba(114, 9, 183, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-primary);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 100px 0;
}

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

.portfolio-item {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    font-size: 12px;
    color: var(--accent-blue);
}

/* ===== BLOG SECTION ===== */
.blog {
    padding: 100px 0;
    background: var(--secondary-bg);
}

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

.blog-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.blog-link:hover .blog-content h3 {
    color: var(--accent-purple);
}

.blog-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 24px;
}

.blog-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.read-more {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-cyan);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.email-link {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-purple);
    text-decoration: none;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--accent-cyan);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-2px);
    background: var(--gradient-3);
    color: white;
    box-shadow: var(--shadow-primary);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-bg);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    font-size: 14px;
    background: transparent;
    border: none;
}

/* ===== PAGE SPECIFIC STYLES ===== */
.page-main {
    padding-top: 80px;
}

.page-hero {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--secondary-bg);
}

.page-title {
    font-size: clamp(36px, 6vw, 54px);
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* About Page Styles */
.about-detailed {
    padding: 80px 0;
}

.about-detailed .about-content {
    grid-template-columns: 500px 1fr;
    gap: 80px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.experience {
    margin: 40px 0;
}

.experience h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.skill-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--accent-purple);
}

.skill-item p {
    font-size: 14px;
    color: var(--text-muted);
}

.tools h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tools-list span {
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: var(--accent-blue);
}

.philosophy {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content h2 {
    font-size: 36px;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.philosophy-item {
    background: var(--card-bg);
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.philosophy-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--accent-purple);
}

.philosophy-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Page Styles */
.services-grid {
    padding: 80px 0;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-secondary);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-3);
    border-radius: 12px;
    color: white;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-content ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-content li {
    padding: 6px 12px;
    background: rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    font-size: 14px;
    color: var(--accent-cyan);
}

.process {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta {
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Blog Page Styles */
.blog-full {
    padding: 80px 0;
}

.blog-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

.blog-date {
    color: var(--text-muted);
}

.blog-category {
    color: var(--accent-purple);
    font-weight: 500;
}

.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.blog-tags span {
    padding: 4px 12px;
    background: rgba(114, 9, 183, 0.2);
    border-radius: 12px;
    font-size: 12px;
    color: var(--accent-purple);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination-link {
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.pagination-link:hover,
.pagination-link.active {
    background: var(--gradient-3);
    color: white;
    border-color: transparent;
}

.pagination-dots {
    color: var(--text-muted);
}

.newsletter {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.newsletter-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

/* Contact Page Styles */
.contact-intro {
    padding: 60px 0;
    background: var(--secondary-bg);
}

.contact-intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro h2 {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-intro p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-methods {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.contact-card-icon svg {
    width: 32px;
    height: 32px;
}

.contact-card h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient-3);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(114, 9, 183, 0.3);
}

.location-status {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-cyan);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.contact-form-section {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-secondary);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 2px rgba(114, 9, 183, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.checkbox-label:hover {
    color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-3);
    border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-submit-btn {
    background: var(--gradient-3);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    margin-top: 16px;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(114, 9, 183, 0.4);
}

.social-connect {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.social-content {
    text-align: center;
}

.social-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.social-content p {
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.social-link-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-secondary);
}

.social-link-large .social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-3);
    border-radius: 12px;
    color: white;
}

.social-link-large .social-icon svg {
    width: 24px;
    height: 24px;
}

.social-info h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.social-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.faq {
    padding: 80px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) and (min-width: 769px) {
    .blog-grid-3col {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        font-size: 18px;
        padding: 16px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        order: 2;
        max-width: none;
    }

    .hero-image {
        order: 1;
        max-width: 300px;
    }

    .profile-image {
        height: 375px;
    }

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

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

    .about-detailed .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

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

    .blog-grid-3col {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-header h2 {
        font-size: 28px;
    }

    .contact-intro h2 {
        font-size: 28px;
    }

    .social-links-large {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .skills {
        justify-content: center;
    }

    .tools-list {
        justify-content: center;
    }
}

/* ===== 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);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

/* ===== GSAP ANIMATION CLASSES ===== */
.gsap-fade-up {
    opacity: 0;
    transform: translateY(50px);
}

.gsap-fade-left {
    opacity: 0;
    transform: translateX(-50px);
}

.gsap-fade-right {
    opacity: 0;
    transform: translateX(50px);
}

.gsap-scale {
    opacity: 0;
    transform: scale(0.8);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* ===== LOADER STYLES ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-3);
    border-radius: 2px;
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #7209b7 0%, #0891b2 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

/* ===== ARTICLE PAGE STYLES ===== */
.article-page {
    padding-top: 80px;
}

.article-header {
    padding: 60px 0;
    background: var(--secondary-bg);
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.article-date {
    color: var(--text-muted);
}

.article-category {
    color: var(--accent-purple);
    font-weight: 500;
}

.article-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.article-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-secondary);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    padding: 80px 0;
}

.article-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    max-width: 1200px;
}

.article-body {
    max-width: none;
}

.article-body h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin: 40px 0 16px;
    font-weight: 600;
}

.article-body h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 32px 0 12px;
    font-weight: 600;
}

.article-body p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 24px;
    color: var(--text-secondary);
}

.article-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-body blockquote {
    border-left: 4px solid var(--accent-purple);
    padding: 20px 24px;
    margin: 32px 0;
    background: var(--card-bg);
    border-radius: 8px;
    font-style: italic;
    font-size: 20px;
    color: var(--text-primary);
}

.article-body code {
    background: var(--card-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--accent-cyan);
}

.article-body pre {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

.article-body pre code {
    background: none;
    padding: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.article-image-inline {
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-secondary);
}

.article-image-inline img {
    width: 100%;
    height: auto;
    display: block;
}

.article-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-details p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.related-articles {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.related-articles h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.related-item:hover {
    background: rgba(114, 9, 183, 0.1);
    color: var(--text-primary);
}

.related-item img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.related-item span {
    font-size: 14px;
    font-weight: 500;
}

.share-buttons {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.share-buttons h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.share-links {
    display: flex;
    gap: 8px;
}

.share-btn {
    padding: 8px 16px;
    background: var(--gradient-3);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Mobile responsive styles for articles */
@media (max-width: 768px) {
    .article-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-sidebar {
        position: static;
        order: -1;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .article-body h2 {
        font-size: 24px;
        margin: 32px 0 12px;
    }
    
    .article-body h3 {
        font-size: 20px;
        margin: 24px 0 8px;
    }
    
    .article-body p {
        font-size: 16px;
    }
    
    .article-body blockquote {
        font-size: 18px;
        padding: 16px 20px;
        margin: 24px 0;
    }
    
    .share-links {
        flex-direction: column;
    }
}

/* ===== RESPONSIVE SECTION PADDING ===== */
/* Ensure proper spacing between sections on all devices */

/* Tablet responsive section spacing */
@media (max-width: 1024px) {
    .about, .portfolio, .blog, .contact,
    .page-main section, .services-grid-section,
    .services-hero, .contact-intro, .contact-methods,
    .contact-form-section, .blog-full, .newsletter,
    .article-page {
        padding: 60px 20px !important;
    }
    
    .hero {
        padding: 80px 20px 60px !important;
    }
    
    .footer {
        padding: 40px 20px !important;
    }
}

/* Mobile responsive section spacing */
@media (max-width: 768px) {
    .about, .portfolio, .blog, .contact,
    .page-main section, .services-grid-section,
    .services-hero, .contact-intro, .contact-methods,
    .contact-form-section, .blog-full, .newsletter,
    .article-page {
        padding: 40px 16px !important;
        margin-bottom: 20px;
    }
    
    .hero {
        padding: 80px 16px 40px !important;
    }
    
    .footer {
        padding: 30px 16px !important;
    }
    
    /* Add spacing between adjacent sections */
    section + section {
        margin-top: 20px;
    }
}

/* Small mobile responsive section spacing */
@media (max-width: 480px) {
    .about, .portfolio, .blog, .contact,
    .page-main section, .services-grid-section,
    .services-hero, .contact-intro, .contact-methods,
    .contact-form-section, .blog-full, .newsletter,
    .article-page {
        padding: 30px 12px !important;
        margin-bottom: 16px;
    }
    
    .hero {
        padding: 80px 12px 30px !important;
    }
    
    .footer {
        padding: 24px 12px !important;
    }
    
    /* Increase spacing between sections on small screens */
    section + section {
        margin-top: 16px;
    }
}

/* ===== ENSURE ALL BUTTONS ARE CLICKABLE ===== */
.btn, .form-submit-btn, .contact-btn, .share-btn, button, [role="button"] {
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Ensure button content is not selectable */
.btn *, .form-submit-btn *, .contact-btn *, .share-btn *, button *, [role="button"] * {
    pointer-events: none;
}

/* Fix for any potential overlay issues */
.btn::before, .btn::after {
    pointer-events: none !important;
}

/* ===== EMAIL ME SECTION ===== */
.email-me-section {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.email-me-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.email-me-header {
    margin-bottom: 60px;
}

.email-me-header h2 {
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.email-me-header p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.email-me-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.email-card {
    background: var(--primary-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.email-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.email-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.email-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-3);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(114, 9, 183, 0.3);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.contact-info-item {
    background: var(--primary-bg);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(114, 9, 183, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #7209b7;
}

.contact-info-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.project-types {
    background: var(--primary-bg);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-types h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.project-tag {
    background: rgba(114, 9, 183, 0.1);
    color: #7209b7;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(114, 9, 183, 0.2);
    transition: var(--transition);
}

.project-tag:hover {
    background: rgba(114, 9, 183, 0.2);
    transform: translateY(-1px);
}

/* Responsive design for email section */
@media (max-width: 768px) {
    .email-me-section {
        padding: 60px 0;
    }
    
    .email-card {
        padding: 32px 24px;
    }
    
    .email-me-header {
        margin-bottom: 40px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .project-types {
        padding: 24px;
    }
    
    .email-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}