/* Custom Fonts */
@font-face {
    font-family: "Gentium Basic";
    font-style: normal;
    font-weight: 400;
    src: url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-regular.eot");
    src: local(""),
         url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-regular.eot?#iefix") format("embedded-opentype"),
         url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-regular.woff2") format("woff2"),
         url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-regular.woff") format("woff"),
         url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-regular.ttf") format("truetype"),
         url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-regular.svg#GentiumBasic") format("svg");
}

@font-face {
    font-family: "Gentium Basic";
    font-style: normal;
    font-weight: 700;
    src: url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-700.eot");
    src: local(""),
         url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-700.eot?#iefix") format("embedded-opentype"),
         url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-700.woff2") format("woff2"),
         url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-700.woff") format("woff"),
         url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-700.ttf") format("truetype"),
         url("https://assets-v2.super.so/global/fonts/Gentium_Basic/gentium-book-basic-v16-latin-ext_latin-700.svg#GentiumBasic") format("svg");
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #3c2415;
    background: linear-gradient(135deg, #f5f1eb 0%, #e8ddd4 30%, #d4c4b0 70%, #c4a484 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b4513;
}

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

.nav-link {
    text-decoration: none;
    color: #5d4037;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #8b4513;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #8b4513;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #5d4037;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background-image: url('../assets/me.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url('../assets/dreams.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(139, 69, 19, 0.4), rgba(93, 64, 55, 0.3));
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 4;
}

.hero-title {
    font-family: "Gentium Basic", serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.highlight {
    color: #f4e4bc;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.6),
        6px 6px 12px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(244, 228, 188, 0.3);
    animation: colorCycle 6s infinite ease-in-out;
}

@keyframes colorCycle {
    0% { color: #8b4513; }
    7% { color: #a0522d; }
    14% { color: #cd853f; }
    21% { color: #daa520; }
    28% { color: #f4e4bc; }
    35% { color: #fff8dc; }
    42% { color: #ffffff; }
    49% { color: #f5f5f5; }
    56% { color: #228b22; }
    63% { color: #32cd32; }
    70% { color: #ffd700; }
    77% { color: #ffb347; }
    84% { color: #d2b48c; }
    91% { color: #bc9a6a; }
    98% { color: #9d7c47; }
    100% { color: #8b4513; }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #f5f1eb;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #f5f1eb;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #8b4513;
    color: white;
}

.btn-primary:hover {
    background-color: #5d4037;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #8b4513;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid #f4e4bc;
}

.btn-outline:hover {
    background-color: #f4e4bc;
    color: #5d4037;
    transform: translateY(-2px);
}

.btn-outline i {
    margin-right: 0.5rem;
}

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

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.hero-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #5d4037;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: #8b4513;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #5d4037;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    color: #8d6e63;
    font-weight: 500;
}

.about-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.about-actions .btn {
    min-width: 160px;
}

/* Education Section */
.education {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.education-content {
    max-width: 1000px;
    margin: 0 auto;
}

.education-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.15);
    border: 1px solid rgba(139, 69, 19, 0.2);
    margin-bottom: 2rem;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.education-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5d4037;
    margin: 0;
}

.education-period {
    background-color: #8b4513;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.education-degree {
    font-size: 1.1rem;
    color: #8d6e63;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.education-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #5d4037;
    margin-bottom: 0.5rem;
}

.education-details ul {
    list-style: none;
    padding: 0;
}

.education-details li {
    padding: 0.25rem 0;
    color: #8d6e63;
    position: relative;
    padding-left: 1.5rem;
}

.education-details li::before {
    content: '•';
    color: #8b4513;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.achievements {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
}

.achievements h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5d4037;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border-left: 4px solid #8b4513;
}

.achievement-item i {
    font-size: 2rem;
    color: #8b4513;
}

.achievement-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #5d4037;
    margin-bottom: 0.25rem;
}

.achievement-content p {
    color: #6d4c41;
    font-size: 0.9rem;
    margin: 0;
}

.languages {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.languages h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5d4037;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border-left: 4px solid #8b4513;
}

.language-name {
    font-weight: 600;
    color: #5d4037;
}

.language-level {
    font-size: 0.9rem;
    color: #fff;
    background-color: #8b4513;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-category {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #5d4037;
    text-align: center;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-item {
    background-color: #8b4513;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background-color: #a0522d;
    transform: translateY(-2px);
}

/* Projects Section */
.projects {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 69, 19, 0.3);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.project-image {
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-placeholder {
    padding: 2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-placeholder img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.project-card:hover .project-placeholder img {
    transform: scale(1.05);
}

.project-placeholder i {
    font-size: 4rem;
    color: rgba(139, 69, 19, 0.8);
}

.project-content {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #5d4037;
}

.project-content p {
    color: #6d4c41;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.project-tech span {
    background-color: #f4e4bc;
    color: #5d4037;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

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

.project-link {
    color: #8b4513;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #5d4037;
}

.project-link i {
    margin-right: 0.25rem;
}

/* Blog Section */
.blog {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.blog-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #6d4c41;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.blog-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(139, 69, 19, 0.15);
    border: 1px solid rgba(139, 69, 19, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.25);
}

/* Special styling for McGill semester blog card */
.blog-card.mcgill-semester .blog-placeholder {
    display: flex;
}

/* Special styling for bioinformatics blog card */
.blog-card.s-post .blog-placeholder {
    display: flex;
    background: transparent;
}

.blog-image {
    height: 200px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: transparent;
}

.blog-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(139, 69, 19, 0.95);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-placeholder i {
    font-size: 4rem;
    color: #8b4513;
    opacity: 0.7;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #5d4037;
    line-height: 1.3;
}

.blog-content p {
    color: #6d4c41;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.blog-tag {
    background-color: #f4e4bc;
    color: #5d4037;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-time {
    color: #8d6e63;
    font-size: 0.9rem;
}

.blog-link {
    color: #8b4513;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #5d4037;
}

.blog-footer {
    background: linear-gradient(135deg, rgba(245, 241, 235, 0.95) 0%, rgba(232, 221, 212, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.25);
    border: 1px solid rgba(139, 69, 19, 0.3);
    text-align: center;
    margin-top: 2rem;
}

.blog-subscribe-text {
    font-size: 1.2rem;
    color: #5d4037;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.subscribe-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.subscribe-input {
    padding: 14px 18px;
    border: 2px solid rgba(139, 69, 19, 0.4);
    border-radius: 12px;
    font-size: 1rem;
    flex: 1;
    max-width: 320px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #3c2415;
}

.subscribe-input:focus {
    outline: none;
    border-color: #8b4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
    transform: translateY(-1px);
}

.subscribe-input::placeholder {
    color: #8d6e63;
}

.blog-social p {
    color: #5d4037;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.blog-social .social-links {
    justify-content: center;
    gap: 1rem;
}

.blog-social .social-link {
    background: rgba(139, 69, 19, 0.1);
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.blog-social .social-link:hover {
    background: rgba(139, 69, 19, 0.2);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

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

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #d1d5db;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 20px;
    color: #8b4513;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: #374151;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background-color: #8b4513;
    transform: translateY(-2px);
}

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

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

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #374151;
    border-radius: 8px;
    background-color: #374151;
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b4513;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-placeholder {
        width: 200px;
        height: 200px;
    }

    .hero-placeholder i {
        font-size: 5rem;
    }

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

    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .about-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-actions .btn {
        width: 100%;
        max-width: 250px;
    }

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

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

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

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

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

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

    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-input {
        max-width: 100%;
        margin-bottom: 1rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling animations */
@media (prefers-reduced-motion: no-preference) {
    .hero-content,
    .project-card,
    .skill-category {
        animation: fadeInUp 0.6s ease-out;
    }

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

/* Blog Post Styles */
.blog-post {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.blog-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.back-link {
    color: #8b4513;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: #5d4037;
}

.blog-date {
    color: #8d6e63;
    font-size: 0.9rem;
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    color: #5d4037;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: #6d4c41;
    margin-bottom: 30px;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-featured-image {
    margin: 40px 0;
    text-align: center;
}

.blog-featured-image img {
    max-width: 90%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(139, 69, 19, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(139, 69, 19, 0.35);
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content h2 {
    color: #5d4037;
    font-size: 2rem;
    font-weight: 600;
    margin: 40px 0 20px;
    border-bottom: 3px solid #8b4513;
    padding-bottom: 10px;
}

.blog-content h3 {
    color: #6d4c41;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 15px;
}

.blog-content h4 {
    color: #6d4c41;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 25px 0 10px;
}

.blog-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.blog-content ul, 
.blog-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content blockquote {
    background: rgba(245, 241, 235, 0.8);
    border-left: 4px solid #8b4513;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.15rem;
    color: #6d4c41;
}

.blog-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

.blog-content code {
    background: rgba(245, 241, 235, 0.8);
    color: #5d4037;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.blog-content pre code {
    background: none;
    padding: 0;
}

.blog-footer {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(245, 241, 235, 0.95) 0%, rgba(232, 221, 212, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(139, 69, 19, 0.3);
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.15);
}

.blog-author {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(139, 69, 19, 0.2);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(139, 69, 19, 0.3);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
}

.author-details h4 {
    color: #5d4037;
    margin-bottom: 5px;
    font-weight: 600;
}

.author-details p {
    color: #6d4c41;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social a {
    color: #8b4513;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(139, 69, 19, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.author-social a:hover {
    color: #5d4037;
    background: rgba(139, 69, 19, 0.2);
    transform: translateY(-2px);
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-button {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    border: 1px solid rgba(160, 82, 45, 0.3);
}

.nav-button:hover {
    background: linear-gradient(135deg, #a0522d 0%, #8b4513 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2.5rem;
    }
    
    .blog-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-meta-info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .blog-content {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .blog-content h2 {
        font-size: 1.75rem;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-navigation {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .nav-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
.nav-menu .nav-link i {
    font-size: 1.5em;   /* Increase as needed, e.g., 2em for even bigger */
    vertical-align: middle;
}
