/* CSS Custom Properties */
:root {
    /* Colors */
    --bg-primary: #0B1220;
    --bg-secondary: #1A2332;
    --bg-card: #243447;
    --text-primary: #E6F0FF;
    --text-secondary: #B0C4DE;
    --text-muted: #8B9DC3;
    --accent-primary: #00C48C;
    --accent-secondary: #7DD3FC;
    --accent-hover: #00E69C;
    --border-color: #334155;
    --shadow-color: rgba(0, 196, 140, 0.2);
    
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'JetBrains Mono', 'Consolas', monospace;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 20px var(--shadow-color);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--accent-primary);
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-secondary);
}

.btn-secondary:hover {
    background-color: var(--accent-secondary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: transparent;
    color: #ffffff; /* Dark purple color */
    border: 2px solid #b673e6; /* Dark purple color */
}

.btn-tertiary:hover {
    background-color: #bd93db; /* Dark purple color */
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Navigation */
.main-header {
    position: sticky;
    top: 0;
    background-color: rgba(11, 18, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1001;
}

.navbar {
    padding: var(--space-sm) 0;
}

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

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: var(--space-xs) 0;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-normal);
}

/* Layout containers */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.section-link {
    color: var(--accent-secondary);
    font-weight: 500;
    transition: var(--transition-normal);
}

.section-link:hover {
    color: var(--accent-primary);
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero section */
.hero-section {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.title-separator {
    color: var(--accent-primary);
    margin: 0 var(--space-sm);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent-secondary);
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Content grids */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

/* Cards */
.content-card, .service-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.content-card:hover, .service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.content-card h3 a {
    color: var(--text-primary);
    font-size: 1.25rem;
}

.content-card .excerpt {
    color: var(--text-muted);
    margin: var(--space-sm) 0;
}

.meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-sm) 0;
    flex-wrap: wrap;
}

.date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.category {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    padding: 2px var(--space-xs);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.tag {
    background-color: var(--bg-secondary);
    color: var(--accent-secondary);
    padding: 2px var(--space-xs);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--accent-primary);
    font-weight: 500;
    margin-top: var(--space-sm);
}

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

/* Service cards */
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--accent-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--bg-primary);
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--text-muted);
}

/* Sections */
.blogs-preview, .writeups-preview, .services-section {
    padding: var(--space-xxl) 0;
}

.writeups-preview {
    background-color: var(--bg-secondary);
}

/* Page headers */
.page-header {
    padding: var(--space-xxl) 0 var(--space-lg) 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.page-header h1 {
    margin-bottom: var(--space-md);
}

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

/* Content pages */
.blogs-content, .writeups-content {
    padding: var(--space-xxl) 0;
}

.content-page {
    width: 100%;
    margin: 0 auto;
    padding: var(--space-xxl) var(--space-lg);
    max-width: 95%;          /* default for small screens */
}

@media (min-width: 768px) {
    .content-page {
        max-width: 900px;    /* tablets */
    }
}

@media (min-width: 1200px) {
    .content-page {
        max-width: 1100px;   /* desktops */
    }
}


.post-header {
    margin-bottom: var(--space-xl);
}

.post-header h1 {
    margin-bottom: var(--space-md);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.post-content {
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.post-content h2, .post-content h3 {
    margin: var(--space-xl) 0 var(--space-md) 0;
}

.post-content p {
    margin-bottom: var(--space-md);
}

.post-content pre {
    background-color: var(--bg-secondary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    overflow-x: auto;
    border: 1px solid var(--border-color);
}

.post-content code {
    font-family: var(--font-heading);
    background-color: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

.post-navigation {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-color);
}

.back-link {
    color: var(--accent-secondary);
    font-weight: 500;
}

/* Services page */
.services-detailed {
    padding: var(--space-xxl) 0;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xxl);
}

.service-detail {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
}

.service-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.service-icon.large {
    width: 80px;
    height: 80px;
}

.service-icon.large i {
    font-size: 2rem;
}

.service-tagline {
    color: var(--accent-secondary);
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.service-content h3 {
    margin: var(--space-lg) 0 var(--space-md) 0;
}

.service-content ul {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.service-content li {
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.service-pricing {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
}

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

.contact-cta {
    padding: var(--space-xxl) 0;
    background-color: var(--bg-secondary);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* About page */
.about-hero {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.profile-section {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.profile-image {
    flex-shrink: 0;
}

.profile-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-primary);
}

.profile-placeholder i {
    font-size: 4rem;
    color: var(--accent-primary);
}

.profile-title {
    color: var(--accent-secondary);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.profile-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat {
    text-align: center;
}

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

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bio-section {
    padding: var(--space-xxl) 0;
}

.bio-content h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.bio-text {
    max-width: 800px;
    margin: 0 auto;
}

.bio-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.skills-section {
    padding: var(--space-xxl) 0;
    background-color: var(--bg-secondary);
}

.skills-section h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.skill-category {
    background-color: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.skill-category h3 {
    margin-bottom: var(--space-md);
    color: var(--accent-secondary);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.skill-tag {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.skill-tag:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

.certifications-section {
    padding: var(--space-xxl) 0;
}

.certifications-section h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.cert-card {
    background-color: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.cert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
}

.cert-icon i {
    font-size: 2rem;
    color: var(--bg-primary);
}

/* Contact page */
.contact-hero {
    padding: var(--space-xxl) 0 var(--space-lg) 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    padding: var(--space-xxl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
}

.contact-form-section h2, .contact-info-section h2 {
    margin-bottom: var(--space-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 196, 140, 0.1);
}

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

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent-primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--bg-primary);
}

.contact-details h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}

.response-time {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.emergency-contact {
    color: var(--accent-primary);
    font-weight: 600;
}

.social-section {
    margin-bottom: var(--space-xl);
}

.social-section h3 {
    margin-bottom: var(--space-md);
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.social-link:hover {
    background-color: var(--bg-card);
    border-color: var(--accent-primary);
}

.consultation-info {
    background-color: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

/* Custom Info Boxes */
.success-box, .danger-box, .info-box, .note-box, .warning-box {
    padding: var(--space-md);
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    border-left: 4px solid;
    position: relative;
}

.success-box {
    background-color: rgba(0, 196, 140, 0.1);
    border-left-color: var(--accent-primary);
    color: var(--text-primary);
}

.danger-box {
    background-color: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
    color: var(--text-primary);
}

.info-box {
    background-color: rgba(125, 211, 252, 0.1);
    border-left-color: var(--accent-secondary);
    color: var(--text-primary);
}

.note-box {
    background-color: rgba(147, 51, 234, 0.1);
    border-left-color: #9333ea;
    color: var(--text-primary);
}

.warning-box {
    background-color: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
    color: var(--text-primary);
}

/* Syntax Highlighting Styles (Monokai theme) */
.highlight {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin: var(--space-md) 0;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}

.highlight pre {
    margin: 0;
    background: none;
    border: none;
    padding: 0;
}

.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #75715e } /* Generic.Subheading */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { color: #66d9ef } /* Name.Constant */
.highlight .nd { color: #a6e22e } /* Name.Decorator */
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
.highlight .ne { color: #a6e22e } /* Name.Exception */
.highlight .nf { color: #a6e22e } /* Name.Function */
.highlight .nl { color: #f8f8f2 } /* Name.Label */
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
.highlight .nx { color: #a6e22e } /* Name.Other */
.highlight .py { color: #f8f8f2 } /* Name.Property */
.highlight .nt { color: #f92672 } /* Name.Tag */
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
.highlight .ow { color: #f92672 } /* Operator.Word */
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
.highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
.highlight .sa { color: #e6db74 } /* Literal.String.Affix */
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
.highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #a6e22e } /* Name.Function.Magic */
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */

/* Consultation section styling */
.consultation-section {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.consultation-info h3 {
    margin-bottom: var(--space-sm);
    color: var(--accent-primary);
}

.consultation-info p {
    margin-bottom: var(--space-md);
}

/* Footer */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-xxl) 0 var(--space-lg) 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h3, .footer-section h4 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-muted);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section ul li a {
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 1024px) {
    :root {
        --space-xxl: 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 1rem;
        --space-xl: 2rem;
        --space-xxl: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        right: -300px;
        top: 0;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 300px;
        height: 100vh;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 999;
        padding-top: 80px;
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        list-style: none;
        margin: 0;
        border-left: 2px solid var(--accent-primary);
    }

    .nav-menu.active {
        right: 0;
        display: flex;
    }

    .nav-menu .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu .nav-item:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link {
        display: block;
        padding: var(--space-md) var(--space-sm);
        font-size: 1.1rem;
        width: 100%;
        color: var(--text-primary);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-menu .nav-link:hover {
        background-color: var(--bg-card);
        color: var(--accent-primary);
        padding-left: var(--space-md);
    }

    .nav-menu .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background-color: var(--accent-primary);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-menu .nav-link:hover::before {
        transform: scaleY(1);
    }
    
    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    /* Mobile menu overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: var(--space-sm) var(--space-md);
    }
    
    .content-grid,
    .services-grid,
    .skills-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .profile-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .profile-placeholder i {
        font-size: 3rem;
    }
    
    .profile-stats {
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .nav-container,
    .section-container,
    .footer-container {
        padding: 0 var(--space-md);
    }
    
    .hero-section {
        padding: var(--space-xl) 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .content-card,
    .service-card,
    .service-detail {
        padding: var(--space-md);
    }
    
    .profile-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .skills-tags {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Apply animations */
.hero-content,
.content-card,
.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .nav-container {
        padding: 0 var(--space-md);
    }
    
    .section-container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .profile-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Print styles */
@media print {
    .main-header,
    .main-footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .content-card,
    .service-card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}



/* Limit image size */
.post-content img {
    max-width: 100%;  /* Don't exceed container width */
    max-height: 700px; /* Adjust max height as needed */
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

/* Optional hover effect */
.post-content img:hover {
    opacity: 0.9;
}

/* Fullscreen overlay for zoom */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    cursor: zoom-out;
}

