:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --accent: #00c896;
    --accent-secondary: #333333;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient-start: #00c896;
    --gradient-end: #121212;
    
    /* Modern Font Stack */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;
    
    /* Typography Scale */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
}

/* Skip Navigation Link for Accessibility */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--leading-normal);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
header {
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(10,10,10,0.8) 100%);
    border-bottom: 1px solid #222;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
    z-index: 10;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--accent);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a:hover {
    color: var(--accent);
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    min-height: calc(100vh - 120px);
    position: relative;
    padding: 1.5rem 1rem;
}

.hero-content {
    width: 100%;
    max-width: 700px;
    z-index: 1;
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
}

.hero-content::before {
    content: '';
    position: absolute;
    left: -50px;
    top: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(0,0,0,0) 70%);
    opacity: 0.1;
    z-index: -1;
    border-radius: 50%;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: var(--font-extrabold);
    margin-bottom: 1rem;
    line-height: var(--leading-tight);
    background: linear-gradient(to right, white, var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-in-out;
    letter-spacing: -0.02em;
}

.hero p {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-normal);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: var(--leading-relaxed);
    animation: fadeIn 1s ease-in-out 0.3s backwards;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeIn 1s ease-in-out 0.6s backwards;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
    text-decoration: none;
    border: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 4px 14px rgba(0, 200, 150, 0.4);
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 200, 150, 0.2);
}

.btn-primary:hover {
    background-color: rgba(0, 200, 150, 0.9);
}

.btn-outline:hover {
    border-color: var(--accent);
    background-color: rgba(0, 200, 150, 0.05);
}

/* Code animation effect */
.code-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--accent);
    opacity: 0.4;
    overflow: hidden;
    pointer-events: none;
    line-height: var(--leading-relaxed);
}

/* Skills Section */
.section {
    padding: 6rem 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(0, 200, 150, 0.03), transparent 500px);
    pointer-events: none;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: var(--bg-secondary);
    border-radius: 0.8rem;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--accent);
    transition: height 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-card:hover::before {
    height: 100%;
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 200, 150, 0.1);
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    background-color: rgba(0, 200, 150, 0.2);
    transform: scale(1.1);
}

.skill-icon span {
    font-size: 1.8rem;
    color: var(--accent);
}

.skill-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.skill-card:hover .skill-title {
    color: var(--accent);
}

.skill-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}



/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: var(--leading-tight);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 200, 150, 0.1);
    color: var(--accent);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    margin-bottom: 0.3rem;
    line-height: var(--leading-normal);
}

.contact-item p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.contact-form {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 200, 150, 0.05), transparent 70%);
    border-radius: 50%;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 1rem;
    background-color: rgba(45, 55, 72, 0.3);
    border: 1px solid #333;
    border-radius: 0.5rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 200, 150, 0.15);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

/* Medium Minimal Footer */
footer {
    background-color: var(--bg-primary);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
}

.footer-copyright {
    display: flex;
    align-items: center;
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.7;
}

.footer-crafted {
    display: flex;
    align-items: center;
}

.footer-crafted p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.7;
}

.heart {
    color: #ef4444;
    margin: 0 0.25rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Terminal effect */
.terminal {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 1.2rem;;
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--font-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    max-width: 75%;
}

.terminal-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-close {
    background-color: var(--danger);
}

.terminal-minimize {
    background-color: var(--warning);
}

.terminal-expand {
    background-color: var(--success);
}

.terminal-content {
    color: var(--text-primary);
    line-height: 1.5;
}

.terminal-prompt {
    color: var(--accent);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: var(--accent);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 200, 150, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 200, 150, 0); }
}

/* Services Section */
.services-pricing-section {
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.services-pricing-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(0, 200, 150, 0.02), transparent 600px);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Sora', sans-serif;
    /* font-weight: bold;
    text-transform: uppercase; */
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.section-title p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
}

/* Services Section */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: linear-gradient(145deg, #131313, #1c1c1c);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 200, 150, 0.1);
    border-color: var(--accent);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
}

.divider-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    flex-grow: 1;
}

.divider-icon {
    padding: 0 1.5rem;
    color: var(--accent);
    font-size: 1.5rem;
}

/* Pricing Section */
.pricing-title {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-title h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: var(--leading-tight);
}

.pricing-title p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #222;
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--accent);
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transform: rotate(45deg) translateX(30%) translateY(-50%);
    width: 150px;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #222;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 0.3rem;
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.pricing-feature i {
    color: var(--accent);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 1rem;
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.pricing-card.featured .pricing-cta {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.pricing-card.featured .pricing-cta:hover {
    background-color: transparent;
    color: var(--accent);
}

.portfolio-demos {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.portfolio-demos::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at bottom left, rgba(0, 200, 150, 0.03), transparent 600px);
    pointer-events: none;
}

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

.demos-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.demos-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 80px;
    height: 3px;
    background-color: var(--accent);
    transform: translateX(-50%);
}

.demos-header p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3rem;
}

.demo-item {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    aspect-ratio: 16 / 9;
    min-width: 340px;
    max-width: 540px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.demo-item:hover {
    transform: translateY(-10px);
}

.demo-container {
    background-color: var(--bg-primary);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #222;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.demo-header {
    background-color: rgba(34, 34, 34, 0.8);
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
}

.demo-dots {
    display: flex;
    gap: 0.5rem;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot:nth-child(1) {
    background-color: var(--danger, #ff5f56);
}

.demo-dot:nth-child(2) {
    background-color: var(--warning, #ffbd2e);
}

.demo-dot:nth-child(3) {
    background-color: var(--success, #27c93f);
}

.demo-content {
    padding: 0.5rem;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.demo-info {
    padding: 0.5rem 1rem;
}

.demo-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.demo-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.demo-links {
    display: flex;
    gap: 1.5rem;
}

.demo-link {
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.demo-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.demos-cta {
    text-align: center;
    margin-top: 4rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent);
    color: var(--bg-primary);
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--accent);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-intro {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.about-description, .about-focus {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

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

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

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80%;
    height: 80%;
    border: 2px solid var(--accent);
    border-radius: 1rem;
    z-index: -1;
}

/* Experience Section */
.experience-container {
    max-width: 1200px;
    margin: 0 auto;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.experience-card {
    background: linear-gradient(145deg, var(--bg-secondary), #1a1a1a);
    border-radius: 1.2rem;
    padding: 2.5rem;
    border: 1px solid #222;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), rgba(0, 200, 150, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.experience-card:hover::before {
    opacity: 1;
}

.experience-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: rgba(0, 200, 150, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.experience-card:hover .company-logo {
    background: rgba(0, 200, 150, 0.2);
    transform: scale(1.1);
}

.company-info {
    flex: 1;
}

.job-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.company-name {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.job-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.job-meta i {
    color: var(--accent);
    width: 14px;
}

.experience-content h5 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    margin-bottom: 1rem;
    line-height: var(--leading-normal);
}

.job-description {
    margin-bottom: 2rem;
}

.job-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.key-achievements {
    margin-bottom: 2rem;
}

.key-achievements ul {
    list-style: none;
    color: var(--text-secondary);
}

.key-achievements li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.key-achievements li::before {
    content: '▶';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.technologies-used {
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    background: rgba(0, 200, 150, 0.1);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 200, 150, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 200, 150, 0.2);
    transform: translateY(-2px);
}

/* Education & Certification Section */
.education-section, .certifications-section {
    margin-bottom: 4rem;
}

.subsection-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #333;
}

.subsection-title i {
    color: var(--accent);
    font-size: 1.6rem;
}

/* Education Cards */
.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.education-card {
    background: linear-gradient(145deg, var(--bg-secondary), #1a1a1a);
    border-radius: 1.2rem;
    padding: 2.5rem;
    border: 1px solid #222;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), rgba(0, 200, 150, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.education-card:hover::before {
    opacity: 1;
}

.education-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.university-logo {
    width: 60px;
    height: 60px;
    background: rgba(0, 200, 150, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.education-card:hover .university-logo {
    background: rgba(0, 200, 150, 0.2);
    transform: scale(1.1);
}

.education-info {
    flex: 1;
}

.degree-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.university-name {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.education-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.education-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.education-meta i {
    color: var(--accent);
    width: 14px;
}

.education-content h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    margin-bottom: 1rem;
    line-height: var(--leading-normal);
}

.education-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.relevant-coursework, .achievements {
    margin-bottom: 2rem;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.course-tag {
    background: rgba(0, 200, 150, 0.1);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 200, 150, 0.3);
    transition: all 0.3s ease;
}

.course-tag:hover {
    background: rgba(0, 200, 150, 0.2);
    transform: translateY(-2px);
}

.achievements ul {
    list-style: none;
    color: var(--text-secondary);
}

.achievements li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.achievements li::before {
    content: '🏆';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}/* Certification Cards */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.certification-card {
    background: linear-gradient(145deg, var(--bg-secondary), #1a1a1a);
    border-radius: 1.2rem;
    padding: 2.5rem;
    border: 1px solid #222;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), rgba(0, 200, 150, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.certification-card:hover::before {
    opacity: 1;
}

.certification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.certification-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.certification-icon.aws {
    background: rgba(255, 153, 0, 0.1);
    color: #ff9900;
}



.certification-icon.mongodb {
    background: rgba(71, 162, 72, 0.1);
    color: #47a248;
}

.certification-icon.google {
    background: rgba(66, 133, 244, 0.1);
    color: #4285f4;
}

.certification-card:hover .certification-icon {
    transform: scale(1.1);
}

.certification-badge {
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid var(--accent);
    border-radius: 2rem;
    padding: 0.3rem 0.8rem;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
}

.certification-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.certification-issuer {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.certification-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.certification-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.certification-meta i {
    color: var(--accent);
    width: 14px;
}

.certification-skills h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    margin-bottom: 1rem;
    line-height: var(--leading-normal);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    background: rgba(0, 200, 150, 0.1);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 1.5rem;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 200, 150, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 200, 150, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design - Enhanced for All Screen Types */

/* Extra Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 5.5rem;
    }
    
    .services-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .demos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
    
    .skills-container {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 3rem;
    }
}

/* Large Desktop (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .container {
        max-width: 1300px;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
    
    .services-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .demos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Standard Desktop (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Laptop/Small Desktop (1024px - 1199px) */
@media (max-width: 1199px) {
    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .demo-item {
        min-width: 320px;
        max-width: 480px;
    }
}

@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablet Landscape & Small Laptop (992px - 1023px) */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

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

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

    .job-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .education-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .terminal {
        max-width: 85%;
    }
    
    .code-bg {
        width: 45%;
        opacity: 0.3;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero h1 {
        font-size: 3.8rem;
    }

    .code-bg {
        display: none;
    }
    
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Landscape & Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-content {
        text-align: initial;
        max-width: 100%;
        width: 100%;
    }

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        margin-left: 0;
        margin-bottom: 2.5rem;
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    .hero-btns {
        justify-content: center;
        gap: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-copyright p,
    .footer-crafted p {
        font-size: 0.8rem;
    }
    
    .code-bg {
        display: none;
    }
    
    .terminal {
        max-width: 100%;
        margin-top: 3rem;
    }
    
    .skill-card:hover {
        transform: translateY(-5px);
    }
    
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin: 0;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .demos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .demo-item {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .experience-card {
        padding: 2rem;
    }

    .experience-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .education-card {
        padding: 2rem;
    }

    .education-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .certification-card {
        padding: 2rem;
    }

    .certification-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .subsection-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Mobile Navigation (887px and below) */
@media (max-width: 887px) {
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.96);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.3rem;
        font-weight: 600;
        padding: 1.2rem 2.5rem;
        border-radius: 0.8rem;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        width: 80%;
        text-align: center;
        max-width: 300px;
    }
    
    .nav-links a:hover {
        background: rgba(0, 200, 150, 0.15);
        border-color: var(--accent);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 200, 150, 0.2);
    }

    .code-bg {
        display: none;
    }
}

/* Large Mobile Portrait (576px and below) */
@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 1.5rem 0.5rem;
        min-height: 90vh;
    }

    .hero-content {
        padding: 1rem;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 3rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 90%;
        max-width: 280px;
    }

    .code-bg {
        display: none;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-card {
        padding: 1.8rem;
        text-align: center;
    }
    
    .terminal {
        display: none;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.8rem 1.5rem;
    }

    .experience-card, .education-card, .certification-card {
        padding: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .experience-grid, .education-grid, .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-tags, .course-tags, .skill-tags {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .tech-tag, .course-tag, .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .subsection-title {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

    .job-title, .degree-title, .certification-title {
        font-size: 1.3rem;
        text-align: center;
    }

    .company-name, .university-name, .certification-issuer {
        font-size: 1rem;
        text-align: center;
    }
    
    .job-meta, .education-meta, .certification-meta {
        text-align: center;
    }
    
    .contact-form {
        padding: 1.8rem;
    }
    
    .form-input {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .demos-grid {
        gap: 1.5rem;
    }
    
    .demo-item {
        max-width: 100%;
    }
    
    .services-container {
        gap: 1.2rem;
    }
    
    .service-card {
        padding: 1.8rem;
        text-align: center;
    }
    
    .pricing-container {
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    /* Medium Minimal Footer for Mobile */
    footer {
        padding: 2rem 0;
        margin-top: 3rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-copyright p,
    .footer-crafted p {
        font-size: 0.75rem;
    }
}

/* Standard Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .hero {
        padding: 1rem 0.5rem;
        min-height: 85vh;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 1.2rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }
    
    .hero-btns {
        gap: 0.8rem;
    }

    .code-bg {
        display: none;
    }
    
    .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-desc {
        font-size: 0.9rem;
    }
    
    .pricing-card {
        padding: 1.8rem;
    }
    
    .pricing-name {
        font-size: 1.3rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .skill-title {
        font-size: 1.2rem;
    }
    
    .skill-desc {
        font-size: 0.9rem;
    }
    
    .experience-card, .education-card, .certification-card {
        padding: 1.5rem;
    }
    
    .job-title, .degree-title, .certification-title {
        font-size: 1.2rem;
    }
    
    .subsection-title {
        font-size: 1.2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info h3 {
        font-size: 1.4rem;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.9rem 1.8rem;
    }
    
    /* Medium Minimal Footer for Small Mobile */
    footer {
        padding: 1.5rem 0;
        margin-top: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .footer-copyright p,
    .footer-crafted p {
        font-size: 0.7rem;
    }
}

/* Small Mobile Portrait (375px and below) */
@media (max-width: 375px) {
    .container {
        padding: 0 0.6rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.05;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .code-bg {
        display: none;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .skill-card {
        padding: 1.2rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .experience-card, .education-card, .certification-card {
        padding: 1.2rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .form-input {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .demo-info {
        padding: 0.5rem 0.8rem;
    }
    
    .demo-title {
        font-size: 1.3rem;
    }
    
    .demo-description {
        font-size: 0.85rem;
    }
    
    /* Medium Minimal Footer for Extra Small Mobile */
    footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .footer-copyright p,
    .footer-crafted p {
        font-size: 0.65rem;
    }
}

/* Extra Small Mobile Portrait (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.0;
    }
    
    .hero p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .code-bg {
        display: none;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .section-title p {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .skill-card, .service-card, .pricing-card {
        padding: 1rem;
    }
    
    .experience-card, .education-card, .certification-card {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .form-input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        width: 95%;
    }
    
    .tech-tag, .course-tag, .skill-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .job-title, .degree-title, .certification-title {
        font-size: 1.1rem;
    }
    
    .company-name, .university-name, .certification-issuer {
        font-size: 0.9rem;
    }
    
    .subsection-title {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Medium Minimal Footer for Tiny Screens */
    footer {
        padding: 1.2rem 0;
        margin-top: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
    
    .footer-copyright p,
    .footer-crafted p {
        font-size: 0.6rem;
    }
}

/* Samsung Galaxy Z Fold 5 - Cover Screen (Folded Mode) */
@media screen and (max-width: 430px) and (min-height: 850px) and (max-height: 950px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .hero {
        min-height: 85vh;
        padding: 1.5rem 0.8rem;
    }
    
    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.1;
        margin-bottom: 1.2rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.8rem;
    }
    
    .hero-btns {
        gap: 1rem;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title h2 {
        font-size: 1.9rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .services-container {
        gap: 1.2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .demos-grid {
        gap: 1.5rem;
    }
    
    .demo-item {
        max-width: 100%;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .experience-card, .education-card, .certification-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 85%;
    }
}

/* Samsung Galaxy Z Fold 5 - Main Screen (Unfolded Mode) */
@media screen and (min-width: 1800px) and (max-width: 2200px) and (min-height: 1800px) and (max-height: 1850px) {
    .container {
        max-width: 1400px;
        padding: 0 2rem;
    }
    
    .hero {
        padding: 3rem 2rem;
    }
    
    .hero h1 {
        font-size: 4.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        max-width: 85%;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .about-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .terminal {
        max-width: 80%;
    }
    
    .code-bg {
        width: 45%;
        opacity: 0.3;
    }
}

/* Foldable Device Landscape Mode */
@media screen and (min-width: 1800px) and (max-width: 2200px) and (max-height: 900px) and (orientation: landscape) {
    .hero {
        min-height: 75vh;
        padding: 2rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .skills-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .demos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Landscape Mode (width > height on small screens) */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 80vh;
        padding: 1rem 0.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        margin-bottom: 1.5rem;
    }
    
    .hero-btns {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .btn {
        width: auto;
        min-width: 150px;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .terminal {
        display: none;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        padding: 0.8rem 1.5rem;
    }
}

/* Desktop View on Mobile (when user requests desktop site) */
@media screen and (max-width: 768px) and (min-resolution: 150dpi) {
    .code-bg {
        display: none;
    }
    
    .terminal {
        display: block;
        max-width: 90%;
        font-size: 0.75rem;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
}

/* High DPI / Retina Display Adjustments */
@media screen and (min-resolution: 192dpi), 
       screen and (min-resolution: 2dppx) {
    .skill-icon span, .service-icon, .certification-icon {
        transform: scale(0.9);
    }
    
    .terminal-btn {
        width: 10px;
        height: 10px;
    }
    
    .demo-dot {
        width: 10px;
        height: 10px;
    }
}

/* Print Styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .nav-toggle, .terminal, .code-bg {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }
    
    .experience-card, .education-card, .certification-card {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }
    
    .btn {
        border: 1px solid #000;
        background: white !important;
        color: black !important;
    }
}