:root {
    --primary-color: #a3e635;
    --primary-dark: #84cc16;
    --secondary-color: #a3e635;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #1a1a1a;
    --border-color: #333333;
    --accent-green: #a3e635;
    --gradient: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.hero .container {
    max-width: 100%;
    padding: 0;
    width: 100%;
    height: 100%;
}

.about .container {
    max-width: 100%;
    padding: 0;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #a3e635;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 100%;
    width: 100%;
}

.navbar .container > * {
    flex: 0 0 auto;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a3e635;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-brand:hover {
    color: #84cc16;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    padding-top: 80px;
    background: #000000;
    overflow: visible;
    border-bottom: 1px solid #000000;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 0;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 80px);
    height: auto;
}

.hero-content {
    text-align: left;
    animation: fadeInUp 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    padding: 3rem 4rem;
    padding-bottom: 5rem;
    background: #000000;
    position: relative;
    z-index: 1;
    overflow: visible;
    min-height: calc(100vh - 80px);
}

.hero-content > * {
    margin-bottom: 1rem;
}

.hero-content > *:last-child {
    margin-bottom: 0;
}

.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    animation: fadeInUp 0.8s ease 0.2s both;
    background: #a3e635;
    padding: 0;
    position: relative;
    height: 100%;
    overflow: visible;
    z-index: 2;
}

.tech-logos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.about .tech-logos {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 400px;
}

.about-text {
    text-align: left;
    z-index: 2;
}

.tech-logo {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #000000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: all;
    padding: 0.5rem;
}

.tech-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(67%) sepia(95%) saturate(1352%) hue-rotate(45deg) brightness(102%);
}

.tech-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #a3e635;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tech-logo-text span {
    color: #a3e635;
}

.tech-logo:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-8px) scale(1.15);
    border-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tech-logo.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(8px);
    }
    50% {
        transform: translateY(-8px) translateX(-6px);
    }
    75% {
        transform: translateY(-12px) translateX(4px);
    }
}

/* Prevent logos from overlapping center image area */
.tech-logo {
    max-width: 60px;
    max-height: 60px;
}

/* Ensure logos stay near edges, avoiding center 40-60% vertical area */
.tech-logo[style*="top: 45%"],
.tech-logo[style*="top: 50%"],
.tech-logo[style*="top: 55%"] {
    display: none;
}

.profile-image {
    width: 450px;
    object-fit: cover;
    object-position: center center;
    border: 5px solid #000000;
    transition: transform 0.3s ease;
    border-radius: 50%;
    display: block;
    aspect-ratio: 1 / 1;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transform-origin: center center;
}

.profile-image:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.hero-greeting {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease 0.1s both;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.greeting-name {
    color: #a3e635;
    font-weight: 600;
}

.greeting-highlight {
    color: #a3e635;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    max-width: 75%;
}

@media (min-width: 1025px) {
    .hero-title {
        white-space: nowrap;
    }
}

.gradient-text {
    color: #a3e635;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: #ffffff !important;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 70%;
    margin-top: 0.25rem;
    position: relative;
    z-index: 1;
}

.hero-subtitle .company-link {
    color: #a3e635;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.hero-subtitle .company-link:hover {
    color: #84cc16;
    border-bottom-color: #84cc16;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    overflow: visible;
}

.hero-blogs {
    text-align: left;
    max-width: 70%;
    position: relative;
    z-index: 1;
}

#hero-blog-list {
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    align-items: center;
    overflow: visible;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(163, 230, 53, 0.1);
    border: 2px solid #a3e635;
    color: #a3e635;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #a3e635;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(163, 230, 53, 0.4);
}

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

.btn {
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #a3e635;
    box-shadow: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #a3e635;
    color: #000000;
    border-color: #a3e635;
}

.btn-secondary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #a3e635;
}

.btn-secondary:hover {
    border-color: #a3e635;
    background: #a3e635;
    color: #000000;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    opacity: 0.6;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.scroll-indicator:hover {
    opacity: 1;
    color: #a3e635;
    background: rgba(163, 230, 53, 0.2);
    border: 1px solid #a3e635;
    transform: translateX(-50%) translateY(-3px);
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
    animation: gentleBounce 2s ease-in-out infinite;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #a3e635;
}

/* About Section */
.about {
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 2rem 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.tech-highlight {
    color: #a3e635;
    font-weight: 600;
}

.skills {
    margin-top: 2.5rem;
}

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

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

.skill-tag {
    padding: 0.5rem 1.25rem;
    background: #000000;
    border: 1px solid #a3e635;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    border-color: #a3e635;
    background: #a3e635;
    color: #000000;
    transform: translateY(-2px);
}

/* Projects Section */
.projects {
    padding-top: 2rem;
    padding-bottom: 3rem;
    overflow: visible;
}

.projects .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: visible;
}

/* Custom scrollbar for projects grid */
.projects-grid::-webkit-scrollbar {
    height: 8px;
}

.projects-grid::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.projects-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.projects-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.projects-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    padding: 1.5rem 2rem;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    width: 450px;
    height: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-card-clickable {
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

.project-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    font-family: inherit;
    flex: 1;
    min-width: 100px;
    justify-content: center;
}

.project-btn svg {
    flex-shrink: 0;
}

.project-btn-github {
    background: #000000;
    color: #ffffff;
    border-color: #ffffff;
}

.project-btn-github:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.project-btn-demo {
    background: #000000;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.project-btn-demo:hover {
    background: var(--primary-color);
    color: #000000;
    transform: translateY(-2px);
}

.project-btn-details {
    background: rgba(163, 230, 53, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.project-btn-details:hover {
    background: var(--primary-color);
    color: #000000;
    transform: translateY(-2px);
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.project-modal-content {
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.project-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.project-modal-close:hover {
    background: rgba(163, 230, 53, 0.2);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.project-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-modal-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-modal-section {
    margin-bottom: 2rem;
}

.project-modal-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.project-modal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.project-tech-tag {
    padding: 0.5rem 1rem;
    background: rgba(163, 230, 53, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.project-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.project-features-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.project-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.project-modal-actions .project-btn {
    flex: 1;
    min-width: 150px;
}

/* Custom scrollbar for modal */
.project-modal-content::-webkit-scrollbar {
    width: 8px;
}

.project-modal-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.project-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.project-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Blog Section */
.blog {
    background: #0a0a0a;
}

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

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.blog-tag {
    padding: 0.25rem 0.75rem;
    background: #000000;
    border: 1px solid #a3e635;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #ffffff;
}

/* Contact Section */
.contact {
    background: #0a0a0a;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item strong {
    color: var(--text-primary);
}

.contact-item span {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Calendar Block */
.calendar-block {
    padding: 4rem 0;
    background: #0a0a0a;
}

.calendar-block-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.calendar-block-intro {
    margin-bottom: 2rem;
}

.calendar-block-intro h3 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.calendar-block-intro p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.calendar-block-wrapper {
    background: #000000;
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(163, 230, 53, 0.2);
    margin-bottom: 2rem;
}

.calendar-block-embed {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 8px;
}

.calendly-inline-widget {
    width: 100%;
    border-radius: 8px;
}

.calendar-block-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.calendar-block-link:hover {
    background: #b8f542;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(163, 230, 53, 0.3);
}

@media (max-width: 768px) {
    .calendar-block-embed {
        height: 400px;
    }
    
    .calendar-block-wrapper {
        padding: 1rem;
    }
    
    .calendar-block-intro h3 {
        font-size: 1.5rem;
    }
    
    .calendar-block-intro p {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: #000000;
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid #a3e635;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer p::first-letter {
    color: #a3e635;
}

.footer .social-links {
    margin-top: 0;
}

.footer .social-link {
    width: 36px;
    height: 36px;
}

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

/* Skeleton Loading */
.skeleton {
    animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-line {
    height: 1.5rem;
    background: var(--bg-card);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.skeleton-line.short {
    width: 60%;
}

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

/* Loading Spinner */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    min-height: 200px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(163, 230, 53, 0.2);
    border-top-color: #a3e635;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Responsive Design */
/* Medium screens (1221px and below) - fix button/social link overflow */
@media (max-width: 1250px) {
    .hero {
        min-height: auto;
        height: auto;
        overflow: visible;
    }
    
    .hero-wrapper {
        grid-template-columns: 58% 42%;
        min-height: auto;
        height: auto;
        align-items: start;
    }
    
    .hero-content {
        padding: 2rem 2rem;
        overflow: visible;
        min-height: auto;
        justify-content: flex-start;
        padding-bottom: 3rem;
        max-height: none;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-content > * {
        margin-bottom: 0.75rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
        width: 100%;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        font-size: 0.875rem;
        padding: 0.7rem 1.2rem;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .hero-subtitle {
        max-width: 95%;
        font-size: 0.875rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .hero-blogs {
        max-width: 95%;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-image {
        min-height: auto;
        height: auto;
    }
}

/* Specific fix for shorter viewports (1221x900) */
@media (max-width: 1250px) and (max-height: 900px) {
    .hero-content {
        padding: 1.5rem 1.75rem;
        padding-bottom: 2.5rem;
    }
    
    .hero-wrapper {
        grid-template-columns: 55% 45%;
    }
    
    .hero-buttons {
        gap: 0.4rem;
        row-gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        flex: 0 1 auto;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-blogs {
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

/* Ensure buttons always wrap and are visible */
@media (max-width: 1300px) {
    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        row-gap: 0.5rem;
        overflow: visible;
    }
    
    .hero-buttons .btn {
        flex: 0 0 auto;
        min-width: auto;
    }
}

/* iPad Pro (1024x1366) and below use mobile view */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        min-height: auto;
        height: auto;
    }

    .hero-content {
        text-align: center;
        padding: 2rem 1.5rem;
        padding-right: 0;
    }

    .hero-greeting {
        text-align: left;
    }

    .hero-blogs {
        text-align: left;
    }

    #hero-blog-list {
        text-align: left;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

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

    .hero-image {
        order: -1;
        height: 50vh;
        min-height: 300px;
        padding: 0;
        background: transparent;
    }

    .hero-image .tech-logos {
        display: none;
    }

    .profile-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        border: none;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        object-fit: cover;
        margin: 0;
    }

    .profile-image:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 2rem 1rem;
        text-align: left;
    }

    .hero-greeting {
        text-align: left;
    }
    
    .hero-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about .tech-logos {
        height: 400px;
        min-height: 300px;
    }

    .btn {
        text-align: center;
    }

    .hero-image {
        height: 50vh;
        min-height: 300px;
        padding: 0;
        background: transparent;
    }

    .hero-image .tech-logos {
        display: none;
    }

    .profile-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        border: none;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        object-fit: cover;
    }

    .profile-image:hover {
        transform: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .social-links {
        justify-content: center;
    }
}

    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        width: 350px;
        height: 400px;
    }
    
    .project-buttons {
        flex-direction: column;
    }
    
    .project-btn {
        width: 100%;
    }
    
    .project-modal-content {
        padding: 1.5rem;
        max-height: 95vh;
    }
    
    .project-modal-content h2 {
        font-size: 1.5rem;
    }
    
    .project-modal-actions {
        flex-direction: column;
    }
    
    .project-modal-actions .project-btn {
        width: 100%;
    }

    .container {
        padding: 0 1rem;
    }


@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    section {
        padding: 3rem 0;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-greeting {
        text-align: left;
    }

    .hero-image {
        height: 50vh;
        min-height: 300px;
        padding: 0;
        background: transparent;
    }

    .hero-image .tech-logos {
        display: none;
    }

    .profile-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        border: none;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        object-fit: cover;
    }

    .profile-image:hover {
        transform: none;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

