:root {
    --python-blue: #3776ab;
    --python-yellow: #ffd43b;
    --dark-bg: #0d1117;
    --darker-bg: #010409;
    --card-bg: #161b22;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --border-color: #30363d;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html.smooth-scroll,
body.smooth-scroll {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    transition: opacity 0.3s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-python-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-code-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    background: linear-gradient(45deg, var(--python-blue), var(--python-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    animation: logoShine 2s ease-in-out 1;
}

@keyframes logoShine {
    0% {
        background: linear-gradient(45deg, var(--python-blue), var(--python-yellow));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 10px var(--python-blue), 0 0 20px var(--python-blue), 0 0 30px var(--python-blue);
    }

    100% {
        background: linear-gradient(45deg, var(--python-blue), var(--python-yellow));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: none;
    }
}



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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-weight: bold;
}

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

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

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

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--python-yellow);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Burger menu animation */
.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--python-blue), var(--python-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--python-blue), var(--python-yellow));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(55, 118, 171, 0.3);
}

/* Sections */
.section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
    overflow-x: hidden;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--python-yellow);
}

/* Passion Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* About Section */
.about-cv-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: end;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-image {
    text-align: center;
}

.profile-image {
    text-align: center;
}

.cv-photo {
    width: 400px;
    height: 550px;
    border-radius: 15px;
    object-fit: cover;
    border: 4px solid var(--python-blue);
    box-shadow: 0 10px 30px rgba(55, 118, 171, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 2rem;
}

.cv-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(55, 118, 171, 0.4);
}

.cv-overview h3 {
    color: var(--python-yellow);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.cv-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    text-align: center;
}

.cv-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.cv-section {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cv-section:hover {
    transform: translateY(-5px);
    border-color: var(--python-blue);
}

.cv-section h4 {
    color: var(--python-yellow);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.cv-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cv-details p {
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

.cv-cta {
    text-align: left;
    margin-top: 2rem;
}

.mobile-photo {
    display: none;
    text-align: center;
    margin: 1rem 0;
}

.cv-download-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--python-blue), var(--python-yellow));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(55, 118, 171, 0.3);
}

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

.skill-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--python-blue);
}

.skill-card h3 {
    color: var(--python-yellow);
    margin-bottom: 0.5rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(55, 118, 171, 0.2);
    border-color: var(--python-blue);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--python-blue), var(--python-yellow));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(55, 118, 171, 0.7);
    z-index: 1;
}

.project-icon {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 2;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: var(--python-yellow);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--python-blue);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--python-yellow);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--python-blue);
}

/* Contact Section */
.contact {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

/* macOS-style dots for desktop/PC */
.contact::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #ff5f56;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 95, 86, 0.3);
}

.contact::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    width: 12px;
    height: 12px;
    background: #ffbd2e;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 189, 46, 0.3);
}

.contact .macos-dot {
    position: absolute;
    top: 20px;
    left: 60px;
    width: 12px;
    height: 12px;
    background: #27ca3f;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(39, 202, 63, 0.3);
    z-index: 1;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
    align-items: end;
}

.contact-info-section h3,
.contact-form-section h3 {
    color: var(--python-yellow);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--dark-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.contact-item:hover {
    border-color: var(--python-blue);
}

.contact-text strong {
    color: var(--python-yellow);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text p,
.contact-text a {
    color: var(--text-primary);
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--python-yellow);
}

.social-links h4 {
    color: var(--python-yellow);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    border-color: var(--python-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(55, 118, 171, 0.2);
}

.social-icon {
    font-size: 1.2rem;
}

.contact-form-section {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact h2 {
    margin-bottom: 3rem;
    margin-top: -1rem;
}

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

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--python-yellow);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--python-blue);
}

/* Contact Form */
.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--python-yellow);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--dark-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Prevent autofill background color changes */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active,
.form-group input[type="email"]:-webkit-autofill,
.form-group input[type="email"]:-webkit-autofill:hover,
.form-group input[type="email"]:-webkit-autofill:focus,
.form-group input[type="email"]:-webkit-autofill:active,
.form-group input[type="text"]:-webkit-autofill,
.form-group input[type="text"]:-webkit-autofill:hover,
.form-group input[type="text"]:-webkit-autofill:focus,
.form-group input[type="text"]:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--dark-bg) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    background-color: var(--dark-bg) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--dark-bg) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    background-color: var(--dark-bg) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--python-blue);
    box-shadow: 0 0 0 3px rgba(55, 118, 171, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    background: linear-gradient(45deg, var(--python-blue), var(--python-yellow));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-icon {
    font-size: 1.1rem;
}

/* reCAPTCHA Styling */
.recaptcha-container {
    margin: 0.5rem 0 0 0;
    display: flex;
    justify-content: flex-start;
}

.recaptcha-container .g-recaptcha {
    transform: scale(0.9);
    transform-origin: 0 0;
}

/* Disabled button styling */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(55, 118, 171, 0.3);
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
}

.contact-info h3 {
    color: var(--python-yellow);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Footer */
#footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

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

.footer .brand {
    margin-bottom: 0.5rem;
}

.footer .section-title {
    font-size: 2rem;
    color: var(--python-yellow);
    margin-bottom: 0.3rem;
}

.footer h2 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 300;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-nav a:hover {
    color: var(--python-yellow);
}

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

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

.footer .social-icon {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer .social-item {
    transition: transform 0.3s ease;
}

.footer .social-item:hover {
    transform: translateY(-5px);
}

.footer .social-item img {
    width: 50px;
    height: 50px;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.footer .social-item:hover img {
    filter: brightness(1);
}

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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    /* About Section Mobile Responsiveness */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }

    .about-text {
        font-size: 1.05rem;
        line-height: 1.8;
        color: var(--text-secondary);
        max-width: 100%;
        margin: 0 auto;
        padding: 0 0.5rem;
        order: 1;
    }

    .about-text p {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    /* Skills Grid Mobile Responsiveness */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
        margin-top: 1rem;
        max-width: 100%;
        box-sizing: border-box;
        order: 2;
        width: 100%;
    }

    .skill-card {
        padding: 1.5rem 0.8rem;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .skill-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        color: var(--python-yellow);
    }

    .skill-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

    /* Section improvements for mobile */
    .section {
        padding: 3rem 0;
    }

    .section h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    /* Mobile Navigation */
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    /* Prevent scrolling when burger menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: bold;
    }

    /* Projects Section Mobile Responsiveness */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        margin-top: 2rem;
    }

    .project-card {
        border-radius: 12px;
        overflow: hidden;
        min-height: 280px;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: var(--python-yellow);
    }

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

    .project-tags {
        gap: 0.4rem;
        margin-bottom: 1.2rem;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    /* Hero Section Mobile Improvements */
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .hero .subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero .description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .about-cv-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        grid-template-areas: "text" "photo";
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .profile-image {
        grid-area: photo;
        display: none;
    }

    .cv-overview {
        grid-area: text;
    }

    .cv-photo {
        width: 280px;
        height: 380px;
        border-radius: 12px;
        margin: 0 auto;
        display: block;
    }

    .cv-overview h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        text-align: center;
        color: var(--python-yellow);
    }

    .cv-overview p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        text-align: center;
        color: var(--text-secondary);
    }

    .cv-details {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .cv-section {
        padding: 1.2rem;
        border-radius: 10px;
        margin-bottom: 0.5rem;
    }

    .cv-section h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        color: var(--python-yellow);
    }

    .cv-section p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: var(--text-secondary);
    }

    .cv-cta {
        text-align: center;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .cv-download-btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        border-radius: 50px;
    }

    .mobile-photo {
        display: block;
        margin-bottom: 2rem;
    }

    .profile-image {
        display: none;
    }

    .footer .section-title {
        font-size: 2rem;
    }

    .footer h2 {
        font-size: 1.2rem;
    }

    .footer .social-icon {
        gap: 1rem;
    }

    .footer .social-item img {
        width: 40px;
        height: 40px;
    }

    .footer-nav {
        gap: 1rem;
    }

    .footer-nav a {
        font-size: 0.9rem;
    }

    .contact {
        padding: 0.8rem 0.5rem;
        margin: 0.3rem 0;
        border-radius: 10px;
        background: transparent;
        border: none;
    }

    /* Hide macOS dots on mobile */
    .contact::before,
    .contact::after,
    .contact .macos-dot {
        display: none;
    }

    .contact-content {
        max-width: 100%;
        padding: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        width: 100%;
        margin: 0;
    }

    .contact-info-section h3,
    .contact-form-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        text-align: left;
    }

    .contact-form-section {
        padding: 0.6rem;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .contact-info-section {
        width: 100%;
        box-sizing: border-box;
    }

    .contact-item {
        padding: 0.5rem;
        margin-bottom: 0.6rem;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-text strong {
        font-size: 0.7rem;
    }

    .contact-text p,
    .contact-text a {
        font-size: 0.8rem;
        margin: 0.1rem 0;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
        width: 100%;
        box-sizing: border-box;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .social-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }

    .contact-form {
        max-width: 100%;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-bottom: 0.8rem;
    }

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

    .form-group label {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .submit-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .recaptcha-container {
        margin: 0.2rem 0 0 0;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: flex-start;
        overflow: hidden;
    }

    .recaptcha-container .g-recaptcha {
        transform: scale(0.75);
        max-width: 100%;
    }

    .section {
        padding: 3rem 0;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
        overflow-x: hidden;
        max-width: 100vw;
    }

    #about.section {
        padding-bottom: 1rem;
    }
}

/* Tablet screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-info-section h3,
    .contact-form-section h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .contact-text strong {
        font-size: 0.85rem;
    }

    .contact-text p,
    .contact-text a {
        font-size: 0.95rem;
    }

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

    .social-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .form-row {
        gap: 1rem;
        margin-bottom: 1.2rem;
    }

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

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .recaptcha-container {
        margin: 1rem 0 0 0;
    }

    .recaptcha-container .g-recaptcha {
        transform: scale(0.9);
    }
}

/* Passion Section Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {

    /* About Section Tablet Responsiveness */
    .about-content {
        gap: 3rem;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .about-text {
        font-size: 1.1rem;
        line-height: 1.8;
        padding: 0 1rem;
    }

    /* Skills Grid Tablet Responsiveness */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .skill-card {
        padding: 1.5rem;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .skill-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .skill-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Section spacing for tablets */
    .section {
        padding: 4rem 0;
    }

    .section h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
}

/* About Me Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-cv-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        max-width: 100%;
        padding: 0 2rem;
        text-align: center;
    }

    .profile-image {
        text-align: center;
        margin-top: 0;
        margin-bottom: 2rem;
        display: block;
        order: 1;
    }

    .cv-overview {
        order: 2;
        padding: 0 1rem;
    }

    .cv-photo {
        width: 300px;
        height: 400px;
        border-radius: 12px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin: 0 auto;
        display: block;
    }

    .cv-photo:hover {
        transform: scale(1.02);
        box-shadow: 0 15px 40px rgba(55, 118, 171, 0.4);
    }

    .cv-overview h3 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
        text-align: center;
    }

    .cv-overview p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .cv-details {
        gap: 0.3rem;
        margin-bottom: 1.2rem;
        padding: 0 1rem;
    }

    .cv-section {
        padding: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .cv-section h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .cv-section p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .cv-download-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }

    .cv-cta {
        text-align: center;
        margin-top: 2rem;
    }

    .mobile-photo {
        display: none;
    }

    .profile-image {
        display: block;
    }

    /* Ensure proper spacing */
    .section {
        padding: 4rem 0;
    }

    /* Projects section tablet improvements */
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        padding: 0 1rem;
    }

    .project-card {
        min-height: 280px;
    }

    .project-content {
        padding: 1.8rem;
    }

    .project-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .project-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Hero section tablet adjustments */
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero .subtitle {
        font-size: 1.3rem;
    }

    .hero .description {
        font-size: 1rem;
        max-width: 700px;
        margin: 0 auto 3rem;
    }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .contact {
        padding: 0.6rem 0.4rem;
        margin: 0.2rem 0;
        background: transparent;
        border: none;
    }

    /* Hide macOS dots on extra small screens */
    .contact::before,
    .contact::after,
    .contact .macos-dot {
        display: none;
    }

    .contact-grid {
        gap: 0.6rem;
    }

    .contact-info-section h3,
    .contact-form-section h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-form-section {
        padding: 0.5rem;
    }

    .contact-item {
        padding: 0.4rem;
        margin-bottom: 0.5rem;
    }

    .contact-text strong {
        font-size: 0.65rem;
    }

    .contact-text p,
    .contact-text a {
        font-size: 0.75rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .submit-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .recaptcha-container .g-recaptcha {
        transform: scale(0.7);
    }

    .cv-cta {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .section {
        padding: 1.5rem 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

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

    .skill-card {
        padding: 1rem;
    }

    .skill-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .skill-card p {
        font-size: 0.85rem;
    }

    .contact h2 {
        margin-top: -0.5rem;
        margin-bottom: 2rem;
    }

    #about.section {
        padding-bottom: 0.5rem;
    }
}

/* Floating Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Scroll indicators */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--python-yellow);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Blog Styles */
.blog-header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blog-header-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

.blog-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--python-blue), var(--python-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.blog-header .subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.blog-header .description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.blog-posts {
    padding: 80px 0;
}

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

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.8s ease-out 1.2s forwards;
}

.blog-post-horizontal {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    color: inherit;
    min-height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-post-horizontal:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(55, 118, 171, 0.2);
    border-color: var(--python-blue);
}

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

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--python-blue);
}

.post-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, var(--python-blue), var(--python-yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    flex-shrink: 0;
}

.blog-post-horizontal .post-image {
    height: 100%;
    width: 300px;
    flex-shrink: 0;
    align-self: stretch;
    background: var(--card-bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}



.post-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.blog-post-horizontal .post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    border-radius: 0;
}



.post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post-horizontal .post-content {
    padding: 1.25rem;
    justify-content: flex-start;
    flex: 1;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.post-date,
.post-author,
.post-category,
.read-time {
    background: rgba(55, 118, 171, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(55, 118, 171, 0.2);
}

.post-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.post-tags .tag {
    background: rgba(255, 212, 59, 0.1);
    color: var(--python-yellow);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 212, 59, 0.2);
}

.read-more {
    display: inline-block;
    color: var(--python-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--python-yellow);
}

/* Active navigation link */
.nav-links a.active {
    color: var(--python-yellow);
}

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

/* Responsive Blog Styles */
@media (min-width: 1200px) {
    .blog-post-horizontal .post-image {
        height: 100%;
        width: 300px;
    }
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.5rem;
    }

    .blog-header p {
        font-size: 1rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-post-horizontal {
        flex-direction: column;
    }

    .blog-post-horizontal .post-image {
        height: 150px;
        width: 100%;
        align-self: auto;
    }

    .post-content {
        padding: 1rem;
    }

    .post-title {
        font-size: 1.3rem;
    }

    .post-meta {
        font-size: 0.8rem;
    }
}


@media (max-width: 480px) {
    .blog-header {
        padding: 100px 0 60px;
    }

    .blog-header h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .blog-header .subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .blog-header .description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .blog-posts {
        padding: 60px 0;
    }

    .container {
        padding: 0 1rem;
    }

    .post-image {
        height: 150px;
    }

    .post-thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* Individual Blog Post Styles */
.blog-post-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.blog-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(55, 118, 171, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 212, 59, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.post-navigation {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.back-to-blog {
    color: var(--python-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-blog:hover {
    color: var(--python-yellow);
    transform: translateX(-5px);
}

.post-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.post-header-content .post-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.post-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.blog-post-content {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .blog-post-content {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .blog-post-content {
        padding: 10px 0;
    }
}

.post-content-full {
    max-width: 800px;
    margin: 0 auto;
}

.post-image-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--python-blue), var(--python-yellow));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.post-text {
    line-height: 1.8;
    color: var(--text-primary);
}

.post-text h2 {
    font-size: 2rem;
    font-weight: bold;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--python-blue);
    padding-bottom: 0.5rem;
}

.post-text h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.post-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.post-text ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-text li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.post-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.code-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 2rem 0;
    overflow: hidden;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.post-footer p {
    font-size: 1.1rem;
    color: var(--python-yellow);
}

/* Responsive Blog Post Styles */
@media (max-width: 768px) {
    .blog-post-header {
        padding: 100px 0 40px;
    }

    .post-header-content .post-title {
        font-size: 2.2rem;
    }

    .post-subtitle {
        font-size: 1.1rem;
    }

    .blog-post-content {
        padding: 40px 0;
    }

    .post-text h2 {
        font-size: 1.6rem;
    }

    .post-text h3 {
        font-size: 1.3rem;
    }

    .hero-image {
        width: 80px;
        height: 80px;
    }

    .code-block pre {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .post-header-content .post-title {
        font-size: 1.8rem;
    }

    .post-subtitle {
        font-size: 1rem;
    }

    .post-text h2 {
        font-size: 1.4rem;
    }

    .post-text h3 {
        font-size: 1.2rem;
    }

    .post-text ul {
        padding-left: 1.5rem;
    }
}

.post-content-image {
    text-align: center;
    margin: 3rem 0;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .post-content-image {
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .post-content-image {
        margin: 0.5rem 0;
    }
}

.content-image {
    max-width: 120%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin: 0.5rem -20% 3rem -20%;
    transform: scale(1.2);
}

/* Responsive image styles */
@media (max-width: 1200px) {
    .content-image {
        max-width: 100%;
        max-height: 360px;
        margin: 0.25rem 0 0.5rem 0;
        transform: none;
    }
}

@media (max-width: 768px) {
    .content-image {
        max-width: 110%;
        max-height: 280px;
        margin: 0.1rem -5% 0.25rem -5%;
        transform: none;
    }
}

@media (max-width: 480px) {
    .content-image {
        max-width: 90%;
        max-height: 220px;
        margin: 0.05rem 5% 0.1rem 5%;
        transform: none;
    }
}

/* Remove hover effects on responsive screens */
@media (max-width: 1200px) {
    .content-image:hover {
        transform: none;
    }
}