/* 
* Combined CSS for Portfolio Website
* Includes styles for:
* - Main Portfolio Page (index.html)
* - Blog Listing Page (blog.html)
* - Blog Post Page (post.html)
*/

/* ===== VARIABLES ===== */
:root {
    --primary: #6c63ff;
    --secondary: #ff6584;
    --dark: #2c2c54;
    --light: #f8f9fa;
    --accent: #00d2d3;
    --gray: #6c757d;
    --success: #2ecc71;
}

/* ===== BASE STYLES ===== */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

section {
    padding: 100px 0;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn-custom {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-dark {
    background-color: var(--dark);
    border-color: var(--dark);
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    /*font-size: clamp(2.5rem, 5vw, 4rem);*/
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-img {
    position: relative;
    margin-top: 30px;
}

.hero-img img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: morph 8s ease-in-out infinite;
    max-width: 100%;
    height: auto;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.hero-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration:none;
}

.hero-social a:hover {
    transform: translateY(-5px);
    background-color: var(--primary);
    color: white;
}

/* ===== ABOUT SECTION ===== */
.about-img img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-card {
    padding: 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary);
}

.about-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* ===== EDUCATION SECTION ===== */
.education {
    background-color: #f8f9fa;
    position: relative;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    opacity: 0.03;
}

.edu-card {
    position: relative;
    padding: 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary);
}

.edu-card:hover {
    transform: translateX(10px);
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -15px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(108, 99, 255, 0.2);
}

.edu-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.edu-card .date {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.edu-card .grade {
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 5px 15px;
    border-radius: 50px;
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--success);
    font-weight: 600;
}

/* ===== EXPERIENCE SECTION ===== */
.exp-card {
    position: relative;
    padding: 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.exp-card:hover {
    transform: translateY(-10px);
}

.exp-card .company {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.exp-card .position {
    font-weight: 600;
    margin-bottom: 5px;
}

.exp-card .duration {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background-color: #f8f9fa;
}

.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-img {
    position: relative;
    overflow: hidden;
}

.project-img img {
    transition: all 0.5s ease;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
    background-color: white;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.project-tag {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 44, 84, 0.8), rgba(108, 99, 255, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
    padding: 20px;
    color: white;
}

.project-overlay-content h4 {
    margin-bottom: 15px;
}

.project-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background-color: white;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 5px;
}

.project-btn:hover {
    background-color: var(--secondary);
    color: white;
}

/* ===== SKILLS SECTION ===== */
.skill-card {
    padding: 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-10px);
}

.skill-card:hover i,
.skill-card:hover h4,
.skill-card:hover p {
    color: white;
    position: relative;
    z-index: 1;
}

.skill-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.skill-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.skill-card p {
    transition: all 0.3s ease;
}

/* ===== BLOG SECTION ===== */
.blog {
    background-color: #f8f9fa;
}

.blog-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    background-color: white;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    transition: all 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    transition: all 0.5s ease;
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 50px;
    background-color: var(--primary);
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-date i {
    margin-right: 5px;
    color: var(--primary);
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.blog-title:hover {
    color: var(--primary);
}

.blog-desc {
    margin-bottom: 20px;
    color: var(--gray);
}

.post-detail {
    padding: 15px 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gray);
}

.post-detail i {
    color: var(--primary);
    margin-right: 5px;
}

.card-body {
    padding: 15px 20px 20px;
}

.card-body h5 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.card-body h5:hover {
    color: var(--primary);
}

.card-body p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* ===== BLOG HEADER ===== */
.blog-header {
    position: relative;
    /*background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);*/
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 0 60px;
    color: white;
    text-align: center;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.blog-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

/* ===== BLOG CONTENT ===== */
/*.blog-content {*/
/*    padding: 80px 0;*/
/*}*/

/* ===== PAGINATION ===== */
.pagination-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

/* ===== CATEGORIES ===== */
.categories {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.categories h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.categories h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories ul li {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
}

.categories ul li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.categories ul li a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
}

.categories ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.categories ul li a span {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== RECENT POSTS ===== */
.recent-posts {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.recent-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.recent-posts h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.recent-post-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.recent-post-item:hover .recent-post-img img {
    transform: scale(1.1);
}

.recent-post-content h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.recent-post-content h5:hover {
    color: var(--primary);
}

.recent-post-content p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* ===== POST HEADER ===== */
.post-header {
    position: relative;
    /*background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);*/
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 0 60px;
    color: white;
    text-align: center;
}

.post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.post-header h1 {
    /*font-size: 2.5rem;*/
    /*font-weight: 800;*/
    /*margin-bottom: 20px;*/
    /*position: relative;*/
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
    position: relative;
    color:var(--dark);
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 5px;
}

/* ===== POST CONTENT ===== */
.post-content {
    padding: 80px 0;
}

.post-container {
    max-width: 1000px;
    margin: 0 auto;
}

.post-featured-img {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-featured-img img {
    width: 100%;
    height: auto;
}

.post-text {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.post-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.post-text h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark);
}

.post-text h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--dark);
}

.post-text ul, .post-text ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-text li {
    margin-bottom: 10px;
}

.post-text blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px;
    background-color: rgba(108, 99, 255, 0.05);
    margin: 30px 0;
    font-style: italic;
    color: var(--dark);
}

.post-text blockquote p {
    margin-bottom: 0;
}

/* ===== RELATED POSTS ===== */
.related-posts {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.related-posts h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.related-post-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.related-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-post-card img {
    height: 180px;
    object-fit: cover;
}

.related-post-card .card-body {
    padding: 20px;
}

.related-post-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.related-post-card .card-title:hover {
    color: var(--primary);
}

.related-post-card .card-text {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comments-section h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.comments-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    padding: 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info-item .content h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form {
    padding: 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
    height: 50px;
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

textarea.form-control {
    height: 150px;
    resize: none;
}

.comment-form .form-control {
    height: 50px;
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.comment-form textarea.form-control {
    height: 150px;
    resize: none;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items:center;
    justify-content:center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration:none;
}

.footer-social a:hover {
    background-color: var(--primary);
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .hero .btn-custom {
        margin: 0 5px;
    }
    
    .blog-header h1,
    .post-header h1 {
        font-size: 2.5rem;
    }
    
    .blog-sidebar {
        margin-top: 50px;
    }
}

@media (max-width: 767px) {
    section, 
    .blog-content,
    .post-content {
        padding: 60px 10;
    }
    
    .blog-header,
    .post-header {
        padding: 100px 0 40px;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center; /* Add this line */
    }
    
    .post-text {
        padding: 30px 20px;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .edu-card .grade {
        position: static;
        margin-bottom: 15px;
        display: inline-block;
        margin-left: 10px;
    }
}

@media (max-width: 575px) {
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-img img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }
    
    .hero .d-flex {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero .btn-custom {
        width: 100%;
    }
}

pre {
    font-family: 'Poppins', sans-serif; /* Your desired font */
    color: #333; /* Dark text for better contrast */
    overflow-x: auto; /* Horizontal scrolling for long content */
    white-space: pre-wrap; /* Wrap text while preserving formatting */
    line-height: 1.5; /* Improved line spacing */
    font-size: 16px; /* Comfortable font size */
    margin-bottom: 20px; /* Spacing from other elements */
}

.navbar .dropdown-toggle::after{
    display: none !important;
}

.swal-wide {
  width: 70% !important;
}

.youtube-iframe{
    width:100%; 
    height:60vh
}

.post-detail span{
    padding:10px;
}
.swal-img{
    width:100%;
    height:60vh;
    object-fit:cover;
}
