/* Base Styles */
:root {
    --primary: #0A192F;
    --secondary: #6C5CE7;
    --accent: #00B894;
    --success: #00D2A8;
    --text: #8892B0;
    --text-bright: #CCD6F6;
    --text-light: #A8B2D1;
    --background: #0A192F;
    --card-bg: #112240;
    --hover: #233554;
    --border: #233554;
    --gradient-primary: linear-gradient(135deg, var(--secondary), var(--accent));
    --gradient-card: linear-gradient(135deg, var(--card-bg), #1a365d);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Light theme variables */
body.light-theme {
    --primary: #FFFFFF;
    --secondary: #6C5CE7;
    --accent: #00B894;
    --success: #00D2A8;
    --text: #4A5568;
    --text-bright: #1A202C;
    --text-light: #718096;
    --background: #F7FAFC;
    --card-bg: #FFFFFF;
    --hover: #E2E8F0;
    --border: #CBD5E0;
    --gradient-primary: linear-gradient(135deg, var(--secondary), var(--accent));
    --gradient-card: linear-gradient(135deg, var(--card-bg), #F1F5F9);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    width: 60px;
    height: 30px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    z-index: 1001;
    box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.05);
}

.theme-toggle i {
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.theme-toggle .fa-sun {
    color: #FFA500;
    opacity: 0.5;
}

.theme-toggle .fa-moon {
    color: #4A90E2;
    opacity: 1;
}

body.light-theme .theme-toggle .fa-sun {
    opacity: 1;
}

body.light-theme .theme-toggle .fa-moon {
    opacity: 0.5;
}

/* Toggle indicator */
.theme-toggle::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    left: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body.light-theme .theme-toggle::before {
    transform: translateX(28px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 5px;
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 25, 47);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '.';
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-bright);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
    background: var(--hover);
}

.nav-link.cta-link {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
}

.nav-link.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-number {
    color: var(--accent);
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* Hero Section */
.hero-section {
    min-height: 220vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.hero-subtitle {
    color: var(--accent);
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--text-bright);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    max-width: 600px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    animation: float 10s infinite ease-in-out;
}

.bg-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.bg-circle:nth-child(2) {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 50%;
    right: 15%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Code Window */
.code-window {
    background: #1E1E1E;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.window-header {
    background: #2D2D2D;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #FF5F56;
}

.dot-yellow {
    background: #FFBD2E;
}

.dot-green {
    background: #27C93F;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-line {
    display: flex;
    gap: 1rem;
}

.line-number {
    color: #4D4D4D;
    text-align: right;
    min-width: 2rem;
}

.code-text {
    color: #A9B7C6;
}


/* Expertise Section */
.expertise-section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2rem;
    color: var(--text-bright);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.expertise-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(108, 92, 231, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.expertise-card:hover::before {
    transform: translateX(100%);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

.card-content {
    color: var(--text);
}

/* SDK Section */
.sdk-section {
    background: var(--card-bg);
    padding: 100px 0;
}

.sdk-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sdk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.sdk-card {
    background: var(--primary);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.sdk-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.sdk-title {
    color: var(--text-bright);
    font-size: 1.25rem;
}

.sdk-version {
    background: var(--hover);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-family: 'Fira Code', monospace;
}

.sdk-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-icon {
    color: var(--accent);
}

/* Tech Stack */
.tech-stack-section {
    padding: 100px 0;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    background: var(--hover);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.tech-name {
    color: var(--text-bright);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--card-bg);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-form {
    background: var(--primary);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--hover);
    border: none;
    border-radius: 8px;
    color: var(--text-bright);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent);
}

.form-button {
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Enhanced form styles */
.contact-form {
    position: relative;
}

.form-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Loading animation */
.button-loader {
    display: none;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success/Error messages */
.form-message {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.form-message.error {
    background: rgba(255, 82, 82, 0.1);
    color: #ff5252;
    border: 1px solid rgba(255, 82, 82, 0.2);
}

/* Form input focus effects */
.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary);
    padding: 2rem 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: var(--text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .expertise-grid,
    .sdk-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

.typing-container {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-bright);
    margin: 1rem 0;
}

.typing-text {
    color: var(--accent);
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.code-window {
    background: #1E1E1E;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    font-family: 'Fira Code', monospace;
}

.window-header {
    background: #2D2D2D;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #FF5F56;
}

.dot-yellow {
    background: #FFBD2E;
}

.dot-green {
    background: #27C93F;
}

.code-content {
    padding: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-lines {
    counter-reset: line;
}

.line {
    display: flex;
    gap: 1rem;
    padding: 0.25rem 0;
    font-family: 'Fira Code', monospace;
}

.line-number {
    color: #4D4D4D;
    text-align: right;
    min-width: 2rem;
    user-select: none;
}

.code-text {
    color: #A9B7C6;
}

/* Syntax Highlighting */
.keyword {
    color: #CC7832;
}

.string {
    color: #6A8759;
}

.class {
    color: #A9B7C6;
}

.function {
    color: #FFC66D;
}

/* Animation */
.code-lines .line {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
}

.code-lines .line:nth-child(1) {
    animation-delay: 0.1s;
}

.code-lines .line:nth-child(2) {
    animation-delay: 0.2s;
}

.code-lines .line:nth-child(3) {
    animation-delay: 0.3s;
}

.code-lines .line:nth-child(4) {
    animation-delay: 0.4s;
}

.code-lines .line:nth-child(5) {
    animation-delay: 0.5s;
}

.code-lines .line:nth-child(6) {
    animation-delay: 0.6s;
}

.code-lines .line:nth-child(7) {
    animation-delay: 0.7s;
}

.code-lines .line:nth-child(8) {
    animation-delay: 0.8s;
}

.code-lines .line:nth-child(9) {
    animation-delay: 0.9s;
}

.code-lines .line:nth-child(10) {
    animation-delay: 1.0s;
}

.code-lines .line:nth-child(11) {
    animation-delay: 1.1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.portfolio-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-title {
    color: var(--text-bright);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio-description {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: var(--hover);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-family: 'Fira Code', monospace;
}

.portfolio-links {
    display: flex;
    gap: 1rem;
}

.portfolio-link {
    color: var(--text-bright);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.portfolio-link:hover {
    color: var(--accent);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--card-bg);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-card {
    background: var(--primary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.quote-icon {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.author-name {
    color: var(--text-bright);
    margin-bottom: 0.25rem;
}

.author-position {
    color: var(--text);
    font-size: 0.9rem;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: var(--primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-content {
    padding: 2rem;
}

.blog-category {
    color: var(--accent);
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
}

.blog-title {
    color: var(--text-bright);
    font-size: 1.25rem;
    margin: 1rem 0;
}

.blog-excerpt {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.blog-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--card-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    background: var(--primary);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-bright);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.theme-toggle i {
    font-size: 1.25rem;
    color: var(--text-bright);
}

.fa-sun {
    display: none;
}

body.light-theme .fa-sun {
    display: block;
}

body.light-theme .fa-moon {
    display: none;
}

/* Animations */
@keyframes certificateReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.certificate-reveal {
    animation: certificateReveal 0.6s ease forwards;
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.portfolio-filter-btn {
    background: var(--card-bg);
    color: var(--text);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter-btn.active,
.portfolio-filter-btn:hover {
    background: var(--accent);
    color: white;
}

/* Portfolio Card Transitions */
.portfolio-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blog Card Hover Effects */
.blog-link i {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-link i {
    transform: translateX(10px);
}

/* Light Theme Variables */
body.light-theme {
    --primary: #ffffff;
    --secondary: #6C5CE7;
    --accent: #00B894;
    --text: #4A5568;
    --text-bright: #2D3748;
    --background: #F7FAFC;
    --card-bg: #EDF2F7;
    --hover: #E2E8F0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .portfolio-filters {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 1rem;
    }

    .portfolio-filter-btn {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.testimonials-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 300px; /* Adjust width for the cards */
    margin-right: 30px; /* Space between cards */
}



.author-info {
    font-size: 14px;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

/* Optional: Add navigation dots or buttons */
.testimonials-container:hover .testimonial-carousel {
    transform: translateX(-50%);
}

/* Certifications Section */
.certifications-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--card-bg) 100%);
    position: relative;
    overflow: hidden;
}

/* Background Grid Pattern */
.certifications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(var(--text) 1px, transparent 1px),
    linear-gradient(90deg, var(--text) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.03;
    pointer-events: none;
}

.certifications-section .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.certifications-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.certification-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(108, 92, 231, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.certification-card:hover::before {
    transform: translateX(100%);
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: var(--hover);
}

.certification-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.certification-icon i {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.certification-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.certification-issuer {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.certification-issuer::before {
    content: '•';
    color: var(--accent);
}

.certification-date {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--text);
    padding: 0.25rem 1rem;
    background: var(--background);
    border-radius: 15px;
    display: inline-block;
    margin-top: 1rem;
}

/* Hover Effects */
.certification-card[data-tilt] {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.certification-card[data-tilt]:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) translateY(-10px);
}

.certification-card[data-tilt] .certification-icon,
.certification-card[data-tilt] .certification-title,
.certification-card[data-tilt] .certification-issuer,
.certification-card[data-tilt] .certification-date {
    transform: translateZ(30px);
}

/* Verification Badge */
.certification-card::after {
    content: '✓ Verified';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(0, 184, 148, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.certification-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Animation for cards */
@keyframes certificateAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.certification-card {
    animation: certificateAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.certification-card:nth-child(2) {
    animation-delay: 0.2s;
}

.certification-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .certifications-section {
        padding: 60px 0;
    }

    .certifications-section .section-title {
        font-size: 2.5rem;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 1.5rem;
    }

    .certification-card {
        padding: 2rem;
    }
}

/* Packages Section Styles */
.packages-section {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.packages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 25px 25px, var(--hover) 2%, transparent 0%),
            radial-gradient(circle at 75px 75px, var(--hover) 2%, transparent 0%);
    background-size: 100px 100px;
    opacity: 0.1;
    pointer-events: none;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.package-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Card Hover Effects */
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.package-card:hover::before {
    transform: scaleX(1);
}

/* Package Content */
.package-content {
    position: relative;
    z-index: 1;
}

.package-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

.package-description {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Package Metadata */
.package-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.package-version,
.package-compatibility {
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    background: var(--hover);
}

.package-version {
    color: var(--secondary);
}

.package-compatibility {
    color: var(--accent);
}

/* Package Stats */
.package-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--primary);
    border-radius: 12px;
}

.package-likes,
.package-points,
.package-downloads {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text);
}

.package-likes::before {
    content: '❤️';
}

.package-points::before {
    content: '⭐';
}

.package-downloads::before {
    content: '⬇️';
}

/* Package Links */
.package-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.package-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-bright);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--hover);
    transition: all 0.3s ease;
}

.package-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Copy Package Button Animation */
.package-link i {
    transition: transform 0.3s ease;
}

.package-link:hover i {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .packages-section {
        padding: 60px 0;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 1.5rem;
    }

    .package-card {
        padding: 1.5rem;
    }

    .package-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Animation for Package Cards */
@keyframes packageAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.package-card {
    animation: packageAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.package-card:nth-child(2) {
    animation-delay: 0.2s;
}

.package-card:nth-child(3) {
    animation-delay: 0.4s;
}

.package-card:nth-child(4) {
    animation-delay: 0.6s;
}

/* New Design System - Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-bright);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--hover);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

/* Hero Section Updates */
.hero-tagline {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 600;
    margin: 1rem 0;
    font-family: 'Fira Code', monospace;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-bright);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--card-bg);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Fira Code', monospace;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.availability {
    color: var(--text-bright);
    padding: 1rem;
    background: var(--primary);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid var(--accent);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 184, 148, 0.3);
}

/* Fallback for image placeholder */
.image-placeholder {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
    background: var(--background);
}

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.skill-category {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.category-title {
    color: var(--text-bright);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    background: var(--primary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    color: var(--text-bright);
    font-weight: 600;
    font-size: 1rem;
}

.skill-percentage {
    color: var(--accent);
    font-weight: 700;
    font-family: 'Fira Code', monospace;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--hover);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0%;
    transition: width 2s ease-in-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

body.light-theme .skill-progress::after {
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.2), transparent);
}

@keyframes shimmer {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

.skill-years {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.skill-progress.animate {
    animation: progressFill 2s ease-in-out forwards;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card {
    background: var(--gradient-card);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* Enhanced light mode card visibility */
body.light-theme .service-card,
body.light-theme .skill-category,
body.light-theme .project-card,
body.light-theme .stat-card,
body.light-theme .repo-card {
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

body.light-theme .service-card:hover,
body.light-theme .skill-category:hover,
body.light-theme .project-card:hover,
body.light-theme .stat-card:hover,
body.light-theme .repo-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

/* Enhanced testimonial cards for light mode */
body.light-theme .testimonial-card {
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

body.light-theme .testimonial-card.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-md);
}

/* Enhanced navigation for light mode */
body.light-theme .nav-container {
    background: rgba(247, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

/* Enhanced theme toggle for light mode visibility */
body.light-theme .theme-toggle {
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* Enhanced form elements for light mode */
body.light-theme .form-input {
    border: 2px solid var(--border);
    background: var(--card-bg);
}

body.light-theme .form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.15);
}

/* Enhanced scroll to top button for light mode */
body.light-theme .scroll-to-top {
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.card-description {
    color: var(--text);
    margin: 1rem 0;
    line-height: 1.6;
}

/* Open Source Section */
.opensource-section {
    padding: 100px 0;
    background: var(--card-bg);
}

.opensource-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: var(--gradient-card);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-bright);
    font-family: 'Fira Code', monospace;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-repos {
    margin-top: 4rem;
}

.repos-title {
    color: var(--text-bright);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 3rem;
}

.repos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.repo-card {
    background: var(--primary);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.repo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.repo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.repo-name {
    color: var(--text-bright);
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Fira Code', monospace;
}

.repo-stars {
    color: var(--accent);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.repo-description {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.repo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.repo-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.language-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.language-dot.dart {
    background: #00B4AB;
}

.repo-links {
    display: flex;
    gap: 0.5rem;
}

.repo-link {
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.repo-link:hover {
    color: var(--accent);
    background: var(--hover);
}

.github-cta {
    text-align: center;
    margin-top: 2rem;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: var(--primary);
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.blog-card {
    background: var(--gradient-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.blog-image {
    height: 120px;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-content {
    padding: 2rem;
}

.blog-title {
    color: var(--text-bright);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-date::before {
    content: '📅';
    font-size: 0.8rem;
}

.blog-read-time::before {
    content: '⏱️';
    font-size: 0.8rem;
    margin-right: 0.3rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.blog-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border);
}

.blog-cta-text {
    color: var(--text-bright);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Enhanced blog cards for light mode */
body.light-theme .blog-card {
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

body.light-theme .blog-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

body.light-theme .blog-cta {
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* Resume Section */
.resume-section {
    padding: 80px 0;
    background: var(--card-bg);
    text-align: center;
}

.resume-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.resume-description {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.resume-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.resume-info {
    color: var(--text-light);
}

.resume-info a {
    color: var(--accent);
    text-decoration: none;
}

.resume-info a:hover {
    text-decoration: underline;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary,
    .hero-cta .btn-outline {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .profile-image,
    .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }
    
    .profile-image:hover {
        transform: none;
    }
}

/* Enhanced Project Cards */
.project-card {
    background: var(--gradient-card);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.project-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid var(--border);
}

.project-category {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-title {
    color: var(--text-bright);
    font-size: 1.5rem;
    margin: 0;
}

.project-content {
    padding: 1rem 2rem 2rem;
}

.project-challenge, .project-solution {
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-impact {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--primary);
    border-radius: 8px;
    justify-content: center;
}

.impact-metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Fira Code', monospace;
}

.metric-label {
    color: var(--text-light);
    font-size: 0.8rem;
}

.project-links {
    margin-top: 1.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Enhanced Testimonials */
.testimonial-card.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    text-align: center;
    margin-bottom: 1rem;
}

.testimonial-rating .fas {
    color: #FFD700;
    font-size: 1.2rem;
    margin: 0 0.1rem;
}

.company-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.author-avatar {
    background: var(--gradient-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Testimonial Carousel Navigation */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot:hover,
.testimonial-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

.testimonial-carousel {
    transition: transform 0.5s ease;
}

/* Improved testimonial container */
.testimonials-container {
    overflow: hidden;
    position: relative;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-bright);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

body.light-theme .mobile-nav {
    border-top: 2px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.mobile-nav-link {
    display: block;
    color: var(--text-bright);
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
    background: var(--hover);
    border-left-color: var(--accent);
    color: var(--accent);
}

/* Mobile menu active states */
.nav-container.mobile-active .mobile-nav {
    display: block;
    animation: slideDown 0.3s ease;
}

.nav-container.mobile-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-container.mobile-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-container.mobile-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced mobile responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .testimonial-carousel {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 1rem;
    }
}

/* Enhanced Loading Animations */
.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }
.fade-in-delay-5 { animation-delay: 0.5s; }
.fade-in-delay-6 { animation-delay: 0.6s; }

/* Contact Form Enhancements */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: var(--success);
    color: white;
    border-left: 4px solid #00B894;
}

.form-message.error {
    background: #FF6B6B;
    color: white;
    border-left: 4px solid #E55555;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
    outline: none;
}

.form-input:invalid:not(:focus) {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-input.error {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.field-error {
    color: #FF6B6B;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    animation: slideInError 0.3s ease;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-icon {
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Performance Optimizations */
* {
    will-change: auto;
}

.service-card,
.project-card,
.testimonial-card {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .testimonial-carousel {
        transform: none !important;
    }
}